Branch data Line data Source code
1 : : /*-------------------------------------------------------------------------
2 : : *
3 : : * readfuncs.funcs.c
4 : : * Generated node infrastructure code
5 : : *
6 : : * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
7 : : * Portions Copyright (c) 1994, Regents of the University of California
8 : : *
9 : : * NOTES
10 : : * ******************************
11 : : * *** DO NOT EDIT THIS FILE! ***
12 : : * ******************************
13 : : *
14 : : * It has been GENERATED by src/backend/nodes/gen_node_support.pl
15 : : *
16 : : *-------------------------------------------------------------------------
17 : : */
18 : : #include "access/amapi.h"
19 : : #include "access/cmptype.h"
20 : : #include "access/sdir.h"
21 : : #include "access/tableam.h"
22 : : #include "access/tsmapi.h"
23 : : #include "commands/event_trigger.h"
24 : : #include "commands/trigger.h"
25 : : #include "executor/tuptable.h"
26 : : #include "foreign/fdwapi.h"
27 : : #include "nodes/bitmapset.h"
28 : : #include "nodes/execnodes.h"
29 : : #include "nodes/extensible.h"
30 : : #include "nodes/lockoptions.h"
31 : : #include "nodes/miscnodes.h"
32 : : #include "nodes/nodes.h"
33 : : #include "nodes/parsenodes.h"
34 : : #include "nodes/pathnodes.h"
35 : : #include "nodes/plannodes.h"
36 : : #include "nodes/primnodes.h"
37 : : #include "nodes/replnodes.h"
38 : : #include "nodes/supportnodes.h"
39 : : #include "nodes/value.h"
40 : : #include "utils/rel.h"
41 : :
42 : : static Alias *
43 : 1926575 : _readAlias(ReadNodeContext *ctx)
44 : : {
45 : 1926575 : READ_LOCALS(Alias);
46 : :
47 : 1926575 : READ_STRING_FIELD(aliasname);
48 : 1926575 : READ_NODE_FIELD(colnames);
49 : :
50 : 1926575 : READ_DONE();
51 : : }
52 : :
53 : : static RangeVar *
54 : 567508 : _readRangeVar(ReadNodeContext *ctx)
55 : : {
56 : 567508 : READ_LOCALS(RangeVar);
57 : :
58 : 567508 : READ_STRING_FIELD(catalogname);
59 : 567508 : READ_STRING_FIELD(schemaname);
60 : 567508 : READ_STRING_FIELD(relname);
61 : 567508 : READ_BOOL_FIELD(inh);
62 [ + - - + ]: 567508 : READ_CHAR_FIELD(relpersistence);
63 : 567508 : READ_NODE_FIELD(alias);
64 [ + - ]: 567508 : READ_LOCATION_FIELD(location);
65 : :
66 : 567508 : READ_DONE();
67 : : }
68 : :
69 : : static TableFunc *
70 : 1154 : _readTableFunc(ReadNodeContext *ctx)
71 : : {
72 : 1154 : READ_LOCALS(TableFunc);
73 : :
74 : 1154 : READ_ENUM_FIELD(functype, TableFuncType);
75 : 1154 : READ_NODE_FIELD(ns_uris);
76 : 1154 : READ_NODE_FIELD(ns_names);
77 : 1154 : READ_NODE_FIELD(docexpr);
78 : 1154 : READ_NODE_FIELD(rowexpr);
79 : 1154 : READ_NODE_FIELD(colnames);
80 : 1154 : READ_NODE_FIELD(coltypes);
81 : 1154 : READ_NODE_FIELD(coltypmods);
82 : 1154 : READ_NODE_FIELD(colcollations);
83 : 1154 : READ_NODE_FIELD(colexprs);
84 : 1154 : READ_NODE_FIELD(coldefexprs);
85 : 1154 : READ_NODE_FIELD(colvalexprs);
86 : 1154 : READ_NODE_FIELD(passingvalexprs);
87 : 1154 : READ_BITMAPSET_FIELD(notnulls);
88 : 1154 : READ_NODE_FIELD(plan);
89 : 1154 : READ_INT_FIELD(ordinalitycol);
90 [ + + ]: 1154 : READ_LOCATION_FIELD(location);
91 : :
92 : 1154 : READ_DONE();
93 : : }
94 : :
95 : : static IntoClause *
96 : 2622 : _readIntoClause(ReadNodeContext *ctx)
97 : : {
98 : 2622 : READ_LOCALS(IntoClause);
99 : :
100 : 2622 : READ_NODE_FIELD(rel);
101 : 2622 : READ_NODE_FIELD(colNames);
102 : 2622 : READ_STRING_FIELD(accessMethod);
103 : 2622 : READ_NODE_FIELD(options);
104 : 2622 : READ_ENUM_FIELD(onCommit, OnCommitAction);
105 : 2622 : READ_STRING_FIELD(tableSpaceName);
106 : 2622 : READ_NODE_FIELD(viewQuery);
107 : 2622 : READ_BOOL_FIELD(skipData);
108 : :
109 : 2622 : READ_DONE();
110 : : }
111 : :
112 : : static Var *
113 : 9128873 : _readVar(ReadNodeContext *ctx)
114 : : {
115 : 9128873 : READ_LOCALS(Var);
116 : :
117 : 9128873 : READ_INT_FIELD(varno);
118 : 9128873 : READ_INT_FIELD(varattno);
119 : 9128873 : READ_OID_FIELD(vartype);
120 : 9128873 : READ_INT_FIELD(vartypmod);
121 : 9128873 : READ_OID_FIELD(varcollid);
122 : 9128873 : READ_BITMAPSET_FIELD(varnullingrels);
123 : 9128873 : READ_UINT_FIELD(varlevelsup);
124 : 9128873 : READ_ENUM_FIELD(varreturningtype, VarReturningType);
125 : 9128873 : READ_UINT_FIELD(varnosyn);
126 : 9128873 : READ_INT_FIELD(varattnosyn);
127 [ + + ]: 9128873 : READ_LOCATION_FIELD(location);
128 : :
129 : 9128873 : READ_DONE();
130 : : }
131 : :
132 : : static Param *
133 : 216586 : _readParam(ReadNodeContext *ctx)
134 : : {
135 : 216586 : READ_LOCALS(Param);
136 : :
137 : 216586 : READ_ENUM_FIELD(paramkind, ParamKind);
138 : 216586 : READ_INT_FIELD(paramid);
139 : 216586 : READ_OID_FIELD(paramtype);
140 : 216586 : READ_INT_FIELD(paramtypmod);
141 : 216586 : READ_OID_FIELD(paramcollid);
142 [ + + ]: 216586 : READ_LOCATION_FIELD(location);
143 : :
144 : 216586 : READ_DONE();
145 : : }
146 : :
147 : : static Aggref *
148 : 71485 : _readAggref(ReadNodeContext *ctx)
149 : : {
150 : 71485 : READ_LOCALS(Aggref);
151 : :
152 : 71485 : READ_OID_FIELD(aggfnoid);
153 : 71485 : READ_OID_FIELD(aggtype);
154 : 71485 : READ_OID_FIELD(aggcollid);
155 : 71485 : READ_OID_FIELD(inputcollid);
156 : 71485 : READ_OID_FIELD(aggtranstype);
157 : 71485 : READ_NODE_FIELD(aggargtypes);
158 : 71485 : READ_NODE_FIELD(aggdirectargs);
159 : 71485 : READ_NODE_FIELD(args);
160 : 71485 : READ_NODE_FIELD(aggorder);
161 : 71485 : READ_NODE_FIELD(aggdistinct);
162 : 71485 : READ_NODE_FIELD(aggfilter);
163 : 71485 : READ_BOOL_FIELD(aggstar);
164 : 71485 : READ_BOOL_FIELD(aggvariadic);
165 [ + - - + ]: 71485 : READ_CHAR_FIELD(aggkind);
166 : 71485 : READ_BOOL_FIELD(aggpresorted);
167 : 71485 : READ_UINT_FIELD(agglevelsup);
168 : 71485 : READ_ENUM_FIELD(aggsplit, AggSplit);
169 : 71485 : READ_INT_FIELD(aggno);
170 : 71485 : READ_INT_FIELD(aggtransno);
171 [ + + ]: 71485 : READ_LOCATION_FIELD(location);
172 : :
173 : 71485 : READ_DONE();
174 : : }
175 : :
176 : : static GroupingFunc *
177 : 758 : _readGroupingFunc(ReadNodeContext *ctx)
178 : : {
179 : 758 : READ_LOCALS(GroupingFunc);
180 : :
181 : 758 : READ_NODE_FIELD(args);
182 : 758 : READ_NODE_FIELD(refs);
183 : 758 : READ_NODE_FIELD(cols);
184 : 758 : READ_UINT_FIELD(agglevelsup);
185 [ + + ]: 758 : READ_LOCATION_FIELD(location);
186 : :
187 : 758 : READ_DONE();
188 : : }
189 : :
190 : : static WindowFunc *
191 : 5538 : _readWindowFunc(ReadNodeContext *ctx)
192 : : {
193 : 5538 : READ_LOCALS(WindowFunc);
194 : :
195 : 5538 : READ_OID_FIELD(winfnoid);
196 : 5538 : READ_OID_FIELD(wintype);
197 : 5538 : READ_OID_FIELD(wincollid);
198 : 5538 : READ_OID_FIELD(inputcollid);
199 : 5538 : READ_NODE_FIELD(args);
200 : 5538 : READ_NODE_FIELD(aggfilter);
201 : 5538 : READ_NODE_FIELD(runCondition);
202 : 5538 : READ_UINT_FIELD(winref);
203 : 5538 : READ_BOOL_FIELD(winstar);
204 : 5538 : READ_BOOL_FIELD(winagg);
205 : 5538 : READ_INT_FIELD(ignore_nulls);
206 [ + + ]: 5538 : READ_LOCATION_FIELD(location);
207 : :
208 : 5538 : READ_DONE();
209 : : }
210 : :
211 : : static WindowFuncRunCondition *
212 : 280 : _readWindowFuncRunCondition(ReadNodeContext *ctx)
213 : : {
214 : 280 : READ_LOCALS(WindowFuncRunCondition);
215 : :
216 : 280 : READ_OID_FIELD(opno);
217 : 280 : READ_OID_FIELD(inputcollid);
218 : 280 : READ_BOOL_FIELD(wfunc_left);
219 : 280 : READ_NODE_FIELD(arg);
220 : :
221 : 280 : READ_DONE();
222 : : }
223 : :
224 : : static MergeSupportFunc *
225 : 577 : _readMergeSupportFunc(ReadNodeContext *ctx)
226 : : {
227 : 577 : READ_LOCALS(MergeSupportFunc);
228 : :
229 : 577 : READ_OID_FIELD(msftype);
230 : 577 : READ_OID_FIELD(msfcollid);
231 [ + + ]: 577 : READ_LOCATION_FIELD(location);
232 : :
233 : 577 : READ_DONE();
234 : : }
235 : :
236 : : static SubscriptingRef *
237 : 28535 : _readSubscriptingRef(ReadNodeContext *ctx)
238 : : {
239 : 28535 : READ_LOCALS(SubscriptingRef);
240 : :
241 : 28535 : READ_OID_FIELD(refcontainertype);
242 : 28535 : READ_OID_FIELD(refelemtype);
243 : 28535 : READ_OID_FIELD(refrestype);
244 : 28535 : READ_INT_FIELD(reftypmod);
245 : 28535 : READ_OID_FIELD(refcollid);
246 : 28535 : READ_NODE_FIELD(refupperindexpr);
247 : 28535 : READ_NODE_FIELD(reflowerindexpr);
248 : 28535 : READ_NODE_FIELD(refexpr);
249 : 28535 : READ_NODE_FIELD(refassgnexpr);
250 : :
251 : 28535 : READ_DONE();
252 : : }
253 : :
254 : : static FuncExpr *
255 : 618160 : _readFuncExpr(ReadNodeContext *ctx)
256 : : {
257 : 618160 : READ_LOCALS(FuncExpr);
258 : :
259 : 618160 : READ_OID_FIELD(funcid);
260 : 618160 : READ_OID_FIELD(funcresulttype);
261 : 618160 : READ_BOOL_FIELD(funcretset);
262 : 618160 : READ_BOOL_FIELD(funcvariadic);
263 : 618160 : READ_ENUM_FIELD(funcformat, CoercionForm);
264 : 618160 : READ_OID_FIELD(funccollid);
265 : 618160 : READ_OID_FIELD(inputcollid);
266 : 618160 : READ_NODE_FIELD(args);
267 [ + + ]: 618160 : READ_LOCATION_FIELD(location);
268 : :
269 : 618160 : READ_DONE();
270 : : }
271 : :
272 : : static NamedArgExpr *
273 : 53708 : _readNamedArgExpr(ReadNodeContext *ctx)
274 : : {
275 : 53708 : READ_LOCALS(NamedArgExpr);
276 : :
277 : 53708 : READ_NODE_FIELD(arg);
278 : 53708 : READ_STRING_FIELD(name);
279 : 53708 : READ_INT_FIELD(argnumber);
280 [ + + ]: 53708 : READ_LOCATION_FIELD(location);
281 : :
282 : 53708 : READ_DONE();
283 : : }
284 : :
285 : : static OpExpr *
286 : 1097892 : _readOpExpr(ReadNodeContext *ctx)
287 : : {
288 : 1097892 : READ_LOCALS(OpExpr);
289 : :
290 : 1097892 : READ_OID_FIELD(opno);
291 : 1097892 : READ_OID_FIELD(opfuncid);
292 : 1097892 : READ_OID_FIELD(opresulttype);
293 : 1097892 : READ_BOOL_FIELD(opretset);
294 : 1097892 : READ_OID_FIELD(opcollid);
295 : 1097892 : READ_OID_FIELD(inputcollid);
296 : 1097892 : READ_NODE_FIELD(args);
297 [ + + ]: 1097892 : READ_LOCATION_FIELD(location);
298 : :
299 : 1097892 : READ_DONE();
300 : : }
301 : :
302 : : static DistinctExpr *
303 : 1306 : _readDistinctExpr(ReadNodeContext *ctx)
304 : : {
305 : 1306 : READ_LOCALS(DistinctExpr);
306 : :
307 : 1306 : READ_OID_FIELD(opno);
308 : 1306 : READ_OID_FIELD(opfuncid);
309 : 1306 : READ_OID_FIELD(opresulttype);
310 : 1306 : READ_BOOL_FIELD(opretset);
311 : 1306 : READ_OID_FIELD(opcollid);
312 : 1306 : READ_OID_FIELD(inputcollid);
313 : 1306 : READ_NODE_FIELD(args);
314 [ + + ]: 1306 : READ_LOCATION_FIELD(location);
315 : :
316 : 1306 : READ_DONE();
317 : : }
318 : :
319 : : static NullIfExpr *
320 : 1115 : _readNullIfExpr(ReadNodeContext *ctx)
321 : : {
322 : 1115 : READ_LOCALS(NullIfExpr);
323 : :
324 : 1115 : READ_OID_FIELD(opno);
325 : 1115 : READ_OID_FIELD(opfuncid);
326 : 1115 : READ_OID_FIELD(opresulttype);
327 : 1115 : READ_BOOL_FIELD(opretset);
328 : 1115 : READ_OID_FIELD(opcollid);
329 : 1115 : READ_OID_FIELD(inputcollid);
330 : 1115 : READ_NODE_FIELD(args);
331 [ + + ]: 1115 : READ_LOCATION_FIELD(location);
332 : :
333 : 1115 : READ_DONE();
334 : : }
335 : :
336 : : static ScalarArrayOpExpr *
337 : 50314 : _readScalarArrayOpExpr(ReadNodeContext *ctx)
338 : : {
339 : 50314 : READ_LOCALS(ScalarArrayOpExpr);
340 : :
341 : 50314 : READ_OID_FIELD(opno);
342 : 50314 : READ_OID_FIELD(opfuncid);
343 : 50314 : READ_OID_FIELD(hashfuncid);
344 : 50314 : READ_OID_FIELD(negfuncid);
345 : 50314 : READ_BOOL_FIELD(useOr);
346 : 50314 : READ_OID_FIELD(inputcollid);
347 : 50314 : READ_NODE_FIELD(args);
348 [ + + ]: 50314 : READ_LOCATION_FIELD(location);
349 : :
350 : 50314 : READ_DONE();
351 : : }
352 : :
353 : : static SubLink *
354 : 74297 : _readSubLink(ReadNodeContext *ctx)
355 : : {
356 : 74297 : READ_LOCALS(SubLink);
357 : :
358 : 74297 : READ_ENUM_FIELD(subLinkType, SubLinkType);
359 : 74297 : READ_INT_FIELD(subLinkId);
360 : 74297 : READ_NODE_FIELD(testexpr);
361 : 74297 : READ_NODE_FIELD(operName);
362 : 74297 : READ_NODE_FIELD(subselect);
363 [ + + ]: 74297 : READ_LOCATION_FIELD(location);
364 : :
365 : 74297 : READ_DONE();
366 : : }
367 : :
368 : : static SubPlan *
369 : 27228 : _readSubPlan(ReadNodeContext *ctx)
370 : : {
371 : 27228 : READ_LOCALS(SubPlan);
372 : :
373 : 27228 : READ_ENUM_FIELD(subLinkType, SubLinkType);
374 : 27228 : READ_NODE_FIELD(testexpr);
375 : 27228 : READ_NODE_FIELD(paramIds);
376 : 27228 : READ_INT_FIELD(plan_id);
377 : 27228 : READ_STRING_FIELD(plan_name);
378 : 27228 : READ_OID_FIELD(firstColType);
379 : 27228 : READ_INT_FIELD(firstColTypmod);
380 : 27228 : READ_OID_FIELD(firstColCollation);
381 : 27228 : READ_BOOL_FIELD(isInitPlan);
382 : 27228 : READ_BOOL_FIELD(useHashTable);
383 : 27228 : READ_BOOL_FIELD(unknownEqFalse);
384 : 27228 : READ_BOOL_FIELD(parallel_safe);
385 : 27228 : READ_NODE_FIELD(setParam);
386 : 27228 : READ_NODE_FIELD(parParam);
387 : 27228 : READ_NODE_FIELD(args);
388 : 27228 : READ_INT_FIELD(disabled_nodes);
389 : 27228 : READ_FLOAT_FIELD(startup_cost);
390 : 27228 : READ_FLOAT_FIELD(per_call_cost);
391 : :
392 : 27228 : READ_DONE();
393 : : }
394 : :
395 : : static AlternativeSubPlan *
396 : 0 : _readAlternativeSubPlan(ReadNodeContext *ctx)
397 : : {
398 : 0 : READ_LOCALS(AlternativeSubPlan);
399 : :
400 : 0 : READ_NODE_FIELD(subplans);
401 : :
402 : 0 : READ_DONE();
403 : : }
404 : :
405 : : static FieldSelect *
406 : 56695 : _readFieldSelect(ReadNodeContext *ctx)
407 : : {
408 : 56695 : READ_LOCALS(FieldSelect);
409 : :
410 : 56695 : READ_NODE_FIELD(arg);
411 : 56695 : READ_INT_FIELD(fieldnum);
412 : 56695 : READ_OID_FIELD(resulttype);
413 : 56695 : READ_INT_FIELD(resulttypmod);
414 : 56695 : READ_OID_FIELD(resultcollid);
415 : :
416 : 56695 : READ_DONE();
417 : : }
418 : :
419 : : static FieldStore *
420 : 734 : _readFieldStore(ReadNodeContext *ctx)
421 : : {
422 : 734 : READ_LOCALS(FieldStore);
423 : :
424 : 734 : READ_NODE_FIELD(arg);
425 : 734 : READ_NODE_FIELD(newvals);
426 : 734 : READ_NODE_FIELD(fieldnums);
427 : 734 : READ_OID_FIELD(resulttype);
428 : :
429 : 734 : READ_DONE();
430 : : }
431 : :
432 : : static RelabelType *
433 : 172821 : _readRelabelType(ReadNodeContext *ctx)
434 : : {
435 : 172821 : READ_LOCALS(RelabelType);
436 : :
437 : 172821 : READ_NODE_FIELD(arg);
438 : 172821 : READ_OID_FIELD(resulttype);
439 : 172821 : READ_INT_FIELD(resulttypmod);
440 : 172821 : READ_OID_FIELD(resultcollid);
441 : 172821 : READ_ENUM_FIELD(relabelformat, CoercionForm);
442 [ + + ]: 172821 : READ_LOCATION_FIELD(location);
443 : :
444 : 172821 : READ_DONE();
445 : : }
446 : :
447 : : static CoerceViaIO *
448 : 38399 : _readCoerceViaIO(ReadNodeContext *ctx)
449 : : {
450 : 38399 : READ_LOCALS(CoerceViaIO);
451 : :
452 : 38399 : READ_NODE_FIELD(arg);
453 : 38399 : READ_OID_FIELD(resulttype);
454 : 38399 : READ_OID_FIELD(resultcollid);
455 : 38399 : READ_ENUM_FIELD(coerceformat, CoercionForm);
456 [ + + ]: 38399 : READ_LOCATION_FIELD(location);
457 : :
458 : 38399 : READ_DONE();
459 : : }
460 : :
461 : : static ArrayCoerceExpr *
462 : 7017 : _readArrayCoerceExpr(ReadNodeContext *ctx)
463 : : {
464 : 7017 : READ_LOCALS(ArrayCoerceExpr);
465 : :
466 : 7017 : READ_NODE_FIELD(arg);
467 : 7017 : READ_NODE_FIELD(elemexpr);
468 : 7017 : READ_OID_FIELD(resulttype);
469 : 7017 : READ_INT_FIELD(resulttypmod);
470 : 7017 : READ_OID_FIELD(resultcollid);
471 : 7017 : READ_ENUM_FIELD(coerceformat, CoercionForm);
472 [ + + ]: 7017 : READ_LOCATION_FIELD(location);
473 : :
474 : 7017 : READ_DONE();
475 : : }
476 : :
477 : : static ConvertRowtypeExpr *
478 : 563 : _readConvertRowtypeExpr(ReadNodeContext *ctx)
479 : : {
480 : 563 : READ_LOCALS(ConvertRowtypeExpr);
481 : :
482 : 563 : READ_NODE_FIELD(arg);
483 : 563 : READ_OID_FIELD(resulttype);
484 : 563 : READ_ENUM_FIELD(convertformat, CoercionForm);
485 [ + - ]: 563 : READ_LOCATION_FIELD(location);
486 : :
487 : 563 : READ_DONE();
488 : : }
489 : :
490 : : static CollateExpr *
491 : 6930 : _readCollateExpr(ReadNodeContext *ctx)
492 : : {
493 : 6930 : READ_LOCALS(CollateExpr);
494 : :
495 : 6930 : READ_NODE_FIELD(arg);
496 : 6930 : READ_OID_FIELD(collOid);
497 [ + + ]: 6930 : READ_LOCATION_FIELD(location);
498 : :
499 : 6930 : READ_DONE();
500 : : }
501 : :
502 : : static CaseExpr *
503 : 97813 : _readCaseExpr(ReadNodeContext *ctx)
504 : : {
505 : 97813 : READ_LOCALS(CaseExpr);
506 : :
507 : 97813 : READ_OID_FIELD(casetype);
508 : 97813 : READ_OID_FIELD(casecollid);
509 : 97813 : READ_NODE_FIELD(arg);
510 : 97813 : READ_NODE_FIELD(args);
511 : 97813 : READ_NODE_FIELD(defresult);
512 [ + + ]: 97813 : READ_LOCATION_FIELD(location);
513 : :
514 : 97813 : READ_DONE();
515 : : }
516 : :
517 : : static CaseWhen *
518 : 202719 : _readCaseWhen(ReadNodeContext *ctx)
519 : : {
520 : 202719 : READ_LOCALS(CaseWhen);
521 : :
522 : 202719 : READ_NODE_FIELD(expr);
523 : 202719 : READ_NODE_FIELD(result);
524 [ + + ]: 202719 : READ_LOCATION_FIELD(location);
525 : :
526 : 202719 : READ_DONE();
527 : : }
528 : :
529 : : static CaseTestExpr *
530 : 45566 : _readCaseTestExpr(ReadNodeContext *ctx)
531 : : {
532 : 45566 : READ_LOCALS(CaseTestExpr);
533 : :
534 : 45566 : READ_OID_FIELD(typeId);
535 : 45566 : READ_INT_FIELD(typeMod);
536 : 45566 : READ_OID_FIELD(collation);
537 : :
538 : 45566 : READ_DONE();
539 : : }
540 : :
541 : : static ArrayExpr *
542 : 23333 : _readArrayExpr(ReadNodeContext *ctx)
543 : : {
544 : 23333 : READ_LOCALS(ArrayExpr);
545 : :
546 : 23333 : READ_OID_FIELD(array_typeid);
547 : 23333 : READ_OID_FIELD(array_collid);
548 : 23333 : READ_OID_FIELD(element_typeid);
549 : 23333 : READ_NODE_FIELD(elements);
550 : 23333 : READ_BOOL_FIELD(multidims);
551 [ + + ]: 23333 : READ_LOCATION_FIELD(list_start);
552 [ + + ]: 23333 : READ_LOCATION_FIELD(list_end);
553 [ + + ]: 23333 : READ_LOCATION_FIELD(location);
554 : :
555 : 23333 : READ_DONE();
556 : : }
557 : :
558 : : static RowExpr *
559 : 9609 : _readRowExpr(ReadNodeContext *ctx)
560 : : {
561 : 9609 : READ_LOCALS(RowExpr);
562 : :
563 : 9609 : READ_NODE_FIELD(args);
564 : 9609 : READ_OID_FIELD(row_typeid);
565 : 9609 : READ_ENUM_FIELD(row_format, CoercionForm);
566 : 9609 : READ_NODE_FIELD(colnames);
567 [ + + ]: 9609 : READ_LOCATION_FIELD(location);
568 : :
569 : 9609 : READ_DONE();
570 : : }
571 : :
572 : : static RowCompareExpr *
573 : 616 : _readRowCompareExpr(ReadNodeContext *ctx)
574 : : {
575 : 616 : READ_LOCALS(RowCompareExpr);
576 : :
577 : 616 : READ_ENUM_FIELD(cmptype, CompareType);
578 : 616 : READ_NODE_FIELD(opnos);
579 : 616 : READ_NODE_FIELD(opfamilies);
580 : 616 : READ_NODE_FIELD(inputcollids);
581 : 616 : READ_NODE_FIELD(largs);
582 : 616 : READ_NODE_FIELD(rargs);
583 : :
584 : 616 : READ_DONE();
585 : : }
586 : :
587 : : static CoalesceExpr *
588 : 12769 : _readCoalesceExpr(ReadNodeContext *ctx)
589 : : {
590 : 12769 : READ_LOCALS(CoalesceExpr);
591 : :
592 : 12769 : READ_OID_FIELD(coalescetype);
593 : 12769 : READ_OID_FIELD(coalescecollid);
594 : 12769 : READ_NODE_FIELD(args);
595 [ + + ]: 12769 : READ_LOCATION_FIELD(location);
596 : :
597 : 12769 : READ_DONE();
598 : : }
599 : :
600 : : static MinMaxExpr *
601 : 639 : _readMinMaxExpr(ReadNodeContext *ctx)
602 : : {
603 : 639 : READ_LOCALS(MinMaxExpr);
604 : :
605 : 639 : READ_OID_FIELD(minmaxtype);
606 : 639 : READ_OID_FIELD(minmaxcollid);
607 : 639 : READ_OID_FIELD(inputcollid);
608 : 639 : READ_ENUM_FIELD(op, MinMaxOp);
609 : 639 : READ_NODE_FIELD(args);
610 [ + + ]: 639 : READ_LOCATION_FIELD(location);
611 : :
612 : 639 : READ_DONE();
613 : : }
614 : :
615 : : static SQLValueFunction *
616 : 9230 : _readSQLValueFunction(ReadNodeContext *ctx)
617 : : {
618 : 9230 : READ_LOCALS(SQLValueFunction);
619 : :
620 : 9230 : READ_ENUM_FIELD(op, SQLValueFunctionOp);
621 : 9230 : READ_OID_FIELD(type);
622 : 9230 : READ_INT_FIELD(typmod);
623 [ + + ]: 9230 : READ_LOCATION_FIELD(location);
624 : :
625 : 9230 : READ_DONE();
626 : : }
627 : :
628 : : static XmlExpr *
629 : 1291 : _readXmlExpr(ReadNodeContext *ctx)
630 : : {
631 : 1291 : READ_LOCALS(XmlExpr);
632 : :
633 : 1291 : READ_ENUM_FIELD(op, XmlExprOp);
634 : 1291 : READ_STRING_FIELD(name);
635 : 1291 : READ_NODE_FIELD(named_args);
636 : 1291 : READ_NODE_FIELD(arg_names);
637 : 1291 : READ_NODE_FIELD(args);
638 : 1291 : READ_ENUM_FIELD(xmloption, XmlOptionType);
639 : 1291 : READ_BOOL_FIELD(indent);
640 : 1291 : READ_OID_FIELD(type);
641 : 1291 : READ_INT_FIELD(typmod);
642 [ + + ]: 1291 : READ_LOCATION_FIELD(location);
643 : :
644 : 1291 : READ_DONE();
645 : : }
646 : :
647 : : static JsonFormat *
648 : 21038 : _readJsonFormat(ReadNodeContext *ctx)
649 : : {
650 : 21038 : READ_LOCALS(JsonFormat);
651 : :
652 : 21038 : READ_ENUM_FIELD(format_type, JsonFormatType);
653 : 21038 : READ_ENUM_FIELD(encoding, JsonEncoding);
654 [ + + ]: 21038 : READ_LOCATION_FIELD(location);
655 : :
656 : 21038 : READ_DONE();
657 : : }
658 : :
659 : : static JsonReturning *
660 : 8822 : _readJsonReturning(ReadNodeContext *ctx)
661 : : {
662 : 8822 : READ_LOCALS(JsonReturning);
663 : :
664 : 8822 : READ_NODE_FIELD(format);
665 : 8822 : READ_OID_FIELD(typid);
666 : 8822 : READ_INT_FIELD(typmod);
667 : :
668 : 8822 : READ_DONE();
669 : : }
670 : :
671 : : static JsonValueExpr *
672 : 5272 : _readJsonValueExpr(ReadNodeContext *ctx)
673 : : {
674 : 5272 : READ_LOCALS(JsonValueExpr);
675 : :
676 : 5272 : READ_NODE_FIELD(raw_expr);
677 : 5272 : READ_NODE_FIELD(formatted_expr);
678 : 5272 : READ_NODE_FIELD(format);
679 : :
680 : 5272 : READ_DONE();
681 : : }
682 : :
683 : : static JsonConstructorExpr *
684 : 2236 : _readJsonConstructorExpr(ReadNodeContext *ctx)
685 : : {
686 : 2236 : READ_LOCALS(JsonConstructorExpr);
687 : :
688 : 2236 : READ_ENUM_FIELD(type, JsonConstructorType);
689 : 2236 : READ_NODE_FIELD(args);
690 : 2236 : READ_NODE_FIELD(func);
691 : 2236 : READ_NODE_FIELD(coercion);
692 : 2236 : READ_NODE_FIELD(returning);
693 : 2236 : READ_NODE_FIELD(orig_query);
694 : 2236 : READ_NODE_FIELD(format);
695 : 2236 : READ_BOOL_FIELD(absent_on_null);
696 : 2236 : READ_BOOL_FIELD(unique);
697 [ + + ]: 2236 : READ_LOCATION_FIELD(location);
698 : :
699 : 2236 : READ_DONE();
700 : : }
701 : :
702 : : static JsonIsPredicate *
703 : 916 : _readJsonIsPredicate(ReadNodeContext *ctx)
704 : : {
705 : 916 : READ_LOCALS(JsonIsPredicate);
706 : :
707 : 916 : READ_NODE_FIELD(expr);
708 : 916 : READ_NODE_FIELD(format);
709 : 916 : READ_ENUM_FIELD(item_type, JsonValueType);
710 : 916 : READ_BOOL_FIELD(unique_keys);
711 : 916 : READ_OID_FIELD(exprBaseType);
712 [ + + ]: 916 : READ_LOCATION_FIELD(location);
713 : :
714 : 916 : READ_DONE();
715 : : }
716 : :
717 : : static JsonBehavior *
718 : 9696 : _readJsonBehavior(ReadNodeContext *ctx)
719 : : {
720 : 9696 : READ_LOCALS(JsonBehavior);
721 : :
722 : 9696 : READ_ENUM_FIELD(btype, JsonBehaviorType);
723 : 9696 : READ_NODE_FIELD(expr);
724 : 9696 : READ_BOOL_FIELD(coerce);
725 [ + + ]: 9696 : READ_LOCATION_FIELD(location);
726 : :
727 : 9696 : READ_DONE();
728 : : }
729 : :
730 : : static JsonExpr *
731 : 5044 : _readJsonExpr(ReadNodeContext *ctx)
732 : : {
733 : 5044 : READ_LOCALS(JsonExpr);
734 : :
735 : 5044 : READ_ENUM_FIELD(op, JsonExprOp);
736 : 5044 : READ_STRING_FIELD(column_name);
737 : 5044 : READ_NODE_FIELD(formatted_expr);
738 : 5044 : READ_NODE_FIELD(format);
739 : 5044 : READ_NODE_FIELD(path_spec);
740 : 5044 : READ_NODE_FIELD(returning);
741 : 5044 : READ_NODE_FIELD(passing_names);
742 : 5044 : READ_NODE_FIELD(passing_values);
743 : 5044 : READ_NODE_FIELD(on_empty);
744 : 5044 : READ_NODE_FIELD(on_error);
745 : 5044 : READ_BOOL_FIELD(use_io_coercion);
746 : 5044 : READ_BOOL_FIELD(use_json_coercion);
747 : 5044 : READ_ENUM_FIELD(wrapper, JsonWrapper);
748 : 5044 : READ_BOOL_FIELD(omit_quotes);
749 : 5044 : READ_OID_FIELD(collation);
750 [ + + ]: 5044 : READ_LOCATION_FIELD(location);
751 : :
752 : 5044 : READ_DONE();
753 : : }
754 : :
755 : : static JsonTablePath *
756 : 1520 : _readJsonTablePath(ReadNodeContext *ctx)
757 : : {
758 : 1520 : READ_LOCALS(JsonTablePath);
759 : :
760 : 1520 : READ_NODE_FIELD(value);
761 : 1520 : READ_STRING_FIELD(name);
762 : :
763 : 1520 : READ_DONE();
764 : : }
765 : :
766 : : static JsonTablePathScan *
767 : 1520 : _readJsonTablePathScan(ReadNodeContext *ctx)
768 : : {
769 : 1520 : READ_LOCALS(JsonTablePathScan);
770 : :
771 : 1520 : READ_NODE_FIELD(path);
772 : 1520 : READ_BOOL_FIELD(errorOnError);
773 : 1520 : READ_NODE_FIELD(child);
774 : 1520 : READ_BOOL_FIELD(outerJoin);
775 : 1520 : READ_INT_FIELD(colMin);
776 : 1520 : READ_INT_FIELD(colMax);
777 : :
778 : 1520 : READ_DONE();
779 : : }
780 : :
781 : : static JsonTableSiblingJoin *
782 : 260 : _readJsonTableSiblingJoin(ReadNodeContext *ctx)
783 : : {
784 : 260 : READ_LOCALS(JsonTableSiblingJoin);
785 : :
786 : 260 : READ_NODE_FIELD(lplan);
787 : 260 : READ_NODE_FIELD(rplan);
788 : 260 : READ_BOOL_FIELD(cross);
789 : :
790 : 260 : READ_DONE();
791 : : }
792 : :
793 : : static NullTest *
794 : 36908 : _readNullTest(ReadNodeContext *ctx)
795 : : {
796 : 36908 : READ_LOCALS(NullTest);
797 : :
798 : 36908 : READ_NODE_FIELD(arg);
799 : 36908 : READ_ENUM_FIELD(nulltesttype, NullTestType);
800 : 36908 : READ_BOOL_FIELD(argisrow);
801 [ + + ]: 36908 : READ_LOCATION_FIELD(location);
802 : :
803 : 36908 : READ_DONE();
804 : : }
805 : :
806 : : static BooleanTest *
807 : 2522 : _readBooleanTest(ReadNodeContext *ctx)
808 : : {
809 : 2522 : READ_LOCALS(BooleanTest);
810 : :
811 : 2522 : READ_NODE_FIELD(arg);
812 : 2522 : READ_ENUM_FIELD(booltesttype, BoolTestType);
813 [ + + ]: 2522 : READ_LOCATION_FIELD(location);
814 : :
815 : 2522 : READ_DONE();
816 : : }
817 : :
818 : : static MergeAction *
819 : 4437 : _readMergeAction(ReadNodeContext *ctx)
820 : : {
821 : 4437 : READ_LOCALS(MergeAction);
822 : :
823 : 4437 : READ_ENUM_FIELD(matchKind, MergeMatchKind);
824 : 4437 : READ_ENUM_FIELD(commandType, CmdType);
825 : 4437 : READ_ENUM_FIELD(override, OverridingKind);
826 : 4437 : READ_NODE_FIELD(qual);
827 : 4437 : READ_NODE_FIELD(targetList);
828 : 4437 : READ_NODE_FIELD(updateColnos);
829 : :
830 : 4437 : READ_DONE();
831 : : }
832 : :
833 : : static CoerceToDomain *
834 : 86772 : _readCoerceToDomain(ReadNodeContext *ctx)
835 : : {
836 : 86772 : READ_LOCALS(CoerceToDomain);
837 : :
838 : 86772 : READ_NODE_FIELD(arg);
839 : 86772 : READ_OID_FIELD(resulttype);
840 : 86772 : READ_INT_FIELD(resulttypmod);
841 : 86772 : READ_OID_FIELD(resultcollid);
842 : 86772 : READ_ENUM_FIELD(coercionformat, CoercionForm);
843 [ + + ]: 86772 : READ_LOCATION_FIELD(location);
844 : :
845 : 86772 : READ_DONE();
846 : : }
847 : :
848 : : static CoerceToDomainValue *
849 : 1516 : _readCoerceToDomainValue(ReadNodeContext *ctx)
850 : : {
851 : 1516 : READ_LOCALS(CoerceToDomainValue);
852 : :
853 : 1516 : READ_OID_FIELD(typeId);
854 : 1516 : READ_INT_FIELD(typeMod);
855 : 1516 : READ_OID_FIELD(collation);
856 [ - + ]: 1516 : READ_LOCATION_FIELD(location);
857 : :
858 : 1516 : READ_DONE();
859 : : }
860 : :
861 : : static SetToDefault *
862 : 1174 : _readSetToDefault(ReadNodeContext *ctx)
863 : : {
864 : 1174 : READ_LOCALS(SetToDefault);
865 : :
866 : 1174 : READ_OID_FIELD(typeId);
867 : 1174 : READ_INT_FIELD(typeMod);
868 : 1174 : READ_OID_FIELD(collation);
869 [ + + ]: 1174 : READ_LOCATION_FIELD(location);
870 : :
871 : 1174 : READ_DONE();
872 : : }
873 : :
874 : : static CurrentOfExpr *
875 : 629 : _readCurrentOfExpr(ReadNodeContext *ctx)
876 : : {
877 : 629 : READ_LOCALS(CurrentOfExpr);
878 : :
879 : 629 : READ_UINT_FIELD(cvarno);
880 : 629 : READ_STRING_FIELD(cursor_name);
881 : 629 : READ_INT_FIELD(cursor_param);
882 : :
883 : 629 : READ_DONE();
884 : : }
885 : :
886 : : static NextValueExpr *
887 : 570 : _readNextValueExpr(ReadNodeContext *ctx)
888 : : {
889 : 570 : READ_LOCALS(NextValueExpr);
890 : :
891 : 570 : READ_OID_FIELD(seqid);
892 : 570 : READ_OID_FIELD(typeId);
893 : :
894 : 570 : READ_DONE();
895 : : }
896 : :
897 : : static InferenceElem *
898 : 1573 : _readInferenceElem(ReadNodeContext *ctx)
899 : : {
900 : 1573 : READ_LOCALS(InferenceElem);
901 : :
902 : 1573 : READ_NODE_FIELD(expr);
903 : 1573 : READ_OID_FIELD(infercollid);
904 : 1573 : READ_OID_FIELD(inferopclass);
905 : :
906 : 1573 : READ_DONE();
907 : : }
908 : :
909 : : static ReturningExpr *
910 : 868 : _readReturningExpr(ReadNodeContext *ctx)
911 : : {
912 : 868 : READ_LOCALS(ReturningExpr);
913 : :
914 : 868 : READ_INT_FIELD(retlevelsup);
915 : 868 : READ_BOOL_FIELD(retold);
916 : 868 : READ_NODE_FIELD(retexpr);
917 : :
918 : 868 : READ_DONE();
919 : : }
920 : :
921 : : static GraphLabelRef *
922 : 288 : _readGraphLabelRef(ReadNodeContext *ctx)
923 : : {
924 : 288 : READ_LOCALS(GraphLabelRef);
925 : :
926 : 288 : READ_OID_FIELD(labelid);
927 [ + + ]: 288 : READ_LOCATION_FIELD(location);
928 : :
929 : 288 : READ_DONE();
930 : : }
931 : :
932 : : static GraphPropertyRef *
933 : 229 : _readGraphPropertyRef(ReadNodeContext *ctx)
934 : : {
935 : 229 : READ_LOCALS(GraphPropertyRef);
936 : :
937 : 229 : READ_STRING_FIELD(elvarname);
938 : 229 : READ_OID_FIELD(propid);
939 : 229 : READ_OID_FIELD(typeId);
940 : 229 : READ_INT_FIELD(typmod);
941 : 229 : READ_OID_FIELD(collation);
942 [ + + ]: 229 : READ_LOCATION_FIELD(location);
943 : :
944 : 229 : READ_DONE();
945 : : }
946 : :
947 : : static TargetEntry *
948 : 4959761 : _readTargetEntry(ReadNodeContext *ctx)
949 : : {
950 : 4959761 : READ_LOCALS(TargetEntry);
951 : :
952 : 4959761 : READ_NODE_FIELD(expr);
953 : 4959761 : READ_INT_FIELD(resno);
954 : 4959761 : READ_STRING_FIELD(resname);
955 : 4959761 : READ_UINT_FIELD(ressortgroupref);
956 : 4959761 : READ_OID_FIELD(resorigtbl);
957 : 4959761 : READ_INT_FIELD(resorigcol);
958 : 4959761 : READ_BOOL_FIELD(resjunk);
959 : :
960 : 4959761 : READ_DONE();
961 : : }
962 : :
963 : : static RangeTblRef *
964 : 438260 : _readRangeTblRef(ReadNodeContext *ctx)
965 : : {
966 : 438260 : READ_LOCALS(RangeTblRef);
967 : :
968 : 438260 : READ_INT_FIELD(rtindex);
969 : :
970 : 438260 : READ_DONE();
971 : : }
972 : :
973 : : static JoinExpr *
974 : 145225 : _readJoinExpr(ReadNodeContext *ctx)
975 : : {
976 : 145225 : READ_LOCALS(JoinExpr);
977 : :
978 : 145225 : READ_ENUM_FIELD(jointype, JoinType);
979 : 145225 : READ_BOOL_FIELD(isNatural);
980 : 145225 : READ_NODE_FIELD(larg);
981 : 145225 : READ_NODE_FIELD(rarg);
982 : 145225 : READ_NODE_FIELD(usingClause);
983 : 145225 : READ_NODE_FIELD(join_using_alias);
984 : 145225 : READ_NODE_FIELD(quals);
985 : 145225 : READ_NODE_FIELD(alias);
986 : 145225 : READ_INT_FIELD(rtindex);
987 : :
988 : 145225 : READ_DONE();
989 : : }
990 : :
991 : : static FromExpr *
992 : 426836 : _readFromExpr(ReadNodeContext *ctx)
993 : : {
994 : 426836 : READ_LOCALS(FromExpr);
995 : :
996 : 426836 : READ_NODE_FIELD(fromlist);
997 : 426836 : READ_NODE_FIELD(quals);
998 : :
999 : 426836 : READ_DONE();
1000 : : }
1001 : :
1002 : : static OnConflictExpr *
1003 : 1557 : _readOnConflictExpr(ReadNodeContext *ctx)
1004 : : {
1005 : 1557 : READ_LOCALS(OnConflictExpr);
1006 : :
1007 : 1557 : READ_ENUM_FIELD(action, OnConflictAction);
1008 : 1557 : READ_NODE_FIELD(arbiterElems);
1009 : 1557 : READ_NODE_FIELD(arbiterWhere);
1010 : 1557 : READ_OID_FIELD(constraint);
1011 : 1557 : READ_ENUM_FIELD(lockStrength, LockClauseStrength);
1012 : 1557 : READ_NODE_FIELD(onConflictSet);
1013 : 1557 : READ_NODE_FIELD(onConflictWhere);
1014 : 1557 : READ_INT_FIELD(exclRelIndex);
1015 : 1557 : READ_NODE_FIELD(exclRelTlist);
1016 : :
1017 : 1557 : READ_DONE();
1018 : : }
1019 : :
1020 : : static ForPortionOfExpr *
1021 : 2145 : _readForPortionOfExpr(ReadNodeContext *ctx)
1022 : : {
1023 : 2145 : READ_LOCALS(ForPortionOfExpr);
1024 : :
1025 : 2145 : READ_NODE_FIELD(rangeVar);
1026 : 2145 : READ_NODE_FIELD(targetFrom);
1027 : 2145 : READ_NODE_FIELD(targetTo);
1028 : 2145 : READ_NODE_FIELD(targetRange);
1029 : 2145 : READ_OID_FIELD(rangeType);
1030 : 2145 : READ_BOOL_FIELD(isDomain);
1031 : 2145 : READ_NODE_FIELD(overlapsExpr);
1032 : 2145 : READ_NODE_FIELD(rangeTargetList);
1033 : 2145 : READ_OID_FIELD(withoutPortionProc);
1034 [ + + ]: 2145 : READ_LOCATION_FIELD(location);
1035 [ + + ]: 2145 : READ_LOCATION_FIELD(targetLocation);
1036 : :
1037 : 2145 : READ_DONE();
1038 : : }
1039 : :
1040 : : static Query *
1041 : 671492 : _readQuery(ReadNodeContext *ctx)
1042 : : {
1043 : 671492 : READ_LOCALS(Query);
1044 : :
1045 : 671492 : READ_ENUM_FIELD(commandType, CmdType);
1046 : 671492 : READ_ENUM_FIELD(querySource, QuerySource);
1047 : 671492 : local_node->queryId = 0;
1048 : 671492 : READ_BOOL_FIELD(canSetTag);
1049 : 671492 : READ_NODE_FIELD(utilityStmt);
1050 : 671492 : READ_INT_FIELD(resultRelation);
1051 : 671492 : READ_NODE_FIELD(forPortionOf);
1052 : 671492 : READ_BOOL_FIELD(hasAggs);
1053 : 671492 : READ_BOOL_FIELD(hasWindowFuncs);
1054 : 671492 : READ_BOOL_FIELD(hasTargetSRFs);
1055 : 671492 : READ_BOOL_FIELD(hasSubLinks);
1056 : 671492 : READ_BOOL_FIELD(hasDistinctOn);
1057 : 671492 : READ_BOOL_FIELD(hasRecursive);
1058 : 671492 : READ_BOOL_FIELD(hasModifyingCTE);
1059 : 671492 : READ_BOOL_FIELD(hasForUpdate);
1060 : 671492 : READ_BOOL_FIELD(hasRowSecurity);
1061 : 671492 : READ_BOOL_FIELD(hasGroupRTE);
1062 : 671492 : READ_BOOL_FIELD(isReturn);
1063 : 671492 : READ_NODE_FIELD(cteList);
1064 : 671492 : READ_NODE_FIELD(rtable);
1065 : 671492 : READ_NODE_FIELD(rteperminfos);
1066 : 671492 : READ_NODE_FIELD(jointree);
1067 : 671492 : READ_NODE_FIELD(mergeActionList);
1068 : 671492 : READ_INT_FIELD(mergeTargetRelation);
1069 : 671492 : READ_NODE_FIELD(mergeJoinCondition);
1070 : 671492 : READ_NODE_FIELD(targetList);
1071 : 671492 : READ_ENUM_FIELD(override, OverridingKind);
1072 : 671492 : READ_NODE_FIELD(onConflict);
1073 : 671492 : READ_STRING_FIELD(returningOldAlias);
1074 : 671492 : READ_STRING_FIELD(returningNewAlias);
1075 : 671492 : READ_NODE_FIELD(returningList);
1076 : 671492 : READ_NODE_FIELD(groupClause);
1077 : 671492 : READ_BOOL_FIELD(groupDistinct);
1078 : 671492 : READ_NODE_FIELD(groupingSets);
1079 : 671492 : READ_NODE_FIELD(havingQual);
1080 : 671492 : READ_NODE_FIELD(windowClause);
1081 : 671492 : READ_NODE_FIELD(distinctClause);
1082 : 671492 : READ_NODE_FIELD(sortClause);
1083 : 671492 : READ_NODE_FIELD(limitOffset);
1084 : 671492 : READ_NODE_FIELD(limitCount);
1085 : 671492 : READ_ENUM_FIELD(limitOption, LimitOption);
1086 : 671492 : READ_NODE_FIELD(rowMarks);
1087 : 671492 : READ_NODE_FIELD(setOperations);
1088 : 671492 : READ_NODE_FIELD(constraintDeps);
1089 : 671492 : READ_NODE_FIELD(withCheckOptions);
1090 [ + + ]: 671492 : READ_LOCATION_FIELD(stmt_location);
1091 [ + + ]: 671492 : READ_LOCATION_FIELD(stmt_len);
1092 : :
1093 : 671492 : READ_DONE();
1094 : : }
1095 : :
1096 : : static TypeName *
1097 : 482083 : _readTypeName(ReadNodeContext *ctx)
1098 : : {
1099 : 482083 : READ_LOCALS(TypeName);
1100 : :
1101 : 482083 : READ_NODE_FIELD(names);
1102 : 482083 : READ_OID_FIELD(typeOid);
1103 : 482083 : READ_BOOL_FIELD(setof);
1104 : 482083 : READ_BOOL_FIELD(pct_type);
1105 : 482083 : READ_NODE_FIELD(typmods);
1106 : 482083 : READ_INT_FIELD(typemod);
1107 : 482083 : READ_NODE_FIELD(arrayBounds);
1108 [ + - ]: 482083 : READ_LOCATION_FIELD(location);
1109 : :
1110 : 482083 : READ_DONE();
1111 : : }
1112 : :
1113 : : static ColumnRef *
1114 : 1348046 : _readColumnRef(ReadNodeContext *ctx)
1115 : : {
1116 : 1348046 : READ_LOCALS(ColumnRef);
1117 : :
1118 : 1348046 : READ_NODE_FIELD(fields);
1119 [ + - ]: 1348046 : READ_LOCATION_FIELD(location);
1120 : :
1121 : 1348046 : READ_DONE();
1122 : : }
1123 : :
1124 : : static ParamRef *
1125 : 31517 : _readParamRef(ReadNodeContext *ctx)
1126 : : {
1127 : 31517 : READ_LOCALS(ParamRef);
1128 : :
1129 : 31517 : READ_INT_FIELD(number);
1130 [ + - ]: 31517 : READ_LOCATION_FIELD(location);
1131 : :
1132 : 31517 : READ_DONE();
1133 : : }
1134 : :
1135 : : static TypeCast *
1136 : 233548 : _readTypeCast(ReadNodeContext *ctx)
1137 : : {
1138 : 233548 : READ_LOCALS(TypeCast);
1139 : :
1140 : 233548 : READ_NODE_FIELD(arg);
1141 : 233548 : READ_NODE_FIELD(typeName);
1142 [ + - ]: 233548 : READ_LOCATION_FIELD(location);
1143 : :
1144 : 233548 : READ_DONE();
1145 : : }
1146 : :
1147 : : static CollateClause *
1148 : 7972 : _readCollateClause(ReadNodeContext *ctx)
1149 : : {
1150 : 7972 : READ_LOCALS(CollateClause);
1151 : :
1152 : 7972 : READ_NODE_FIELD(arg);
1153 : 7972 : READ_NODE_FIELD(collname);
1154 [ + - ]: 7972 : READ_LOCATION_FIELD(location);
1155 : :
1156 : 7972 : READ_DONE();
1157 : : }
1158 : :
1159 : : static RoleSpec *
1160 : 28963 : _readRoleSpec(ReadNodeContext *ctx)
1161 : : {
1162 : 28963 : READ_LOCALS(RoleSpec);
1163 : :
1164 : 28963 : READ_ENUM_FIELD(roletype, RoleSpecType);
1165 : 28963 : READ_STRING_FIELD(rolename);
1166 [ + - ]: 28963 : READ_LOCATION_FIELD(location);
1167 : :
1168 : 28963 : READ_DONE();
1169 : : }
1170 : :
1171 : : static FuncCall *
1172 : 269700 : _readFuncCall(ReadNodeContext *ctx)
1173 : : {
1174 : 269700 : READ_LOCALS(FuncCall);
1175 : :
1176 : 269700 : READ_NODE_FIELD(funcname);
1177 : 269700 : READ_NODE_FIELD(args);
1178 : 269700 : READ_NODE_FIELD(agg_order);
1179 : 269700 : READ_NODE_FIELD(agg_filter);
1180 : 269700 : READ_NODE_FIELD(over);
1181 : 269700 : READ_INT_FIELD(ignore_nulls);
1182 : 269700 : READ_BOOL_FIELD(agg_within_group);
1183 : 269700 : READ_BOOL_FIELD(agg_star);
1184 : 269700 : READ_BOOL_FIELD(agg_distinct);
1185 : 269700 : READ_BOOL_FIELD(func_variadic);
1186 : 269700 : READ_ENUM_FIELD(funcformat, CoercionForm);
1187 [ + - ]: 269700 : READ_LOCATION_FIELD(location);
1188 : :
1189 : 269700 : READ_DONE();
1190 : : }
1191 : :
1192 : : static A_Star *
1193 : 47808 : _readA_Star(ReadNodeContext *ctx)
1194 : : {
1195 : 47808 : READ_LOCALS_NO_FIELDS(A_Star);
1196 : :
1197 : :
1198 : 47808 : READ_DONE();
1199 : : }
1200 : :
1201 : : static A_Indices *
1202 : 10072 : _readA_Indices(ReadNodeContext *ctx)
1203 : : {
1204 : 10072 : READ_LOCALS(A_Indices);
1205 : :
1206 : 10072 : READ_BOOL_FIELD(is_slice);
1207 : 10072 : READ_NODE_FIELD(lidx);
1208 : 10072 : READ_NODE_FIELD(uidx);
1209 : :
1210 : 10072 : READ_DONE();
1211 : : }
1212 : :
1213 : : static A_Indirection *
1214 : 25136 : _readA_Indirection(ReadNodeContext *ctx)
1215 : : {
1216 : 25136 : READ_LOCALS(A_Indirection);
1217 : :
1218 : 25136 : READ_NODE_FIELD(arg);
1219 : 25136 : READ_NODE_FIELD(indirection);
1220 : :
1221 : 25136 : READ_DONE();
1222 : : }
1223 : :
1224 : : static A_ArrayExpr *
1225 : 5176 : _readA_ArrayExpr(ReadNodeContext *ctx)
1226 : : {
1227 : 5176 : READ_LOCALS(A_ArrayExpr);
1228 : :
1229 : 5176 : READ_NODE_FIELD(elements);
1230 [ + - ]: 5176 : READ_LOCATION_FIELD(list_start);
1231 [ + - ]: 5176 : READ_LOCATION_FIELD(list_end);
1232 [ + - ]: 5176 : READ_LOCATION_FIELD(location);
1233 : :
1234 : 5176 : READ_DONE();
1235 : : }
1236 : :
1237 : : static ResTarget *
1238 : 837084 : _readResTarget(ReadNodeContext *ctx)
1239 : : {
1240 : 837084 : READ_LOCALS(ResTarget);
1241 : :
1242 : 837084 : READ_STRING_FIELD(name);
1243 : 837084 : READ_NODE_FIELD(indirection);
1244 : 837084 : READ_NODE_FIELD(val);
1245 [ + - ]: 837084 : READ_LOCATION_FIELD(location);
1246 : :
1247 : 837084 : READ_DONE();
1248 : : }
1249 : :
1250 : : static MultiAssignRef *
1251 : 265 : _readMultiAssignRef(ReadNodeContext *ctx)
1252 : : {
1253 : 265 : READ_LOCALS(MultiAssignRef);
1254 : :
1255 : 265 : READ_NODE_FIELD(source);
1256 : 265 : READ_INT_FIELD(colno);
1257 : 265 : READ_INT_FIELD(ncolumns);
1258 : :
1259 : 265 : READ_DONE();
1260 : : }
1261 : :
1262 : : static SortBy *
1263 : 74394 : _readSortBy(ReadNodeContext *ctx)
1264 : : {
1265 : 74394 : READ_LOCALS(SortBy);
1266 : :
1267 : 74394 : READ_NODE_FIELD(node);
1268 : 74394 : READ_ENUM_FIELD(sortby_dir, SortByDir);
1269 : 74394 : READ_ENUM_FIELD(sortby_nulls, SortByNulls);
1270 : 74394 : READ_NODE_FIELD(useOp);
1271 [ + - ]: 74394 : READ_LOCATION_FIELD(location);
1272 : :
1273 : 74394 : READ_DONE();
1274 : : }
1275 : :
1276 : : static WindowDef *
1277 : 3279 : _readWindowDef(ReadNodeContext *ctx)
1278 : : {
1279 : 3279 : READ_LOCALS(WindowDef);
1280 : :
1281 : 3279 : READ_STRING_FIELD(name);
1282 : 3279 : READ_STRING_FIELD(refname);
1283 : 3279 : READ_NODE_FIELD(partitionClause);
1284 : 3279 : READ_NODE_FIELD(orderClause);
1285 : 3279 : READ_INT_FIELD(frameOptions);
1286 : 3279 : READ_NODE_FIELD(startOffset);
1287 : 3279 : READ_NODE_FIELD(endOffset);
1288 [ + - ]: 3279 : READ_LOCATION_FIELD(location);
1289 : :
1290 : 3279 : READ_DONE();
1291 : : }
1292 : :
1293 : : static RangeSubselect *
1294 : 16474 : _readRangeSubselect(ReadNodeContext *ctx)
1295 : : {
1296 : 16474 : READ_LOCALS(RangeSubselect);
1297 : :
1298 : 16474 : READ_BOOL_FIELD(lateral);
1299 : 16474 : READ_NODE_FIELD(subquery);
1300 : 16474 : READ_NODE_FIELD(alias);
1301 : :
1302 : 16474 : READ_DONE();
1303 : : }
1304 : :
1305 : : static RangeFunction *
1306 : 33247 : _readRangeFunction(ReadNodeContext *ctx)
1307 : : {
1308 : 33247 : READ_LOCALS(RangeFunction);
1309 : :
1310 : 33247 : READ_BOOL_FIELD(lateral);
1311 : 33247 : READ_BOOL_FIELD(ordinality);
1312 : 33247 : READ_BOOL_FIELD(is_rowsfrom);
1313 : 33247 : READ_NODE_FIELD(functions);
1314 : 33247 : READ_NODE_FIELD(alias);
1315 : 33247 : READ_NODE_FIELD(coldeflist);
1316 : :
1317 : 33247 : READ_DONE();
1318 : : }
1319 : :
1320 : : static RangeTableFunc *
1321 : 168 : _readRangeTableFunc(ReadNodeContext *ctx)
1322 : : {
1323 : 168 : READ_LOCALS(RangeTableFunc);
1324 : :
1325 : 168 : READ_BOOL_FIELD(lateral);
1326 : 168 : READ_NODE_FIELD(docexpr);
1327 : 168 : READ_NODE_FIELD(rowexpr);
1328 : 168 : READ_NODE_FIELD(namespaces);
1329 : 168 : READ_NODE_FIELD(columns);
1330 : 168 : READ_NODE_FIELD(alias);
1331 [ + - ]: 168 : READ_LOCATION_FIELD(location);
1332 : :
1333 : 168 : READ_DONE();
1334 : : }
1335 : :
1336 : : static RangeTableFuncCol *
1337 : 582 : _readRangeTableFuncCol(ReadNodeContext *ctx)
1338 : : {
1339 : 582 : READ_LOCALS(RangeTableFuncCol);
1340 : :
1341 : 582 : READ_STRING_FIELD(colname);
1342 : 582 : READ_NODE_FIELD(typeName);
1343 : 582 : READ_BOOL_FIELD(for_ordinality);
1344 : 582 : READ_BOOL_FIELD(is_not_null);
1345 : 582 : READ_NODE_FIELD(colexpr);
1346 : 582 : READ_NODE_FIELD(coldefexpr);
1347 [ + - ]: 582 : READ_LOCATION_FIELD(location);
1348 : :
1349 : 582 : READ_DONE();
1350 : : }
1351 : :
1352 : : static RangeGraphTable *
1353 : 513 : _readRangeGraphTable(ReadNodeContext *ctx)
1354 : : {
1355 : 513 : READ_LOCALS(RangeGraphTable);
1356 : :
1357 : 513 : READ_NODE_FIELD(graph_name);
1358 : 513 : READ_NODE_FIELD(graph_pattern);
1359 : 513 : READ_NODE_FIELD(columns);
1360 : 513 : READ_NODE_FIELD(alias);
1361 [ + - ]: 513 : READ_LOCATION_FIELD(location);
1362 : :
1363 : 513 : READ_DONE();
1364 : : }
1365 : :
1366 : : static RangeTableSample *
1367 : 190 : _readRangeTableSample(ReadNodeContext *ctx)
1368 : : {
1369 : 190 : READ_LOCALS(RangeTableSample);
1370 : :
1371 : 190 : READ_NODE_FIELD(relation);
1372 : 190 : READ_NODE_FIELD(method);
1373 : 190 : READ_NODE_FIELD(args);
1374 : 190 : READ_NODE_FIELD(repeatable);
1375 [ + - ]: 190 : READ_LOCATION_FIELD(location);
1376 : :
1377 : 190 : READ_DONE();
1378 : : }
1379 : :
1380 : : static ColumnDef *
1381 : 95639 : _readColumnDef(ReadNodeContext *ctx)
1382 : : {
1383 : 95639 : READ_LOCALS(ColumnDef);
1384 : :
1385 : 95639 : READ_STRING_FIELD(colname);
1386 : 95639 : READ_NODE_FIELD(typeName);
1387 : 95639 : READ_STRING_FIELD(compression);
1388 : 95639 : READ_INT_FIELD(inhcount);
1389 : 95639 : READ_BOOL_FIELD(is_local);
1390 : 95639 : READ_BOOL_FIELD(is_not_null);
1391 : 95639 : READ_BOOL_FIELD(is_from_type);
1392 [ - + - - ]: 95639 : READ_CHAR_FIELD(storage);
1393 : 95639 : READ_STRING_FIELD(storage_name);
1394 : 95639 : READ_NODE_FIELD(raw_default);
1395 : 95639 : READ_NODE_FIELD(cooked_default);
1396 [ - + - - ]: 95639 : READ_CHAR_FIELD(identity);
1397 : 95639 : READ_NODE_FIELD(identitySequence);
1398 [ - + - - ]: 95639 : READ_CHAR_FIELD(generated);
1399 : 95639 : READ_NODE_FIELD(collClause);
1400 : 95639 : READ_OID_FIELD(collOid);
1401 : 95639 : READ_NODE_FIELD(constraints);
1402 : 95639 : READ_NODE_FIELD(fdwoptions);
1403 [ + - ]: 95639 : READ_LOCATION_FIELD(location);
1404 : :
1405 : 95639 : READ_DONE();
1406 : : }
1407 : :
1408 : : static TableLikeClause *
1409 : 1050 : _readTableLikeClause(ReadNodeContext *ctx)
1410 : : {
1411 : 1050 : READ_LOCALS(TableLikeClause);
1412 : :
1413 : 1050 : READ_NODE_FIELD(relation);
1414 : 1050 : READ_UINT_FIELD(options);
1415 : 1050 : READ_OID_FIELD(relationOid);
1416 : :
1417 : 1050 : READ_DONE();
1418 : : }
1419 : :
1420 : : static IndexElem *
1421 : 13406 : _readIndexElem(ReadNodeContext *ctx)
1422 : : {
1423 : 13406 : READ_LOCALS(IndexElem);
1424 : :
1425 : 13406 : READ_STRING_FIELD(name);
1426 : 13406 : READ_NODE_FIELD(expr);
1427 : 13406 : READ_STRING_FIELD(indexcolname);
1428 : 13406 : READ_NODE_FIELD(collation);
1429 : 13406 : READ_NODE_FIELD(opclass);
1430 : 13406 : READ_NODE_FIELD(opclassopts);
1431 : 13406 : READ_ENUM_FIELD(ordering, SortByDir);
1432 : 13406 : READ_ENUM_FIELD(nulls_ordering, SortByNulls);
1433 [ + - ]: 13406 : READ_LOCATION_FIELD(location);
1434 : :
1435 : 13406 : READ_DONE();
1436 : : }
1437 : :
1438 : : static DefElem *
1439 : 437972 : _readDefElem(ReadNodeContext *ctx)
1440 : : {
1441 : 437972 : READ_LOCALS(DefElem);
1442 : :
1443 : 437972 : READ_STRING_FIELD(defnamespace);
1444 : 437972 : READ_STRING_FIELD(defname);
1445 : 437972 : READ_NODE_FIELD(arg);
1446 : 437972 : READ_ENUM_FIELD(defaction, DefElemAction);
1447 [ + - ]: 437972 : READ_LOCATION_FIELD(location);
1448 : :
1449 : 437972 : READ_DONE();
1450 : : }
1451 : :
1452 : : static LockingClause *
1453 : 4051 : _readLockingClause(ReadNodeContext *ctx)
1454 : : {
1455 : 4051 : READ_LOCALS(LockingClause);
1456 : :
1457 : 4051 : READ_NODE_FIELD(lockedRels);
1458 : 4051 : READ_ENUM_FIELD(strength, LockClauseStrength);
1459 : 4051 : READ_ENUM_FIELD(waitPolicy, LockWaitPolicy);
1460 : :
1461 : 4051 : READ_DONE();
1462 : : }
1463 : :
1464 : : static XmlSerialize *
1465 : 164 : _readXmlSerialize(ReadNodeContext *ctx)
1466 : : {
1467 : 164 : READ_LOCALS(XmlSerialize);
1468 : :
1469 : 164 : READ_ENUM_FIELD(xmloption, XmlOptionType);
1470 : 164 : READ_NODE_FIELD(expr);
1471 : 164 : READ_NODE_FIELD(typeName);
1472 : 164 : READ_BOOL_FIELD(indent);
1473 [ + - ]: 164 : READ_LOCATION_FIELD(location);
1474 : :
1475 : 164 : READ_DONE();
1476 : : }
1477 : :
1478 : : static PartitionElem *
1479 : 7408 : _readPartitionElem(ReadNodeContext *ctx)
1480 : : {
1481 : 7408 : READ_LOCALS(PartitionElem);
1482 : :
1483 : 7408 : READ_STRING_FIELD(name);
1484 : 7408 : READ_NODE_FIELD(expr);
1485 : 7408 : READ_NODE_FIELD(collation);
1486 : 7408 : READ_NODE_FIELD(opclass);
1487 [ + - ]: 7408 : READ_LOCATION_FIELD(location);
1488 : :
1489 : 7408 : READ_DONE();
1490 : : }
1491 : :
1492 : : static PartitionSpec *
1493 : 6788 : _readPartitionSpec(ReadNodeContext *ctx)
1494 : : {
1495 : 6788 : READ_LOCALS(PartitionSpec);
1496 : :
1497 : 6788 : READ_ENUM_FIELD(strategy, PartitionStrategy);
1498 : 6788 : READ_NODE_FIELD(partParams);
1499 [ + - ]: 6788 : READ_LOCATION_FIELD(location);
1500 : :
1501 : 6788 : READ_DONE();
1502 : : }
1503 : :
1504 : : static PartitionBoundSpec *
1505 : 79788 : _readPartitionBoundSpec(ReadNodeContext *ctx)
1506 : : {
1507 : 79788 : READ_LOCALS(PartitionBoundSpec);
1508 : :
1509 [ + + - + ]: 79788 : READ_CHAR_FIELD(strategy);
1510 : 79788 : READ_BOOL_FIELD(is_default);
1511 : 79788 : READ_INT_FIELD(modulus);
1512 : 79788 : READ_INT_FIELD(remainder);
1513 : 79788 : READ_NODE_FIELD(listdatums);
1514 : 79788 : READ_NODE_FIELD(lowerdatums);
1515 : 79788 : READ_NODE_FIELD(upperdatums);
1516 [ + + ]: 79788 : READ_LOCATION_FIELD(location);
1517 : :
1518 : 79788 : READ_DONE();
1519 : : }
1520 : :
1521 : : static PartitionRangeDatum *
1522 : 107966 : _readPartitionRangeDatum(ReadNodeContext *ctx)
1523 : : {
1524 : 107966 : READ_LOCALS(PartitionRangeDatum);
1525 : :
1526 : 107966 : READ_ENUM_FIELD(kind, PartitionRangeDatumKind);
1527 : 107966 : READ_NODE_FIELD(value);
1528 [ - + ]: 107966 : READ_LOCATION_FIELD(location);
1529 : :
1530 : 107966 : READ_DONE();
1531 : : }
1532 : :
1533 : : static PartitionCmd *
1534 : 4510 : _readPartitionCmd(ReadNodeContext *ctx)
1535 : : {
1536 : 4510 : READ_LOCALS(PartitionCmd);
1537 : :
1538 : 4510 : READ_NODE_FIELD(name);
1539 : 4510 : READ_NODE_FIELD(bound);
1540 : 4510 : READ_BOOL_FIELD(concurrent);
1541 : :
1542 : 4510 : READ_DONE();
1543 : : }
1544 : :
1545 : : static GraphPattern *
1546 : 621 : _readGraphPattern(ReadNodeContext *ctx)
1547 : : {
1548 : 621 : READ_LOCALS(GraphPattern);
1549 : :
1550 : 621 : READ_NODE_FIELD(path_pattern_list);
1551 : 621 : READ_NODE_FIELD(whereClause);
1552 : :
1553 : 621 : READ_DONE();
1554 : : }
1555 : :
1556 : : static GraphElementPattern *
1557 : 1707 : _readGraphElementPattern(ReadNodeContext *ctx)
1558 : : {
1559 : 1707 : READ_LOCALS(GraphElementPattern);
1560 : :
1561 : 1707 : READ_ENUM_FIELD(kind, GraphElementPatternKind);
1562 : 1707 : READ_STRING_FIELD(variable);
1563 : 1707 : READ_NODE_FIELD(labelexpr);
1564 : 1707 : READ_NODE_FIELD(subexpr);
1565 : 1707 : READ_NODE_FIELD(whereClause);
1566 : 1707 : READ_NODE_FIELD(quantifier);
1567 [ + + ]: 1707 : READ_LOCATION_FIELD(location);
1568 : :
1569 : 1707 : READ_DONE();
1570 : : }
1571 : :
1572 : : static RTEPermissionInfo *
1573 : 719780 : _readRTEPermissionInfo(ReadNodeContext *ctx)
1574 : : {
1575 : 719780 : READ_LOCALS(RTEPermissionInfo);
1576 : :
1577 : 719780 : READ_OID_FIELD(relid);
1578 : 719780 : READ_BOOL_FIELD(inh);
1579 : 719780 : READ_UINT64_FIELD(requiredPerms);
1580 : 719780 : READ_OID_FIELD(checkAsUser);
1581 : 719780 : READ_BITMAPSET_FIELD(selectedCols);
1582 : 719780 : READ_BITMAPSET_FIELD(insertedCols);
1583 : 719780 : READ_BITMAPSET_FIELD(updatedCols);
1584 : :
1585 : 719780 : READ_DONE();
1586 : : }
1587 : :
1588 : : static RangeTblFunction *
1589 : 70660 : _readRangeTblFunction(ReadNodeContext *ctx)
1590 : : {
1591 : 70660 : READ_LOCALS(RangeTblFunction);
1592 : :
1593 : 70660 : READ_NODE_FIELD(funcexpr);
1594 : 70660 : READ_INT_FIELD(funccolcount);
1595 : 70660 : READ_NODE_FIELD(funccolnames);
1596 : 70660 : READ_NODE_FIELD(funccoltypes);
1597 : 70660 : READ_NODE_FIELD(funccoltypmods);
1598 : 70660 : READ_NODE_FIELD(funccolcollations);
1599 : 70660 : READ_BITMAPSET_FIELD(funcparams);
1600 : :
1601 : 70660 : READ_DONE();
1602 : : }
1603 : :
1604 : : static TableSampleClause *
1605 : 397 : _readTableSampleClause(ReadNodeContext *ctx)
1606 : : {
1607 : 397 : READ_LOCALS(TableSampleClause);
1608 : :
1609 : 397 : READ_OID_FIELD(tsmhandler);
1610 : 397 : READ_NODE_FIELD(args);
1611 : 397 : READ_NODE_FIELD(repeatable);
1612 : :
1613 : 397 : READ_DONE();
1614 : : }
1615 : :
1616 : : static WithCheckOption *
1617 : 4181 : _readWithCheckOption(ReadNodeContext *ctx)
1618 : : {
1619 : 4181 : READ_LOCALS(WithCheckOption);
1620 : :
1621 : 4181 : READ_ENUM_FIELD(kind, WCOKind);
1622 : 4181 : READ_STRING_FIELD(relname);
1623 : 4181 : READ_STRING_FIELD(polname);
1624 : 4181 : READ_NODE_FIELD(qual);
1625 : 4181 : READ_BOOL_FIELD(cascaded);
1626 : :
1627 : 4181 : READ_DONE();
1628 : : }
1629 : :
1630 : : static SortGroupClause *
1631 : 113783 : _readSortGroupClause(ReadNodeContext *ctx)
1632 : : {
1633 : 113783 : READ_LOCALS(SortGroupClause);
1634 : :
1635 : 113783 : READ_UINT_FIELD(tleSortGroupRef);
1636 : 113783 : READ_OID_FIELD(eqop);
1637 : 113783 : READ_OID_FIELD(sortop);
1638 : 113783 : READ_BOOL_FIELD(reverse_sort);
1639 : 113783 : READ_BOOL_FIELD(nulls_first);
1640 : 113783 : READ_BOOL_FIELD(hashable);
1641 : :
1642 : 113783 : READ_DONE();
1643 : : }
1644 : :
1645 : : static GroupingSet *
1646 : 3544 : _readGroupingSet(ReadNodeContext *ctx)
1647 : : {
1648 : 3544 : READ_LOCALS(GroupingSet);
1649 : :
1650 : 3544 : READ_ENUM_FIELD(kind, GroupingSetKind);
1651 : 3544 : READ_NODE_FIELD(content);
1652 [ + + ]: 3544 : READ_LOCATION_FIELD(location);
1653 : :
1654 : 3544 : READ_DONE();
1655 : : }
1656 : :
1657 : : static WindowClause *
1658 : 2279 : _readWindowClause(ReadNodeContext *ctx)
1659 : : {
1660 : 2279 : READ_LOCALS(WindowClause);
1661 : :
1662 : 2279 : READ_STRING_FIELD(name);
1663 : 2279 : READ_STRING_FIELD(refname);
1664 : 2279 : READ_NODE_FIELD(partitionClause);
1665 : 2279 : READ_NODE_FIELD(orderClause);
1666 : 2279 : READ_INT_FIELD(frameOptions);
1667 : 2279 : READ_NODE_FIELD(startOffset);
1668 : 2279 : READ_NODE_FIELD(endOffset);
1669 : 2279 : READ_OID_FIELD(startInRangeFunc);
1670 : 2279 : READ_OID_FIELD(endInRangeFunc);
1671 : 2279 : READ_OID_FIELD(inRangeColl);
1672 : 2279 : READ_BOOL_FIELD(inRangeAsc);
1673 : 2279 : READ_BOOL_FIELD(inRangeNullsFirst);
1674 : 2279 : READ_UINT_FIELD(winref);
1675 : 2279 : READ_BOOL_FIELD(copiedOrder);
1676 : :
1677 : 2279 : READ_DONE();
1678 : : }
1679 : :
1680 : : static RowMarkClause *
1681 : 5127 : _readRowMarkClause(ReadNodeContext *ctx)
1682 : : {
1683 : 5127 : READ_LOCALS(RowMarkClause);
1684 : :
1685 : 5127 : READ_UINT_FIELD(rti);
1686 : 5127 : READ_ENUM_FIELD(strength, LockClauseStrength);
1687 : 5127 : READ_ENUM_FIELD(waitPolicy, LockWaitPolicy);
1688 : 5127 : READ_BOOL_FIELD(pushedDown);
1689 : :
1690 : 5127 : READ_DONE();
1691 : : }
1692 : :
1693 : : static ForPortionOfClause *
1694 : 1205 : _readForPortionOfClause(ReadNodeContext *ctx)
1695 : : {
1696 : 1205 : READ_LOCALS(ForPortionOfClause);
1697 : :
1698 : 1205 : READ_STRING_FIELD(range_name);
1699 [ + - ]: 1205 : READ_LOCATION_FIELD(location);
1700 [ + - ]: 1205 : READ_LOCATION_FIELD(target_location);
1701 : 1205 : READ_NODE_FIELD(target);
1702 : 1205 : READ_NODE_FIELD(target_start);
1703 : 1205 : READ_NODE_FIELD(target_end);
1704 : :
1705 : 1205 : READ_DONE();
1706 : : }
1707 : :
1708 : : static WithClause *
1709 : 2298 : _readWithClause(ReadNodeContext *ctx)
1710 : : {
1711 : 2298 : READ_LOCALS(WithClause);
1712 : :
1713 : 2298 : READ_NODE_FIELD(ctes);
1714 : 2298 : READ_BOOL_FIELD(recursive);
1715 [ + - ]: 2298 : READ_LOCATION_FIELD(location);
1716 : :
1717 : 2298 : READ_DONE();
1718 : : }
1719 : :
1720 : : static InferClause *
1721 : 1421 : _readInferClause(ReadNodeContext *ctx)
1722 : : {
1723 : 1421 : READ_LOCALS(InferClause);
1724 : :
1725 : 1421 : READ_NODE_FIELD(indexElems);
1726 : 1421 : READ_NODE_FIELD(whereClause);
1727 : 1421 : READ_STRING_FIELD(conname);
1728 [ + - ]: 1421 : READ_LOCATION_FIELD(location);
1729 : :
1730 : 1421 : READ_DONE();
1731 : : }
1732 : :
1733 : : static OnConflictClause *
1734 : 1577 : _readOnConflictClause(ReadNodeContext *ctx)
1735 : : {
1736 : 1577 : READ_LOCALS(OnConflictClause);
1737 : :
1738 : 1577 : READ_ENUM_FIELD(action, OnConflictAction);
1739 : 1577 : READ_NODE_FIELD(infer);
1740 : 1577 : READ_ENUM_FIELD(lockStrength, LockClauseStrength);
1741 : 1577 : READ_NODE_FIELD(targetList);
1742 : 1577 : READ_NODE_FIELD(whereClause);
1743 [ + - ]: 1577 : READ_LOCATION_FIELD(location);
1744 : :
1745 : 1577 : READ_DONE();
1746 : : }
1747 : :
1748 : : static CTESearchClause *
1749 : 152 : _readCTESearchClause(ReadNodeContext *ctx)
1750 : : {
1751 : 152 : READ_LOCALS(CTESearchClause);
1752 : :
1753 : 152 : READ_NODE_FIELD(search_col_list);
1754 : 152 : READ_BOOL_FIELD(search_breadth_first);
1755 : 152 : READ_STRING_FIELD(search_seq_column);
1756 [ + + ]: 152 : READ_LOCATION_FIELD(location);
1757 : :
1758 : 152 : READ_DONE();
1759 : : }
1760 : :
1761 : : static CTECycleClause *
1762 : 164 : _readCTECycleClause(ReadNodeContext *ctx)
1763 : : {
1764 : 164 : READ_LOCALS(CTECycleClause);
1765 : :
1766 : 164 : READ_NODE_FIELD(cycle_col_list);
1767 : 164 : READ_STRING_FIELD(cycle_mark_column);
1768 : 164 : READ_NODE_FIELD(cycle_mark_value);
1769 : 164 : READ_NODE_FIELD(cycle_mark_default);
1770 : 164 : READ_STRING_FIELD(cycle_path_column);
1771 [ + + ]: 164 : READ_LOCATION_FIELD(location);
1772 : 164 : READ_OID_FIELD(cycle_mark_type);
1773 : 164 : READ_INT_FIELD(cycle_mark_typmod);
1774 : 164 : READ_OID_FIELD(cycle_mark_collation);
1775 : 164 : READ_OID_FIELD(cycle_mark_neop);
1776 : :
1777 : 164 : READ_DONE();
1778 : : }
1779 : :
1780 : : static CommonTableExpr *
1781 : 6082 : _readCommonTableExpr(ReadNodeContext *ctx)
1782 : : {
1783 : 6082 : READ_LOCALS(CommonTableExpr);
1784 : :
1785 : 6082 : READ_STRING_FIELD(ctename);
1786 : 6082 : READ_NODE_FIELD(aliascolnames);
1787 : 6082 : READ_ENUM_FIELD(ctematerialized, CTEMaterialize);
1788 : 6082 : READ_NODE_FIELD(ctequery);
1789 : 6082 : READ_NODE_FIELD(search_clause);
1790 : 6082 : READ_NODE_FIELD(cycle_clause);
1791 [ + + ]: 6082 : READ_LOCATION_FIELD(location);
1792 : 6082 : READ_BOOL_FIELD(cterecursive);
1793 : 6082 : READ_INT_FIELD(cterefcount);
1794 : 6082 : READ_NODE_FIELD(ctecolnames);
1795 : 6082 : READ_NODE_FIELD(ctecoltypes);
1796 : 6082 : READ_NODE_FIELD(ctecoltypmods);
1797 : 6082 : READ_NODE_FIELD(ctecolcollations);
1798 : :
1799 : 6082 : READ_DONE();
1800 : : }
1801 : :
1802 : : static MergeWhenClause *
1803 : 2064 : _readMergeWhenClause(ReadNodeContext *ctx)
1804 : : {
1805 : 2064 : READ_LOCALS(MergeWhenClause);
1806 : :
1807 : 2064 : READ_ENUM_FIELD(matchKind, MergeMatchKind);
1808 : 2064 : READ_ENUM_FIELD(commandType, CmdType);
1809 : 2064 : READ_ENUM_FIELD(override, OverridingKind);
1810 : 2064 : READ_NODE_FIELD(condition);
1811 : 2064 : READ_NODE_FIELD(targetList);
1812 : 2064 : READ_NODE_FIELD(values);
1813 : :
1814 : 2064 : READ_DONE();
1815 : : }
1816 : :
1817 : : static ReturningOption *
1818 : 100 : _readReturningOption(ReadNodeContext *ctx)
1819 : : {
1820 : 100 : READ_LOCALS(ReturningOption);
1821 : :
1822 : 100 : READ_ENUM_FIELD(option, ReturningOptionKind);
1823 : 100 : READ_STRING_FIELD(value);
1824 [ + - ]: 100 : READ_LOCATION_FIELD(location);
1825 : :
1826 : 100 : READ_DONE();
1827 : : }
1828 : :
1829 : : static ReturningClause *
1830 : 2538 : _readReturningClause(ReadNodeContext *ctx)
1831 : : {
1832 : 2538 : READ_LOCALS(ReturningClause);
1833 : :
1834 : 2538 : READ_NODE_FIELD(options);
1835 : 2538 : READ_NODE_FIELD(exprs);
1836 : :
1837 : 2538 : READ_DONE();
1838 : : }
1839 : :
1840 : : static TriggerTransition *
1841 : 856 : _readTriggerTransition(ReadNodeContext *ctx)
1842 : : {
1843 : 856 : READ_LOCALS(TriggerTransition);
1844 : :
1845 : 856 : READ_STRING_FIELD(name);
1846 : 856 : READ_BOOL_FIELD(isNew);
1847 : 856 : READ_BOOL_FIELD(isTable);
1848 : :
1849 : 856 : READ_DONE();
1850 : : }
1851 : :
1852 : : static JsonOutput *
1853 : 1542 : _readJsonOutput(ReadNodeContext *ctx)
1854 : : {
1855 : 1542 : READ_LOCALS(JsonOutput);
1856 : :
1857 : 1542 : READ_NODE_FIELD(typeName);
1858 : 1542 : READ_NODE_FIELD(returning);
1859 : :
1860 : 1542 : READ_DONE();
1861 : : }
1862 : :
1863 : : static JsonArgument *
1864 : 436 : _readJsonArgument(ReadNodeContext *ctx)
1865 : : {
1866 : 436 : READ_LOCALS(JsonArgument);
1867 : :
1868 : 436 : READ_NODE_FIELD(val);
1869 : 436 : READ_STRING_FIELD(name);
1870 : :
1871 : 436 : READ_DONE();
1872 : : }
1873 : :
1874 : : static JsonFuncExpr *
1875 : 1452 : _readJsonFuncExpr(ReadNodeContext *ctx)
1876 : : {
1877 : 1452 : READ_LOCALS(JsonFuncExpr);
1878 : :
1879 : 1452 : READ_ENUM_FIELD(op, JsonExprOp);
1880 : 1452 : READ_STRING_FIELD(column_name);
1881 : 1452 : READ_NODE_FIELD(context_item);
1882 : 1452 : READ_NODE_FIELD(pathspec);
1883 : 1452 : READ_NODE_FIELD(passing);
1884 : 1452 : READ_NODE_FIELD(output);
1885 : 1452 : READ_NODE_FIELD(on_empty);
1886 : 1452 : READ_NODE_FIELD(on_error);
1887 : 1452 : READ_ENUM_FIELD(wrapper, JsonWrapper);
1888 : 1452 : READ_ENUM_FIELD(quotes, JsonQuotes);
1889 [ + - ]: 1452 : READ_LOCATION_FIELD(location);
1890 : :
1891 : 1452 : READ_DONE();
1892 : : }
1893 : :
1894 : : static JsonTablePathSpec *
1895 : 2260 : _readJsonTablePathSpec(ReadNodeContext *ctx)
1896 : : {
1897 : 2260 : READ_LOCALS(JsonTablePathSpec);
1898 : :
1899 : 2260 : READ_NODE_FIELD(string);
1900 : 2260 : READ_STRING_FIELD(name);
1901 [ + - ]: 2260 : READ_LOCATION_FIELD(name_location);
1902 [ + - ]: 2260 : READ_LOCATION_FIELD(location);
1903 : :
1904 : 2260 : READ_DONE();
1905 : : }
1906 : :
1907 : : static JsonTablePlanSpec *
1908 : 556 : _readJsonTablePlanSpec(ReadNodeContext *ctx)
1909 : : {
1910 : 556 : READ_LOCALS(JsonTablePlanSpec);
1911 : :
1912 : 556 : READ_ENUM_FIELD(plan_type, JsonTablePlanType);
1913 : 556 : READ_ENUM_FIELD(join_type, JsonTablePlanJoinType);
1914 : 556 : READ_STRING_FIELD(pathname);
1915 : 556 : READ_NODE_FIELD(plan1);
1916 : 556 : READ_NODE_FIELD(plan2);
1917 [ + - ]: 556 : READ_LOCATION_FIELD(location);
1918 : :
1919 : 556 : READ_DONE();
1920 : : }
1921 : :
1922 : : static JsonTable *
1923 : 544 : _readJsonTable(ReadNodeContext *ctx)
1924 : : {
1925 : 544 : READ_LOCALS(JsonTable);
1926 : :
1927 : 544 : READ_NODE_FIELD(context_item);
1928 : 544 : READ_NODE_FIELD(pathspec);
1929 : 544 : READ_NODE_FIELD(passing);
1930 : 544 : READ_NODE_FIELD(columns);
1931 : 544 : READ_NODE_FIELD(planspec);
1932 : 544 : READ_NODE_FIELD(on_error);
1933 : 544 : READ_NODE_FIELD(alias);
1934 : 544 : READ_BOOL_FIELD(lateral);
1935 [ + - ]: 544 : READ_LOCATION_FIELD(location);
1936 : :
1937 : 544 : READ_DONE();
1938 : : }
1939 : :
1940 : : static JsonTableColumn *
1941 : 2080 : _readJsonTableColumn(ReadNodeContext *ctx)
1942 : : {
1943 : 2080 : READ_LOCALS(JsonTableColumn);
1944 : :
1945 : 2080 : READ_ENUM_FIELD(coltype, JsonTableColumnType);
1946 : 2080 : READ_STRING_FIELD(name);
1947 : 2080 : READ_NODE_FIELD(typeName);
1948 : 2080 : READ_NODE_FIELD(pathspec);
1949 : 2080 : READ_NODE_FIELD(format);
1950 : 2080 : READ_ENUM_FIELD(wrapper, JsonWrapper);
1951 : 2080 : READ_ENUM_FIELD(quotes, JsonQuotes);
1952 : 2080 : READ_NODE_FIELD(columns);
1953 : 2080 : READ_NODE_FIELD(on_empty);
1954 : 2080 : READ_NODE_FIELD(on_error);
1955 [ + - ]: 2080 : READ_LOCATION_FIELD(location);
1956 : :
1957 : 2080 : READ_DONE();
1958 : : }
1959 : :
1960 : : static JsonKeyValue *
1961 : 762 : _readJsonKeyValue(ReadNodeContext *ctx)
1962 : : {
1963 : 762 : READ_LOCALS(JsonKeyValue);
1964 : :
1965 : 762 : READ_NODE_FIELD(key);
1966 : 762 : READ_NODE_FIELD(value);
1967 : :
1968 : 762 : READ_DONE();
1969 : : }
1970 : :
1971 : : static JsonParseExpr *
1972 : 108 : _readJsonParseExpr(ReadNodeContext *ctx)
1973 : : {
1974 : 108 : READ_LOCALS(JsonParseExpr);
1975 : :
1976 : 108 : READ_NODE_FIELD(expr);
1977 : 108 : READ_NODE_FIELD(output);
1978 : 108 : READ_BOOL_FIELD(unique_keys);
1979 [ + - ]: 108 : READ_LOCATION_FIELD(location);
1980 : :
1981 : 108 : READ_DONE();
1982 : : }
1983 : :
1984 : : static JsonScalarExpr *
1985 : 70 : _readJsonScalarExpr(ReadNodeContext *ctx)
1986 : : {
1987 : 70 : READ_LOCALS(JsonScalarExpr);
1988 : :
1989 : 70 : READ_NODE_FIELD(expr);
1990 : 70 : READ_NODE_FIELD(output);
1991 [ + - ]: 70 : READ_LOCATION_FIELD(location);
1992 : :
1993 : 70 : READ_DONE();
1994 : : }
1995 : :
1996 : : static JsonSerializeExpr *
1997 : 68 : _readJsonSerializeExpr(ReadNodeContext *ctx)
1998 : : {
1999 : 68 : READ_LOCALS(JsonSerializeExpr);
2000 : :
2001 : 68 : READ_NODE_FIELD(expr);
2002 : 68 : READ_NODE_FIELD(output);
2003 [ + - ]: 68 : READ_LOCATION_FIELD(location);
2004 : :
2005 : 68 : READ_DONE();
2006 : : }
2007 : :
2008 : : static JsonObjectConstructor *
2009 : 478 : _readJsonObjectConstructor(ReadNodeContext *ctx)
2010 : : {
2011 : 478 : READ_LOCALS(JsonObjectConstructor);
2012 : :
2013 : 478 : READ_NODE_FIELD(exprs);
2014 : 478 : READ_NODE_FIELD(output);
2015 : 478 : READ_BOOL_FIELD(absent_on_null);
2016 : 478 : READ_BOOL_FIELD(unique);
2017 [ + - ]: 478 : READ_LOCATION_FIELD(location);
2018 : :
2019 : 478 : READ_DONE();
2020 : : }
2021 : :
2022 : : static JsonArrayConstructor *
2023 : 316 : _readJsonArrayConstructor(ReadNodeContext *ctx)
2024 : : {
2025 : 316 : READ_LOCALS(JsonArrayConstructor);
2026 : :
2027 : 316 : READ_NODE_FIELD(exprs);
2028 : 316 : READ_NODE_FIELD(output);
2029 : 316 : READ_BOOL_FIELD(absent_on_null);
2030 [ + - ]: 316 : READ_LOCATION_FIELD(location);
2031 : :
2032 : 316 : READ_DONE();
2033 : : }
2034 : :
2035 : : static JsonArrayQueryConstructor *
2036 : 116 : _readJsonArrayQueryConstructor(ReadNodeContext *ctx)
2037 : : {
2038 : 116 : READ_LOCALS(JsonArrayQueryConstructor);
2039 : :
2040 : 116 : READ_NODE_FIELD(query);
2041 : 116 : READ_NODE_FIELD(output);
2042 : 116 : READ_NODE_FIELD(format);
2043 : 116 : READ_BOOL_FIELD(absent_on_null);
2044 [ + - ]: 116 : READ_LOCATION_FIELD(location);
2045 : :
2046 : 116 : READ_DONE();
2047 : : }
2048 : :
2049 : : static JsonAggConstructor *
2050 : 332 : _readJsonAggConstructor(ReadNodeContext *ctx)
2051 : : {
2052 : 332 : READ_LOCALS(JsonAggConstructor);
2053 : :
2054 : 332 : READ_NODE_FIELD(output);
2055 : 332 : READ_NODE_FIELD(agg_filter);
2056 : 332 : READ_NODE_FIELD(agg_order);
2057 : 332 : READ_NODE_FIELD(over);
2058 [ + - ]: 332 : READ_LOCATION_FIELD(location);
2059 : :
2060 : 332 : READ_DONE();
2061 : : }
2062 : :
2063 : : static JsonObjectAgg *
2064 : 172 : _readJsonObjectAgg(ReadNodeContext *ctx)
2065 : : {
2066 : 172 : READ_LOCALS(JsonObjectAgg);
2067 : :
2068 : 172 : READ_NODE_FIELD(constructor);
2069 : 172 : READ_NODE_FIELD(arg);
2070 : 172 : READ_BOOL_FIELD(absent_on_null);
2071 : 172 : READ_BOOL_FIELD(unique);
2072 : :
2073 : 172 : READ_DONE();
2074 : : }
2075 : :
2076 : : static JsonArrayAgg *
2077 : 160 : _readJsonArrayAgg(ReadNodeContext *ctx)
2078 : : {
2079 : 160 : READ_LOCALS(JsonArrayAgg);
2080 : :
2081 : 160 : READ_NODE_FIELD(constructor);
2082 : 160 : READ_NODE_FIELD(arg);
2083 : 160 : READ_BOOL_FIELD(absent_on_null);
2084 : :
2085 : 160 : READ_DONE();
2086 : : }
2087 : :
2088 : : static RawStmt *
2089 : 471442 : _readRawStmt(ReadNodeContext *ctx)
2090 : : {
2091 : 471442 : READ_LOCALS(RawStmt);
2092 : :
2093 : 471442 : READ_NODE_FIELD(stmt);
2094 [ + - ]: 471442 : READ_LOCATION_FIELD(stmt_location);
2095 [ + - ]: 471442 : READ_LOCATION_FIELD(stmt_len);
2096 : :
2097 : 471442 : READ_DONE();
2098 : : }
2099 : :
2100 : : static InsertStmt *
2101 : 45025 : _readInsertStmt(ReadNodeContext *ctx)
2102 : : {
2103 : 45025 : READ_LOCALS(InsertStmt);
2104 : :
2105 : 45025 : READ_NODE_FIELD(relation);
2106 : 45025 : READ_NODE_FIELD(cols);
2107 : 45025 : READ_NODE_FIELD(selectStmt);
2108 : 45025 : READ_NODE_FIELD(onConflictClause);
2109 : 45025 : READ_NODE_FIELD(returningClause);
2110 : 45025 : READ_NODE_FIELD(withClause);
2111 : 45025 : READ_ENUM_FIELD(override, OverridingKind);
2112 : :
2113 : 45025 : READ_DONE();
2114 : : }
2115 : :
2116 : : static DeleteStmt *
2117 : 3471 : _readDeleteStmt(ReadNodeContext *ctx)
2118 : : {
2119 : 3471 : READ_LOCALS(DeleteStmt);
2120 : :
2121 : 3471 : READ_NODE_FIELD(relation);
2122 : 3471 : READ_NODE_FIELD(usingClause);
2123 : 3471 : READ_NODE_FIELD(whereClause);
2124 : 3471 : READ_NODE_FIELD(returningClause);
2125 : 3471 : READ_NODE_FIELD(withClause);
2126 : 3471 : READ_NODE_FIELD(forPortionOf);
2127 : :
2128 : 3471 : READ_DONE();
2129 : : }
2130 : :
2131 : : static UpdateStmt *
2132 : 9274 : _readUpdateStmt(ReadNodeContext *ctx)
2133 : : {
2134 : 9274 : READ_LOCALS(UpdateStmt);
2135 : :
2136 : 9274 : READ_NODE_FIELD(relation);
2137 : 9274 : READ_NODE_FIELD(targetList);
2138 : 9274 : READ_NODE_FIELD(whereClause);
2139 : 9274 : READ_NODE_FIELD(fromClause);
2140 : 9274 : READ_NODE_FIELD(returningClause);
2141 : 9274 : READ_NODE_FIELD(withClause);
2142 : 9274 : READ_NODE_FIELD(forPortionOf);
2143 : :
2144 : 9274 : READ_DONE();
2145 : : }
2146 : :
2147 : : static MergeStmt *
2148 : 1345 : _readMergeStmt(ReadNodeContext *ctx)
2149 : : {
2150 : 1345 : READ_LOCALS(MergeStmt);
2151 : :
2152 : 1345 : READ_NODE_FIELD(relation);
2153 : 1345 : READ_NODE_FIELD(sourceRelation);
2154 : 1345 : READ_NODE_FIELD(joinCondition);
2155 : 1345 : READ_NODE_FIELD(mergeWhenClauses);
2156 : 1345 : READ_NODE_FIELD(returningClause);
2157 : 1345 : READ_NODE_FIELD(withClause);
2158 : :
2159 : 1345 : READ_DONE();
2160 : : }
2161 : :
2162 : : static SelectStmt *
2163 : 345605 : _readSelectStmt(ReadNodeContext *ctx)
2164 : : {
2165 : 345605 : READ_LOCALS(SelectStmt);
2166 : :
2167 : 345605 : READ_NODE_FIELD(distinctClause);
2168 : 345605 : READ_NODE_FIELD(intoClause);
2169 : 345605 : READ_NODE_FIELD(targetList);
2170 : 345605 : READ_NODE_FIELD(fromClause);
2171 : 345605 : READ_NODE_FIELD(whereClause);
2172 : 345605 : READ_NODE_FIELD(groupClause);
2173 : 345605 : READ_BOOL_FIELD(groupDistinct);
2174 : 345605 : READ_NODE_FIELD(havingClause);
2175 : 345605 : READ_NODE_FIELD(windowClause);
2176 : 345605 : READ_NODE_FIELD(valuesLists);
2177 : 345605 : READ_NODE_FIELD(sortClause);
2178 : 345605 : READ_NODE_FIELD(limitOffset);
2179 : 345605 : READ_NODE_FIELD(limitCount);
2180 : 345605 : READ_ENUM_FIELD(limitOption, LimitOption);
2181 : 345605 : READ_NODE_FIELD(lockingClause);
2182 : 345605 : READ_NODE_FIELD(withClause);
2183 : 345605 : READ_ENUM_FIELD(op, SetOperation);
2184 : 345605 : READ_BOOL_FIELD(all);
2185 : 345605 : READ_NODE_FIELD(larg);
2186 : 345605 : READ_NODE_FIELD(rarg);
2187 : :
2188 : 345605 : READ_DONE();
2189 : : }
2190 : :
2191 : : static SetOperationStmt *
2192 : 19658 : _readSetOperationStmt(ReadNodeContext *ctx)
2193 : : {
2194 : 19658 : READ_LOCALS(SetOperationStmt);
2195 : :
2196 : 19658 : READ_ENUM_FIELD(op, SetOperation);
2197 : 19658 : READ_BOOL_FIELD(all);
2198 : 19658 : READ_NODE_FIELD(larg);
2199 : 19658 : READ_NODE_FIELD(rarg);
2200 : 19658 : READ_NODE_FIELD(colTypes);
2201 : 19658 : READ_NODE_FIELD(colTypmods);
2202 : 19658 : READ_NODE_FIELD(colCollations);
2203 : 19658 : READ_NODE_FIELD(groupClauses);
2204 : :
2205 : 19658 : READ_DONE();
2206 : : }
2207 : :
2208 : : static ReturnStmt *
2209 : 5472 : _readReturnStmt(ReadNodeContext *ctx)
2210 : : {
2211 : 5472 : READ_LOCALS(ReturnStmt);
2212 : :
2213 : 5472 : READ_NODE_FIELD(returnval);
2214 : :
2215 : 5472 : READ_DONE();
2216 : : }
2217 : :
2218 : : static PLAssignStmt *
2219 : 0 : _readPLAssignStmt(ReadNodeContext *ctx)
2220 : : {
2221 : 0 : READ_LOCALS(PLAssignStmt);
2222 : :
2223 : 0 : READ_STRING_FIELD(name);
2224 : 0 : READ_NODE_FIELD(indirection);
2225 : 0 : READ_INT_FIELD(nnames);
2226 : 0 : READ_NODE_FIELD(val);
2227 [ # # ]: 0 : READ_LOCATION_FIELD(location);
2228 : :
2229 : 0 : READ_DONE();
2230 : : }
2231 : :
2232 : : static CreateSchemaStmt *
2233 : 1513 : _readCreateSchemaStmt(ReadNodeContext *ctx)
2234 : : {
2235 : 1513 : READ_LOCALS(CreateSchemaStmt);
2236 : :
2237 : 1513 : READ_STRING_FIELD(schemaname);
2238 : 1513 : READ_NODE_FIELD(authrole);
2239 : 1513 : READ_NODE_FIELD(schemaElts);
2240 : 1513 : READ_BOOL_FIELD(if_not_exists);
2241 : :
2242 : 1513 : READ_DONE();
2243 : : }
2244 : :
2245 : : static AlterTableStmt *
2246 : 39944 : _readAlterTableStmt(ReadNodeContext *ctx)
2247 : : {
2248 : 39944 : READ_LOCALS(AlterTableStmt);
2249 : :
2250 : 39944 : READ_NODE_FIELD(relation);
2251 : 39944 : READ_NODE_FIELD(cmds);
2252 : 39944 : READ_ENUM_FIELD(objtype, ObjectType);
2253 : 39944 : READ_BOOL_FIELD(missing_ok);
2254 : :
2255 : 39944 : READ_DONE();
2256 : : }
2257 : :
2258 : : static AlterTableCmd *
2259 : 41354 : _readAlterTableCmd(ReadNodeContext *ctx)
2260 : : {
2261 : 41354 : READ_LOCALS(AlterTableCmd);
2262 : :
2263 : 41354 : READ_ENUM_FIELD(subtype, AlterTableType);
2264 : 41354 : READ_STRING_FIELD(name);
2265 : 41354 : READ_INT_FIELD(num);
2266 : 41354 : READ_NODE_FIELD(newowner);
2267 : 41354 : READ_NODE_FIELD(def);
2268 : 41354 : READ_ENUM_FIELD(behavior, DropBehavior);
2269 : 41354 : READ_BOOL_FIELD(missing_ok);
2270 : 41354 : READ_BOOL_FIELD(recurse);
2271 : :
2272 : 41354 : READ_DONE();
2273 : : }
2274 : :
2275 : : static ATAlterConstraint *
2276 : 672 : _readATAlterConstraint(ReadNodeContext *ctx)
2277 : : {
2278 : 672 : READ_LOCALS(ATAlterConstraint);
2279 : :
2280 : 672 : READ_STRING_FIELD(conname);
2281 : 672 : READ_BOOL_FIELD(alterEnforceability);
2282 : 672 : READ_BOOL_FIELD(is_enforced);
2283 : 672 : READ_BOOL_FIELD(alterDeferrability);
2284 : 672 : READ_BOOL_FIELD(deferrable);
2285 : 672 : READ_BOOL_FIELD(initdeferred);
2286 : 672 : READ_BOOL_FIELD(alterInheritability);
2287 : 672 : READ_BOOL_FIELD(noinherit);
2288 : :
2289 : 672 : READ_DONE();
2290 : : }
2291 : :
2292 : : static ReplicaIdentityStmt *
2293 : 630 : _readReplicaIdentityStmt(ReadNodeContext *ctx)
2294 : : {
2295 : 630 : READ_LOCALS(ReplicaIdentityStmt);
2296 : :
2297 [ + - - + ]: 630 : READ_CHAR_FIELD(identity_type);
2298 : 630 : READ_STRING_FIELD(name);
2299 : :
2300 : 630 : READ_DONE();
2301 : : }
2302 : :
2303 : : static AlterCollationStmt *
2304 : 8 : _readAlterCollationStmt(ReadNodeContext *ctx)
2305 : : {
2306 : 8 : READ_LOCALS(AlterCollationStmt);
2307 : :
2308 : 8 : READ_NODE_FIELD(collname);
2309 : :
2310 : 8 : READ_DONE();
2311 : : }
2312 : :
2313 : : static AlterDomainStmt *
2314 : 388 : _readAlterDomainStmt(ReadNodeContext *ctx)
2315 : : {
2316 : 388 : READ_LOCALS(AlterDomainStmt);
2317 : :
2318 : 388 : READ_ENUM_FIELD(subtype, AlterDomainType);
2319 : 388 : READ_NODE_FIELD(typeName);
2320 : 388 : READ_STRING_FIELD(name);
2321 : 388 : READ_NODE_FIELD(def);
2322 : 388 : READ_ENUM_FIELD(behavior, DropBehavior);
2323 : 388 : READ_BOOL_FIELD(missing_ok);
2324 : :
2325 : 388 : READ_DONE();
2326 : : }
2327 : :
2328 : : static GrantStmt *
2329 : 16997 : _readGrantStmt(ReadNodeContext *ctx)
2330 : : {
2331 : 16997 : READ_LOCALS(GrantStmt);
2332 : :
2333 : 16997 : READ_BOOL_FIELD(is_grant);
2334 : 16997 : READ_ENUM_FIELD(targtype, GrantTargetType);
2335 : 16997 : READ_ENUM_FIELD(objtype, ObjectType);
2336 : 16997 : READ_NODE_FIELD(objects);
2337 : 16997 : READ_NODE_FIELD(privileges);
2338 : 16997 : READ_NODE_FIELD(grantees);
2339 : 16997 : READ_BOOL_FIELD(grant_option);
2340 : 16997 : READ_NODE_FIELD(grantor);
2341 : 16997 : READ_ENUM_FIELD(behavior, DropBehavior);
2342 : :
2343 : 16997 : READ_DONE();
2344 : : }
2345 : :
2346 : : static ObjectWithArgs *
2347 : 16492 : _readObjectWithArgs(ReadNodeContext *ctx)
2348 : : {
2349 : 16492 : READ_LOCALS(ObjectWithArgs);
2350 : :
2351 : 16492 : READ_NODE_FIELD(objname);
2352 : 16492 : READ_NODE_FIELD(objargs);
2353 : 16492 : READ_NODE_FIELD(objfuncargs);
2354 : 16492 : READ_BOOL_FIELD(args_unspecified);
2355 : :
2356 : 16492 : READ_DONE();
2357 : : }
2358 : :
2359 : : static AccessPriv *
2360 : 15311 : _readAccessPriv(ReadNodeContext *ctx)
2361 : : {
2362 : 15311 : READ_LOCALS(AccessPriv);
2363 : :
2364 : 15311 : READ_STRING_FIELD(priv_name);
2365 : 15311 : READ_NODE_FIELD(cols);
2366 : :
2367 : 15311 : READ_DONE();
2368 : : }
2369 : :
2370 : : static GrantRoleStmt *
2371 : 856 : _readGrantRoleStmt(ReadNodeContext *ctx)
2372 : : {
2373 : 856 : READ_LOCALS(GrantRoleStmt);
2374 : :
2375 : 856 : READ_NODE_FIELD(granted_roles);
2376 : 856 : READ_NODE_FIELD(grantee_roles);
2377 : 856 : READ_BOOL_FIELD(is_grant);
2378 : 856 : READ_NODE_FIELD(opt);
2379 : 856 : READ_NODE_FIELD(grantor);
2380 : 856 : READ_ENUM_FIELD(behavior, DropBehavior);
2381 : :
2382 : 856 : READ_DONE();
2383 : : }
2384 : :
2385 : : static AlterDefaultPrivilegesStmt *
2386 : 270 : _readAlterDefaultPrivilegesStmt(ReadNodeContext *ctx)
2387 : : {
2388 : 270 : READ_LOCALS(AlterDefaultPrivilegesStmt);
2389 : :
2390 : 270 : READ_NODE_FIELD(options);
2391 : 270 : READ_NODE_FIELD(action);
2392 : :
2393 : 270 : READ_DONE();
2394 : : }
2395 : :
2396 : : static CopyStmt *
2397 : 13429 : _readCopyStmt(ReadNodeContext *ctx)
2398 : : {
2399 : 13429 : READ_LOCALS(CopyStmt);
2400 : :
2401 : 13429 : READ_NODE_FIELD(relation);
2402 : 13429 : READ_NODE_FIELD(query);
2403 : 13429 : READ_NODE_FIELD(attlist);
2404 : 13429 : READ_BOOL_FIELD(is_from);
2405 : 13429 : READ_BOOL_FIELD(is_program);
2406 : 13429 : READ_STRING_FIELD(filename);
2407 : 13429 : READ_NODE_FIELD(options);
2408 : 13429 : READ_NODE_FIELD(whereClause);
2409 : :
2410 : 13429 : READ_DONE();
2411 : : }
2412 : :
2413 : : static VariableSetStmt *
2414 : 38425 : _readVariableSetStmt(ReadNodeContext *ctx)
2415 : : {
2416 : 38425 : READ_LOCALS(VariableSetStmt);
2417 : :
2418 : 38425 : READ_ENUM_FIELD(kind, VariableSetKind);
2419 : 38425 : READ_STRING_FIELD(name);
2420 : 38425 : READ_NODE_FIELD(args);
2421 : 38425 : READ_BOOL_FIELD(jumble_args);
2422 : 38425 : READ_BOOL_FIELD(is_local);
2423 [ + - ]: 38425 : READ_LOCATION_FIELD(location);
2424 : :
2425 : 38425 : READ_DONE();
2426 : : }
2427 : :
2428 : : static VariableShowStmt *
2429 : 1158 : _readVariableShowStmt(ReadNodeContext *ctx)
2430 : : {
2431 : 1158 : READ_LOCALS(VariableShowStmt);
2432 : :
2433 : 1158 : READ_STRING_FIELD(name);
2434 : :
2435 : 1158 : READ_DONE();
2436 : : }
2437 : :
2438 : : static CreateStmt *
2439 : 51176 : _readCreateStmt(ReadNodeContext *ctx)
2440 : : {
2441 : 51176 : READ_LOCALS(CreateStmt);
2442 : :
2443 : 51176 : READ_NODE_FIELD(relation);
2444 : 51176 : READ_NODE_FIELD(tableElts);
2445 : 51176 : READ_NODE_FIELD(inhRelations);
2446 : 51176 : READ_NODE_FIELD(partbound);
2447 : 51176 : READ_NODE_FIELD(partspec);
2448 : 51176 : READ_NODE_FIELD(ofTypename);
2449 : 51176 : READ_NODE_FIELD(constraints);
2450 : 51176 : READ_NODE_FIELD(nnconstraints);
2451 : 51176 : READ_NODE_FIELD(options);
2452 : 51176 : READ_ENUM_FIELD(oncommit, OnCommitAction);
2453 : 51176 : READ_STRING_FIELD(tablespacename);
2454 : 51176 : READ_STRING_FIELD(accessMethod);
2455 : 51176 : READ_BOOL_FIELD(if_not_exists);
2456 : :
2457 : 51176 : READ_DONE();
2458 : : }
2459 : :
2460 : : static Constraint *
2461 : 48050 : _readConstraint(ReadNodeContext *ctx)
2462 : : {
2463 : 48050 : READ_LOCALS(Constraint);
2464 : :
2465 : 48050 : READ_ENUM_FIELD(contype, ConstrType);
2466 : 48050 : READ_STRING_FIELD(conname);
2467 : 48050 : READ_BOOL_FIELD(deferrable);
2468 : 48050 : READ_BOOL_FIELD(initdeferred);
2469 : 48050 : READ_BOOL_FIELD(is_enforced);
2470 : 48050 : READ_BOOL_FIELD(skip_validation);
2471 : 48050 : READ_BOOL_FIELD(initially_valid);
2472 : 48050 : READ_BOOL_FIELD(is_no_inherit);
2473 : 48050 : READ_NODE_FIELD(raw_expr);
2474 : 48050 : READ_STRING_FIELD(cooked_expr);
2475 [ + + - + ]: 48050 : READ_CHAR_FIELD(generated_when);
2476 [ + + - + ]: 48050 : READ_CHAR_FIELD(generated_kind);
2477 : 48050 : READ_BOOL_FIELD(nulls_not_distinct);
2478 : 48050 : READ_NODE_FIELD(keys);
2479 : 48050 : READ_BOOL_FIELD(without_overlaps);
2480 : 48050 : READ_NODE_FIELD(including);
2481 : 48050 : READ_NODE_FIELD(exclusions);
2482 : 48050 : READ_NODE_FIELD(options);
2483 : 48050 : READ_STRING_FIELD(indexname);
2484 : 48050 : READ_STRING_FIELD(indexspace);
2485 : 48050 : READ_BOOL_FIELD(reset_default_tblspc);
2486 : 48050 : READ_STRING_FIELD(access_method);
2487 : 48050 : READ_NODE_FIELD(where_clause);
2488 : 48050 : READ_NODE_FIELD(pktable);
2489 : 48050 : READ_NODE_FIELD(fk_attrs);
2490 : 48050 : READ_NODE_FIELD(pk_attrs);
2491 : 48050 : READ_BOOL_FIELD(fk_with_period);
2492 : 48050 : READ_BOOL_FIELD(pk_with_period);
2493 [ + + - + ]: 48050 : READ_CHAR_FIELD(fk_matchtype);
2494 [ + + - + ]: 48050 : READ_CHAR_FIELD(fk_upd_action);
2495 [ + + - + ]: 48050 : READ_CHAR_FIELD(fk_del_action);
2496 : 48050 : READ_NODE_FIELD(fk_del_set_cols);
2497 : 48050 : READ_NODE_FIELD(old_conpfeqop);
2498 : 48050 : READ_OID_FIELD(old_pktable_oid);
2499 [ + - ]: 48050 : READ_LOCATION_FIELD(location);
2500 : :
2501 : 48050 : READ_DONE();
2502 : : }
2503 : :
2504 : : static CreateTableSpaceStmt *
2505 : 152 : _readCreateTableSpaceStmt(ReadNodeContext *ctx)
2506 : : {
2507 : 152 : READ_LOCALS(CreateTableSpaceStmt);
2508 : :
2509 : 152 : READ_STRING_FIELD(tablespacename);
2510 : 152 : READ_NODE_FIELD(owner);
2511 : 152 : READ_STRING_FIELD(location);
2512 : 152 : READ_NODE_FIELD(options);
2513 : :
2514 : 152 : READ_DONE();
2515 : : }
2516 : :
2517 : : static DropTableSpaceStmt *
2518 : 72 : _readDropTableSpaceStmt(ReadNodeContext *ctx)
2519 : : {
2520 : 72 : READ_LOCALS(DropTableSpaceStmt);
2521 : :
2522 : 72 : READ_STRING_FIELD(tablespacename);
2523 : 72 : READ_BOOL_FIELD(missing_ok);
2524 : :
2525 : 72 : READ_DONE();
2526 : : }
2527 : :
2528 : : static AlterTableSpaceOptionsStmt *
2529 : 34 : _readAlterTableSpaceOptionsStmt(ReadNodeContext *ctx)
2530 : : {
2531 : 34 : READ_LOCALS(AlterTableSpaceOptionsStmt);
2532 : :
2533 : 34 : READ_STRING_FIELD(tablespacename);
2534 : 34 : READ_NODE_FIELD(options);
2535 : 34 : READ_BOOL_FIELD(isReset);
2536 : :
2537 : 34 : READ_DONE();
2538 : : }
2539 : :
2540 : : static AlterTableMoveAllStmt *
2541 : 32 : _readAlterTableMoveAllStmt(ReadNodeContext *ctx)
2542 : : {
2543 : 32 : READ_LOCALS(AlterTableMoveAllStmt);
2544 : :
2545 : 32 : READ_STRING_FIELD(orig_tablespacename);
2546 : 32 : READ_ENUM_FIELD(objtype, ObjectType);
2547 : 32 : READ_NODE_FIELD(roles);
2548 : 32 : READ_STRING_FIELD(new_tablespacename);
2549 : 32 : READ_BOOL_FIELD(nowait);
2550 : :
2551 : 32 : READ_DONE();
2552 : : }
2553 : :
2554 : : static CreateExtensionStmt *
2555 : 680 : _readCreateExtensionStmt(ReadNodeContext *ctx)
2556 : : {
2557 : 680 : READ_LOCALS(CreateExtensionStmt);
2558 : :
2559 : 680 : READ_STRING_FIELD(extname);
2560 : 680 : READ_BOOL_FIELD(if_not_exists);
2561 : 680 : READ_NODE_FIELD(options);
2562 : :
2563 : 680 : READ_DONE();
2564 : : }
2565 : :
2566 : : static AlterExtensionStmt *
2567 : 37 : _readAlterExtensionStmt(ReadNodeContext *ctx)
2568 : : {
2569 : 37 : READ_LOCALS(AlterExtensionStmt);
2570 : :
2571 : 37 : READ_STRING_FIELD(extname);
2572 : 37 : READ_NODE_FIELD(options);
2573 : :
2574 : 37 : READ_DONE();
2575 : : }
2576 : :
2577 : : static AlterExtensionContentsStmt *
2578 : 292 : _readAlterExtensionContentsStmt(ReadNodeContext *ctx)
2579 : : {
2580 : 292 : READ_LOCALS(AlterExtensionContentsStmt);
2581 : :
2582 : 292 : READ_STRING_FIELD(extname);
2583 : 292 : READ_INT_FIELD(action);
2584 : 292 : READ_ENUM_FIELD(objtype, ObjectType);
2585 : 292 : READ_NODE_FIELD(object);
2586 : :
2587 : 292 : READ_DONE();
2588 : : }
2589 : :
2590 : : static CreateFdwStmt *
2591 : 306 : _readCreateFdwStmt(ReadNodeContext *ctx)
2592 : : {
2593 : 306 : READ_LOCALS(CreateFdwStmt);
2594 : :
2595 : 306 : READ_STRING_FIELD(fdwname);
2596 : 306 : READ_NODE_FIELD(func_options);
2597 : 306 : READ_NODE_FIELD(options);
2598 : :
2599 : 306 : READ_DONE();
2600 : : }
2601 : :
2602 : : static AlterFdwStmt *
2603 : 206 : _readAlterFdwStmt(ReadNodeContext *ctx)
2604 : : {
2605 : 206 : READ_LOCALS(AlterFdwStmt);
2606 : :
2607 : 206 : READ_STRING_FIELD(fdwname);
2608 : 206 : READ_NODE_FIELD(func_options);
2609 : 206 : READ_NODE_FIELD(options);
2610 : :
2611 : 206 : READ_DONE();
2612 : : }
2613 : :
2614 : : static CreateForeignServerStmt *
2615 : 385 : _readCreateForeignServerStmt(ReadNodeContext *ctx)
2616 : : {
2617 : 385 : READ_LOCALS(CreateForeignServerStmt);
2618 : :
2619 : 385 : READ_STRING_FIELD(servername);
2620 : 385 : READ_STRING_FIELD(servertype);
2621 : 385 : READ_STRING_FIELD(version);
2622 : 385 : READ_STRING_FIELD(fdwname);
2623 : 385 : READ_BOOL_FIELD(if_not_exists);
2624 : 385 : READ_NODE_FIELD(options);
2625 : :
2626 : 385 : READ_DONE();
2627 : : }
2628 : :
2629 : : static AlterForeignServerStmt *
2630 : 258 : _readAlterForeignServerStmt(ReadNodeContext *ctx)
2631 : : {
2632 : 258 : READ_LOCALS(AlterForeignServerStmt);
2633 : :
2634 : 258 : READ_STRING_FIELD(servername);
2635 : 258 : READ_STRING_FIELD(version);
2636 : 258 : READ_NODE_FIELD(options);
2637 : 258 : READ_BOOL_FIELD(has_version);
2638 : :
2639 : 258 : READ_DONE();
2640 : : }
2641 : :
2642 : : static CreateForeignTableStmt *
2643 : 582 : _readCreateForeignTableStmt(ReadNodeContext *ctx)
2644 : : {
2645 : 582 : READ_LOCALS(CreateForeignTableStmt);
2646 : :
2647 : 582 : READ_NODE_FIELD(base.relation);
2648 : 582 : READ_NODE_FIELD(base.tableElts);
2649 : 582 : READ_NODE_FIELD(base.inhRelations);
2650 : 582 : READ_NODE_FIELD(base.partbound);
2651 : 582 : READ_NODE_FIELD(base.partspec);
2652 : 582 : READ_NODE_FIELD(base.ofTypename);
2653 : 582 : READ_NODE_FIELD(base.constraints);
2654 : 582 : READ_NODE_FIELD(base.nnconstraints);
2655 : 582 : READ_NODE_FIELD(base.options);
2656 : 582 : READ_ENUM_FIELD(base.oncommit, OnCommitAction);
2657 : 582 : READ_STRING_FIELD(base.tablespacename);
2658 : 582 : READ_STRING_FIELD(base.accessMethod);
2659 : 582 : READ_BOOL_FIELD(base.if_not_exists);
2660 : 582 : READ_STRING_FIELD(servername);
2661 : 582 : READ_NODE_FIELD(options);
2662 : :
2663 : 582 : READ_DONE();
2664 : : }
2665 : :
2666 : : static CreateUserMappingStmt *
2667 : 334 : _readCreateUserMappingStmt(ReadNodeContext *ctx)
2668 : : {
2669 : 334 : READ_LOCALS(CreateUserMappingStmt);
2670 : :
2671 : 334 : READ_NODE_FIELD(user);
2672 : 334 : READ_STRING_FIELD(servername);
2673 : 334 : READ_BOOL_FIELD(if_not_exists);
2674 : 334 : READ_NODE_FIELD(options);
2675 : :
2676 : 334 : READ_DONE();
2677 : : }
2678 : :
2679 : : static AlterUserMappingStmt *
2680 : 146 : _readAlterUserMappingStmt(ReadNodeContext *ctx)
2681 : : {
2682 : 146 : READ_LOCALS(AlterUserMappingStmt);
2683 : :
2684 : 146 : READ_NODE_FIELD(user);
2685 : 146 : READ_STRING_FIELD(servername);
2686 : 146 : READ_NODE_FIELD(options);
2687 : :
2688 : 146 : READ_DONE();
2689 : : }
2690 : :
2691 : : static DropUserMappingStmt *
2692 : 158 : _readDropUserMappingStmt(ReadNodeContext *ctx)
2693 : : {
2694 : 158 : READ_LOCALS(DropUserMappingStmt);
2695 : :
2696 : 158 : READ_NODE_FIELD(user);
2697 : 158 : READ_STRING_FIELD(servername);
2698 : 158 : READ_BOOL_FIELD(missing_ok);
2699 : :
2700 : 158 : READ_DONE();
2701 : : }
2702 : :
2703 : : static ImportForeignSchemaStmt *
2704 : 56 : _readImportForeignSchemaStmt(ReadNodeContext *ctx)
2705 : : {
2706 : 56 : READ_LOCALS(ImportForeignSchemaStmt);
2707 : :
2708 : 56 : READ_STRING_FIELD(server_name);
2709 : 56 : READ_STRING_FIELD(remote_schema);
2710 : 56 : READ_STRING_FIELD(local_schema);
2711 : 56 : READ_ENUM_FIELD(list_type, ImportForeignSchemaType);
2712 : 56 : READ_NODE_FIELD(table_list);
2713 : 56 : READ_NODE_FIELD(options);
2714 : :
2715 : 56 : READ_DONE();
2716 : : }
2717 : :
2718 : : static CreatePolicyStmt *
2719 : 1230 : _readCreatePolicyStmt(ReadNodeContext *ctx)
2720 : : {
2721 : 1230 : READ_LOCALS(CreatePolicyStmt);
2722 : :
2723 : 1230 : READ_STRING_FIELD(policy_name);
2724 : 1230 : READ_NODE_FIELD(table);
2725 : 1230 : READ_STRING_FIELD(cmd_name);
2726 : 1230 : READ_BOOL_FIELD(permissive);
2727 : 1230 : READ_NODE_FIELD(roles);
2728 : 1230 : READ_NODE_FIELD(qual);
2729 : 1230 : READ_NODE_FIELD(with_check);
2730 : :
2731 : 1230 : READ_DONE();
2732 : : }
2733 : :
2734 : : static AlterPolicyStmt *
2735 : 112 : _readAlterPolicyStmt(ReadNodeContext *ctx)
2736 : : {
2737 : 112 : READ_LOCALS(AlterPolicyStmt);
2738 : :
2739 : 112 : READ_STRING_FIELD(policy_name);
2740 : 112 : READ_NODE_FIELD(table);
2741 : 112 : READ_NODE_FIELD(roles);
2742 : 112 : READ_NODE_FIELD(qual);
2743 : 112 : READ_NODE_FIELD(with_check);
2744 : :
2745 : 112 : READ_DONE();
2746 : : }
2747 : :
2748 : : static CreateAmStmt *
2749 : 76 : _readCreateAmStmt(ReadNodeContext *ctx)
2750 : : {
2751 : 76 : READ_LOCALS(CreateAmStmt);
2752 : :
2753 : 76 : READ_STRING_FIELD(amname);
2754 : 76 : READ_NODE_FIELD(handler_name);
2755 [ + - - + ]: 76 : READ_CHAR_FIELD(amtype);
2756 : :
2757 : 76 : READ_DONE();
2758 : : }
2759 : :
2760 : : static CreateTrigStmt *
2761 : 4326 : _readCreateTrigStmt(ReadNodeContext *ctx)
2762 : : {
2763 : 4326 : READ_LOCALS(CreateTrigStmt);
2764 : :
2765 : 4326 : READ_BOOL_FIELD(replace);
2766 : 4326 : READ_BOOL_FIELD(isconstraint);
2767 : 4326 : READ_STRING_FIELD(trigname);
2768 : 4326 : READ_NODE_FIELD(relation);
2769 : 4326 : READ_NODE_FIELD(funcname);
2770 : 4326 : READ_NODE_FIELD(args);
2771 : 4326 : READ_BOOL_FIELD(row);
2772 : 4326 : READ_INT_FIELD(timing);
2773 : 4326 : READ_INT_FIELD(events);
2774 : 4326 : READ_NODE_FIELD(columns);
2775 : 4326 : READ_NODE_FIELD(whenClause);
2776 : 4326 : READ_NODE_FIELD(transitionRels);
2777 : 4326 : READ_BOOL_FIELD(deferrable);
2778 : 4326 : READ_BOOL_FIELD(initdeferred);
2779 : 4326 : READ_NODE_FIELD(constrrel);
2780 : :
2781 : 4326 : READ_DONE();
2782 : : }
2783 : :
2784 : : static CreateEventTrigStmt *
2785 : 258 : _readCreateEventTrigStmt(ReadNodeContext *ctx)
2786 : : {
2787 : 258 : READ_LOCALS(CreateEventTrigStmt);
2788 : :
2789 : 258 : READ_STRING_FIELD(trigname);
2790 : 258 : READ_STRING_FIELD(eventname);
2791 : 258 : READ_NODE_FIELD(whenclause);
2792 : 258 : READ_NODE_FIELD(funcname);
2793 : :
2794 : 258 : READ_DONE();
2795 : : }
2796 : :
2797 : : static AlterEventTrigStmt *
2798 : 64 : _readAlterEventTrigStmt(ReadNodeContext *ctx)
2799 : : {
2800 : 64 : READ_LOCALS(AlterEventTrigStmt);
2801 : :
2802 : 64 : READ_STRING_FIELD(trigname);
2803 [ + - - + ]: 64 : READ_CHAR_FIELD(tgenabled);
2804 : :
2805 : 64 : READ_DONE();
2806 : : }
2807 : :
2808 : : static CreatePLangStmt *
2809 : 158 : _readCreatePLangStmt(ReadNodeContext *ctx)
2810 : : {
2811 : 158 : READ_LOCALS(CreatePLangStmt);
2812 : :
2813 : 158 : READ_BOOL_FIELD(replace);
2814 : 158 : READ_STRING_FIELD(plname);
2815 : 158 : READ_NODE_FIELD(plhandler);
2816 : 158 : READ_NODE_FIELD(plinline);
2817 : 158 : READ_NODE_FIELD(plvalidator);
2818 : 158 : READ_BOOL_FIELD(pltrusted);
2819 : :
2820 : 158 : READ_DONE();
2821 : : }
2822 : :
2823 : : static CreateRoleStmt *
2824 : 2612 : _readCreateRoleStmt(ReadNodeContext *ctx)
2825 : : {
2826 : 2612 : READ_LOCALS(CreateRoleStmt);
2827 : :
2828 : 2612 : READ_ENUM_FIELD(stmt_type, RoleStmtType);
2829 : 2612 : READ_STRING_FIELD(role);
2830 : 2612 : READ_NODE_FIELD(options);
2831 : :
2832 : 2612 : READ_DONE();
2833 : : }
2834 : :
2835 : : static AlterRoleStmt *
2836 : 588 : _readAlterRoleStmt(ReadNodeContext *ctx)
2837 : : {
2838 : 588 : READ_LOCALS(AlterRoleStmt);
2839 : :
2840 : 588 : READ_NODE_FIELD(role);
2841 : 588 : READ_NODE_FIELD(options);
2842 : 588 : READ_INT_FIELD(action);
2843 : :
2844 : 588 : READ_DONE();
2845 : : }
2846 : :
2847 : : static AlterRoleSetStmt *
2848 : 104 : _readAlterRoleSetStmt(ReadNodeContext *ctx)
2849 : : {
2850 : 104 : READ_LOCALS(AlterRoleSetStmt);
2851 : :
2852 : 104 : READ_NODE_FIELD(role);
2853 : 104 : READ_STRING_FIELD(database);
2854 : 104 : READ_NODE_FIELD(setstmt);
2855 : :
2856 : 104 : READ_DONE();
2857 : : }
2858 : :
2859 : : static DropRoleStmt *
2860 : 2494 : _readDropRoleStmt(ReadNodeContext *ctx)
2861 : : {
2862 : 2494 : READ_LOCALS(DropRoleStmt);
2863 : :
2864 : 2494 : READ_NODE_FIELD(roles);
2865 : 2494 : READ_BOOL_FIELD(missing_ok);
2866 : :
2867 : 2494 : READ_DONE();
2868 : : }
2869 : :
2870 : : static CreateSeqStmt *
2871 : 898 : _readCreateSeqStmt(ReadNodeContext *ctx)
2872 : : {
2873 : 898 : READ_LOCALS(CreateSeqStmt);
2874 : :
2875 : 898 : READ_NODE_FIELD(sequence);
2876 : 898 : READ_NODE_FIELD(options);
2877 : 898 : READ_OID_FIELD(ownerId);
2878 : 898 : READ_BOOL_FIELD(for_identity);
2879 : 898 : READ_BOOL_FIELD(if_not_exists);
2880 : :
2881 : 898 : READ_DONE();
2882 : : }
2883 : :
2884 : : static AlterSeqStmt *
2885 : 266 : _readAlterSeqStmt(ReadNodeContext *ctx)
2886 : : {
2887 : 266 : READ_LOCALS(AlterSeqStmt);
2888 : :
2889 : 266 : READ_NODE_FIELD(sequence);
2890 : 266 : READ_NODE_FIELD(options);
2891 : 266 : READ_BOOL_FIELD(for_identity);
2892 : 266 : READ_BOOL_FIELD(missing_ok);
2893 : :
2894 : 266 : READ_DONE();
2895 : : }
2896 : :
2897 : : static DefineStmt *
2898 : 11180 : _readDefineStmt(ReadNodeContext *ctx)
2899 : : {
2900 : 11180 : READ_LOCALS(DefineStmt);
2901 : :
2902 : 11180 : READ_ENUM_FIELD(kind, ObjectType);
2903 : 11180 : READ_BOOL_FIELD(oldstyle);
2904 : 11180 : READ_NODE_FIELD(defnames);
2905 : 11180 : READ_NODE_FIELD(args);
2906 : 11180 : READ_NODE_FIELD(definition);
2907 : 11180 : READ_BOOL_FIELD(if_not_exists);
2908 : 11180 : READ_BOOL_FIELD(replace);
2909 : :
2910 : 11180 : READ_DONE();
2911 : : }
2912 : :
2913 : : static CreateDomainStmt *
2914 : 2032 : _readCreateDomainStmt(ReadNodeContext *ctx)
2915 : : {
2916 : 2032 : READ_LOCALS(CreateDomainStmt);
2917 : :
2918 : 2032 : READ_NODE_FIELD(domainname);
2919 : 2032 : READ_NODE_FIELD(typeName);
2920 : 2032 : READ_NODE_FIELD(collClause);
2921 : 2032 : READ_NODE_FIELD(constraints);
2922 : :
2923 : 2032 : READ_DONE();
2924 : : }
2925 : :
2926 : : static CreateOpClassStmt *
2927 : 590 : _readCreateOpClassStmt(ReadNodeContext *ctx)
2928 : : {
2929 : 590 : READ_LOCALS(CreateOpClassStmt);
2930 : :
2931 : 590 : READ_NODE_FIELD(opclassname);
2932 : 590 : READ_NODE_FIELD(opfamilyname);
2933 : 590 : READ_STRING_FIELD(amname);
2934 : 590 : READ_NODE_FIELD(datatype);
2935 : 590 : READ_NODE_FIELD(items);
2936 : 590 : READ_BOOL_FIELD(isDefault);
2937 : :
2938 : 590 : READ_DONE();
2939 : : }
2940 : :
2941 : : static CreateOpClassItem *
2942 : 7170 : _readCreateOpClassItem(ReadNodeContext *ctx)
2943 : : {
2944 : 7170 : READ_LOCALS(CreateOpClassItem);
2945 : :
2946 : 7170 : READ_INT_FIELD(itemtype);
2947 : 7170 : READ_NODE_FIELD(name);
2948 : 7170 : READ_INT_FIELD(number);
2949 : 7170 : READ_NODE_FIELD(order_family);
2950 : 7170 : READ_NODE_FIELD(class_args);
2951 : 7170 : READ_NODE_FIELD(storedtype);
2952 : :
2953 : 7170 : READ_DONE();
2954 : : }
2955 : :
2956 : : static CreateOpFamilyStmt *
2957 : 190 : _readCreateOpFamilyStmt(ReadNodeContext *ctx)
2958 : : {
2959 : 190 : READ_LOCALS(CreateOpFamilyStmt);
2960 : :
2961 : 190 : READ_NODE_FIELD(opfamilyname);
2962 : 190 : READ_STRING_FIELD(amname);
2963 : :
2964 : 190 : READ_DONE();
2965 : : }
2966 : :
2967 : : static AlterOpFamilyStmt *
2968 : 552 : _readAlterOpFamilyStmt(ReadNodeContext *ctx)
2969 : : {
2970 : 552 : READ_LOCALS(AlterOpFamilyStmt);
2971 : :
2972 : 552 : READ_NODE_FIELD(opfamilyname);
2973 : 552 : READ_STRING_FIELD(amname);
2974 : 552 : READ_BOOL_FIELD(isDrop);
2975 : 552 : READ_NODE_FIELD(items);
2976 : :
2977 : 552 : READ_DONE();
2978 : : }
2979 : :
2980 : : static DropStmt *
2981 : 35683 : _readDropStmt(ReadNodeContext *ctx)
2982 : : {
2983 : 35683 : READ_LOCALS(DropStmt);
2984 : :
2985 : 35683 : READ_NODE_FIELD(objects);
2986 : 35683 : READ_ENUM_FIELD(removeType, ObjectType);
2987 : 35683 : READ_ENUM_FIELD(behavior, DropBehavior);
2988 : 35683 : READ_BOOL_FIELD(missing_ok);
2989 : 35683 : READ_BOOL_FIELD(concurrent);
2990 : :
2991 : 35683 : READ_DONE();
2992 : : }
2993 : :
2994 : : static TruncateStmt *
2995 : 2382 : _readTruncateStmt(ReadNodeContext *ctx)
2996 : : {
2997 : 2382 : READ_LOCALS(TruncateStmt);
2998 : :
2999 : 2382 : READ_NODE_FIELD(relations);
3000 : 2382 : READ_BOOL_FIELD(restart_seqs);
3001 : 2382 : READ_ENUM_FIELD(behavior, DropBehavior);
3002 : :
3003 : 2382 : READ_DONE();
3004 : : }
3005 : :
3006 : : static CommentStmt *
3007 : 8557 : _readCommentStmt(ReadNodeContext *ctx)
3008 : : {
3009 : 8557 : READ_LOCALS(CommentStmt);
3010 : :
3011 : 8557 : READ_ENUM_FIELD(objtype, ObjectType);
3012 : 8557 : READ_NODE_FIELD(object);
3013 : 8557 : READ_STRING_FIELD(comment);
3014 : :
3015 : 8557 : READ_DONE();
3016 : : }
3017 : :
3018 : : static SecLabelStmt *
3019 : 134 : _readSecLabelStmt(ReadNodeContext *ctx)
3020 : : {
3021 : 134 : READ_LOCALS(SecLabelStmt);
3022 : :
3023 : 134 : READ_ENUM_FIELD(objtype, ObjectType);
3024 : 134 : READ_NODE_FIELD(object);
3025 : 134 : READ_STRING_FIELD(provider);
3026 : 134 : READ_STRING_FIELD(label);
3027 : :
3028 : 134 : READ_DONE();
3029 : : }
3030 : :
3031 : : static DeclareCursorStmt *
3032 : 4454 : _readDeclareCursorStmt(ReadNodeContext *ctx)
3033 : : {
3034 : 4454 : READ_LOCALS(DeclareCursorStmt);
3035 : :
3036 : 4454 : READ_STRING_FIELD(portalname);
3037 : 4454 : READ_INT_FIELD(options);
3038 : 4454 : READ_NODE_FIELD(query);
3039 : :
3040 : 4454 : READ_DONE();
3041 : : }
3042 : :
3043 : : static ClosePortalStmt *
3044 : 2478 : _readClosePortalStmt(ReadNodeContext *ctx)
3045 : : {
3046 : 2478 : READ_LOCALS(ClosePortalStmt);
3047 : :
3048 : 2478 : READ_STRING_FIELD(portalname);
3049 : :
3050 : 2478 : READ_DONE();
3051 : : }
3052 : :
3053 : : static FetchStmt *
3054 : 7870 : _readFetchStmt(ReadNodeContext *ctx)
3055 : : {
3056 : 7870 : READ_LOCALS(FetchStmt);
3057 : :
3058 : 7870 : READ_ENUM_FIELD(direction, FetchDirection);
3059 : 7870 : READ_LONG_FIELD(howMany);
3060 : 7870 : READ_STRING_FIELD(portalname);
3061 : 7870 : READ_BOOL_FIELD(ismove);
3062 : 7870 : READ_ENUM_FIELD(direction_keyword, FetchDirectionKeywords);
3063 [ + - ]: 7870 : READ_LOCATION_FIELD(location);
3064 : :
3065 : 7870 : READ_DONE();
3066 : : }
3067 : :
3068 : : static IndexStmt *
3069 : 8679 : _readIndexStmt(ReadNodeContext *ctx)
3070 : : {
3071 : 8679 : READ_LOCALS(IndexStmt);
3072 : :
3073 : 8679 : READ_STRING_FIELD(idxname);
3074 : 8679 : READ_NODE_FIELD(relation);
3075 : 8679 : READ_STRING_FIELD(accessMethod);
3076 : 8679 : READ_STRING_FIELD(tableSpace);
3077 : 8679 : READ_NODE_FIELD(indexParams);
3078 : 8679 : READ_NODE_FIELD(indexIncludingParams);
3079 : 8679 : READ_NODE_FIELD(options);
3080 : 8679 : READ_NODE_FIELD(whereClause);
3081 : 8679 : READ_NODE_FIELD(excludeOpNames);
3082 : 8679 : READ_STRING_FIELD(idxcomment);
3083 : 8679 : READ_OID_FIELD(indexOid);
3084 : 8679 : READ_OID_FIELD(oldNumber);
3085 : 8679 : READ_UINT_FIELD(oldCreateSubid);
3086 : 8679 : READ_UINT_FIELD(oldFirstRelfilelocatorSubid);
3087 : 8679 : READ_BOOL_FIELD(unique);
3088 : 8679 : READ_BOOL_FIELD(nulls_not_distinct);
3089 : 8679 : READ_BOOL_FIELD(primary);
3090 : 8679 : READ_BOOL_FIELD(isconstraint);
3091 : 8679 : READ_BOOL_FIELD(iswithoutoverlaps);
3092 : 8679 : READ_BOOL_FIELD(deferrable);
3093 : 8679 : READ_BOOL_FIELD(initdeferred);
3094 : 8679 : READ_BOOL_FIELD(transformed);
3095 : 8679 : READ_BOOL_FIELD(concurrent);
3096 : 8679 : READ_BOOL_FIELD(if_not_exists);
3097 : 8679 : READ_BOOL_FIELD(reset_default_tblspc);
3098 : :
3099 : 8679 : READ_DONE();
3100 : : }
3101 : :
3102 : : static CreateStatsStmt *
3103 : 1196 : _readCreateStatsStmt(ReadNodeContext *ctx)
3104 : : {
3105 : 1196 : READ_LOCALS(CreateStatsStmt);
3106 : :
3107 : 1196 : READ_NODE_FIELD(defnames);
3108 : 1196 : READ_NODE_FIELD(stat_types);
3109 : 1196 : READ_NODE_FIELD(exprs);
3110 : 1196 : READ_NODE_FIELD(relations);
3111 : 1196 : READ_STRING_FIELD(stxcomment);
3112 : 1196 : READ_BOOL_FIELD(transformed);
3113 : 1196 : READ_BOOL_FIELD(if_not_exists);
3114 : 1196 : READ_OID_FIELD(owner);
3115 : :
3116 : 1196 : READ_DONE();
3117 : : }
3118 : :
3119 : : static StatsElem *
3120 : 2824 : _readStatsElem(ReadNodeContext *ctx)
3121 : : {
3122 : 2824 : READ_LOCALS(StatsElem);
3123 : :
3124 : 2824 : READ_STRING_FIELD(name);
3125 : 2824 : READ_NODE_FIELD(expr);
3126 : :
3127 : 2824 : READ_DONE();
3128 : : }
3129 : :
3130 : : static AlterStatsStmt *
3131 : 34 : _readAlterStatsStmt(ReadNodeContext *ctx)
3132 : : {
3133 : 34 : READ_LOCALS(AlterStatsStmt);
3134 : :
3135 : 34 : READ_NODE_FIELD(defnames);
3136 : 34 : READ_NODE_FIELD(stxstattarget);
3137 : 34 : READ_BOOL_FIELD(missing_ok);
3138 : :
3139 : 34 : READ_DONE();
3140 : : }
3141 : :
3142 : : static CreateFunctionStmt *
3143 : 26579 : _readCreateFunctionStmt(ReadNodeContext *ctx)
3144 : : {
3145 : 26579 : READ_LOCALS(CreateFunctionStmt);
3146 : :
3147 : 26579 : READ_BOOL_FIELD(is_procedure);
3148 : 26579 : READ_BOOL_FIELD(replace);
3149 : 26579 : READ_NODE_FIELD(funcname);
3150 : 26579 : READ_NODE_FIELD(parameters);
3151 : 26579 : READ_NODE_FIELD(returnType);
3152 : 26579 : READ_NODE_FIELD(options);
3153 : 26579 : READ_NODE_FIELD(sql_body);
3154 : :
3155 : 26579 : READ_DONE();
3156 : : }
3157 : :
3158 : : static FunctionParameter *
3159 : 68916 : _readFunctionParameter(ReadNodeContext *ctx)
3160 : : {
3161 : 68916 : READ_LOCALS(FunctionParameter);
3162 : :
3163 : 68916 : READ_STRING_FIELD(name);
3164 : 68916 : READ_NODE_FIELD(argType);
3165 : 68916 : READ_ENUM_FIELD(mode, FunctionParameterMode);
3166 : 68916 : READ_NODE_FIELD(defexpr);
3167 [ + - ]: 68916 : READ_LOCATION_FIELD(location);
3168 : :
3169 : 68916 : READ_DONE();
3170 : : }
3171 : :
3172 : : static AlterFunctionStmt *
3173 : 442 : _readAlterFunctionStmt(ReadNodeContext *ctx)
3174 : : {
3175 : 442 : READ_LOCALS(AlterFunctionStmt);
3176 : :
3177 : 442 : READ_ENUM_FIELD(objtype, ObjectType);
3178 : 442 : READ_NODE_FIELD(func);
3179 : 442 : READ_NODE_FIELD(actions);
3180 : :
3181 : 442 : READ_DONE();
3182 : : }
3183 : :
3184 : : static DoStmt *
3185 : 1326 : _readDoStmt(ReadNodeContext *ctx)
3186 : : {
3187 : 1326 : READ_LOCALS(DoStmt);
3188 : :
3189 : 1326 : READ_NODE_FIELD(args);
3190 : :
3191 : 1326 : READ_DONE();
3192 : : }
3193 : :
3194 : : static CallStmt *
3195 : 552 : _readCallStmt(ReadNodeContext *ctx)
3196 : : {
3197 : 552 : READ_LOCALS(CallStmt);
3198 : :
3199 : 552 : READ_NODE_FIELD(funccall);
3200 : 552 : READ_NODE_FIELD(funcexpr);
3201 : 552 : READ_NODE_FIELD(outargs);
3202 : :
3203 : 552 : READ_DONE();
3204 : : }
3205 : :
3206 : : static RenameStmt *
3207 : 1954 : _readRenameStmt(ReadNodeContext *ctx)
3208 : : {
3209 : 1954 : READ_LOCALS(RenameStmt);
3210 : :
3211 : 1954 : READ_ENUM_FIELD(renameType, ObjectType);
3212 : 1954 : READ_ENUM_FIELD(relationType, ObjectType);
3213 : 1954 : READ_NODE_FIELD(relation);
3214 : 1954 : READ_NODE_FIELD(object);
3215 : 1954 : READ_STRING_FIELD(subname);
3216 : 1954 : READ_STRING_FIELD(newname);
3217 : 1954 : READ_ENUM_FIELD(behavior, DropBehavior);
3218 : 1954 : READ_BOOL_FIELD(missing_ok);
3219 : :
3220 : 1954 : READ_DONE();
3221 : : }
3222 : :
3223 : : static AlterObjectDependsStmt *
3224 : 46 : _readAlterObjectDependsStmt(ReadNodeContext *ctx)
3225 : : {
3226 : 46 : READ_LOCALS(AlterObjectDependsStmt);
3227 : :
3228 : 46 : READ_ENUM_FIELD(objectType, ObjectType);
3229 : 46 : READ_NODE_FIELD(relation);
3230 : 46 : READ_NODE_FIELD(object);
3231 : 46 : READ_NODE_FIELD(extname);
3232 : 46 : READ_BOOL_FIELD(remove);
3233 : :
3234 : 46 : READ_DONE();
3235 : : }
3236 : :
3237 : : static AlterObjectSchemaStmt *
3238 : 582 : _readAlterObjectSchemaStmt(ReadNodeContext *ctx)
3239 : : {
3240 : 582 : READ_LOCALS(AlterObjectSchemaStmt);
3241 : :
3242 : 582 : READ_ENUM_FIELD(objectType, ObjectType);
3243 : 582 : READ_NODE_FIELD(relation);
3244 : 582 : READ_NODE_FIELD(object);
3245 : 582 : READ_STRING_FIELD(newschema);
3246 : 582 : READ_BOOL_FIELD(missing_ok);
3247 : :
3248 : 582 : READ_DONE();
3249 : : }
3250 : :
3251 : : static AlterOwnerStmt *
3252 : 2038 : _readAlterOwnerStmt(ReadNodeContext *ctx)
3253 : : {
3254 : 2038 : READ_LOCALS(AlterOwnerStmt);
3255 : :
3256 : 2038 : READ_ENUM_FIELD(objectType, ObjectType);
3257 : 2038 : READ_NODE_FIELD(relation);
3258 : 2038 : READ_NODE_FIELD(object);
3259 : 2038 : READ_NODE_FIELD(newowner);
3260 : :
3261 : 2038 : READ_DONE();
3262 : : }
3263 : :
3264 : : static AlterOperatorStmt *
3265 : 664 : _readAlterOperatorStmt(ReadNodeContext *ctx)
3266 : : {
3267 : 664 : READ_LOCALS(AlterOperatorStmt);
3268 : :
3269 : 664 : READ_NODE_FIELD(opername);
3270 : 664 : READ_NODE_FIELD(options);
3271 : :
3272 : 664 : READ_DONE();
3273 : : }
3274 : :
3275 : : static AlterTypeStmt *
3276 : 72 : _readAlterTypeStmt(ReadNodeContext *ctx)
3277 : : {
3278 : 72 : READ_LOCALS(AlterTypeStmt);
3279 : :
3280 : 72 : READ_NODE_FIELD(typeName);
3281 : 72 : READ_NODE_FIELD(options);
3282 : :
3283 : 72 : READ_DONE();
3284 : : }
3285 : :
3286 : : static RuleStmt *
3287 : 1520 : _readRuleStmt(ReadNodeContext *ctx)
3288 : : {
3289 : 1520 : READ_LOCALS(RuleStmt);
3290 : :
3291 : 1520 : READ_NODE_FIELD(relation);
3292 : 1520 : READ_STRING_FIELD(rulename);
3293 : 1520 : READ_NODE_FIELD(whereClause);
3294 : 1520 : READ_ENUM_FIELD(event, CmdType);
3295 : 1520 : READ_BOOL_FIELD(instead);
3296 : 1520 : READ_NODE_FIELD(actions);
3297 : 1520 : READ_BOOL_FIELD(replace);
3298 : :
3299 : 1520 : READ_DONE();
3300 : : }
3301 : :
3302 : : static NotifyStmt *
3303 : 253 : _readNotifyStmt(ReadNodeContext *ctx)
3304 : : {
3305 : 253 : READ_LOCALS(NotifyStmt);
3306 : :
3307 : 253 : READ_STRING_FIELD(conditionname);
3308 : 253 : READ_STRING_FIELD(payload);
3309 : :
3310 : 253 : READ_DONE();
3311 : : }
3312 : :
3313 : : static ListenStmt *
3314 : 104 : _readListenStmt(ReadNodeContext *ctx)
3315 : : {
3316 : 104 : READ_LOCALS(ListenStmt);
3317 : :
3318 : 104 : READ_STRING_FIELD(conditionname);
3319 : :
3320 : 104 : READ_DONE();
3321 : : }
3322 : :
3323 : : static UnlistenStmt *
3324 : 124 : _readUnlistenStmt(ReadNodeContext *ctx)
3325 : : {
3326 : 124 : READ_LOCALS(UnlistenStmt);
3327 : :
3328 : 124 : READ_STRING_FIELD(conditionname);
3329 : :
3330 : 124 : READ_DONE();
3331 : : }
3332 : :
3333 : : static TransactionStmt *
3334 : 54410 : _readTransactionStmt(ReadNodeContext *ctx)
3335 : : {
3336 : 54410 : READ_LOCALS(TransactionStmt);
3337 : :
3338 : 54410 : READ_ENUM_FIELD(kind, TransactionStmtKind);
3339 : 54410 : READ_NODE_FIELD(options);
3340 : 54410 : READ_STRING_FIELD(savepoint_name);
3341 : 54410 : READ_STRING_FIELD(gid);
3342 : 54410 : READ_BOOL_FIELD(chain);
3343 [ + - ]: 54410 : READ_LOCATION_FIELD(location);
3344 : :
3345 : 54410 : READ_DONE();
3346 : : }
3347 : :
3348 : : static CompositeTypeStmt *
3349 : 2878 : _readCompositeTypeStmt(ReadNodeContext *ctx)
3350 : : {
3351 : 2878 : READ_LOCALS(CompositeTypeStmt);
3352 : :
3353 : 2878 : READ_NODE_FIELD(typevar);
3354 : 2878 : READ_NODE_FIELD(coldeflist);
3355 : :
3356 : 2878 : READ_DONE();
3357 : : }
3358 : :
3359 : : static CreateEnumStmt *
3360 : 332 : _readCreateEnumStmt(ReadNodeContext *ctx)
3361 : : {
3362 : 332 : READ_LOCALS(CreateEnumStmt);
3363 : :
3364 : 332 : READ_NODE_FIELD(typeName);
3365 : 332 : READ_NODE_FIELD(vals);
3366 : :
3367 : 332 : READ_DONE();
3368 : : }
3369 : :
3370 : : static CreateRangeStmt *
3371 : 314 : _readCreateRangeStmt(ReadNodeContext *ctx)
3372 : : {
3373 : 314 : READ_LOCALS(CreateRangeStmt);
3374 : :
3375 : 314 : READ_NODE_FIELD(typeName);
3376 : 314 : READ_NODE_FIELD(params);
3377 : :
3378 : 314 : READ_DONE();
3379 : : }
3380 : :
3381 : : static AlterEnumStmt *
3382 : 492 : _readAlterEnumStmt(ReadNodeContext *ctx)
3383 : : {
3384 : 492 : READ_LOCALS(AlterEnumStmt);
3385 : :
3386 : 492 : READ_NODE_FIELD(typeName);
3387 : 492 : READ_STRING_FIELD(oldVal);
3388 : 492 : READ_STRING_FIELD(newVal);
3389 : 492 : READ_STRING_FIELD(newValNeighbor);
3390 : 492 : READ_BOOL_FIELD(newValIsAfter);
3391 : 492 : READ_BOOL_FIELD(skipIfNewValExists);
3392 : :
3393 : 492 : READ_DONE();
3394 : : }
3395 : :
3396 : : static ViewStmt *
3397 : 21773 : _readViewStmt(ReadNodeContext *ctx)
3398 : : {
3399 : 21773 : READ_LOCALS(ViewStmt);
3400 : :
3401 : 21773 : READ_NODE_FIELD(view);
3402 : 21773 : READ_NODE_FIELD(aliases);
3403 : 21773 : READ_NODE_FIELD(query);
3404 : 21773 : READ_BOOL_FIELD(replace);
3405 : 21773 : READ_NODE_FIELD(options);
3406 : 21773 : READ_ENUM_FIELD(withCheckOption, ViewCheckOption);
3407 : :
3408 : 21773 : READ_DONE();
3409 : : }
3410 : :
3411 : : static LoadStmt *
3412 : 100 : _readLoadStmt(ReadNodeContext *ctx)
3413 : : {
3414 : 100 : READ_LOCALS(LoadStmt);
3415 : :
3416 : 100 : READ_STRING_FIELD(filename);
3417 : :
3418 : 100 : READ_DONE();
3419 : : }
3420 : :
3421 : : static CreatedbStmt *
3422 : 902 : _readCreatedbStmt(ReadNodeContext *ctx)
3423 : : {
3424 : 902 : READ_LOCALS(CreatedbStmt);
3425 : :
3426 : 902 : READ_STRING_FIELD(dbname);
3427 : 902 : READ_NODE_FIELD(options);
3428 : :
3429 : 902 : READ_DONE();
3430 : : }
3431 : :
3432 : : static AlterDatabaseStmt *
3433 : 106 : _readAlterDatabaseStmt(ReadNodeContext *ctx)
3434 : : {
3435 : 106 : READ_LOCALS(AlterDatabaseStmt);
3436 : :
3437 : 106 : READ_STRING_FIELD(dbname);
3438 : 106 : READ_NODE_FIELD(options);
3439 : :
3440 : 106 : READ_DONE();
3441 : : }
3442 : :
3443 : : static AlterDatabaseRefreshCollStmt *
3444 : 8 : _readAlterDatabaseRefreshCollStmt(ReadNodeContext *ctx)
3445 : : {
3446 : 8 : READ_LOCALS(AlterDatabaseRefreshCollStmt);
3447 : :
3448 : 8 : READ_STRING_FIELD(dbname);
3449 : :
3450 : 8 : READ_DONE();
3451 : : }
3452 : :
3453 : : static AlterDatabaseSetStmt *
3454 : 1370 : _readAlterDatabaseSetStmt(ReadNodeContext *ctx)
3455 : : {
3456 : 1370 : READ_LOCALS(AlterDatabaseSetStmt);
3457 : :
3458 : 1370 : READ_STRING_FIELD(dbname);
3459 : 1370 : READ_NODE_FIELD(setstmt);
3460 : :
3461 : 1370 : READ_DONE();
3462 : : }
3463 : :
3464 : : static DropdbStmt *
3465 : 160 : _readDropdbStmt(ReadNodeContext *ctx)
3466 : : {
3467 : 160 : READ_LOCALS(DropdbStmt);
3468 : :
3469 : 160 : READ_STRING_FIELD(dbname);
3470 : 160 : READ_BOOL_FIELD(missing_ok);
3471 : 160 : READ_NODE_FIELD(options);
3472 : :
3473 : 160 : READ_DONE();
3474 : : }
3475 : :
3476 : : static AlterSystemStmt *
3477 : 250 : _readAlterSystemStmt(ReadNodeContext *ctx)
3478 : : {
3479 : 250 : READ_LOCALS(AlterSystemStmt);
3480 : :
3481 : 250 : READ_NODE_FIELD(setstmt);
3482 : :
3483 : 250 : READ_DONE();
3484 : : }
3485 : :
3486 : : static VacuumStmt *
3487 : 18098 : _readVacuumStmt(ReadNodeContext *ctx)
3488 : : {
3489 : 18098 : READ_LOCALS(VacuumStmt);
3490 : :
3491 : 18098 : READ_NODE_FIELD(options);
3492 : 18098 : READ_NODE_FIELD(rels);
3493 : 18098 : READ_BOOL_FIELD(is_vacuumcmd);
3494 : :
3495 : 18098 : READ_DONE();
3496 : : }
3497 : :
3498 : : static VacuumRelation *
3499 : 18366 : _readVacuumRelation(ReadNodeContext *ctx)
3500 : : {
3501 : 18366 : READ_LOCALS(VacuumRelation);
3502 : :
3503 : 18366 : READ_NODE_FIELD(relation);
3504 : 18366 : READ_OID_FIELD(oid);
3505 : 18366 : READ_NODE_FIELD(va_cols);
3506 : :
3507 : 18366 : READ_DONE();
3508 : : }
3509 : :
3510 : : static RepackStmt *
3511 : 462 : _readRepackStmt(ReadNodeContext *ctx)
3512 : : {
3513 : 462 : READ_LOCALS(RepackStmt);
3514 : :
3515 : 462 : READ_ENUM_FIELD(command, RepackCommand);
3516 : 462 : READ_NODE_FIELD(relation);
3517 : 462 : READ_STRING_FIELD(indexname);
3518 : 462 : READ_BOOL_FIELD(usingindex);
3519 : 462 : READ_NODE_FIELD(params);
3520 : :
3521 : 462 : READ_DONE();
3522 : : }
3523 : :
3524 : : static ExplainStmt *
3525 : 28422 : _readExplainStmt(ReadNodeContext *ctx)
3526 : : {
3527 : 28422 : READ_LOCALS(ExplainStmt);
3528 : :
3529 : 28422 : READ_NODE_FIELD(query);
3530 : 28422 : READ_NODE_FIELD(options);
3531 : :
3532 : 28422 : READ_DONE();
3533 : : }
3534 : :
3535 : : static CreateTableAsStmt *
3536 : 2539 : _readCreateTableAsStmt(ReadNodeContext *ctx)
3537 : : {
3538 : 2539 : READ_LOCALS(CreateTableAsStmt);
3539 : :
3540 : 2539 : READ_NODE_FIELD(query);
3541 : 2539 : READ_NODE_FIELD(into);
3542 : 2539 : READ_ENUM_FIELD(objtype, ObjectType);
3543 : 2539 : READ_BOOL_FIELD(is_select_into);
3544 : 2539 : READ_BOOL_FIELD(if_not_exists);
3545 : :
3546 : 2539 : READ_DONE();
3547 : : }
3548 : :
3549 : : static RefreshMatViewStmt *
3550 : 348 : _readRefreshMatViewStmt(ReadNodeContext *ctx)
3551 : : {
3552 : 348 : READ_LOCALS(RefreshMatViewStmt);
3553 : :
3554 : 348 : READ_BOOL_FIELD(concurrent);
3555 : 348 : READ_BOOL_FIELD(skipData);
3556 : 348 : READ_NODE_FIELD(relation);
3557 : :
3558 : 348 : READ_DONE();
3559 : : }
3560 : :
3561 : : static CheckPointStmt *
3562 : 291 : _readCheckPointStmt(ReadNodeContext *ctx)
3563 : : {
3564 : 291 : READ_LOCALS(CheckPointStmt);
3565 : :
3566 : 291 : READ_NODE_FIELD(options);
3567 : :
3568 : 291 : READ_DONE();
3569 : : }
3570 : :
3571 : : static DiscardStmt *
3572 : 48 : _readDiscardStmt(ReadNodeContext *ctx)
3573 : : {
3574 : 48 : READ_LOCALS(DiscardStmt);
3575 : :
3576 : 48 : READ_ENUM_FIELD(target, DiscardMode);
3577 : :
3578 : 48 : READ_DONE();
3579 : : }
3580 : :
3581 : : static LockStmt *
3582 : 1194 : _readLockStmt(ReadNodeContext *ctx)
3583 : : {
3584 : 1194 : READ_LOCALS(LockStmt);
3585 : :
3586 : 1194 : READ_NODE_FIELD(relations);
3587 : 1194 : READ_INT_FIELD(mode);
3588 : 1194 : READ_BOOL_FIELD(nowait);
3589 : :
3590 : 1194 : READ_DONE();
3591 : : }
3592 : :
3593 : : static ConstraintsSetStmt *
3594 : 141 : _readConstraintsSetStmt(ReadNodeContext *ctx)
3595 : : {
3596 : 141 : READ_LOCALS(ConstraintsSetStmt);
3597 : :
3598 : 141 : READ_NODE_FIELD(constraints);
3599 : 141 : READ_BOOL_FIELD(deferred);
3600 : :
3601 : 141 : READ_DONE();
3602 : : }
3603 : :
3604 : : static ReindexStmt *
3605 : 1414 : _readReindexStmt(ReadNodeContext *ctx)
3606 : : {
3607 : 1414 : READ_LOCALS(ReindexStmt);
3608 : :
3609 : 1414 : READ_ENUM_FIELD(kind, ReindexObjectType);
3610 : 1414 : READ_NODE_FIELD(relation);
3611 : 1414 : READ_STRING_FIELD(name);
3612 : 1414 : READ_NODE_FIELD(params);
3613 : :
3614 : 1414 : READ_DONE();
3615 : : }
3616 : :
3617 : : static CreateConversionStmt *
3618 : 84 : _readCreateConversionStmt(ReadNodeContext *ctx)
3619 : : {
3620 : 84 : READ_LOCALS(CreateConversionStmt);
3621 : :
3622 : 84 : READ_NODE_FIELD(conversion_name);
3623 : 84 : READ_STRING_FIELD(for_encoding_name);
3624 : 84 : READ_STRING_FIELD(to_encoding_name);
3625 : 84 : READ_NODE_FIELD(func_name);
3626 : 84 : READ_BOOL_FIELD(def);
3627 : :
3628 : 84 : READ_DONE();
3629 : : }
3630 : :
3631 : : static CreateCastStmt *
3632 : 360 : _readCreateCastStmt(ReadNodeContext *ctx)
3633 : : {
3634 : 360 : READ_LOCALS(CreateCastStmt);
3635 : :
3636 : 360 : READ_NODE_FIELD(sourcetype);
3637 : 360 : READ_NODE_FIELD(targettype);
3638 : 360 : READ_NODE_FIELD(func);
3639 : 360 : READ_ENUM_FIELD(context, CoercionContext);
3640 : 360 : READ_BOOL_FIELD(inout);
3641 : :
3642 : 360 : READ_DONE();
3643 : : }
3644 : :
3645 : : static CreatePropGraphStmt *
3646 : 436 : _readCreatePropGraphStmt(ReadNodeContext *ctx)
3647 : : {
3648 : 436 : READ_LOCALS(CreatePropGraphStmt);
3649 : :
3650 : 436 : READ_NODE_FIELD(pgname);
3651 : 436 : READ_NODE_FIELD(vertex_tables);
3652 : 436 : READ_NODE_FIELD(edge_tables);
3653 : :
3654 : 436 : READ_DONE();
3655 : : }
3656 : :
3657 : : static PropGraphVertex *
3658 : 838 : _readPropGraphVertex(ReadNodeContext *ctx)
3659 : : {
3660 : 838 : READ_LOCALS(PropGraphVertex);
3661 : :
3662 : 838 : READ_NODE_FIELD(vtable);
3663 : 838 : READ_NODE_FIELD(vkey);
3664 : 838 : READ_NODE_FIELD(labels);
3665 [ + - ]: 838 : READ_LOCATION_FIELD(location);
3666 : :
3667 : 838 : READ_DONE();
3668 : : }
3669 : :
3670 : : static PropGraphEdge *
3671 : 434 : _readPropGraphEdge(ReadNodeContext *ctx)
3672 : : {
3673 : 434 : READ_LOCALS(PropGraphEdge);
3674 : :
3675 : 434 : READ_NODE_FIELD(etable);
3676 : 434 : READ_NODE_FIELD(ekey);
3677 : 434 : READ_NODE_FIELD(esrckey);
3678 : 434 : READ_STRING_FIELD(esrcvertex);
3679 : 434 : READ_NODE_FIELD(esrcvertexcols);
3680 : 434 : READ_NODE_FIELD(edestkey);
3681 : 434 : READ_STRING_FIELD(edestvertex);
3682 : 434 : READ_NODE_FIELD(edestvertexcols);
3683 : 434 : READ_NODE_FIELD(labels);
3684 [ + - ]: 434 : READ_LOCATION_FIELD(location);
3685 : :
3686 : 434 : READ_DONE();
3687 : : }
3688 : :
3689 : : static PropGraphLabelAndProperties *
3690 : 1582 : _readPropGraphLabelAndProperties(ReadNodeContext *ctx)
3691 : : {
3692 : 1582 : READ_LOCALS(PropGraphLabelAndProperties);
3693 : :
3694 : 1582 : READ_STRING_FIELD(label);
3695 : 1582 : READ_NODE_FIELD(properties);
3696 [ + - ]: 1582 : READ_LOCATION_FIELD(location);
3697 : :
3698 : 1582 : READ_DONE();
3699 : : }
3700 : :
3701 : : static PropGraphProperties *
3702 : 1606 : _readPropGraphProperties(ReadNodeContext *ctx)
3703 : : {
3704 : 1606 : READ_LOCALS(PropGraphProperties);
3705 : :
3706 : 1606 : READ_NODE_FIELD(properties);
3707 : 1606 : READ_BOOL_FIELD(all);
3708 [ + - ]: 1606 : READ_LOCATION_FIELD(location);
3709 : :
3710 : 1606 : READ_DONE();
3711 : : }
3712 : :
3713 : : static AlterPropGraphStmt *
3714 : 360 : _readAlterPropGraphStmt(ReadNodeContext *ctx)
3715 : : {
3716 : 360 : READ_LOCALS(AlterPropGraphStmt);
3717 : :
3718 : 360 : READ_NODE_FIELD(pgname);
3719 : 360 : READ_BOOL_FIELD(missing_ok);
3720 : 360 : READ_NODE_FIELD(add_vertex_tables);
3721 : 360 : READ_NODE_FIELD(add_edge_tables);
3722 : 360 : READ_NODE_FIELD(drop_vertex_tables);
3723 : 360 : READ_NODE_FIELD(drop_edge_tables);
3724 : 360 : READ_ENUM_FIELD(drop_behavior, DropBehavior);
3725 : 360 : READ_ENUM_FIELD(element_kind, AlterPropGraphElementKind);
3726 : 360 : READ_STRING_FIELD(element_alias);
3727 : 360 : READ_NODE_FIELD(add_labels);
3728 : 360 : READ_STRING_FIELD(drop_label);
3729 : 360 : READ_STRING_FIELD(alter_label);
3730 : 360 : READ_NODE_FIELD(add_properties);
3731 : 360 : READ_NODE_FIELD(drop_properties);
3732 : :
3733 : 360 : READ_DONE();
3734 : : }
3735 : :
3736 : : static CreateTransformStmt *
3737 : 52 : _readCreateTransformStmt(ReadNodeContext *ctx)
3738 : : {
3739 : 52 : READ_LOCALS(CreateTransformStmt);
3740 : :
3741 : 52 : READ_BOOL_FIELD(replace);
3742 : 52 : READ_NODE_FIELD(type_name);
3743 : 52 : READ_STRING_FIELD(lang);
3744 : 52 : READ_NODE_FIELD(fromsql);
3745 : 52 : READ_NODE_FIELD(tosql);
3746 : :
3747 : 52 : READ_DONE();
3748 : : }
3749 : :
3750 : : static PrepareStmt *
3751 : 2272 : _readPrepareStmt(ReadNodeContext *ctx)
3752 : : {
3753 : 2272 : READ_LOCALS(PrepareStmt);
3754 : :
3755 : 2272 : READ_STRING_FIELD(name);
3756 : 2272 : READ_NODE_FIELD(argtypes);
3757 : 2272 : READ_NODE_FIELD(query);
3758 : :
3759 : 2272 : READ_DONE();
3760 : : }
3761 : :
3762 : : static ExecuteStmt *
3763 : 17992 : _readExecuteStmt(ReadNodeContext *ctx)
3764 : : {
3765 : 17992 : READ_LOCALS(ExecuteStmt);
3766 : :
3767 : 17992 : READ_STRING_FIELD(name);
3768 : 17992 : READ_NODE_FIELD(params);
3769 : :
3770 : 17992 : READ_DONE();
3771 : : }
3772 : :
3773 : : static DeallocateStmt *
3774 : 4190 : _readDeallocateStmt(ReadNodeContext *ctx)
3775 : : {
3776 : 4190 : READ_LOCALS(DeallocateStmt);
3777 : :
3778 : 4190 : READ_STRING_FIELD(name);
3779 : 4190 : READ_BOOL_FIELD(isall);
3780 [ + - ]: 4190 : READ_LOCATION_FIELD(location);
3781 : :
3782 : 4190 : READ_DONE();
3783 : : }
3784 : :
3785 : : static DropOwnedStmt *
3786 : 192 : _readDropOwnedStmt(ReadNodeContext *ctx)
3787 : : {
3788 : 192 : READ_LOCALS(DropOwnedStmt);
3789 : :
3790 : 192 : READ_NODE_FIELD(roles);
3791 : 192 : READ_ENUM_FIELD(behavior, DropBehavior);
3792 : :
3793 : 192 : READ_DONE();
3794 : : }
3795 : :
3796 : : static ReassignOwnedStmt *
3797 : 72 : _readReassignOwnedStmt(ReadNodeContext *ctx)
3798 : : {
3799 : 72 : READ_LOCALS(ReassignOwnedStmt);
3800 : :
3801 : 72 : READ_NODE_FIELD(roles);
3802 : 72 : READ_NODE_FIELD(newrole);
3803 : :
3804 : 72 : READ_DONE();
3805 : : }
3806 : :
3807 : : static AlterTSDictionaryStmt *
3808 : 46 : _readAlterTSDictionaryStmt(ReadNodeContext *ctx)
3809 : : {
3810 : 46 : READ_LOCALS(AlterTSDictionaryStmt);
3811 : :
3812 : 46 : READ_NODE_FIELD(dictname);
3813 : 46 : READ_NODE_FIELD(options);
3814 : :
3815 : 46 : READ_DONE();
3816 : : }
3817 : :
3818 : : static AlterTSConfigurationStmt *
3819 : 10314 : _readAlterTSConfigurationStmt(ReadNodeContext *ctx)
3820 : : {
3821 : 10314 : READ_LOCALS(AlterTSConfigurationStmt);
3822 : :
3823 : 10314 : READ_ENUM_FIELD(kind, AlterTSConfigType);
3824 : 10314 : READ_NODE_FIELD(cfgname);
3825 : 10314 : READ_NODE_FIELD(tokentype);
3826 : 10314 : READ_NODE_FIELD(dicts);
3827 : 10314 : READ_BOOL_FIELD(override);
3828 : 10314 : READ_BOOL_FIELD(replace);
3829 : 10314 : READ_BOOL_FIELD(missing_ok);
3830 : :
3831 : 10314 : READ_DONE();
3832 : : }
3833 : :
3834 : : static PublicationTable *
3835 : 2056 : _readPublicationTable(ReadNodeContext *ctx)
3836 : : {
3837 : 2056 : READ_LOCALS(PublicationTable);
3838 : :
3839 : 2056 : READ_NODE_FIELD(relation);
3840 : 2056 : READ_NODE_FIELD(whereClause);
3841 : 2056 : READ_NODE_FIELD(columns);
3842 : 2056 : READ_BOOL_FIELD(except);
3843 : :
3844 : 2056 : READ_DONE();
3845 : : }
3846 : :
3847 : : static PublicationObjSpec *
3848 : 2586 : _readPublicationObjSpec(ReadNodeContext *ctx)
3849 : : {
3850 : 2586 : READ_LOCALS(PublicationObjSpec);
3851 : :
3852 : 2586 : READ_ENUM_FIELD(pubobjtype, PublicationObjSpecType);
3853 : 2586 : READ_STRING_FIELD(name);
3854 : 2586 : READ_NODE_FIELD(pubtable);
3855 [ + - ]: 2586 : READ_LOCATION_FIELD(location);
3856 : :
3857 : 2586 : READ_DONE();
3858 : : }
3859 : :
3860 : : static PublicationAllObjSpec *
3861 : 0 : _readPublicationAllObjSpec(ReadNodeContext *ctx)
3862 : : {
3863 : 0 : READ_LOCALS(PublicationAllObjSpec);
3864 : :
3865 : 0 : READ_ENUM_FIELD(pubobjtype, PublicationAllObjType);
3866 : 0 : READ_NODE_FIELD(except_tables);
3867 [ # # ]: 0 : READ_LOCATION_FIELD(location);
3868 : :
3869 : 0 : READ_DONE();
3870 : : }
3871 : :
3872 : : static CreatePublicationStmt *
3873 : 1278 : _readCreatePublicationStmt(ReadNodeContext *ctx)
3874 : : {
3875 : 1278 : READ_LOCALS(CreatePublicationStmt);
3876 : :
3877 : 1278 : READ_STRING_FIELD(pubname);
3878 : 1278 : READ_NODE_FIELD(options);
3879 : 1278 : READ_NODE_FIELD(pubobjects);
3880 : 1278 : READ_BOOL_FIELD(for_all_tables);
3881 : 1278 : READ_BOOL_FIELD(for_all_sequences);
3882 : :
3883 : 1278 : READ_DONE();
3884 : : }
3885 : :
3886 : : static AlterPublicationStmt *
3887 : 1564 : _readAlterPublicationStmt(ReadNodeContext *ctx)
3888 : : {
3889 : 1564 : READ_LOCALS(AlterPublicationStmt);
3890 : :
3891 : 1564 : READ_STRING_FIELD(pubname);
3892 : 1564 : READ_NODE_FIELD(options);
3893 : 1564 : READ_NODE_FIELD(pubobjects);
3894 : 1564 : READ_ENUM_FIELD(action, AlterPublicationAction);
3895 : 1564 : READ_BOOL_FIELD(for_all_tables);
3896 : 1564 : READ_BOOL_FIELD(for_all_sequences);
3897 : :
3898 : 1564 : READ_DONE();
3899 : : }
3900 : :
3901 : : static CreateSubscriptionStmt *
3902 : 676 : _readCreateSubscriptionStmt(ReadNodeContext *ctx)
3903 : : {
3904 : 676 : READ_LOCALS(CreateSubscriptionStmt);
3905 : :
3906 : 676 : READ_STRING_FIELD(subname);
3907 : 676 : READ_STRING_FIELD(servername);
3908 : 676 : READ_STRING_FIELD(conninfo);
3909 : 676 : READ_NODE_FIELD(publication);
3910 : 676 : READ_NODE_FIELD(options);
3911 : :
3912 : 676 : READ_DONE();
3913 : : }
3914 : :
3915 : : static AlterSubscriptionStmt *
3916 : 899 : _readAlterSubscriptionStmt(ReadNodeContext *ctx)
3917 : : {
3918 : 899 : READ_LOCALS(AlterSubscriptionStmt);
3919 : :
3920 : 899 : READ_ENUM_FIELD(kind, AlterSubscriptionType);
3921 : 899 : READ_STRING_FIELD(subname);
3922 : 899 : READ_STRING_FIELD(servername);
3923 : 899 : READ_STRING_FIELD(conninfo);
3924 : 899 : READ_NODE_FIELD(publication);
3925 : 899 : READ_NODE_FIELD(options);
3926 : :
3927 : 899 : READ_DONE();
3928 : : }
3929 : :
3930 : : static DropSubscriptionStmt *
3931 : 366 : _readDropSubscriptionStmt(ReadNodeContext *ctx)
3932 : : {
3933 : 366 : READ_LOCALS(DropSubscriptionStmt);
3934 : :
3935 : 366 : READ_STRING_FIELD(subname);
3936 : 366 : READ_BOOL_FIELD(missing_ok);
3937 : 366 : READ_ENUM_FIELD(behavior, DropBehavior);
3938 : :
3939 : 366 : READ_DONE();
3940 : : }
3941 : :
3942 : : static WaitStmt *
3943 : 545 : _readWaitStmt(ReadNodeContext *ctx)
3944 : : {
3945 : 545 : READ_LOCALS(WaitStmt);
3946 : :
3947 : 545 : READ_STRING_FIELD(lsn_literal);
3948 : 545 : READ_NODE_FIELD(options);
3949 [ + - ]: 545 : READ_LOCATION_FIELD(lsn_location);
3950 : :
3951 : 545 : READ_DONE();
3952 : : }
3953 : :
3954 : : static GroupByOrdering *
3955 : 0 : _readGroupByOrdering(ReadNodeContext *ctx)
3956 : : {
3957 : 0 : READ_LOCALS(GroupByOrdering);
3958 : :
3959 : 0 : READ_NODE_FIELD(pathkeys);
3960 : 0 : READ_NODE_FIELD(clauses);
3961 : :
3962 : 0 : READ_DONE();
3963 : : }
3964 : :
3965 : : static PlaceHolderVar *
3966 : 0 : _readPlaceHolderVar(ReadNodeContext *ctx)
3967 : : {
3968 : 0 : READ_LOCALS(PlaceHolderVar);
3969 : :
3970 : 0 : READ_NODE_FIELD(phexpr);
3971 : 0 : READ_BITMAPSET_FIELD(phrels);
3972 : 0 : READ_BITMAPSET_FIELD(phnullingrels);
3973 : 0 : READ_UINT_FIELD(phid);
3974 : 0 : READ_UINT_FIELD(phlevelsup);
3975 : :
3976 : 0 : READ_DONE();
3977 : : }
3978 : :
3979 : : static AppendRelInfo *
3980 : 39213 : _readAppendRelInfo(ReadNodeContext *ctx)
3981 : : {
3982 : 39213 : READ_LOCALS(AppendRelInfo);
3983 : :
3984 : 39213 : READ_UINT_FIELD(parent_relid);
3985 : 39213 : READ_UINT_FIELD(child_relid);
3986 : 39213 : READ_OID_FIELD(parent_reltype);
3987 : 39213 : READ_OID_FIELD(child_reltype);
3988 : 39213 : READ_NODE_FIELD(translated_vars);
3989 : 39213 : READ_INT_FIELD(num_child_cols);
3990 : 39213 : READ_ATTRNUMBER_ARRAY(parent_colnos, local_node->num_child_cols);
3991 : 39213 : READ_OID_FIELD(parent_reloid);
3992 : :
3993 : 39213 : READ_DONE();
3994 : : }
3995 : :
3996 : : static PlannedStmt *
3997 : 290894 : _readPlannedStmt(ReadNodeContext *ctx)
3998 : : {
3999 : 290894 : READ_LOCALS(PlannedStmt);
4000 : :
4001 : 290894 : READ_ENUM_FIELD(commandType, CmdType);
4002 : 290894 : READ_INT64_FIELD(queryId);
4003 : 290894 : READ_INT64_FIELD(planId);
4004 : 290894 : READ_ENUM_FIELD(planOrigin, PlannedStmtOrigin);
4005 : 290894 : READ_BOOL_FIELD(hasReturning);
4006 : 290894 : READ_BOOL_FIELD(hasModifyingCTE);
4007 : 290894 : READ_BOOL_FIELD(canSetTag);
4008 : 290894 : READ_BOOL_FIELD(transientPlan);
4009 : 290894 : READ_BOOL_FIELD(dependsOnRole);
4010 : 290894 : READ_BOOL_FIELD(parallelModeNeeded);
4011 : 290894 : READ_INT_FIELD(jitFlags);
4012 : 290894 : READ_NODE_FIELD(planTree);
4013 : 290894 : READ_NODE_FIELD(partPruneInfos);
4014 : 290894 : READ_NODE_FIELD(rtable);
4015 : 290894 : READ_BITMAPSET_FIELD(unprunableRelids);
4016 : 290894 : READ_NODE_FIELD(permInfos);
4017 : 290894 : READ_BITMAPSET_FIELD(resultRelationRelids);
4018 : 290894 : READ_NODE_FIELD(appendRelations);
4019 : 290894 : READ_NODE_FIELD(subplans);
4020 : 290894 : READ_NODE_FIELD(subrtinfos);
4021 : 290894 : READ_BITMAPSET_FIELD(rewindPlanIDs);
4022 : 290894 : READ_NODE_FIELD(rowMarks);
4023 : 290894 : READ_BITMAPSET_FIELD(rowMarkRelids);
4024 : 290894 : READ_NODE_FIELD(relationOids);
4025 : 290894 : READ_NODE_FIELD(invalItems);
4026 : 290894 : READ_NODE_FIELD(paramExecTypes);
4027 : 290894 : READ_NODE_FIELD(utilityStmt);
4028 : 290894 : READ_NODE_FIELD(elidedNodes);
4029 : 290894 : READ_NODE_FIELD(extension_state);
4030 [ + + ]: 290894 : READ_LOCATION_FIELD(stmt_location);
4031 [ + + ]: 290894 : READ_LOCATION_FIELD(stmt_len);
4032 : :
4033 : 290894 : READ_DONE();
4034 : : }
4035 : :
4036 : : static Result *
4037 : 135495 : _readResult(ReadNodeContext *ctx)
4038 : : {
4039 : 135495 : READ_LOCALS(Result);
4040 : :
4041 : 135495 : READ_INT_FIELD(plan.disabled_nodes);
4042 : 135495 : READ_FLOAT_FIELD(plan.startup_cost);
4043 : 135495 : READ_FLOAT_FIELD(plan.total_cost);
4044 : 135495 : READ_FLOAT_FIELD(plan.plan_rows);
4045 : 135495 : READ_INT_FIELD(plan.plan_width);
4046 : 135495 : READ_BOOL_FIELD(plan.parallel_aware);
4047 : 135495 : READ_BOOL_FIELD(plan.parallel_safe);
4048 : 135495 : READ_BOOL_FIELD(plan.async_capable);
4049 : 135495 : READ_INT_FIELD(plan.plan_node_id);
4050 : 135495 : READ_NODE_FIELD(plan.targetlist);
4051 : 135495 : READ_NODE_FIELD(plan.qual);
4052 : 135495 : READ_NODE_FIELD(plan.lefttree);
4053 : 135495 : READ_NODE_FIELD(plan.righttree);
4054 : 135495 : READ_NODE_FIELD(plan.initPlan);
4055 : 135495 : READ_BITMAPSET_FIELD(plan.extParam);
4056 : 135495 : READ_BITMAPSET_FIELD(plan.allParam);
4057 : 135495 : READ_ENUM_FIELD(result_type, ResultType);
4058 : 135495 : READ_NODE_FIELD(resconstantqual);
4059 : 135495 : READ_BITMAPSET_FIELD(relids);
4060 : :
4061 : 135495 : READ_DONE();
4062 : : }
4063 : :
4064 : : static ProjectSet *
4065 : 8435 : _readProjectSet(ReadNodeContext *ctx)
4066 : : {
4067 : 8435 : READ_LOCALS(ProjectSet);
4068 : :
4069 : 8435 : READ_INT_FIELD(plan.disabled_nodes);
4070 : 8435 : READ_FLOAT_FIELD(plan.startup_cost);
4071 : 8435 : READ_FLOAT_FIELD(plan.total_cost);
4072 : 8435 : READ_FLOAT_FIELD(plan.plan_rows);
4073 : 8435 : READ_INT_FIELD(plan.plan_width);
4074 : 8435 : READ_BOOL_FIELD(plan.parallel_aware);
4075 : 8435 : READ_BOOL_FIELD(plan.parallel_safe);
4076 : 8435 : READ_BOOL_FIELD(plan.async_capable);
4077 : 8435 : READ_INT_FIELD(plan.plan_node_id);
4078 : 8435 : READ_NODE_FIELD(plan.targetlist);
4079 : 8435 : READ_NODE_FIELD(plan.qual);
4080 : 8435 : READ_NODE_FIELD(plan.lefttree);
4081 : 8435 : READ_NODE_FIELD(plan.righttree);
4082 : 8435 : READ_NODE_FIELD(plan.initPlan);
4083 : 8435 : READ_BITMAPSET_FIELD(plan.extParam);
4084 : 8435 : READ_BITMAPSET_FIELD(plan.allParam);
4085 : :
4086 : 8435 : READ_DONE();
4087 : : }
4088 : :
4089 : : static ModifyTable *
4090 : 57720 : _readModifyTable(ReadNodeContext *ctx)
4091 : : {
4092 : 57720 : READ_LOCALS(ModifyTable);
4093 : :
4094 : 57720 : READ_INT_FIELD(plan.disabled_nodes);
4095 : 57720 : READ_FLOAT_FIELD(plan.startup_cost);
4096 : 57720 : READ_FLOAT_FIELD(plan.total_cost);
4097 : 57720 : READ_FLOAT_FIELD(plan.plan_rows);
4098 : 57720 : READ_INT_FIELD(plan.plan_width);
4099 : 57720 : READ_BOOL_FIELD(plan.parallel_aware);
4100 : 57720 : READ_BOOL_FIELD(plan.parallel_safe);
4101 : 57720 : READ_BOOL_FIELD(plan.async_capable);
4102 : 57720 : READ_INT_FIELD(plan.plan_node_id);
4103 : 57720 : READ_NODE_FIELD(plan.targetlist);
4104 : 57720 : READ_NODE_FIELD(plan.qual);
4105 : 57720 : READ_NODE_FIELD(plan.lefttree);
4106 : 57720 : READ_NODE_FIELD(plan.righttree);
4107 : 57720 : READ_NODE_FIELD(plan.initPlan);
4108 : 57720 : READ_BITMAPSET_FIELD(plan.extParam);
4109 : 57720 : READ_BITMAPSET_FIELD(plan.allParam);
4110 : 57720 : READ_ENUM_FIELD(operation, CmdType);
4111 : 57720 : READ_BOOL_FIELD(canSetTag);
4112 : 57720 : READ_UINT_FIELD(nominalRelation);
4113 : 57720 : READ_UINT_FIELD(rootRelation);
4114 : 57720 : READ_NODE_FIELD(resultRelations);
4115 : 57720 : READ_NODE_FIELD(updateColnosLists);
4116 : 57720 : READ_NODE_FIELD(withCheckOptionLists);
4117 : 57720 : READ_STRING_FIELD(returningOldAlias);
4118 : 57720 : READ_STRING_FIELD(returningNewAlias);
4119 : 57720 : READ_NODE_FIELD(returningLists);
4120 : 57720 : READ_NODE_FIELD(fdwPrivLists);
4121 : 57720 : READ_BITMAPSET_FIELD(fdwDirectModifyPlans);
4122 : 57720 : READ_NODE_FIELD(rowMarks);
4123 : 57720 : READ_INT_FIELD(epqParam);
4124 : 57720 : READ_ENUM_FIELD(onConflictAction, OnConflictAction);
4125 : 57720 : READ_NODE_FIELD(arbiterIndexes);
4126 : 57720 : READ_ENUM_FIELD(onConflictLockStrength, LockClauseStrength);
4127 : 57720 : READ_NODE_FIELD(onConflictSet);
4128 : 57720 : READ_NODE_FIELD(onConflictCols);
4129 : 57720 : READ_NODE_FIELD(onConflictWhere);
4130 : 57720 : READ_NODE_FIELD(forPortionOf);
4131 : 57720 : READ_UINT_FIELD(exclRelRTI);
4132 : 57720 : READ_NODE_FIELD(exclRelTlist);
4133 : 57720 : READ_NODE_FIELD(mergeActionLists);
4134 : 57720 : READ_NODE_FIELD(mergeJoinConditions);
4135 : :
4136 : 57720 : READ_DONE();
4137 : : }
4138 : :
4139 : : static Append *
4140 : 12488 : _readAppend(ReadNodeContext *ctx)
4141 : : {
4142 : 12488 : READ_LOCALS(Append);
4143 : :
4144 : 12488 : READ_INT_FIELD(plan.disabled_nodes);
4145 : 12488 : READ_FLOAT_FIELD(plan.startup_cost);
4146 : 12488 : READ_FLOAT_FIELD(plan.total_cost);
4147 : 12488 : READ_FLOAT_FIELD(plan.plan_rows);
4148 : 12488 : READ_INT_FIELD(plan.plan_width);
4149 : 12488 : READ_BOOL_FIELD(plan.parallel_aware);
4150 : 12488 : READ_BOOL_FIELD(plan.parallel_safe);
4151 : 12488 : READ_BOOL_FIELD(plan.async_capable);
4152 : 12488 : READ_INT_FIELD(plan.plan_node_id);
4153 : 12488 : READ_NODE_FIELD(plan.targetlist);
4154 : 12488 : READ_NODE_FIELD(plan.qual);
4155 : 12488 : READ_NODE_FIELD(plan.lefttree);
4156 : 12488 : READ_NODE_FIELD(plan.righttree);
4157 : 12488 : READ_NODE_FIELD(plan.initPlan);
4158 : 12488 : READ_BITMAPSET_FIELD(plan.extParam);
4159 : 12488 : READ_BITMAPSET_FIELD(plan.allParam);
4160 : 12488 : READ_BITMAPSET_FIELD(apprelids);
4161 : 12488 : READ_NODE_FIELD(child_append_relid_sets);
4162 : 12488 : READ_NODE_FIELD(appendplans);
4163 : 12488 : READ_INT_FIELD(nasyncplans);
4164 : 12488 : READ_INT_FIELD(first_partial_plan);
4165 : 12488 : READ_INT_FIELD(part_prune_index);
4166 : :
4167 : 12488 : READ_DONE();
4168 : : }
4169 : :
4170 : : static MergeAppend *
4171 : 370 : _readMergeAppend(ReadNodeContext *ctx)
4172 : : {
4173 : 370 : READ_LOCALS(MergeAppend);
4174 : :
4175 : 370 : READ_INT_FIELD(plan.disabled_nodes);
4176 : 370 : READ_FLOAT_FIELD(plan.startup_cost);
4177 : 370 : READ_FLOAT_FIELD(plan.total_cost);
4178 : 370 : READ_FLOAT_FIELD(plan.plan_rows);
4179 : 370 : READ_INT_FIELD(plan.plan_width);
4180 : 370 : READ_BOOL_FIELD(plan.parallel_aware);
4181 : 370 : READ_BOOL_FIELD(plan.parallel_safe);
4182 : 370 : READ_BOOL_FIELD(plan.async_capable);
4183 : 370 : READ_INT_FIELD(plan.plan_node_id);
4184 : 370 : READ_NODE_FIELD(plan.targetlist);
4185 : 370 : READ_NODE_FIELD(plan.qual);
4186 : 370 : READ_NODE_FIELD(plan.lefttree);
4187 : 370 : READ_NODE_FIELD(plan.righttree);
4188 : 370 : READ_NODE_FIELD(plan.initPlan);
4189 : 370 : READ_BITMAPSET_FIELD(plan.extParam);
4190 : 370 : READ_BITMAPSET_FIELD(plan.allParam);
4191 : 370 : READ_BITMAPSET_FIELD(apprelids);
4192 : 370 : READ_NODE_FIELD(child_append_relid_sets);
4193 : 370 : READ_NODE_FIELD(mergeplans);
4194 : 370 : READ_INT_FIELD(numCols);
4195 : 370 : READ_ATTRNUMBER_ARRAY(sortColIdx, local_node->numCols);
4196 : 370 : READ_OID_ARRAY(sortOperators, local_node->numCols);
4197 : 370 : READ_OID_ARRAY(collations, local_node->numCols);
4198 : 370 : READ_BOOL_ARRAY(nullsFirst, local_node->numCols);
4199 : 370 : READ_INT_FIELD(part_prune_index);
4200 : :
4201 : 370 : READ_DONE();
4202 : : }
4203 : :
4204 : : static RecursiveUnion *
4205 : 574 : _readRecursiveUnion(ReadNodeContext *ctx)
4206 : : {
4207 : 574 : READ_LOCALS(RecursiveUnion);
4208 : :
4209 : 574 : READ_INT_FIELD(plan.disabled_nodes);
4210 : 574 : READ_FLOAT_FIELD(plan.startup_cost);
4211 : 574 : READ_FLOAT_FIELD(plan.total_cost);
4212 : 574 : READ_FLOAT_FIELD(plan.plan_rows);
4213 : 574 : READ_INT_FIELD(plan.plan_width);
4214 : 574 : READ_BOOL_FIELD(plan.parallel_aware);
4215 : 574 : READ_BOOL_FIELD(plan.parallel_safe);
4216 : 574 : READ_BOOL_FIELD(plan.async_capable);
4217 : 574 : READ_INT_FIELD(plan.plan_node_id);
4218 : 574 : READ_NODE_FIELD(plan.targetlist);
4219 : 574 : READ_NODE_FIELD(plan.qual);
4220 : 574 : READ_NODE_FIELD(plan.lefttree);
4221 : 574 : READ_NODE_FIELD(plan.righttree);
4222 : 574 : READ_NODE_FIELD(plan.initPlan);
4223 : 574 : READ_BITMAPSET_FIELD(plan.extParam);
4224 : 574 : READ_BITMAPSET_FIELD(plan.allParam);
4225 : 574 : READ_INT_FIELD(wtParam);
4226 : 574 : READ_INT_FIELD(numCols);
4227 : 574 : READ_ATTRNUMBER_ARRAY(dupColIdx, local_node->numCols);
4228 : 574 : READ_OID_ARRAY(dupOperators, local_node->numCols);
4229 : 574 : READ_OID_ARRAY(dupCollations, local_node->numCols);
4230 : 574 : READ_FLOAT_FIELD(numGroups);
4231 : :
4232 : 574 : READ_DONE();
4233 : : }
4234 : :
4235 : : static BitmapAnd *
4236 : 150 : _readBitmapAnd(ReadNodeContext *ctx)
4237 : : {
4238 : 150 : READ_LOCALS(BitmapAnd);
4239 : :
4240 : 150 : READ_INT_FIELD(plan.disabled_nodes);
4241 : 150 : READ_FLOAT_FIELD(plan.startup_cost);
4242 : 150 : READ_FLOAT_FIELD(plan.total_cost);
4243 : 150 : READ_FLOAT_FIELD(plan.plan_rows);
4244 : 150 : READ_INT_FIELD(plan.plan_width);
4245 : 150 : READ_BOOL_FIELD(plan.parallel_aware);
4246 : 150 : READ_BOOL_FIELD(plan.parallel_safe);
4247 : 150 : READ_BOOL_FIELD(plan.async_capable);
4248 : 150 : READ_INT_FIELD(plan.plan_node_id);
4249 : 150 : READ_NODE_FIELD(plan.targetlist);
4250 : 150 : READ_NODE_FIELD(plan.qual);
4251 : 150 : READ_NODE_FIELD(plan.lefttree);
4252 : 150 : READ_NODE_FIELD(plan.righttree);
4253 : 150 : READ_NODE_FIELD(plan.initPlan);
4254 : 150 : READ_BITMAPSET_FIELD(plan.extParam);
4255 : 150 : READ_BITMAPSET_FIELD(plan.allParam);
4256 : 150 : READ_NODE_FIELD(bitmapplans);
4257 : :
4258 : 150 : READ_DONE();
4259 : : }
4260 : :
4261 : : static BitmapOr *
4262 : 265 : _readBitmapOr(ReadNodeContext *ctx)
4263 : : {
4264 : 265 : READ_LOCALS(BitmapOr);
4265 : :
4266 : 265 : READ_INT_FIELD(plan.disabled_nodes);
4267 : 265 : READ_FLOAT_FIELD(plan.startup_cost);
4268 : 265 : READ_FLOAT_FIELD(plan.total_cost);
4269 : 265 : READ_FLOAT_FIELD(plan.plan_rows);
4270 : 265 : READ_INT_FIELD(plan.plan_width);
4271 : 265 : READ_BOOL_FIELD(plan.parallel_aware);
4272 : 265 : READ_BOOL_FIELD(plan.parallel_safe);
4273 : 265 : READ_BOOL_FIELD(plan.async_capable);
4274 : 265 : READ_INT_FIELD(plan.plan_node_id);
4275 : 265 : READ_NODE_FIELD(plan.targetlist);
4276 : 265 : READ_NODE_FIELD(plan.qual);
4277 : 265 : READ_NODE_FIELD(plan.lefttree);
4278 : 265 : READ_NODE_FIELD(plan.righttree);
4279 : 265 : READ_NODE_FIELD(plan.initPlan);
4280 : 265 : READ_BITMAPSET_FIELD(plan.extParam);
4281 : 265 : READ_BITMAPSET_FIELD(plan.allParam);
4282 : 265 : READ_BOOL_FIELD(isshared);
4283 : 265 : READ_NODE_FIELD(bitmapplans);
4284 : :
4285 : 265 : READ_DONE();
4286 : : }
4287 : :
4288 : : static SeqScan *
4289 : 153146 : _readSeqScan(ReadNodeContext *ctx)
4290 : : {
4291 : 153146 : READ_LOCALS(SeqScan);
4292 : :
4293 : 153146 : READ_INT_FIELD(scan.plan.disabled_nodes);
4294 : 153146 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4295 : 153146 : READ_FLOAT_FIELD(scan.plan.total_cost);
4296 : 153146 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4297 : 153146 : READ_INT_FIELD(scan.plan.plan_width);
4298 : 153146 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4299 : 153146 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4300 : 153146 : READ_BOOL_FIELD(scan.plan.async_capable);
4301 : 153146 : READ_INT_FIELD(scan.plan.plan_node_id);
4302 : 153146 : READ_NODE_FIELD(scan.plan.targetlist);
4303 : 153146 : READ_NODE_FIELD(scan.plan.qual);
4304 : 153146 : READ_NODE_FIELD(scan.plan.lefttree);
4305 : 153146 : READ_NODE_FIELD(scan.plan.righttree);
4306 : 153146 : READ_NODE_FIELD(scan.plan.initPlan);
4307 : 153146 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4308 : 153146 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4309 : 153146 : READ_UINT_FIELD(scan.scanrelid);
4310 : :
4311 : 153146 : READ_DONE();
4312 : : }
4313 : :
4314 : : static SampleScan *
4315 : 202 : _readSampleScan(ReadNodeContext *ctx)
4316 : : {
4317 : 202 : READ_LOCALS(SampleScan);
4318 : :
4319 : 202 : READ_INT_FIELD(scan.plan.disabled_nodes);
4320 : 202 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4321 : 202 : READ_FLOAT_FIELD(scan.plan.total_cost);
4322 : 202 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4323 : 202 : READ_INT_FIELD(scan.plan.plan_width);
4324 : 202 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4325 : 202 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4326 : 202 : READ_BOOL_FIELD(scan.plan.async_capable);
4327 : 202 : READ_INT_FIELD(scan.plan.plan_node_id);
4328 : 202 : READ_NODE_FIELD(scan.plan.targetlist);
4329 : 202 : READ_NODE_FIELD(scan.plan.qual);
4330 : 202 : READ_NODE_FIELD(scan.plan.lefttree);
4331 : 202 : READ_NODE_FIELD(scan.plan.righttree);
4332 : 202 : READ_NODE_FIELD(scan.plan.initPlan);
4333 : 202 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4334 : 202 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4335 : 202 : READ_UINT_FIELD(scan.scanrelid);
4336 : 202 : READ_NODE_FIELD(tablesample);
4337 : :
4338 : 202 : READ_DONE();
4339 : : }
4340 : :
4341 : : static IndexScan *
4342 : 92244 : _readIndexScan(ReadNodeContext *ctx)
4343 : : {
4344 : 92244 : READ_LOCALS(IndexScan);
4345 : :
4346 : 92244 : READ_INT_FIELD(scan.plan.disabled_nodes);
4347 : 92244 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4348 : 92244 : READ_FLOAT_FIELD(scan.plan.total_cost);
4349 : 92244 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4350 : 92244 : READ_INT_FIELD(scan.plan.plan_width);
4351 : 92244 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4352 : 92244 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4353 : 92244 : READ_BOOL_FIELD(scan.plan.async_capable);
4354 : 92244 : READ_INT_FIELD(scan.plan.plan_node_id);
4355 : 92244 : READ_NODE_FIELD(scan.plan.targetlist);
4356 : 92244 : READ_NODE_FIELD(scan.plan.qual);
4357 : 92244 : READ_NODE_FIELD(scan.plan.lefttree);
4358 : 92244 : READ_NODE_FIELD(scan.plan.righttree);
4359 : 92244 : READ_NODE_FIELD(scan.plan.initPlan);
4360 : 92244 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4361 : 92244 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4362 : 92244 : READ_UINT_FIELD(scan.scanrelid);
4363 : 92244 : READ_OID_FIELD(indexid);
4364 : 92244 : READ_NODE_FIELD(indexqual);
4365 : 92244 : READ_NODE_FIELD(indexqualorig);
4366 : 92244 : READ_NODE_FIELD(indexorderby);
4367 : 92244 : READ_NODE_FIELD(indexorderbyorig);
4368 : 92244 : READ_NODE_FIELD(indexorderbyops);
4369 : 92244 : READ_ENUM_FIELD(indexorderdir, ScanDirection);
4370 : :
4371 : 92244 : READ_DONE();
4372 : : }
4373 : :
4374 : : static IndexOnlyScan *
4375 : 11249 : _readIndexOnlyScan(ReadNodeContext *ctx)
4376 : : {
4377 : 11249 : READ_LOCALS(IndexOnlyScan);
4378 : :
4379 : 11249 : READ_INT_FIELD(scan.plan.disabled_nodes);
4380 : 11249 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4381 : 11249 : READ_FLOAT_FIELD(scan.plan.total_cost);
4382 : 11249 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4383 : 11249 : READ_INT_FIELD(scan.plan.plan_width);
4384 : 11249 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4385 : 11249 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4386 : 11249 : READ_BOOL_FIELD(scan.plan.async_capable);
4387 : 11249 : READ_INT_FIELD(scan.plan.plan_node_id);
4388 : 11249 : READ_NODE_FIELD(scan.plan.targetlist);
4389 : 11249 : READ_NODE_FIELD(scan.plan.qual);
4390 : 11249 : READ_NODE_FIELD(scan.plan.lefttree);
4391 : 11249 : READ_NODE_FIELD(scan.plan.righttree);
4392 : 11249 : READ_NODE_FIELD(scan.plan.initPlan);
4393 : 11249 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4394 : 11249 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4395 : 11249 : READ_UINT_FIELD(scan.scanrelid);
4396 : 11249 : READ_OID_FIELD(indexid);
4397 : 11249 : READ_NODE_FIELD(indexqual);
4398 : 11249 : READ_NODE_FIELD(recheckqual);
4399 : 11249 : READ_NODE_FIELD(indexorderby);
4400 : 11249 : READ_NODE_FIELD(indextlist);
4401 : 11249 : READ_ENUM_FIELD(indexorderdir, ScanDirection);
4402 : :
4403 : 11249 : READ_DONE();
4404 : : }
4405 : :
4406 : : static BitmapIndexScan *
4407 : 16563 : _readBitmapIndexScan(ReadNodeContext *ctx)
4408 : : {
4409 : 16563 : READ_LOCALS(BitmapIndexScan);
4410 : :
4411 : 16563 : READ_INT_FIELD(scan.plan.disabled_nodes);
4412 : 16563 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4413 : 16563 : READ_FLOAT_FIELD(scan.plan.total_cost);
4414 : 16563 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4415 : 16563 : READ_INT_FIELD(scan.plan.plan_width);
4416 : 16563 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4417 : 16563 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4418 : 16563 : READ_BOOL_FIELD(scan.plan.async_capable);
4419 : 16563 : READ_INT_FIELD(scan.plan.plan_node_id);
4420 : 16563 : READ_NODE_FIELD(scan.plan.targetlist);
4421 : 16563 : READ_NODE_FIELD(scan.plan.qual);
4422 : 16563 : READ_NODE_FIELD(scan.plan.lefttree);
4423 : 16563 : READ_NODE_FIELD(scan.plan.righttree);
4424 : 16563 : READ_NODE_FIELD(scan.plan.initPlan);
4425 : 16563 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4426 : 16563 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4427 : 16563 : READ_UINT_FIELD(scan.scanrelid);
4428 : 16563 : READ_OID_FIELD(indexid);
4429 : 16563 : READ_BOOL_FIELD(isshared);
4430 : 16563 : READ_NODE_FIELD(indexqual);
4431 : 16563 : READ_NODE_FIELD(indexqualorig);
4432 : :
4433 : 16563 : READ_DONE();
4434 : : }
4435 : :
4436 : : static BitmapHeapScan *
4437 : 16144 : _readBitmapHeapScan(ReadNodeContext *ctx)
4438 : : {
4439 : 16144 : READ_LOCALS(BitmapHeapScan);
4440 : :
4441 : 16144 : READ_INT_FIELD(scan.plan.disabled_nodes);
4442 : 16144 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4443 : 16144 : READ_FLOAT_FIELD(scan.plan.total_cost);
4444 : 16144 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4445 : 16144 : READ_INT_FIELD(scan.plan.plan_width);
4446 : 16144 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4447 : 16144 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4448 : 16144 : READ_BOOL_FIELD(scan.plan.async_capable);
4449 : 16144 : READ_INT_FIELD(scan.plan.plan_node_id);
4450 : 16144 : READ_NODE_FIELD(scan.plan.targetlist);
4451 : 16144 : READ_NODE_FIELD(scan.plan.qual);
4452 : 16144 : READ_NODE_FIELD(scan.plan.lefttree);
4453 : 16144 : READ_NODE_FIELD(scan.plan.righttree);
4454 : 16144 : READ_NODE_FIELD(scan.plan.initPlan);
4455 : 16144 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4456 : 16144 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4457 : 16144 : READ_UINT_FIELD(scan.scanrelid);
4458 : 16144 : READ_NODE_FIELD(bitmapqualorig);
4459 : :
4460 : 16144 : READ_DONE();
4461 : : }
4462 : :
4463 : : static TidScan *
4464 : 475 : _readTidScan(ReadNodeContext *ctx)
4465 : : {
4466 : 475 : READ_LOCALS(TidScan);
4467 : :
4468 : 475 : READ_INT_FIELD(scan.plan.disabled_nodes);
4469 : 475 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4470 : 475 : READ_FLOAT_FIELD(scan.plan.total_cost);
4471 : 475 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4472 : 475 : READ_INT_FIELD(scan.plan.plan_width);
4473 : 475 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4474 : 475 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4475 : 475 : READ_BOOL_FIELD(scan.plan.async_capable);
4476 : 475 : READ_INT_FIELD(scan.plan.plan_node_id);
4477 : 475 : READ_NODE_FIELD(scan.plan.targetlist);
4478 : 475 : READ_NODE_FIELD(scan.plan.qual);
4479 : 475 : READ_NODE_FIELD(scan.plan.lefttree);
4480 : 475 : READ_NODE_FIELD(scan.plan.righttree);
4481 : 475 : READ_NODE_FIELD(scan.plan.initPlan);
4482 : 475 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4483 : 475 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4484 : 475 : READ_UINT_FIELD(scan.scanrelid);
4485 : 475 : READ_NODE_FIELD(tidquals);
4486 : :
4487 : 475 : READ_DONE();
4488 : : }
4489 : :
4490 : : static TidRangeScan *
4491 : 1396 : _readTidRangeScan(ReadNodeContext *ctx)
4492 : : {
4493 : 1396 : READ_LOCALS(TidRangeScan);
4494 : :
4495 : 1396 : READ_INT_FIELD(scan.plan.disabled_nodes);
4496 : 1396 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4497 : 1396 : READ_FLOAT_FIELD(scan.plan.total_cost);
4498 : 1396 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4499 : 1396 : READ_INT_FIELD(scan.plan.plan_width);
4500 : 1396 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4501 : 1396 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4502 : 1396 : READ_BOOL_FIELD(scan.plan.async_capable);
4503 : 1396 : READ_INT_FIELD(scan.plan.plan_node_id);
4504 : 1396 : READ_NODE_FIELD(scan.plan.targetlist);
4505 : 1396 : READ_NODE_FIELD(scan.plan.qual);
4506 : 1396 : READ_NODE_FIELD(scan.plan.lefttree);
4507 : 1396 : READ_NODE_FIELD(scan.plan.righttree);
4508 : 1396 : READ_NODE_FIELD(scan.plan.initPlan);
4509 : 1396 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4510 : 1396 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4511 : 1396 : READ_UINT_FIELD(scan.scanrelid);
4512 : 1396 : READ_NODE_FIELD(tidrangequals);
4513 : :
4514 : 1396 : READ_DONE();
4515 : : }
4516 : :
4517 : : static SubqueryScan *
4518 : 13696 : _readSubqueryScan(ReadNodeContext *ctx)
4519 : : {
4520 : 13696 : READ_LOCALS(SubqueryScan);
4521 : :
4522 : 13696 : READ_INT_FIELD(scan.plan.disabled_nodes);
4523 : 13696 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4524 : 13696 : READ_FLOAT_FIELD(scan.plan.total_cost);
4525 : 13696 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4526 : 13696 : READ_INT_FIELD(scan.plan.plan_width);
4527 : 13696 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4528 : 13696 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4529 : 13696 : READ_BOOL_FIELD(scan.plan.async_capable);
4530 : 13696 : READ_INT_FIELD(scan.plan.plan_node_id);
4531 : 13696 : READ_NODE_FIELD(scan.plan.targetlist);
4532 : 13696 : READ_NODE_FIELD(scan.plan.qual);
4533 : 13696 : READ_NODE_FIELD(scan.plan.lefttree);
4534 : 13696 : READ_NODE_FIELD(scan.plan.righttree);
4535 : 13696 : READ_NODE_FIELD(scan.plan.initPlan);
4536 : 13696 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4537 : 13696 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4538 : 13696 : READ_UINT_FIELD(scan.scanrelid);
4539 : 13696 : READ_NODE_FIELD(subplan);
4540 : 13696 : READ_ENUM_FIELD(scanstatus, SubqueryScanStatus);
4541 : :
4542 : 13696 : READ_DONE();
4543 : : }
4544 : :
4545 : : static FunctionScan *
4546 : 31560 : _readFunctionScan(ReadNodeContext *ctx)
4547 : : {
4548 : 31560 : READ_LOCALS(FunctionScan);
4549 : :
4550 : 31560 : READ_INT_FIELD(scan.plan.disabled_nodes);
4551 : 31560 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4552 : 31560 : READ_FLOAT_FIELD(scan.plan.total_cost);
4553 : 31560 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4554 : 31560 : READ_INT_FIELD(scan.plan.plan_width);
4555 : 31560 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4556 : 31560 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4557 : 31560 : READ_BOOL_FIELD(scan.plan.async_capable);
4558 : 31560 : READ_INT_FIELD(scan.plan.plan_node_id);
4559 : 31560 : READ_NODE_FIELD(scan.plan.targetlist);
4560 : 31560 : READ_NODE_FIELD(scan.plan.qual);
4561 : 31560 : READ_NODE_FIELD(scan.plan.lefttree);
4562 : 31560 : READ_NODE_FIELD(scan.plan.righttree);
4563 : 31560 : READ_NODE_FIELD(scan.plan.initPlan);
4564 : 31560 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4565 : 31560 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4566 : 31560 : READ_UINT_FIELD(scan.scanrelid);
4567 : 31560 : READ_NODE_FIELD(functions);
4568 : 31560 : READ_BOOL_FIELD(funcordinality);
4569 : :
4570 : 31560 : READ_DONE();
4571 : : }
4572 : :
4573 : : static ValuesScan *
4574 : 5737 : _readValuesScan(ReadNodeContext *ctx)
4575 : : {
4576 : 5737 : READ_LOCALS(ValuesScan);
4577 : :
4578 : 5737 : READ_INT_FIELD(scan.plan.disabled_nodes);
4579 : 5737 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4580 : 5737 : READ_FLOAT_FIELD(scan.plan.total_cost);
4581 : 5737 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4582 : 5737 : READ_INT_FIELD(scan.plan.plan_width);
4583 : 5737 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4584 : 5737 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4585 : 5737 : READ_BOOL_FIELD(scan.plan.async_capable);
4586 : 5737 : READ_INT_FIELD(scan.plan.plan_node_id);
4587 : 5737 : READ_NODE_FIELD(scan.plan.targetlist);
4588 : 5737 : READ_NODE_FIELD(scan.plan.qual);
4589 : 5737 : READ_NODE_FIELD(scan.plan.lefttree);
4590 : 5737 : READ_NODE_FIELD(scan.plan.righttree);
4591 : 5737 : READ_NODE_FIELD(scan.plan.initPlan);
4592 : 5737 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4593 : 5737 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4594 : 5737 : READ_UINT_FIELD(scan.scanrelid);
4595 : 5737 : READ_NODE_FIELD(values_lists);
4596 : :
4597 : 5737 : READ_DONE();
4598 : : }
4599 : :
4600 : : static TableFuncScan *
4601 : 484 : _readTableFuncScan(ReadNodeContext *ctx)
4602 : : {
4603 : 484 : READ_LOCALS(TableFuncScan);
4604 : :
4605 : 484 : READ_INT_FIELD(scan.plan.disabled_nodes);
4606 : 484 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4607 : 484 : READ_FLOAT_FIELD(scan.plan.total_cost);
4608 : 484 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4609 : 484 : READ_INT_FIELD(scan.plan.plan_width);
4610 : 484 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4611 : 484 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4612 : 484 : READ_BOOL_FIELD(scan.plan.async_capable);
4613 : 484 : READ_INT_FIELD(scan.plan.plan_node_id);
4614 : 484 : READ_NODE_FIELD(scan.plan.targetlist);
4615 : 484 : READ_NODE_FIELD(scan.plan.qual);
4616 : 484 : READ_NODE_FIELD(scan.plan.lefttree);
4617 : 484 : READ_NODE_FIELD(scan.plan.righttree);
4618 : 484 : READ_NODE_FIELD(scan.plan.initPlan);
4619 : 484 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4620 : 484 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4621 : 484 : READ_UINT_FIELD(scan.scanrelid);
4622 : 484 : READ_NODE_FIELD(tablefunc);
4623 : :
4624 : 484 : READ_DONE();
4625 : : }
4626 : :
4627 : : static CteScan *
4628 : 2788 : _readCteScan(ReadNodeContext *ctx)
4629 : : {
4630 : 2788 : READ_LOCALS(CteScan);
4631 : :
4632 : 2788 : READ_INT_FIELD(scan.plan.disabled_nodes);
4633 : 2788 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4634 : 2788 : READ_FLOAT_FIELD(scan.plan.total_cost);
4635 : 2788 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4636 : 2788 : READ_INT_FIELD(scan.plan.plan_width);
4637 : 2788 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4638 : 2788 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4639 : 2788 : READ_BOOL_FIELD(scan.plan.async_capable);
4640 : 2788 : READ_INT_FIELD(scan.plan.plan_node_id);
4641 : 2788 : READ_NODE_FIELD(scan.plan.targetlist);
4642 : 2788 : READ_NODE_FIELD(scan.plan.qual);
4643 : 2788 : READ_NODE_FIELD(scan.plan.lefttree);
4644 : 2788 : READ_NODE_FIELD(scan.plan.righttree);
4645 : 2788 : READ_NODE_FIELD(scan.plan.initPlan);
4646 : 2788 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4647 : 2788 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4648 : 2788 : READ_UINT_FIELD(scan.scanrelid);
4649 : 2788 : READ_INT_FIELD(ctePlanId);
4650 : 2788 : READ_INT_FIELD(cteParam);
4651 : :
4652 : 2788 : READ_DONE();
4653 : : }
4654 : :
4655 : : static NamedTuplestoreScan *
4656 : 348 : _readNamedTuplestoreScan(ReadNodeContext *ctx)
4657 : : {
4658 : 348 : READ_LOCALS(NamedTuplestoreScan);
4659 : :
4660 : 348 : READ_INT_FIELD(scan.plan.disabled_nodes);
4661 : 348 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4662 : 348 : READ_FLOAT_FIELD(scan.plan.total_cost);
4663 : 348 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4664 : 348 : READ_INT_FIELD(scan.plan.plan_width);
4665 : 348 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4666 : 348 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4667 : 348 : READ_BOOL_FIELD(scan.plan.async_capable);
4668 : 348 : READ_INT_FIELD(scan.plan.plan_node_id);
4669 : 348 : READ_NODE_FIELD(scan.plan.targetlist);
4670 : 348 : READ_NODE_FIELD(scan.plan.qual);
4671 : 348 : READ_NODE_FIELD(scan.plan.lefttree);
4672 : 348 : READ_NODE_FIELD(scan.plan.righttree);
4673 : 348 : READ_NODE_FIELD(scan.plan.initPlan);
4674 : 348 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4675 : 348 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4676 : 348 : READ_UINT_FIELD(scan.scanrelid);
4677 : 348 : READ_STRING_FIELD(enrname);
4678 : :
4679 : 348 : READ_DONE();
4680 : : }
4681 : :
4682 : : static WorkTableScan *
4683 : 574 : _readWorkTableScan(ReadNodeContext *ctx)
4684 : : {
4685 : 574 : READ_LOCALS(WorkTableScan);
4686 : :
4687 : 574 : READ_INT_FIELD(scan.plan.disabled_nodes);
4688 : 574 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4689 : 574 : READ_FLOAT_FIELD(scan.plan.total_cost);
4690 : 574 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4691 : 574 : READ_INT_FIELD(scan.plan.plan_width);
4692 : 574 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4693 : 574 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4694 : 574 : READ_BOOL_FIELD(scan.plan.async_capable);
4695 : 574 : READ_INT_FIELD(scan.plan.plan_node_id);
4696 : 574 : READ_NODE_FIELD(scan.plan.targetlist);
4697 : 574 : READ_NODE_FIELD(scan.plan.qual);
4698 : 574 : READ_NODE_FIELD(scan.plan.lefttree);
4699 : 574 : READ_NODE_FIELD(scan.plan.righttree);
4700 : 574 : READ_NODE_FIELD(scan.plan.initPlan);
4701 : 574 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4702 : 574 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4703 : 574 : READ_UINT_FIELD(scan.scanrelid);
4704 : 574 : READ_INT_FIELD(wtParam);
4705 : :
4706 : 574 : READ_DONE();
4707 : : }
4708 : :
4709 : : static ForeignScan *
4710 : 1120 : _readForeignScan(ReadNodeContext *ctx)
4711 : : {
4712 : 1120 : READ_LOCALS(ForeignScan);
4713 : :
4714 : 1120 : READ_INT_FIELD(scan.plan.disabled_nodes);
4715 : 1120 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4716 : 1120 : READ_FLOAT_FIELD(scan.plan.total_cost);
4717 : 1120 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4718 : 1120 : READ_INT_FIELD(scan.plan.plan_width);
4719 : 1120 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4720 : 1120 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4721 : 1120 : READ_BOOL_FIELD(scan.plan.async_capable);
4722 : 1120 : READ_INT_FIELD(scan.plan.plan_node_id);
4723 : 1120 : READ_NODE_FIELD(scan.plan.targetlist);
4724 : 1120 : READ_NODE_FIELD(scan.plan.qual);
4725 : 1120 : READ_NODE_FIELD(scan.plan.lefttree);
4726 : 1120 : READ_NODE_FIELD(scan.plan.righttree);
4727 : 1120 : READ_NODE_FIELD(scan.plan.initPlan);
4728 : 1120 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4729 : 1120 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4730 : 1120 : READ_UINT_FIELD(scan.scanrelid);
4731 : 1120 : READ_ENUM_FIELD(operation, CmdType);
4732 : 1120 : READ_UINT_FIELD(resultRelation);
4733 : 1120 : READ_OID_FIELD(checkAsUser);
4734 : 1120 : READ_OID_FIELD(fs_server);
4735 : 1120 : READ_NODE_FIELD(fdw_exprs);
4736 : 1120 : READ_NODE_FIELD(fdw_private);
4737 : 1120 : READ_NODE_FIELD(fdw_scan_tlist);
4738 : 1120 : READ_NODE_FIELD(fdw_recheck_quals);
4739 : 1120 : READ_BITMAPSET_FIELD(fs_relids);
4740 : 1120 : READ_BITMAPSET_FIELD(fs_base_relids);
4741 : 1120 : READ_BOOL_FIELD(fsSystemCol);
4742 : :
4743 : 1120 : READ_DONE();
4744 : : }
4745 : :
4746 : : static CustomScan *
4747 : 11 : _readCustomScan(ReadNodeContext *ctx)
4748 : : {
4749 : 11 : READ_LOCALS(CustomScan);
4750 : :
4751 : 11 : READ_INT_FIELD(scan.plan.disabled_nodes);
4752 : 11 : READ_FLOAT_FIELD(scan.plan.startup_cost);
4753 : 11 : READ_FLOAT_FIELD(scan.plan.total_cost);
4754 : 11 : READ_FLOAT_FIELD(scan.plan.plan_rows);
4755 : 11 : READ_INT_FIELD(scan.plan.plan_width);
4756 : 11 : READ_BOOL_FIELD(scan.plan.parallel_aware);
4757 : 11 : READ_BOOL_FIELD(scan.plan.parallel_safe);
4758 : 11 : READ_BOOL_FIELD(scan.plan.async_capable);
4759 : 11 : READ_INT_FIELD(scan.plan.plan_node_id);
4760 : 11 : READ_NODE_FIELD(scan.plan.targetlist);
4761 : 11 : READ_NODE_FIELD(scan.plan.qual);
4762 : 11 : READ_NODE_FIELD(scan.plan.lefttree);
4763 : 11 : READ_NODE_FIELD(scan.plan.righttree);
4764 : 11 : READ_NODE_FIELD(scan.plan.initPlan);
4765 : 11 : READ_BITMAPSET_FIELD(scan.plan.extParam);
4766 : 11 : READ_BITMAPSET_FIELD(scan.plan.allParam);
4767 : 11 : READ_UINT_FIELD(scan.scanrelid);
4768 : 11 : READ_UINT_FIELD(flags);
4769 : 11 : READ_NODE_FIELD(custom_plans);
4770 : 11 : READ_NODE_FIELD(custom_exprs);
4771 : 11 : READ_NODE_FIELD(custom_private);
4772 : 11 : READ_NODE_FIELD(custom_scan_tlist);
4773 : 11 : READ_BITMAPSET_FIELD(custom_relids);
4774 : :
4775 : : {
4776 : : /* Lookup CustomScanMethods by CustomName */
4777 : : char *custom_name;
4778 : : const CustomScanMethods *methods;
4779 : 11 : token = pg_strtok(ctx, &length); /* skip methods: */
4780 : 11 : token = pg_strtok(ctx, &length); /* CustomName */
4781 : 11 : custom_name = nullable_string(token, length);
4782 : 11 : methods = GetCustomScanMethods(custom_name, false);
4783 : 11 : local_node->methods = methods;
4784 : : }
4785 : :
4786 : 11 : READ_DONE();
4787 : : }
4788 : :
4789 : : static NestLoop *
4790 : 63829 : _readNestLoop(ReadNodeContext *ctx)
4791 : : {
4792 : 63829 : READ_LOCALS(NestLoop);
4793 : :
4794 : 63829 : READ_INT_FIELD(join.plan.disabled_nodes);
4795 : 63829 : READ_FLOAT_FIELD(join.plan.startup_cost);
4796 : 63829 : READ_FLOAT_FIELD(join.plan.total_cost);
4797 : 63829 : READ_FLOAT_FIELD(join.plan.plan_rows);
4798 : 63829 : READ_INT_FIELD(join.plan.plan_width);
4799 : 63829 : READ_BOOL_FIELD(join.plan.parallel_aware);
4800 : 63829 : READ_BOOL_FIELD(join.plan.parallel_safe);
4801 : 63829 : READ_BOOL_FIELD(join.plan.async_capable);
4802 : 63829 : READ_INT_FIELD(join.plan.plan_node_id);
4803 : 63829 : READ_NODE_FIELD(join.plan.targetlist);
4804 : 63829 : READ_NODE_FIELD(join.plan.qual);
4805 : 63829 : READ_NODE_FIELD(join.plan.lefttree);
4806 : 63829 : READ_NODE_FIELD(join.plan.righttree);
4807 : 63829 : READ_NODE_FIELD(join.plan.initPlan);
4808 : 63829 : READ_BITMAPSET_FIELD(join.plan.extParam);
4809 : 63829 : READ_BITMAPSET_FIELD(join.plan.allParam);
4810 : 63829 : READ_ENUM_FIELD(join.jointype, JoinType);
4811 : 63829 : READ_BOOL_FIELD(join.inner_unique);
4812 : 63829 : READ_NODE_FIELD(join.joinqual);
4813 : 63829 : READ_BITMAPSET_FIELD(join.ojrelids);
4814 : 63829 : READ_NODE_FIELD(nestParams);
4815 : :
4816 : 63829 : READ_DONE();
4817 : : }
4818 : :
4819 : : static NestLoopParam *
4820 : 38079 : _readNestLoopParam(ReadNodeContext *ctx)
4821 : : {
4822 : 38079 : READ_LOCALS(NestLoopParam);
4823 : :
4824 : 38079 : READ_INT_FIELD(paramno);
4825 : 38079 : READ_NODE_FIELD(paramval);
4826 : :
4827 : 38079 : READ_DONE();
4828 : : }
4829 : :
4830 : : static MergeJoin *
4831 : 5052 : _readMergeJoin(ReadNodeContext *ctx)
4832 : : {
4833 : 5052 : READ_LOCALS(MergeJoin);
4834 : :
4835 : 5052 : READ_INT_FIELD(join.plan.disabled_nodes);
4836 : 5052 : READ_FLOAT_FIELD(join.plan.startup_cost);
4837 : 5052 : READ_FLOAT_FIELD(join.plan.total_cost);
4838 : 5052 : READ_FLOAT_FIELD(join.plan.plan_rows);
4839 : 5052 : READ_INT_FIELD(join.plan.plan_width);
4840 : 5052 : READ_BOOL_FIELD(join.plan.parallel_aware);
4841 : 5052 : READ_BOOL_FIELD(join.plan.parallel_safe);
4842 : 5052 : READ_BOOL_FIELD(join.plan.async_capable);
4843 : 5052 : READ_INT_FIELD(join.plan.plan_node_id);
4844 : 5052 : READ_NODE_FIELD(join.plan.targetlist);
4845 : 5052 : READ_NODE_FIELD(join.plan.qual);
4846 : 5052 : READ_NODE_FIELD(join.plan.lefttree);
4847 : 5052 : READ_NODE_FIELD(join.plan.righttree);
4848 : 5052 : READ_NODE_FIELD(join.plan.initPlan);
4849 : 5052 : READ_BITMAPSET_FIELD(join.plan.extParam);
4850 : 5052 : READ_BITMAPSET_FIELD(join.plan.allParam);
4851 : 5052 : READ_ENUM_FIELD(join.jointype, JoinType);
4852 : 5052 : READ_BOOL_FIELD(join.inner_unique);
4853 : 5052 : READ_NODE_FIELD(join.joinqual);
4854 : 5052 : READ_BITMAPSET_FIELD(join.ojrelids);
4855 : 5052 : READ_BOOL_FIELD(skip_mark_restore);
4856 : 5052 : READ_NODE_FIELD(mergeclauses);
4857 : 5052 : READ_OID_ARRAY(mergeFamilies, list_length(local_node->mergeclauses));
4858 : 5052 : READ_OID_ARRAY(mergeCollations, list_length(local_node->mergeclauses));
4859 : 5052 : READ_BOOL_ARRAY(mergeReversals, list_length(local_node->mergeclauses));
4860 : 5052 : READ_BOOL_ARRAY(mergeNullsFirst, list_length(local_node->mergeclauses));
4861 : :
4862 : 5052 : READ_DONE();
4863 : : }
4864 : :
4865 : : static HashJoin *
4866 : 29945 : _readHashJoin(ReadNodeContext *ctx)
4867 : : {
4868 : 29945 : READ_LOCALS(HashJoin);
4869 : :
4870 : 29945 : READ_INT_FIELD(join.plan.disabled_nodes);
4871 : 29945 : READ_FLOAT_FIELD(join.plan.startup_cost);
4872 : 29945 : READ_FLOAT_FIELD(join.plan.total_cost);
4873 : 29945 : READ_FLOAT_FIELD(join.plan.plan_rows);
4874 : 29945 : READ_INT_FIELD(join.plan.plan_width);
4875 : 29945 : READ_BOOL_FIELD(join.plan.parallel_aware);
4876 : 29945 : READ_BOOL_FIELD(join.plan.parallel_safe);
4877 : 29945 : READ_BOOL_FIELD(join.plan.async_capable);
4878 : 29945 : READ_INT_FIELD(join.plan.plan_node_id);
4879 : 29945 : READ_NODE_FIELD(join.plan.targetlist);
4880 : 29945 : READ_NODE_FIELD(join.plan.qual);
4881 : 29945 : READ_NODE_FIELD(join.plan.lefttree);
4882 : 29945 : READ_NODE_FIELD(join.plan.righttree);
4883 : 29945 : READ_NODE_FIELD(join.plan.initPlan);
4884 : 29945 : READ_BITMAPSET_FIELD(join.plan.extParam);
4885 : 29945 : READ_BITMAPSET_FIELD(join.plan.allParam);
4886 : 29945 : READ_ENUM_FIELD(join.jointype, JoinType);
4887 : 29945 : READ_BOOL_FIELD(join.inner_unique);
4888 : 29945 : READ_NODE_FIELD(join.joinqual);
4889 : 29945 : READ_BITMAPSET_FIELD(join.ojrelids);
4890 : 29945 : READ_NODE_FIELD(hashclauses);
4891 : 29945 : READ_NODE_FIELD(hashoperators);
4892 : 29945 : READ_NODE_FIELD(hashcollations);
4893 : 29945 : READ_NODE_FIELD(hashkeys);
4894 : :
4895 : 29945 : READ_DONE();
4896 : : }
4897 : :
4898 : : static Material *
4899 : 2823 : _readMaterial(ReadNodeContext *ctx)
4900 : : {
4901 : 2823 : READ_LOCALS(Material);
4902 : :
4903 : 2823 : READ_INT_FIELD(plan.disabled_nodes);
4904 : 2823 : READ_FLOAT_FIELD(plan.startup_cost);
4905 : 2823 : READ_FLOAT_FIELD(plan.total_cost);
4906 : 2823 : READ_FLOAT_FIELD(plan.plan_rows);
4907 : 2823 : READ_INT_FIELD(plan.plan_width);
4908 : 2823 : READ_BOOL_FIELD(plan.parallel_aware);
4909 : 2823 : READ_BOOL_FIELD(plan.parallel_safe);
4910 : 2823 : READ_BOOL_FIELD(plan.async_capable);
4911 : 2823 : READ_INT_FIELD(plan.plan_node_id);
4912 : 2823 : READ_NODE_FIELD(plan.targetlist);
4913 : 2823 : READ_NODE_FIELD(plan.qual);
4914 : 2823 : READ_NODE_FIELD(plan.lefttree);
4915 : 2823 : READ_NODE_FIELD(plan.righttree);
4916 : 2823 : READ_NODE_FIELD(plan.initPlan);
4917 : 2823 : READ_BITMAPSET_FIELD(plan.extParam);
4918 : 2823 : READ_BITMAPSET_FIELD(plan.allParam);
4919 : :
4920 : 2823 : READ_DONE();
4921 : : }
4922 : :
4923 : : static Memoize *
4924 : 1299 : _readMemoize(ReadNodeContext *ctx)
4925 : : {
4926 : 1299 : READ_LOCALS(Memoize);
4927 : :
4928 : 1299 : READ_INT_FIELD(plan.disabled_nodes);
4929 : 1299 : READ_FLOAT_FIELD(plan.startup_cost);
4930 : 1299 : READ_FLOAT_FIELD(plan.total_cost);
4931 : 1299 : READ_FLOAT_FIELD(plan.plan_rows);
4932 : 1299 : READ_INT_FIELD(plan.plan_width);
4933 : 1299 : READ_BOOL_FIELD(plan.parallel_aware);
4934 : 1299 : READ_BOOL_FIELD(plan.parallel_safe);
4935 : 1299 : READ_BOOL_FIELD(plan.async_capable);
4936 : 1299 : READ_INT_FIELD(plan.plan_node_id);
4937 : 1299 : READ_NODE_FIELD(plan.targetlist);
4938 : 1299 : READ_NODE_FIELD(plan.qual);
4939 : 1299 : READ_NODE_FIELD(plan.lefttree);
4940 : 1299 : READ_NODE_FIELD(plan.righttree);
4941 : 1299 : READ_NODE_FIELD(plan.initPlan);
4942 : 1299 : READ_BITMAPSET_FIELD(plan.extParam);
4943 : 1299 : READ_BITMAPSET_FIELD(plan.allParam);
4944 : 1299 : READ_INT_FIELD(numKeys);
4945 : 1299 : READ_OID_ARRAY(hashOperators, local_node->numKeys);
4946 : 1299 : READ_OID_ARRAY(collations, local_node->numKeys);
4947 : 1299 : READ_NODE_FIELD(param_exprs);
4948 : 1299 : READ_BOOL_FIELD(singlerow);
4949 : 1299 : READ_BOOL_FIELD(binary_mode);
4950 : 1299 : READ_UINT_FIELD(est_entries);
4951 : 1299 : READ_BITMAPSET_FIELD(keyparamids);
4952 : 1299 : READ_FLOAT_FIELD(est_calls);
4953 : 1299 : READ_FLOAT_FIELD(est_unique_keys);
4954 : 1299 : READ_FLOAT_FIELD(est_hit_ratio);
4955 : :
4956 : 1299 : READ_DONE();
4957 : : }
4958 : :
4959 : : static Sort *
4960 : 54951 : _readSort(ReadNodeContext *ctx)
4961 : : {
4962 : 54951 : READ_LOCALS(Sort);
4963 : :
4964 : 54951 : READ_INT_FIELD(plan.disabled_nodes);
4965 : 54951 : READ_FLOAT_FIELD(plan.startup_cost);
4966 : 54951 : READ_FLOAT_FIELD(plan.total_cost);
4967 : 54951 : READ_FLOAT_FIELD(plan.plan_rows);
4968 : 54951 : READ_INT_FIELD(plan.plan_width);
4969 : 54951 : READ_BOOL_FIELD(plan.parallel_aware);
4970 : 54951 : READ_BOOL_FIELD(plan.parallel_safe);
4971 : 54951 : READ_BOOL_FIELD(plan.async_capable);
4972 : 54951 : READ_INT_FIELD(plan.plan_node_id);
4973 : 54951 : READ_NODE_FIELD(plan.targetlist);
4974 : 54951 : READ_NODE_FIELD(plan.qual);
4975 : 54951 : READ_NODE_FIELD(plan.lefttree);
4976 : 54951 : READ_NODE_FIELD(plan.righttree);
4977 : 54951 : READ_NODE_FIELD(plan.initPlan);
4978 : 54951 : READ_BITMAPSET_FIELD(plan.extParam);
4979 : 54951 : READ_BITMAPSET_FIELD(plan.allParam);
4980 : 54951 : READ_INT_FIELD(numCols);
4981 : 54951 : READ_ATTRNUMBER_ARRAY(sortColIdx, local_node->numCols);
4982 : 54951 : READ_OID_ARRAY(sortOperators, local_node->numCols);
4983 : 54951 : READ_OID_ARRAY(collations, local_node->numCols);
4984 : 54951 : READ_BOOL_ARRAY(nullsFirst, local_node->numCols);
4985 : :
4986 : 54951 : READ_DONE();
4987 : : }
4988 : :
4989 : : static IncrementalSort *
4990 : 671 : _readIncrementalSort(ReadNodeContext *ctx)
4991 : : {
4992 : 671 : READ_LOCALS(IncrementalSort);
4993 : :
4994 : 671 : READ_INT_FIELD(sort.plan.disabled_nodes);
4995 : 671 : READ_FLOAT_FIELD(sort.plan.startup_cost);
4996 : 671 : READ_FLOAT_FIELD(sort.plan.total_cost);
4997 : 671 : READ_FLOAT_FIELD(sort.plan.plan_rows);
4998 : 671 : READ_INT_FIELD(sort.plan.plan_width);
4999 : 671 : READ_BOOL_FIELD(sort.plan.parallel_aware);
5000 : 671 : READ_BOOL_FIELD(sort.plan.parallel_safe);
5001 : 671 : READ_BOOL_FIELD(sort.plan.async_capable);
5002 : 671 : READ_INT_FIELD(sort.plan.plan_node_id);
5003 : 671 : READ_NODE_FIELD(sort.plan.targetlist);
5004 : 671 : READ_NODE_FIELD(sort.plan.qual);
5005 : 671 : READ_NODE_FIELD(sort.plan.lefttree);
5006 : 671 : READ_NODE_FIELD(sort.plan.righttree);
5007 : 671 : READ_NODE_FIELD(sort.plan.initPlan);
5008 : 671 : READ_BITMAPSET_FIELD(sort.plan.extParam);
5009 : 671 : READ_BITMAPSET_FIELD(sort.plan.allParam);
5010 : 671 : READ_INT_FIELD(sort.numCols);
5011 : 671 : READ_ATTRNUMBER_ARRAY(sort.sortColIdx, local_node->sort.numCols);
5012 : 671 : READ_OID_ARRAY(sort.sortOperators, local_node->sort.numCols);
5013 : 671 : READ_OID_ARRAY(sort.collations, local_node->sort.numCols);
5014 : 671 : READ_BOOL_ARRAY(sort.nullsFirst, local_node->sort.numCols);
5015 : 671 : READ_INT_FIELD(nPresortedCols);
5016 : 671 : READ_FLOAT_FIELD(numGroups);
5017 : :
5018 : 671 : READ_DONE();
5019 : : }
5020 : :
5021 : : static Group *
5022 : 182 : _readGroup(ReadNodeContext *ctx)
5023 : : {
5024 : 182 : READ_LOCALS(Group);
5025 : :
5026 : 182 : READ_INT_FIELD(plan.disabled_nodes);
5027 : 182 : READ_FLOAT_FIELD(plan.startup_cost);
5028 : 182 : READ_FLOAT_FIELD(plan.total_cost);
5029 : 182 : READ_FLOAT_FIELD(plan.plan_rows);
5030 : 182 : READ_INT_FIELD(plan.plan_width);
5031 : 182 : READ_BOOL_FIELD(plan.parallel_aware);
5032 : 182 : READ_BOOL_FIELD(plan.parallel_safe);
5033 : 182 : READ_BOOL_FIELD(plan.async_capable);
5034 : 182 : READ_INT_FIELD(plan.plan_node_id);
5035 : 182 : READ_NODE_FIELD(plan.targetlist);
5036 : 182 : READ_NODE_FIELD(plan.qual);
5037 : 182 : READ_NODE_FIELD(plan.lefttree);
5038 : 182 : READ_NODE_FIELD(plan.righttree);
5039 : 182 : READ_NODE_FIELD(plan.initPlan);
5040 : 182 : READ_BITMAPSET_FIELD(plan.extParam);
5041 : 182 : READ_BITMAPSET_FIELD(plan.allParam);
5042 : 182 : READ_INT_FIELD(numCols);
5043 : 182 : READ_ATTRNUMBER_ARRAY(grpColIdx, local_node->numCols);
5044 : 182 : READ_OID_ARRAY(grpOperators, local_node->numCols);
5045 : 182 : READ_OID_ARRAY(grpCollations, local_node->numCols);
5046 : :
5047 : 182 : READ_DONE();
5048 : : }
5049 : :
5050 : : static Agg *
5051 : 33627 : _readAgg(ReadNodeContext *ctx)
5052 : : {
5053 : 33627 : READ_LOCALS(Agg);
5054 : :
5055 : 33627 : READ_INT_FIELD(plan.disabled_nodes);
5056 : 33627 : READ_FLOAT_FIELD(plan.startup_cost);
5057 : 33627 : READ_FLOAT_FIELD(plan.total_cost);
5058 : 33627 : READ_FLOAT_FIELD(plan.plan_rows);
5059 : 33627 : READ_INT_FIELD(plan.plan_width);
5060 : 33627 : READ_BOOL_FIELD(plan.parallel_aware);
5061 : 33627 : READ_BOOL_FIELD(plan.parallel_safe);
5062 : 33627 : READ_BOOL_FIELD(plan.async_capable);
5063 : 33627 : READ_INT_FIELD(plan.plan_node_id);
5064 : 33627 : READ_NODE_FIELD(plan.targetlist);
5065 : 33627 : READ_NODE_FIELD(plan.qual);
5066 : 33627 : READ_NODE_FIELD(plan.lefttree);
5067 : 33627 : READ_NODE_FIELD(plan.righttree);
5068 : 33627 : READ_NODE_FIELD(plan.initPlan);
5069 : 33627 : READ_BITMAPSET_FIELD(plan.extParam);
5070 : 33627 : READ_BITMAPSET_FIELD(plan.allParam);
5071 : 33627 : READ_ENUM_FIELD(aggstrategy, AggStrategy);
5072 : 33627 : READ_ENUM_FIELD(aggsplit, AggSplit);
5073 : 33627 : READ_INT_FIELD(numCols);
5074 : 33627 : READ_ATTRNUMBER_ARRAY(grpColIdx, local_node->numCols);
5075 : 33627 : READ_OID_ARRAY(grpOperators, local_node->numCols);
5076 : 33627 : READ_OID_ARRAY(grpCollations, local_node->numCols);
5077 : 33627 : READ_FLOAT_FIELD(numGroups);
5078 : 33627 : READ_UINT64_FIELD(transitionSpace);
5079 : 33627 : READ_BITMAPSET_FIELD(aggParams);
5080 : 33627 : READ_NODE_FIELD(groupingSets);
5081 : 33627 : READ_NODE_FIELD(chain);
5082 : :
5083 : 33627 : READ_DONE();
5084 : : }
5085 : :
5086 : : static WindowAgg *
5087 : 2011 : _readWindowAgg(ReadNodeContext *ctx)
5088 : : {
5089 : 2011 : READ_LOCALS(WindowAgg);
5090 : :
5091 : 2011 : READ_INT_FIELD(plan.disabled_nodes);
5092 : 2011 : READ_FLOAT_FIELD(plan.startup_cost);
5093 : 2011 : READ_FLOAT_FIELD(plan.total_cost);
5094 : 2011 : READ_FLOAT_FIELD(plan.plan_rows);
5095 : 2011 : READ_INT_FIELD(plan.plan_width);
5096 : 2011 : READ_BOOL_FIELD(plan.parallel_aware);
5097 : 2011 : READ_BOOL_FIELD(plan.parallel_safe);
5098 : 2011 : READ_BOOL_FIELD(plan.async_capable);
5099 : 2011 : READ_INT_FIELD(plan.plan_node_id);
5100 : 2011 : READ_NODE_FIELD(plan.targetlist);
5101 : 2011 : READ_NODE_FIELD(plan.qual);
5102 : 2011 : READ_NODE_FIELD(plan.lefttree);
5103 : 2011 : READ_NODE_FIELD(plan.righttree);
5104 : 2011 : READ_NODE_FIELD(plan.initPlan);
5105 : 2011 : READ_BITMAPSET_FIELD(plan.extParam);
5106 : 2011 : READ_BITMAPSET_FIELD(plan.allParam);
5107 : 2011 : READ_STRING_FIELD(winname);
5108 : 2011 : READ_UINT_FIELD(winref);
5109 : 2011 : READ_INT_FIELD(partNumCols);
5110 : 2011 : READ_ATTRNUMBER_ARRAY(partColIdx, local_node->partNumCols);
5111 : 2011 : READ_OID_ARRAY(partOperators, local_node->partNumCols);
5112 : 2011 : READ_OID_ARRAY(partCollations, local_node->partNumCols);
5113 : 2011 : READ_INT_FIELD(ordNumCols);
5114 : 2011 : READ_ATTRNUMBER_ARRAY(ordColIdx, local_node->ordNumCols);
5115 : 2011 : READ_OID_ARRAY(ordOperators, local_node->ordNumCols);
5116 : 2011 : READ_OID_ARRAY(ordCollations, local_node->ordNumCols);
5117 : 2011 : READ_INT_FIELD(frameOptions);
5118 : 2011 : READ_NODE_FIELD(startOffset);
5119 : 2011 : READ_NODE_FIELD(endOffset);
5120 : 2011 : READ_NODE_FIELD(runCondition);
5121 : 2011 : READ_NODE_FIELD(runConditionOrig);
5122 : 2011 : READ_OID_FIELD(startInRangeFunc);
5123 : 2011 : READ_OID_FIELD(endInRangeFunc);
5124 : 2011 : READ_OID_FIELD(inRangeColl);
5125 : 2011 : READ_BOOL_FIELD(inRangeAsc);
5126 : 2011 : READ_BOOL_FIELD(inRangeNullsFirst);
5127 : 2011 : READ_BOOL_FIELD(topWindow);
5128 : :
5129 : 2011 : READ_DONE();
5130 : : }
5131 : :
5132 : : static Unique *
5133 : 3509 : _readUnique(ReadNodeContext *ctx)
5134 : : {
5135 : 3509 : READ_LOCALS(Unique);
5136 : :
5137 : 3509 : READ_INT_FIELD(plan.disabled_nodes);
5138 : 3509 : READ_FLOAT_FIELD(plan.startup_cost);
5139 : 3509 : READ_FLOAT_FIELD(plan.total_cost);
5140 : 3509 : READ_FLOAT_FIELD(plan.plan_rows);
5141 : 3509 : READ_INT_FIELD(plan.plan_width);
5142 : 3509 : READ_BOOL_FIELD(plan.parallel_aware);
5143 : 3509 : READ_BOOL_FIELD(plan.parallel_safe);
5144 : 3509 : READ_BOOL_FIELD(plan.async_capable);
5145 : 3509 : READ_INT_FIELD(plan.plan_node_id);
5146 : 3509 : READ_NODE_FIELD(plan.targetlist);
5147 : 3509 : READ_NODE_FIELD(plan.qual);
5148 : 3509 : READ_NODE_FIELD(plan.lefttree);
5149 : 3509 : READ_NODE_FIELD(plan.righttree);
5150 : 3509 : READ_NODE_FIELD(plan.initPlan);
5151 : 3509 : READ_BITMAPSET_FIELD(plan.extParam);
5152 : 3509 : READ_BITMAPSET_FIELD(plan.allParam);
5153 : 3509 : READ_INT_FIELD(numCols);
5154 : 3509 : READ_ATTRNUMBER_ARRAY(uniqColIdx, local_node->numCols);
5155 : 3509 : READ_OID_ARRAY(uniqOperators, local_node->numCols);
5156 : 3509 : READ_OID_ARRAY(uniqCollations, local_node->numCols);
5157 : :
5158 : 3509 : READ_DONE();
5159 : : }
5160 : :
5161 : : static Gather *
5162 : 771 : _readGather(ReadNodeContext *ctx)
5163 : : {
5164 : 771 : READ_LOCALS(Gather);
5165 : :
5166 : 771 : READ_INT_FIELD(plan.disabled_nodes);
5167 : 771 : READ_FLOAT_FIELD(plan.startup_cost);
5168 : 771 : READ_FLOAT_FIELD(plan.total_cost);
5169 : 771 : READ_FLOAT_FIELD(plan.plan_rows);
5170 : 771 : READ_INT_FIELD(plan.plan_width);
5171 : 771 : READ_BOOL_FIELD(plan.parallel_aware);
5172 : 771 : READ_BOOL_FIELD(plan.parallel_safe);
5173 : 771 : READ_BOOL_FIELD(plan.async_capable);
5174 : 771 : READ_INT_FIELD(plan.plan_node_id);
5175 : 771 : READ_NODE_FIELD(plan.targetlist);
5176 : 771 : READ_NODE_FIELD(plan.qual);
5177 : 771 : READ_NODE_FIELD(plan.lefttree);
5178 : 771 : READ_NODE_FIELD(plan.righttree);
5179 : 771 : READ_NODE_FIELD(plan.initPlan);
5180 : 771 : READ_BITMAPSET_FIELD(plan.extParam);
5181 : 771 : READ_BITMAPSET_FIELD(plan.allParam);
5182 : 771 : READ_INT_FIELD(num_workers);
5183 : 771 : READ_INT_FIELD(rescan_param);
5184 : 771 : READ_BOOL_FIELD(single_copy);
5185 : 771 : READ_BOOL_FIELD(invisible);
5186 : 771 : READ_BITMAPSET_FIELD(initParam);
5187 : :
5188 : 771 : READ_DONE();
5189 : : }
5190 : :
5191 : : static GatherMerge *
5192 : 260 : _readGatherMerge(ReadNodeContext *ctx)
5193 : : {
5194 : 260 : READ_LOCALS(GatherMerge);
5195 : :
5196 : 260 : READ_INT_FIELD(plan.disabled_nodes);
5197 : 260 : READ_FLOAT_FIELD(plan.startup_cost);
5198 : 260 : READ_FLOAT_FIELD(plan.total_cost);
5199 : 260 : READ_FLOAT_FIELD(plan.plan_rows);
5200 : 260 : READ_INT_FIELD(plan.plan_width);
5201 : 260 : READ_BOOL_FIELD(plan.parallel_aware);
5202 : 260 : READ_BOOL_FIELD(plan.parallel_safe);
5203 : 260 : READ_BOOL_FIELD(plan.async_capable);
5204 : 260 : READ_INT_FIELD(plan.plan_node_id);
5205 : 260 : READ_NODE_FIELD(plan.targetlist);
5206 : 260 : READ_NODE_FIELD(plan.qual);
5207 : 260 : READ_NODE_FIELD(plan.lefttree);
5208 : 260 : READ_NODE_FIELD(plan.righttree);
5209 : 260 : READ_NODE_FIELD(plan.initPlan);
5210 : 260 : READ_BITMAPSET_FIELD(plan.extParam);
5211 : 260 : READ_BITMAPSET_FIELD(plan.allParam);
5212 : 260 : READ_INT_FIELD(num_workers);
5213 : 260 : READ_INT_FIELD(rescan_param);
5214 : 260 : READ_INT_FIELD(numCols);
5215 : 260 : READ_ATTRNUMBER_ARRAY(sortColIdx, local_node->numCols);
5216 : 260 : READ_OID_ARRAY(sortOperators, local_node->numCols);
5217 : 260 : READ_OID_ARRAY(collations, local_node->numCols);
5218 : 260 : READ_BOOL_ARRAY(nullsFirst, local_node->numCols);
5219 : 260 : READ_BITMAPSET_FIELD(initParam);
5220 : :
5221 : 260 : READ_DONE();
5222 : : }
5223 : :
5224 : : static Hash *
5225 : 29945 : _readHash(ReadNodeContext *ctx)
5226 : : {
5227 : 29945 : READ_LOCALS(Hash);
5228 : :
5229 : 29945 : READ_INT_FIELD(plan.disabled_nodes);
5230 : 29945 : READ_FLOAT_FIELD(plan.startup_cost);
5231 : 29945 : READ_FLOAT_FIELD(plan.total_cost);
5232 : 29945 : READ_FLOAT_FIELD(plan.plan_rows);
5233 : 29945 : READ_INT_FIELD(plan.plan_width);
5234 : 29945 : READ_BOOL_FIELD(plan.parallel_aware);
5235 : 29945 : READ_BOOL_FIELD(plan.parallel_safe);
5236 : 29945 : READ_BOOL_FIELD(plan.async_capable);
5237 : 29945 : READ_INT_FIELD(plan.plan_node_id);
5238 : 29945 : READ_NODE_FIELD(plan.targetlist);
5239 : 29945 : READ_NODE_FIELD(plan.qual);
5240 : 29945 : READ_NODE_FIELD(plan.lefttree);
5241 : 29945 : READ_NODE_FIELD(plan.righttree);
5242 : 29945 : READ_NODE_FIELD(plan.initPlan);
5243 : 29945 : READ_BITMAPSET_FIELD(plan.extParam);
5244 : 29945 : READ_BITMAPSET_FIELD(plan.allParam);
5245 : 29945 : READ_NODE_FIELD(hashkeys);
5246 : 29945 : READ_OID_FIELD(skewTable);
5247 : 29945 : READ_INT_FIELD(skewColumn);
5248 : 29945 : READ_BOOL_FIELD(skewInherit);
5249 : 29945 : READ_FLOAT_FIELD(rows_total);
5250 : :
5251 : 29945 : READ_DONE();
5252 : : }
5253 : :
5254 : : static SetOp *
5255 : 515 : _readSetOp(ReadNodeContext *ctx)
5256 : : {
5257 : 515 : READ_LOCALS(SetOp);
5258 : :
5259 : 515 : READ_INT_FIELD(plan.disabled_nodes);
5260 : 515 : READ_FLOAT_FIELD(plan.startup_cost);
5261 : 515 : READ_FLOAT_FIELD(plan.total_cost);
5262 : 515 : READ_FLOAT_FIELD(plan.plan_rows);
5263 : 515 : READ_INT_FIELD(plan.plan_width);
5264 : 515 : READ_BOOL_FIELD(plan.parallel_aware);
5265 : 515 : READ_BOOL_FIELD(plan.parallel_safe);
5266 : 515 : READ_BOOL_FIELD(plan.async_capable);
5267 : 515 : READ_INT_FIELD(plan.plan_node_id);
5268 : 515 : READ_NODE_FIELD(plan.targetlist);
5269 : 515 : READ_NODE_FIELD(plan.qual);
5270 : 515 : READ_NODE_FIELD(plan.lefttree);
5271 : 515 : READ_NODE_FIELD(plan.righttree);
5272 : 515 : READ_NODE_FIELD(plan.initPlan);
5273 : 515 : READ_BITMAPSET_FIELD(plan.extParam);
5274 : 515 : READ_BITMAPSET_FIELD(plan.allParam);
5275 : 515 : READ_ENUM_FIELD(cmd, SetOpCmd);
5276 : 515 : READ_ENUM_FIELD(strategy, SetOpStrategy);
5277 : 515 : READ_INT_FIELD(numCols);
5278 : 515 : READ_ATTRNUMBER_ARRAY(cmpColIdx, local_node->numCols);
5279 : 515 : READ_OID_ARRAY(cmpOperators, local_node->numCols);
5280 : 515 : READ_OID_ARRAY(cmpCollations, local_node->numCols);
5281 : 515 : READ_BOOL_ARRAY(cmpNullsFirst, local_node->numCols);
5282 : 515 : READ_FLOAT_FIELD(numGroups);
5283 : :
5284 : 515 : READ_DONE();
5285 : : }
5286 : :
5287 : : static LockRows *
5288 : 6043 : _readLockRows(ReadNodeContext *ctx)
5289 : : {
5290 : 6043 : READ_LOCALS(LockRows);
5291 : :
5292 : 6043 : READ_INT_FIELD(plan.disabled_nodes);
5293 : 6043 : READ_FLOAT_FIELD(plan.startup_cost);
5294 : 6043 : READ_FLOAT_FIELD(plan.total_cost);
5295 : 6043 : READ_FLOAT_FIELD(plan.plan_rows);
5296 : 6043 : READ_INT_FIELD(plan.plan_width);
5297 : 6043 : READ_BOOL_FIELD(plan.parallel_aware);
5298 : 6043 : READ_BOOL_FIELD(plan.parallel_safe);
5299 : 6043 : READ_BOOL_FIELD(plan.async_capable);
5300 : 6043 : READ_INT_FIELD(plan.plan_node_id);
5301 : 6043 : READ_NODE_FIELD(plan.targetlist);
5302 : 6043 : READ_NODE_FIELD(plan.qual);
5303 : 6043 : READ_NODE_FIELD(plan.lefttree);
5304 : 6043 : READ_NODE_FIELD(plan.righttree);
5305 : 6043 : READ_NODE_FIELD(plan.initPlan);
5306 : 6043 : READ_BITMAPSET_FIELD(plan.extParam);
5307 : 6043 : READ_BITMAPSET_FIELD(plan.allParam);
5308 : 6043 : READ_NODE_FIELD(rowMarks);
5309 : 6043 : READ_INT_FIELD(epqParam);
5310 : :
5311 : 6043 : READ_DONE();
5312 : : }
5313 : :
5314 : : static Limit *
5315 : 3125 : _readLimit(ReadNodeContext *ctx)
5316 : : {
5317 : 3125 : READ_LOCALS(Limit);
5318 : :
5319 : 3125 : READ_INT_FIELD(plan.disabled_nodes);
5320 : 3125 : READ_FLOAT_FIELD(plan.startup_cost);
5321 : 3125 : READ_FLOAT_FIELD(plan.total_cost);
5322 : 3125 : READ_FLOAT_FIELD(plan.plan_rows);
5323 : 3125 : READ_INT_FIELD(plan.plan_width);
5324 : 3125 : READ_BOOL_FIELD(plan.parallel_aware);
5325 : 3125 : READ_BOOL_FIELD(plan.parallel_safe);
5326 : 3125 : READ_BOOL_FIELD(plan.async_capable);
5327 : 3125 : READ_INT_FIELD(plan.plan_node_id);
5328 : 3125 : READ_NODE_FIELD(plan.targetlist);
5329 : 3125 : READ_NODE_FIELD(plan.qual);
5330 : 3125 : READ_NODE_FIELD(plan.lefttree);
5331 : 3125 : READ_NODE_FIELD(plan.righttree);
5332 : 3125 : READ_NODE_FIELD(plan.initPlan);
5333 : 3125 : READ_BITMAPSET_FIELD(plan.extParam);
5334 : 3125 : READ_BITMAPSET_FIELD(plan.allParam);
5335 : 3125 : READ_NODE_FIELD(limitOffset);
5336 : 3125 : READ_NODE_FIELD(limitCount);
5337 : 3125 : READ_ENUM_FIELD(limitOption, LimitOption);
5338 : 3125 : READ_INT_FIELD(uniqNumCols);
5339 : 3125 : READ_ATTRNUMBER_ARRAY(uniqColIdx, local_node->uniqNumCols);
5340 : 3125 : READ_OID_ARRAY(uniqOperators, local_node->uniqNumCols);
5341 : 3125 : READ_OID_ARRAY(uniqCollations, local_node->uniqNumCols);
5342 : :
5343 : 3125 : READ_DONE();
5344 : : }
5345 : :
5346 : : static PlanRowMark *
5347 : 18998 : _readPlanRowMark(ReadNodeContext *ctx)
5348 : : {
5349 : 18998 : READ_LOCALS(PlanRowMark);
5350 : :
5351 : 18998 : READ_UINT_FIELD(rti);
5352 : 18998 : READ_UINT_FIELD(prti);
5353 : 18998 : READ_UINT_FIELD(rowmarkId);
5354 : 18998 : READ_ENUM_FIELD(markType, RowMarkType);
5355 : 18998 : READ_INT_FIELD(allMarkTypes);
5356 : 18998 : READ_ENUM_FIELD(strength, LockClauseStrength);
5357 : 18998 : READ_ENUM_FIELD(waitPolicy, LockWaitPolicy);
5358 : 18998 : READ_BOOL_FIELD(isParent);
5359 : :
5360 : 18998 : READ_DONE();
5361 : : }
5362 : :
5363 : : static PartitionPruneInfo *
5364 : 456 : _readPartitionPruneInfo(ReadNodeContext *ctx)
5365 : : {
5366 : 456 : READ_LOCALS(PartitionPruneInfo);
5367 : :
5368 : 456 : READ_BITMAPSET_FIELD(relids);
5369 : 456 : READ_NODE_FIELD(prune_infos);
5370 : 456 : READ_BITMAPSET_FIELD(other_subplans);
5371 : :
5372 : 456 : READ_DONE();
5373 : : }
5374 : :
5375 : : static PartitionedRelPruneInfo *
5376 : 911 : _readPartitionedRelPruneInfo(ReadNodeContext *ctx)
5377 : : {
5378 : 911 : READ_LOCALS(PartitionedRelPruneInfo);
5379 : :
5380 : 911 : READ_UINT_FIELD(rtindex);
5381 : 911 : READ_BITMAPSET_FIELD(present_parts);
5382 : 911 : READ_INT_FIELD(nparts);
5383 : 911 : READ_INT_ARRAY(subplan_map, local_node->nparts);
5384 : 911 : READ_INT_ARRAY(subpart_map, local_node->nparts);
5385 : 911 : READ_INT_ARRAY(leafpart_rti_map, local_node->nparts);
5386 : 911 : READ_OID_ARRAY(relid_map, local_node->nparts);
5387 : 911 : READ_NODE_FIELD(initial_pruning_steps);
5388 : 911 : READ_NODE_FIELD(exec_pruning_steps);
5389 : 911 : READ_BITMAPSET_FIELD(execparamids);
5390 : :
5391 : 911 : READ_DONE();
5392 : : }
5393 : :
5394 : : static PartitionPruneStepOp *
5395 : 767 : _readPartitionPruneStepOp(ReadNodeContext *ctx)
5396 : : {
5397 : 767 : READ_LOCALS(PartitionPruneStepOp);
5398 : :
5399 : 767 : READ_INT_FIELD(step.step_id);
5400 : 767 : READ_INT_FIELD(opstrategy);
5401 : 767 : READ_NODE_FIELD(exprs);
5402 : 767 : READ_NODE_FIELD(cmpfns);
5403 : 767 : READ_BITMAPSET_FIELD(nullkeys);
5404 : :
5405 : 767 : READ_DONE();
5406 : : }
5407 : :
5408 : : static PartitionPruneStepCombine *
5409 : 146 : _readPartitionPruneStepCombine(ReadNodeContext *ctx)
5410 : : {
5411 : 146 : READ_LOCALS(PartitionPruneStepCombine);
5412 : :
5413 : 146 : READ_INT_FIELD(step.step_id);
5414 : 146 : READ_ENUM_FIELD(combineOp, PartitionPruneCombineOp);
5415 : 146 : READ_NODE_FIELD(source_stepids);
5416 : :
5417 : 146 : READ_DONE();
5418 : : }
5419 : :
5420 : : static PlanInvalItem *
5421 : 37288 : _readPlanInvalItem(ReadNodeContext *ctx)
5422 : : {
5423 : 37288 : READ_LOCALS(PlanInvalItem);
5424 : :
5425 : 37288 : READ_INT_FIELD(cacheId);
5426 : 37288 : READ_UINT_FIELD(hashValue);
5427 : :
5428 : 37288 : READ_DONE();
5429 : : }
5430 : :
5431 : : static SubPlanRTInfo *
5432 : 54019 : _readSubPlanRTInfo(ReadNodeContext *ctx)
5433 : : {
5434 : 54019 : READ_LOCALS(SubPlanRTInfo);
5435 : :
5436 : 54019 : READ_STRING_FIELD(plan_name);
5437 : 54019 : READ_UINT_FIELD(rtoffset);
5438 : 54019 : READ_BOOL_FIELD(dummy);
5439 : :
5440 : 54019 : READ_DONE();
5441 : : }
5442 : :
5443 : : static ElidedNode *
5444 : 16356 : _readElidedNode(ReadNodeContext *ctx)
5445 : : {
5446 : 16356 : READ_LOCALS(ElidedNode);
5447 : :
5448 : 16356 : READ_INT_FIELD(plan_node_id);
5449 : 16356 : READ_ENUM_FIELD(elided_type, NodeTag);
5450 : 16356 : READ_BITMAPSET_FIELD(relids);
5451 : :
5452 : 16356 : READ_DONE();
5453 : : }
|