summaryrefslogtreecommitdiff
path: root/src/backend/nodes/outfuncs.c
diff options
context:
space:
mode:
authorNoah Misch2020-05-25 23:23:48 +0000
committerNoah Misch2020-05-25 23:23:48 +0000
commit587322de36921557fcfcfdd40291669c8ee46968 (patch)
tree9a2e96e63e784b4940f8911cb125dcbab3cce6dc /src/backend/nodes/outfuncs.c
parent650eac8d7b6df7147ff4bb29b354510fe1929671 (diff)
Reconcile nodes/*funcs.c.
The stmt_len changes do not affect behavior. LimitPath has no other support functions, so that part changes only debugging output.
Diffstat (limited to 'src/backend/nodes/outfuncs.c')
-rw-r--r--src/backend/nodes/outfuncs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c
index ebf3ce37aaa..e2f177515da 100644
--- a/src/backend/nodes/outfuncs.c
+++ b/src/backend/nodes/outfuncs.c
@@ -319,7 +319,7 @@ _outPlannedStmt(StringInfo str, const PlannedStmt *node)
WRITE_NODE_FIELD(paramExecTypes);
WRITE_NODE_FIELD(utilityStmt);
WRITE_LOCATION_FIELD(stmt_location);
- WRITE_LOCATION_FIELD(stmt_len);
+ WRITE_INT_FIELD(stmt_len);
}
/*
@@ -2135,6 +2135,7 @@ _outLimitPath(StringInfo str, const LimitPath *node)
WRITE_NODE_FIELD(subpath);
WRITE_NODE_FIELD(limitOffset);
WRITE_NODE_FIELD(limitCount);
+ WRITE_ENUM_FIELD(limitOption, LimitOption);
}
static void
@@ -2966,7 +2967,7 @@ _outQuery(StringInfo str, const Query *node)
WRITE_NODE_FIELD(constraintDeps);
WRITE_NODE_FIELD(withCheckOptions);
WRITE_LOCATION_FIELD(stmt_location);
- WRITE_LOCATION_FIELD(stmt_len);
+ WRITE_INT_FIELD(stmt_len);
}
static void