File tree 4 files changed +10
-9
lines changed
4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ _copyPlannedStmt(const PlannedStmt *from)
101
101
COPY_NODE_FIELD (paramExecTypes );
102
102
COPY_NODE_FIELD (utilityStmt );
103
103
COPY_LOCATION_FIELD (stmt_location );
104
- COPY_LOCATION_FIELD (stmt_len );
104
+ COPY_SCALAR_FIELD (stmt_len );
105
105
106
106
return newnode ;
107
107
}
@@ -3090,7 +3090,7 @@ _copyQuery(const Query *from)
3090
3090
COPY_NODE_FIELD (constraintDeps );
3091
3091
COPY_NODE_FIELD (withCheckOptions );
3092
3092
COPY_LOCATION_FIELD (stmt_location );
3093
- COPY_LOCATION_FIELD (stmt_len );
3093
+ COPY_SCALAR_FIELD (stmt_len );
3094
3094
3095
3095
return newnode ;
3096
3096
}
@@ -3102,7 +3102,7 @@ _copyRawStmt(const RawStmt *from)
3102
3102
3103
3103
COPY_NODE_FIELD (stmt );
3104
3104
COPY_LOCATION_FIELD (stmt_location );
3105
- COPY_LOCATION_FIELD (stmt_len );
3105
+ COPY_SCALAR_FIELD (stmt_len );
3106
3106
3107
3107
return newnode ;
3108
3108
}
Original file line number Diff line number Diff line change @@ -987,7 +987,7 @@ _equalQuery(const Query *a, const Query *b)
987
987
COMPARE_NODE_FIELD (constraintDeps );
988
988
COMPARE_NODE_FIELD (withCheckOptions );
989
989
COMPARE_LOCATION_FIELD (stmt_location );
990
- COMPARE_LOCATION_FIELD (stmt_len );
990
+ COMPARE_SCALAR_FIELD (stmt_len );
991
991
992
992
return true;
993
993
}
@@ -997,7 +997,7 @@ _equalRawStmt(const RawStmt *a, const RawStmt *b)
997
997
{
998
998
COMPARE_NODE_FIELD (stmt );
999
999
COMPARE_LOCATION_FIELD (stmt_location );
1000
- COMPARE_LOCATION_FIELD (stmt_len );
1000
+ COMPARE_SCALAR_FIELD (stmt_len );
1001
1001
1002
1002
return true;
1003
1003
}
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ _outPlannedStmt(StringInfo str, const PlannedStmt *node)
319
319
WRITE_NODE_FIELD (paramExecTypes );
320
320
WRITE_NODE_FIELD (utilityStmt );
321
321
WRITE_LOCATION_FIELD (stmt_location );
322
- WRITE_LOCATION_FIELD (stmt_len );
322
+ WRITE_INT_FIELD (stmt_len );
323
323
}
324
324
325
325
/*
@@ -2135,6 +2135,7 @@ _outLimitPath(StringInfo str, const LimitPath *node)
2135
2135
WRITE_NODE_FIELD (subpath );
2136
2136
WRITE_NODE_FIELD (limitOffset );
2137
2137
WRITE_NODE_FIELD (limitCount );
2138
+ WRITE_ENUM_FIELD (limitOption , LimitOption );
2138
2139
}
2139
2140
2140
2141
static void
@@ -2966,7 +2967,7 @@ _outQuery(StringInfo str, const Query *node)
2966
2967
WRITE_NODE_FIELD (constraintDeps );
2967
2968
WRITE_NODE_FIELD (withCheckOptions );
2968
2969
WRITE_LOCATION_FIELD (stmt_location );
2969
- WRITE_LOCATION_FIELD (stmt_len );
2970
+ WRITE_INT_FIELD (stmt_len );
2970
2971
}
2971
2972
2972
2973
static void
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ _readQuery(void)
284
284
READ_NODE_FIELD (constraintDeps );
285
285
READ_NODE_FIELD (withCheckOptions );
286
286
READ_LOCATION_FIELD (stmt_location );
287
- READ_LOCATION_FIELD (stmt_len );
287
+ READ_INT_FIELD (stmt_len );
288
288
289
289
READ_DONE ();
290
290
}
@@ -1552,7 +1552,7 @@ _readPlannedStmt(void)
1552
1552
READ_NODE_FIELD (paramExecTypes );
1553
1553
READ_NODE_FIELD (utilityStmt );
1554
1554
READ_LOCATION_FIELD (stmt_location );
1555
- READ_LOCATION_FIELD (stmt_len );
1555
+ READ_INT_FIELD (stmt_len );
1556
1556
1557
1557
READ_DONE ();
1558
1558
}
You can’t perform that action at this time.
0 commit comments