summaryrefslogtreecommitdiff
path: root/src/backend/nodes/readfuncs.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2020-05-25 16:23:48 -0700
committerNoah Misch <noah@leadboat.com>2020-05-25 16:23:48 -0700
commit587322de36921557fcfcfdd40291669c8ee46968 (patch)
tree9a2e96e63e784b4940f8911cb125dcbab3cce6dc /src/backend/nodes/readfuncs.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/readfuncs.c')
-rw-r--r--src/backend/nodes/readfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c
index eb01584a5f6..42050ab7195 100644
--- a/src/backend/nodes/readfuncs.c
+++ b/src/backend/nodes/readfuncs.c
@@ -284,7 +284,7 @@ _readQuery(void)
READ_NODE_FIELD(constraintDeps);
READ_NODE_FIELD(withCheckOptions);
READ_LOCATION_FIELD(stmt_location);
- READ_LOCATION_FIELD(stmt_len);
+ READ_INT_FIELD(stmt_len);
READ_DONE();
}
@@ -1552,7 +1552,7 @@ _readPlannedStmt(void)
READ_NODE_FIELD(paramExecTypes);
READ_NODE_FIELD(utilityStmt);
READ_LOCATION_FIELD(stmt_location);
- READ_LOCATION_FIELD(stmt_len);
+ READ_INT_FIELD(stmt_len);
READ_DONE();
}