summaryrefslogtreecommitdiff
path: root/src/backend/nodes/readfuncs.c
diff options
context:
space:
mode:
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();
}