This is an automated email from the ASF dual-hosted git repository.

chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/cbdb-postgres-merge by this 
push:
     new fafae4c659e Add runCondition to out/read functions for WindowAgg
fafae4c659e is described below

commit fafae4c659e5b8f833ed7670a5ef20431697e7c7
Author: Jinbao Chen <[email protected]>
AuthorDate: Sat Dec 27 00:32:04 2025 +0800

    Add runCondition to out/read functions for WindowAgg
---
 src/backend/nodes/outfuncs.c  | 2 ++
 src/backend/nodes/readfuncs.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c
index 2a174d850c6..2e8e4d7e2b8 100644
--- a/src/backend/nodes/outfuncs.c
+++ b/src/backend/nodes/outfuncs.c
@@ -1066,6 +1066,8 @@ _outWindowAgg(StringInfo str, const WindowAgg *node)
        WRITE_INT_FIELD(frameOptions);
        WRITE_NODE_FIELD(startOffset);
        WRITE_NODE_FIELD(endOffset);
+       WRITE_NODE_FIELD(runCondition);
+       WRITE_NODE_FIELD(runConditionOrig);
        WRITE_OID_FIELD(startInRangeFunc);
        WRITE_OID_FIELD(endInRangeFunc);
        WRITE_OID_FIELD(inRangeColl);
diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c
index 5c9d473c5f6..4bab164b30d 100644
--- a/src/backend/nodes/readfuncs.c
+++ b/src/backend/nodes/readfuncs.c
@@ -2530,6 +2530,8 @@ _readWindowAgg(void)
        READ_INT_FIELD(frameOptions);
        READ_NODE_FIELD(startOffset);
        READ_NODE_FIELD(endOffset);
+       READ_NODE_FIELD(runCondition);
+       READ_NODE_FIELD(runConditionOrig);
        READ_OID_FIELD(startInRangeFunc);
        READ_OID_FIELD(endInRangeFunc);
        READ_OID_FIELD(inRangeColl);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to