pg_query 2.1.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +104 -0
  3. data/README.md +59 -31
  4. data/Rakefile +2 -2
  5. data/ext/pg_query/extconf.rb +8 -2
  6. data/ext/pg_query/include/access/amapi.h +45 -1
  7. data/ext/pg_query/include/access/attmap.h +1 -1
  8. data/ext/pg_query/include/access/attnum.h +2 -2
  9. data/ext/pg_query/include/access/clog.h +4 -2
  10. data/ext/pg_query/include/access/commit_ts.h +6 -9
  11. data/ext/pg_query/include/access/detoast.h +1 -11
  12. data/ext/pg_query/include/access/genam.h +15 -12
  13. data/ext/pg_query/include/access/gin.h +2 -2
  14. data/ext/pg_query/include/access/htup.h +1 -1
  15. data/ext/pg_query/include/access/htup_details.h +75 -87
  16. data/ext/pg_query/include/access/itup.h +7 -1
  17. data/ext/pg_query/include/access/parallel.h +2 -2
  18. data/ext/pg_query/include/access/printtup.h +1 -1
  19. data/ext/pg_query/include/access/relation.h +1 -1
  20. data/ext/pg_query/include/access/relscan.h +17 -2
  21. data/ext/pg_query/include/access/rmgr.h +30 -3
  22. data/ext/pg_query/include/access/rmgrlist.h +23 -23
  23. data/ext/pg_query/include/access/sdir.h +1 -1
  24. data/ext/pg_query/include/access/skey.h +1 -1
  25. data/ext/pg_query/include/access/stratnum.h +4 -2
  26. data/ext/pg_query/include/access/sysattr.h +1 -1
  27. data/ext/pg_query/include/access/table.h +2 -1
  28. data/ext/pg_query/include/access/tableam.h +272 -20
  29. data/ext/pg_query/include/access/toast_compression.h +73 -0
  30. data/ext/pg_query/include/access/transam.h +123 -13
  31. data/ext/pg_query/include/access/tupconvert.h +1 -1
  32. data/ext/pg_query/include/access/tupdesc.h +1 -1
  33. data/ext/pg_query/include/access/tupmacs.h +3 -3
  34. data/ext/pg_query/include/access/twophase.h +5 -1
  35. data/ext/pg_query/include/access/xact.h +79 -19
  36. data/ext/pg_query/include/access/xlog.h +60 -155
  37. data/ext/pg_query/include/access/xlog_internal.h +50 -14
  38. data/ext/pg_query/include/access/xlogdefs.h +8 -16
  39. data/ext/pg_query/include/access/xlogprefetcher.h +55 -0
  40. data/ext/pg_query/include/access/xlogreader.h +148 -32
  41. data/ext/pg_query/include/access/xlogrecord.h +18 -9
  42. data/ext/pg_query/include/access/xlogrecovery.h +157 -0
  43. data/ext/pg_query/include/c.h +101 -44
  44. data/ext/pg_query/include/catalog/catalog.h +3 -1
  45. data/ext/pg_query/include/catalog/catversion.h +2 -2
  46. data/ext/pg_query/include/catalog/dependency.h +10 -16
  47. data/ext/pg_query/include/catalog/genbki.h +83 -5
  48. data/ext/pg_query/include/catalog/index.h +18 -3
  49. data/ext/pg_query/include/catalog/indexing.h +12 -324
  50. data/ext/pg_query/include/catalog/namespace.h +4 -2
  51. data/ext/pg_query/include/catalog/objectaccess.h +70 -2
  52. data/ext/pg_query/include/catalog/objectaddress.h +11 -6
  53. data/ext/pg_query/include/catalog/pg_aggregate.h +14 -10
  54. data/ext/pg_query/include/catalog/pg_aggregate_d.h +2 -1
  55. data/ext/pg_query/include/catalog/pg_am.h +4 -1
  56. data/ext/pg_query/include/catalog/pg_am_d.h +3 -1
  57. data/ext/pg_query/include/catalog/pg_attribute.h +27 -10
  58. data/ext/pg_query/include/catalog/pg_attribute_d.h +21 -18
  59. data/ext/pg_query/include/catalog/pg_authid.h +7 -2
  60. data/ext/pg_query/include/catalog/pg_authid_d.h +17 -9
  61. data/ext/pg_query/include/catalog/pg_class.h +45 -15
  62. data/ext/pg_query/include/catalog/pg_class_d.h +31 -2
  63. data/ext/pg_query/include/catalog/pg_collation.h +33 -8
  64. data/ext/pg_query/include/catalog/pg_collation_d.h +20 -3
  65. data/ext/pg_query/include/catalog/pg_constraint.h +38 -12
  66. data/ext/pg_query/include/catalog/pg_constraint_d.h +10 -4
  67. data/ext/pg_query/include/catalog/pg_control.h +5 -5
  68. data/ext/pg_query/include/catalog/pg_conversion.h +7 -4
  69. data/ext/pg_query/include/catalog/pg_conversion_d.h +4 -1
  70. data/ext/pg_query/include/catalog/pg_depend.h +11 -7
  71. data/ext/pg_query/include/catalog/pg_depend_d.h +3 -1
  72. data/ext/pg_query/include/catalog/pg_event_trigger.h +9 -3
  73. data/ext/pg_query/include/catalog/pg_event_trigger_d.h +3 -1
  74. data/ext/pg_query/include/catalog/pg_index.h +17 -7
  75. data/ext/pg_query/include/catalog/pg_index_d.h +20 -17
  76. data/ext/pg_query/include/catalog/pg_language.h +10 -5
  77. data/ext/pg_query/include/catalog/pg_language_d.h +3 -1
  78. data/ext/pg_query/include/catalog/pg_namespace.h +7 -2
  79. data/ext/pg_query/include/catalog/pg_namespace_d.h +3 -1
  80. data/ext/pg_query/include/catalog/pg_opclass.h +8 -5
  81. data/ext/pg_query/include/catalog/pg_opclass_d.h +3 -1
  82. data/ext/pg_query/include/catalog/pg_operator.h +21 -16
  83. data/ext/pg_query/include/catalog/pg_operator_d.h +37 -1
  84. data/ext/pg_query/include/catalog/pg_opfamily.h +6 -3
  85. data/ext/pg_query/include/catalog/pg_opfamily_d.h +3 -1
  86. data/ext/pg_query/include/catalog/pg_parameter_acl.h +60 -0
  87. data/ext/pg_query/include/catalog/pg_parameter_acl_d.h +34 -0
  88. data/ext/pg_query/include/catalog/pg_partitioned_table.h +20 -9
  89. data/ext/pg_query/include/catalog/pg_partitioned_table_d.h +2 -1
  90. data/ext/pg_query/include/catalog/pg_proc.h +20 -11
  91. data/ext/pg_query/include/catalog/pg_proc_d.h +10 -8
  92. data/ext/pg_query/include/catalog/pg_publication.h +50 -4
  93. data/ext/pg_query/include/catalog/pg_publication_d.h +3 -1
  94. data/ext/pg_query/include/catalog/pg_replication_origin.h +6 -1
  95. data/ext/pg_query/include/catalog/pg_replication_origin_d.h +5 -1
  96. data/ext/pg_query/include/catalog/pg_statistic.h +19 -12
  97. data/ext/pg_query/include/catalog/pg_statistic_d.h +2 -1
  98. data/ext/pg_query/include/catalog/pg_statistic_ext.h +19 -5
  99. data/ext/pg_query/include/catalog/pg_statistic_ext_d.h +7 -2
  100. data/ext/pg_query/include/catalog/pg_transform.h +8 -5
  101. data/ext/pg_query/include/catalog/pg_transform_d.h +3 -1
  102. data/ext/pg_query/include/catalog/pg_trigger.h +24 -8
  103. data/ext/pg_query/include/catalog/pg_trigger_d.h +4 -1
  104. data/ext/pg_query/include/catalog/pg_ts_config.h +6 -3
  105. data/ext/pg_query/include/catalog/pg_ts_config_d.h +3 -1
  106. data/ext/pg_query/include/catalog/pg_ts_dict.h +8 -3
  107. data/ext/pg_query/include/catalog/pg_ts_dict_d.h +3 -1
  108. data/ext/pg_query/include/catalog/pg_ts_parser.h +6 -3
  109. data/ext/pg_query/include/catalog/pg_ts_parser_d.h +3 -1
  110. data/ext/pg_query/include/catalog/pg_ts_template.h +6 -3
  111. data/ext/pg_query/include/catalog/pg_ts_template_d.h +3 -1
  112. data/ext/pg_query/include/catalog/pg_type.h +56 -24
  113. data/ext/pg_query/include/catalog/pg_type_d.h +70 -31
  114. data/ext/pg_query/include/catalog/storage.h +5 -3
  115. data/ext/pg_query/include/commands/async.h +4 -5
  116. data/ext/pg_query/include/commands/dbcommands.h +2 -1
  117. data/ext/pg_query/include/commands/defrem.h +11 -24
  118. data/ext/pg_query/include/commands/event_trigger.h +2 -2
  119. data/ext/pg_query/include/commands/explain.h +1 -1
  120. data/ext/pg_query/include/commands/prepare.h +1 -1
  121. data/ext/pg_query/include/commands/tablespace.h +3 -1
  122. data/ext/pg_query/include/commands/trigger.h +27 -17
  123. data/ext/pg_query/include/commands/user.h +2 -2
  124. data/ext/pg_query/include/commands/vacuum.h +88 -41
  125. data/ext/pg_query/include/commands/variable.h +1 -1
  126. data/ext/pg_query/include/common/file_perm.h +4 -4
  127. data/ext/pg_query/include/common/hashfn.h +1 -1
  128. data/ext/pg_query/include/common/ip.h +1 -7
  129. data/ext/pg_query/include/common/keywords.h +2 -6
  130. data/ext/pg_query/include/common/kwlookup.h +1 -1
  131. data/ext/pg_query/include/common/pg_prng.h +60 -0
  132. data/ext/pg_query/include/common/relpath.h +2 -2
  133. data/ext/pg_query/include/common/string.h +24 -1
  134. data/ext/pg_query/include/common/unicode_combining_table.h +114 -2
  135. data/ext/pg_query/include/common/unicode_east_asian_fw_table.h +125 -0
  136. data/ext/pg_query/include/datatype/timestamp.h +40 -1
  137. data/ext/pg_query/include/executor/execdesc.h +1 -1
  138. data/ext/pg_query/include/executor/executor.h +65 -22
  139. data/ext/pg_query/include/executor/functions.h +17 -3
  140. data/ext/pg_query/include/executor/instrument.h +33 -16
  141. data/ext/pg_query/include/executor/spi.h +41 -3
  142. data/ext/pg_query/include/executor/tablefunc.h +1 -1
  143. data/ext/pg_query/include/executor/tuptable.h +1 -1
  144. data/ext/pg_query/include/fmgr.h +13 -7
  145. data/ext/pg_query/include/funcapi.h +16 -4
  146. data/ext/pg_query/include/getaddrinfo.h +1 -1
  147. data/ext/pg_query/include/jit/jit.h +11 -11
  148. data/ext/pg_query/include/kwlist_d.h +517 -494
  149. data/ext/pg_query/include/lib/dshash.h +112 -0
  150. data/ext/pg_query/include/lib/ilist.h +20 -1
  151. data/ext/pg_query/include/lib/pairingheap.h +1 -1
  152. data/ext/pg_query/include/lib/simplehash.h +150 -25
  153. data/ext/pg_query/include/lib/sort_template.h +432 -0
  154. data/ext/pg_query/include/lib/stringinfo.h +1 -1
  155. data/ext/pg_query/include/libpq/auth.h +6 -4
  156. data/ext/pg_query/include/libpq/crypt.h +5 -4
  157. data/ext/pg_query/include/libpq/hba.h +43 -4
  158. data/ext/pg_query/include/libpq/libpq-be.h +23 -6
  159. data/ext/pg_query/include/libpq/libpq.h +31 -20
  160. data/ext/pg_query/include/libpq/pqcomm.h +17 -31
  161. data/ext/pg_query/include/libpq/pqformat.h +1 -1
  162. data/ext/pg_query/include/libpq/pqsignal.h +4 -4
  163. data/ext/pg_query/include/mb/pg_wchar.h +106 -23
  164. data/ext/pg_query/include/mb/stringinfo_mb.h +1 -1
  165. data/ext/pg_query/include/miscadmin.h +71 -52
  166. data/ext/pg_query/include/nodes/bitmapset.h +1 -1
  167. data/ext/pg_query/include/nodes/execnodes.h +272 -80
  168. data/ext/pg_query/include/nodes/extensible.h +4 -2
  169. data/ext/pg_query/include/nodes/lockoptions.h +1 -1
  170. data/ext/pg_query/include/nodes/makefuncs.h +7 -6
  171. data/ext/pg_query/include/nodes/memnodes.h +5 -3
  172. data/ext/pg_query/include/nodes/nodeFuncs.h +1 -1
  173. data/ext/pg_query/include/nodes/nodes.h +30 -11
  174. data/ext/pg_query/include/nodes/params.h +1 -1
  175. data/ext/pg_query/include/nodes/parsenodes.h +327 -94
  176. data/ext/pg_query/include/nodes/pathnodes.h +245 -67
  177. data/ext/pg_query/include/nodes/pg_list.h +75 -68
  178. data/ext/pg_query/include/nodes/plannodes.h +128 -30
  179. data/ext/pg_query/include/nodes/primnodes.h +99 -47
  180. data/ext/pg_query/include/nodes/print.h +1 -1
  181. data/ext/pg_query/include/nodes/tidbitmap.h +1 -1
  182. data/ext/pg_query/include/nodes/value.h +58 -39
  183. data/ext/pg_query/include/optimizer/cost.h +9 -2
  184. data/ext/pg_query/include/optimizer/geqo.h +9 -7
  185. data/ext/pg_query/include/optimizer/geqo_gene.h +1 -1
  186. data/ext/pg_query/include/optimizer/optimizer.h +25 -22
  187. data/ext/pg_query/include/optimizer/paths.h +6 -6
  188. data/ext/pg_query/include/optimizer/planmain.h +15 -14
  189. data/ext/pg_query/include/parser/analyze.h +19 -5
  190. data/ext/pg_query/include/parser/gram.h +947 -913
  191. data/ext/pg_query/include/parser/gramparse.h +1 -1
  192. data/ext/pg_query/include/parser/kwlist.h +463 -453
  193. data/ext/pg_query/include/parser/parse_agg.h +2 -7
  194. data/ext/pg_query/include/parser/parse_coerce.h +4 -1
  195. data/ext/pg_query/include/parser/parse_expr.h +2 -3
  196. data/ext/pg_query/include/parser/parse_func.h +2 -1
  197. data/ext/pg_query/include/parser/parse_node.h +21 -9
  198. data/ext/pg_query/include/parser/parse_oper.h +1 -3
  199. data/ext/pg_query/include/parser/parse_relation.h +5 -4
  200. data/ext/pg_query/include/parser/parse_type.h +1 -1
  201. data/ext/pg_query/include/parser/parser.h +31 -4
  202. data/ext/pg_query/include/parser/parsetree.h +1 -1
  203. data/ext/pg_query/include/parser/scanner.h +1 -1
  204. data/ext/pg_query/include/parser/scansup.h +2 -5
  205. data/ext/pg_query/include/partitioning/partdefs.h +1 -1
  206. data/ext/pg_query/include/pg_config.h +94 -46
  207. data/ext/pg_query/include/pg_config_manual.h +74 -21
  208. data/ext/pg_query/include/pg_getopt.h +6 -6
  209. data/ext/pg_query/include/pg_query.h +5 -4
  210. data/ext/pg_query/include/pg_query_enum_defs.c +358 -241
  211. data/ext/pg_query/include/pg_query_fingerprint_conds.c +44 -7
  212. data/ext/pg_query/include/pg_query_fingerprint_defs.c +1220 -422
  213. data/ext/pg_query/include/pg_query_outfuncs_conds.c +43 -13
  214. data/ext/pg_query/include/pg_query_outfuncs_defs.c +152 -26
  215. data/ext/pg_query/include/pg_query_readfuncs_conds.c +11 -2
  216. data/ext/pg_query/include/pg_query_readfuncs_defs.c +174 -30
  217. data/ext/pg_query/include/pg_trace.h +1 -1
  218. data/ext/pg_query/include/pgstat.h +449 -1237
  219. data/ext/pg_query/include/pgtime.h +14 -4
  220. data/ext/pg_query/include/pl_gram.h +126 -128
  221. data/ext/pg_query/include/pl_reserved_kwlist.h +1 -1
  222. data/ext/pg_query/include/pl_reserved_kwlist_d.h +10 -10
  223. data/ext/pg_query/include/pl_unreserved_kwlist.h +2 -3
  224. data/ext/pg_query/include/pl_unreserved_kwlist_d.h +54 -56
  225. data/ext/pg_query/include/plerrcodes.h +9 -1
  226. data/ext/pg_query/include/plpgsql.h +52 -54
  227. data/ext/pg_query/include/port/atomics/arch-arm.h +7 -1
  228. data/ext/pg_query/include/port/atomics/arch-ppc.h +1 -1
  229. data/ext/pg_query/include/port/atomics/arch-x86.h +1 -1
  230. data/ext/pg_query/include/port/atomics/fallback.h +1 -1
  231. data/ext/pg_query/include/port/atomics/generic-gcc.h +3 -3
  232. data/ext/pg_query/include/port/atomics/generic.h +1 -1
  233. data/ext/pg_query/include/port/atomics.h +1 -1
  234. data/ext/pg_query/include/port/pg_bitutils.h +88 -12
  235. data/ext/pg_query/include/port/pg_bswap.h +1 -1
  236. data/ext/pg_query/include/port/pg_crc32c.h +1 -1
  237. data/ext/pg_query/include/port.h +72 -43
  238. data/ext/pg_query/include/portability/instr_time.h +1 -1
  239. data/ext/pg_query/include/postgres.h +60 -16
  240. data/ext/pg_query/include/postmaster/autovacuum.h +17 -17
  241. data/ext/pg_query/include/postmaster/auxprocess.h +20 -0
  242. data/ext/pg_query/include/postmaster/bgworker.h +2 -1
  243. data/ext/pg_query/include/postmaster/bgworker_internals.h +2 -2
  244. data/ext/pg_query/include/postmaster/bgwriter.h +5 -5
  245. data/ext/pg_query/include/postmaster/fork_process.h +1 -1
  246. data/ext/pg_query/include/postmaster/interrupt.h +1 -1
  247. data/ext/pg_query/include/postmaster/pgarch.h +42 -8
  248. data/ext/pg_query/include/postmaster/postmaster.h +18 -17
  249. data/ext/pg_query/include/postmaster/startup.h +39 -0
  250. data/ext/pg_query/include/postmaster/syslogger.h +15 -10
  251. data/ext/pg_query/include/postmaster/walwriter.h +3 -3
  252. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +1422 -916
  253. data/ext/pg_query/include/protobuf/pg_query.pb.h +43678 -32769
  254. data/ext/pg_query/include/regex/regex.h +18 -16
  255. data/ext/pg_query/include/replication/logicallauncher.h +3 -5
  256. data/ext/pg_query/include/replication/logicalproto.h +161 -17
  257. data/ext/pg_query/include/replication/logicalworker.h +1 -1
  258. data/ext/pg_query/include/replication/origin.h +7 -7
  259. data/ext/pg_query/include/replication/reorderbuffer.h +262 -44
  260. data/ext/pg_query/include/replication/slot.h +23 -12
  261. data/ext/pg_query/include/replication/syncrep.h +5 -5
  262. data/ext/pg_query/include/replication/walreceiver.h +145 -13
  263. data/ext/pg_query/include/replication/walsender.h +8 -8
  264. data/ext/pg_query/include/rewrite/prs2lock.h +1 -1
  265. data/ext/pg_query/include/rewrite/rewriteHandler.h +1 -3
  266. data/ext/pg_query/include/rewrite/rewriteManip.h +1 -1
  267. data/ext/pg_query/include/rewrite/rewriteSupport.h +1 -1
  268. data/ext/pg_query/include/storage/backendid.h +3 -3
  269. data/ext/pg_query/include/storage/block.h +4 -10
  270. data/ext/pg_query/include/storage/buf.h +1 -1
  271. data/ext/pg_query/include/storage/bufmgr.h +19 -14
  272. data/ext/pg_query/include/storage/bufpage.h +6 -8
  273. data/ext/pg_query/include/storage/condition_variable.h +13 -2
  274. data/ext/pg_query/include/storage/dsm.h +4 -1
  275. data/ext/pg_query/include/storage/dsm_impl.h +3 -2
  276. data/ext/pg_query/include/storage/fd.h +33 -3
  277. data/ext/pg_query/include/storage/fileset.h +40 -0
  278. data/ext/pg_query/include/storage/ipc.h +4 -1
  279. data/ext/pg_query/include/storage/item.h +1 -1
  280. data/ext/pg_query/include/storage/itemid.h +1 -1
  281. data/ext/pg_query/include/storage/itemptr.h +3 -1
  282. data/ext/pg_query/include/storage/large_object.h +2 -2
  283. data/ext/pg_query/include/storage/latch.h +9 -13
  284. data/ext/pg_query/include/storage/lmgr.h +2 -1
  285. data/ext/pg_query/include/storage/lock.h +17 -13
  286. data/ext/pg_query/include/storage/lockdefs.h +2 -2
  287. data/ext/pg_query/include/storage/lwlock.h +6 -32
  288. data/ext/pg_query/include/storage/lwlocknames.h +0 -1
  289. data/ext/pg_query/include/storage/off.h +1 -1
  290. data/ext/pg_query/include/storage/pg_sema.h +1 -1
  291. data/ext/pg_query/include/storage/pg_shmem.h +9 -7
  292. data/ext/pg_query/include/storage/pmsignal.h +15 -4
  293. data/ext/pg_query/include/storage/predicate.h +4 -4
  294. data/ext/pg_query/include/storage/proc.h +183 -55
  295. data/ext/pg_query/include/storage/procarray.h +98 -0
  296. data/ext/pg_query/include/storage/proclist_types.h +1 -1
  297. data/ext/pg_query/include/storage/procsignal.h +3 -7
  298. data/ext/pg_query/include/storage/relfilenode.h +1 -1
  299. data/ext/pg_query/include/storage/s_lock.h +67 -4
  300. data/ext/pg_query/include/storage/sharedfileset.h +3 -11
  301. data/ext/pg_query/include/storage/shm_mq.h +5 -4
  302. data/ext/pg_query/include/storage/shm_toc.h +1 -1
  303. data/ext/pg_query/include/storage/shmem.h +1 -1
  304. data/ext/pg_query/include/storage/sinval.h +3 -3
  305. data/ext/pg_query/include/storage/sinvaladt.h +1 -1
  306. data/ext/pg_query/include/storage/smgr.h +10 -8
  307. data/ext/pg_query/include/storage/spin.h +2 -2
  308. data/ext/pg_query/include/storage/standby.h +13 -6
  309. data/ext/pg_query/include/storage/standbydefs.h +2 -2
  310. data/ext/pg_query/include/storage/sync.h +7 -3
  311. data/ext/pg_query/include/tcop/cmdtag.h +1 -1
  312. data/ext/pg_query/include/tcop/cmdtaglist.h +3 -2
  313. data/ext/pg_query/include/tcop/deparse_utility.h +1 -1
  314. data/ext/pg_query/include/tcop/dest.h +1 -1
  315. data/ext/pg_query/include/tcop/fastpath.h +1 -2
  316. data/ext/pg_query/include/tcop/pquery.h +7 -1
  317. data/ext/pg_query/include/tcop/tcopprot.h +19 -11
  318. data/ext/pg_query/include/tcop/utility.h +7 -3
  319. data/ext/pg_query/include/tsearch/ts_cache.h +2 -2
  320. data/ext/pg_query/include/utils/acl.h +24 -3
  321. data/ext/pg_query/include/utils/aclchk_internal.h +1 -1
  322. data/ext/pg_query/include/utils/array.h +7 -2
  323. data/ext/pg_query/include/utils/backend_progress.h +44 -0
  324. data/ext/pg_query/include/utils/backend_status.h +321 -0
  325. data/ext/pg_query/include/utils/builtins.h +11 -11
  326. data/ext/pg_query/include/utils/bytea.h +3 -2
  327. data/ext/pg_query/include/utils/catcache.h +1 -1
  328. data/ext/pg_query/include/utils/date.h +1 -1
  329. data/ext/pg_query/include/utils/datetime.h +8 -7
  330. data/ext/pg_query/include/utils/datum.h +9 -1
  331. data/ext/pg_query/include/utils/dsa.h +1 -1
  332. data/ext/pg_query/include/utils/dynahash.h +4 -3
  333. data/ext/pg_query/include/utils/elog.h +52 -21
  334. data/ext/pg_query/include/utils/errcodes.h +2 -0
  335. data/ext/pg_query/include/utils/expandeddatum.h +1 -1
  336. data/ext/pg_query/include/utils/expandedrecord.h +1 -1
  337. data/ext/pg_query/include/utils/float.h +7 -7
  338. data/ext/pg_query/include/utils/fmgroids.h +1300 -696
  339. data/ext/pg_query/include/utils/fmgrprotos.h +199 -16
  340. data/ext/pg_query/include/utils/fmgrtab.h +6 -5
  341. data/ext/pg_query/include/utils/guc.h +69 -43
  342. data/ext/pg_query/include/utils/guc_tables.h +23 -19
  343. data/ext/pg_query/include/utils/hsearch.h +15 -11
  344. data/ext/pg_query/include/utils/inval.h +5 -1
  345. data/ext/pg_query/include/utils/lsyscache.h +11 -1
  346. data/ext/pg_query/include/utils/memdebug.h +1 -1
  347. data/ext/pg_query/include/utils/memutils.h +8 -3
  348. data/ext/pg_query/include/utils/numeric.h +19 -5
  349. data/ext/pg_query/include/utils/palloc.h +25 -3
  350. data/ext/pg_query/include/utils/partcache.h +1 -1
  351. data/ext/pg_query/include/utils/pg_locale.h +17 -9
  352. data/ext/pg_query/include/utils/pg_lsn.h +1 -1
  353. data/ext/pg_query/include/utils/pgstat_internal.h +784 -0
  354. data/ext/pg_query/include/utils/pidfile.h +1 -1
  355. data/ext/pg_query/include/utils/plancache.h +6 -5
  356. data/ext/pg_query/include/utils/portal.h +12 -1
  357. data/ext/pg_query/include/utils/ps_status.h +1 -1
  358. data/ext/pg_query/include/utils/queryenvironment.h +1 -1
  359. data/ext/pg_query/include/utils/queryjumble.h +88 -0
  360. data/ext/pg_query/include/utils/regproc.h +14 -3
  361. data/ext/pg_query/include/utils/rel.h +71 -20
  362. data/ext/pg_query/include/utils/relcache.h +9 -7
  363. data/ext/pg_query/include/utils/reltrigger.h +1 -1
  364. data/ext/pg_query/include/utils/resowner.h +1 -1
  365. data/ext/pg_query/include/utils/rls.h +2 -2
  366. data/ext/pg_query/include/utils/ruleutils.h +4 -1
  367. data/ext/pg_query/include/utils/sharedtuplestore.h +1 -1
  368. data/ext/pg_query/include/utils/snapmgr.h +35 -14
  369. data/ext/pg_query/include/utils/snapshot.h +14 -1
  370. data/ext/pg_query/include/utils/sortsupport.h +117 -2
  371. data/ext/pg_query/include/utils/syscache.h +6 -1
  372. data/ext/pg_query/include/utils/timeout.h +11 -4
  373. data/ext/pg_query/include/utils/timestamp.h +6 -5
  374. data/ext/pg_query/include/utils/tuplesort.h +25 -11
  375. data/ext/pg_query/include/utils/tuplestore.h +2 -2
  376. data/ext/pg_query/include/utils/typcache.h +24 -17
  377. data/ext/pg_query/include/utils/tzparser.h +1 -1
  378. data/ext/pg_query/include/utils/varlena.h +5 -3
  379. data/ext/pg_query/include/utils/wait_event.h +289 -0
  380. data/ext/pg_query/include/utils/xml.h +4 -4
  381. data/ext/pg_query/pg_query.pb-c.c +4318 -2307
  382. data/ext/pg_query/pg_query_deparse.c +1114 -381
  383. data/ext/pg_query/pg_query_fingerprint.c +46 -10
  384. data/ext/pg_query/pg_query_fingerprint.h +3 -1
  385. data/ext/pg_query/pg_query_json_plpgsql.c +55 -12
  386. data/ext/pg_query/pg_query_normalize.c +163 -20
  387. data/ext/pg_query/pg_query_outfuncs.h +1 -0
  388. data/ext/pg_query/pg_query_outfuncs_json.c +65 -16
  389. data/ext/pg_query/pg_query_outfuncs_protobuf.c +70 -10
  390. data/ext/pg_query/pg_query_parse.c +1 -1
  391. data/ext/pg_query/pg_query_parse_plpgsql.c +79 -16
  392. data/ext/pg_query/pg_query_readfuncs_protobuf.c +42 -8
  393. data/ext/pg_query/pg_query_ruby.c +1 -1
  394. data/ext/pg_query/pg_query_scan.c +2 -1
  395. data/ext/pg_query/pg_query_split.c +3 -2
  396. data/ext/pg_query/src_backend_catalog_namespace.c +21 -9
  397. data/ext/pg_query/src_backend_catalog_pg_proc.c +4 -1
  398. data/ext/pg_query/src_backend_commands_define.c +11 -1
  399. data/ext/pg_query/src_backend_nodes_bitmapset.c +3 -1
  400. data/ext/pg_query/src_backend_nodes_copyfuncs.c +424 -109
  401. data/ext/pg_query/src_backend_nodes_equalfuncs.c +291 -46
  402. data/ext/pg_query/src_backend_nodes_extensible.c +1 -1
  403. data/ext/pg_query/src_backend_nodes_list.c +86 -11
  404. data/ext/pg_query/src_backend_nodes_makefuncs.c +5 -4
  405. data/ext/pg_query/src_backend_nodes_nodeFuncs.c +55 -12
  406. data/ext/pg_query/src_backend_nodes_value.c +28 -19
  407. data/ext/pg_query/src_backend_parser_gram.c +33890 -31262
  408. data/ext/pg_query/src_backend_parser_parser.c +26 -7
  409. data/ext/pg_query/src_backend_parser_scan.c +644 -441
  410. data/ext/pg_query/src_backend_parser_scansup.c +4 -28
  411. data/ext/pg_query/src_backend_postmaster_postmaster.c +77 -106
  412. data/ext/pg_query/src_backend_storage_ipc_ipc.c +13 -4
  413. data/ext/pg_query/src_backend_storage_lmgr_s_lock.c +5 -4
  414. data/ext/pg_query/src_backend_tcop_postgres.c +73 -24
  415. data/ext/pg_query/src_backend_utils_activity_pgstat_database.c +140 -0
  416. data/ext/pg_query/src_backend_utils_adt_datum.c +13 -1
  417. data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +1 -1
  418. data/ext/pg_query/src_backend_utils_adt_format_type.c +6 -2
  419. data/ext/pg_query/src_backend_utils_adt_ruleutils.c +109 -15
  420. data/ext/pg_query/src_backend_utils_error_assert.c +16 -14
  421. data/ext/pg_query/src_backend_utils_error_elog.c +172 -99
  422. data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +12 -17
  423. data/ext/pg_query/src_backend_utils_hash_dynahash.c +40 -10
  424. data/ext/pg_query/src_backend_utils_init_globals.c +5 -5
  425. data/ext/pg_query/src_backend_utils_mb_mbutils.c +55 -66
  426. data/ext/pg_query/src_backend_utils_misc_guc.c +207 -45
  427. data/ext/pg_query/src_backend_utils_mmgr_aset.c +7 -5
  428. data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +123 -35
  429. data/ext/pg_query/src_common_encnames.c +1 -1
  430. data/ext/pg_query/src_common_hashfn.c +3 -3
  431. data/ext/pg_query/src_common_keywords.c +15 -2
  432. data/ext/pg_query/src_common_kwlist_d.h +517 -494
  433. data/ext/pg_query/src_common_kwlookup.c +1 -1
  434. data/ext/pg_query/src_common_pg_prng.c +152 -0
  435. data/ext/pg_query/src_common_psprintf.c +1 -1
  436. data/ext/pg_query/src_common_string.c +7 -1
  437. data/ext/pg_query/src_common_stringinfo.c +1 -1
  438. data/ext/pg_query/src_common_wchar.c +712 -109
  439. data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +49 -22
  440. data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +1 -18
  441. data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +1235 -1261
  442. data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +1 -1
  443. data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +10 -10
  444. data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +2 -2
  445. data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +54 -56
  446. data/ext/pg_query/src_port_pg_bitutils.c +41 -52
  447. data/ext/pg_query/src_port_pgsleep.c +1 -1
  448. data/ext/pg_query/src_port_pgstrcasecmp.c +1 -1
  449. data/ext/pg_query/src_port_qsort.c +12 -224
  450. data/ext/pg_query/src_port_snprintf.c +46 -20
  451. data/ext/pg_query/src_port_strerror.c +9 -19
  452. data/ext/pg_query/src_port_strnlen.c +1 -1
  453. data/lib/pg_query/deparse.rb +7 -1
  454. data/lib/pg_query/filter_columns.rb +6 -4
  455. data/lib/pg_query/fingerprint.rb +18 -3
  456. data/lib/pg_query/node.rb +2 -2
  457. data/lib/pg_query/param_refs.rb +1 -1
  458. data/lib/pg_query/parse.rb +87 -51
  459. data/lib/pg_query/pg_query_pb.rb +1109 -942
  460. data/lib/pg_query/treewalker.rb +6 -0
  461. data/lib/pg_query/truncate.rb +54 -8
  462. data/lib/pg_query/version.rb +1 -1
  463. metadata +29 -18
  464. data/ext/pg_query/include/access/xloginsert.h +0 -64
  465. data/ext/pg_query/include/bootstrap/bootstrap.h +0 -62
  466. data/ext/pg_query/include/parser/parse_clause.h +0 -54
  467. data/ext/pg_query/include/parser/parse_collate.h +0 -27
  468. data/ext/pg_query/include/parser/parse_target.h +0 -46
  469. data/ext/pg_query/src_backend_libpq_pqcomm.c +0 -651
  470. data/ext/pg_query/src_backend_parser_parse_expr.c +0 -313
  471. data/ext/pg_query/src_port_erand48.c +0 -127
  472. data/ext/pg_query/src_port_random.c +0 -31
@@ -10,7 +10,7 @@ PROTOBUF_C__BEGIN_DECLS
10
10
 
11
11
  #if PROTOBUF_C_VERSION_NUMBER < 1003000
12
12
  # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
13
- #elif 1004000 < PROTOBUF_C_MIN_COMPILER_VERSION
13
+ #elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION
14
14
  # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
15
15
  #endif
16
16
 
@@ -20,16 +20,16 @@ typedef struct PgQuery__ScanResult PgQuery__ScanResult;
20
20
  typedef struct PgQuery__Node PgQuery__Node;
21
21
  typedef struct PgQuery__Integer PgQuery__Integer;
22
22
  typedef struct PgQuery__Float PgQuery__Float;
23
+ typedef struct PgQuery__Boolean PgQuery__Boolean;
23
24
  typedef struct PgQuery__String PgQuery__String;
24
25
  typedef struct PgQuery__BitString PgQuery__BitString;
25
- typedef struct PgQuery__Null PgQuery__Null;
26
26
  typedef struct PgQuery__List PgQuery__List;
27
27
  typedef struct PgQuery__OidList PgQuery__OidList;
28
28
  typedef struct PgQuery__IntList PgQuery__IntList;
29
+ typedef struct PgQuery__AConst PgQuery__AConst;
29
30
  typedef struct PgQuery__Alias PgQuery__Alias;
30
31
  typedef struct PgQuery__RangeVar PgQuery__RangeVar;
31
32
  typedef struct PgQuery__TableFunc PgQuery__TableFunc;
32
- typedef struct PgQuery__Expr PgQuery__Expr;
33
33
  typedef struct PgQuery__Var PgQuery__Var;
34
34
  typedef struct PgQuery__Param PgQuery__Param;
35
35
  typedef struct PgQuery__Aggref PgQuery__Aggref;
@@ -77,12 +77,16 @@ typedef struct PgQuery__JoinExpr PgQuery__JoinExpr;
77
77
  typedef struct PgQuery__FromExpr PgQuery__FromExpr;
78
78
  typedef struct PgQuery__OnConflictExpr PgQuery__OnConflictExpr;
79
79
  typedef struct PgQuery__IntoClause PgQuery__IntoClause;
80
+ typedef struct PgQuery__MergeAction PgQuery__MergeAction;
80
81
  typedef struct PgQuery__RawStmt PgQuery__RawStmt;
81
82
  typedef struct PgQuery__Query PgQuery__Query;
82
83
  typedef struct PgQuery__InsertStmt PgQuery__InsertStmt;
83
84
  typedef struct PgQuery__DeleteStmt PgQuery__DeleteStmt;
84
85
  typedef struct PgQuery__UpdateStmt PgQuery__UpdateStmt;
86
+ typedef struct PgQuery__MergeStmt PgQuery__MergeStmt;
85
87
  typedef struct PgQuery__SelectStmt PgQuery__SelectStmt;
88
+ typedef struct PgQuery__ReturnStmt PgQuery__ReturnStmt;
89
+ typedef struct PgQuery__PLAssignStmt PgQuery__PLAssignStmt;
86
90
  typedef struct PgQuery__AlterTableStmt PgQuery__AlterTableStmt;
87
91
  typedef struct PgQuery__AlterTableCmd PgQuery__AlterTableCmd;
88
92
  typedef struct PgQuery__AlterDomainStmt PgQuery__AlterDomainStmt;
@@ -133,6 +137,7 @@ typedef struct PgQuery__ReindexStmt PgQuery__ReindexStmt;
133
137
  typedef struct PgQuery__CheckPointStmt PgQuery__CheckPointStmt;
134
138
  typedef struct PgQuery__CreateSchemaStmt PgQuery__CreateSchemaStmt;
135
139
  typedef struct PgQuery__AlterDatabaseStmt PgQuery__AlterDatabaseStmt;
140
+ typedef struct PgQuery__AlterDatabaseRefreshCollStmt PgQuery__AlterDatabaseRefreshCollStmt;
136
141
  typedef struct PgQuery__AlterDatabaseSetStmt PgQuery__AlterDatabaseSetStmt;
137
142
  typedef struct PgQuery__AlterRoleSetStmt PgQuery__AlterRoleSetStmt;
138
143
  typedef struct PgQuery__CreateConversionStmt PgQuery__CreateConversionStmt;
@@ -195,7 +200,6 @@ typedef struct PgQuery__AlterStatsStmt PgQuery__AlterStatsStmt;
195
200
  typedef struct PgQuery__AExpr PgQuery__AExpr;
196
201
  typedef struct PgQuery__ColumnRef PgQuery__ColumnRef;
197
202
  typedef struct PgQuery__ParamRef PgQuery__ParamRef;
198
- typedef struct PgQuery__AConst PgQuery__AConst;
199
203
  typedef struct PgQuery__FuncCall PgQuery__FuncCall;
200
204
  typedef struct PgQuery__AStar PgQuery__AStar;
201
205
  typedef struct PgQuery__AIndices PgQuery__AIndices;
@@ -215,6 +219,7 @@ typedef struct PgQuery__RangeTableFuncCol PgQuery__RangeTableFuncCol;
215
219
  typedef struct PgQuery__TypeName PgQuery__TypeName;
216
220
  typedef struct PgQuery__ColumnDef PgQuery__ColumnDef;
217
221
  typedef struct PgQuery__IndexElem PgQuery__IndexElem;
222
+ typedef struct PgQuery__StatsElem PgQuery__StatsElem;
218
223
  typedef struct PgQuery__Constraint PgQuery__Constraint;
219
224
  typedef struct PgQuery__DefElem PgQuery__DefElem;
220
225
  typedef struct PgQuery__RangeTblEntry PgQuery__RangeTblEntry;
@@ -235,7 +240,10 @@ typedef struct PgQuery__XmlSerialize PgQuery__XmlSerialize;
235
240
  typedef struct PgQuery__WithClause PgQuery__WithClause;
236
241
  typedef struct PgQuery__InferClause PgQuery__InferClause;
237
242
  typedef struct PgQuery__OnConflictClause PgQuery__OnConflictClause;
243
+ typedef struct PgQuery__CTESearchClause PgQuery__CTESearchClause;
244
+ typedef struct PgQuery__CTECycleClause PgQuery__CTECycleClause;
238
245
  typedef struct PgQuery__CommonTableExpr PgQuery__CommonTableExpr;
246
+ typedef struct PgQuery__MergeWhenClause PgQuery__MergeWhenClause;
239
247
  typedef struct PgQuery__RoleSpec PgQuery__RoleSpec;
240
248
  typedef struct PgQuery__TriggerTransition PgQuery__TriggerTransition;
241
249
  typedef struct PgQuery__PartitionElem PgQuery__PartitionElem;
@@ -244,6 +252,8 @@ typedef struct PgQuery__PartitionBoundSpec PgQuery__PartitionBoundSpec;
244
252
  typedef struct PgQuery__PartitionRangeDatum PgQuery__PartitionRangeDatum;
245
253
  typedef struct PgQuery__PartitionCmd PgQuery__PartitionCmd;
246
254
  typedef struct PgQuery__VacuumRelation PgQuery__VacuumRelation;
255
+ typedef struct PgQuery__PublicationObjSpec PgQuery__PublicationObjSpec;
256
+ typedef struct PgQuery__PublicationTable PgQuery__PublicationTable;
247
257
  typedef struct PgQuery__InlineCodeBlock PgQuery__InlineCodeBlock;
248
258
  typedef struct PgQuery__CallContext PgQuery__CallContext;
249
259
  typedef struct PgQuery__ScanToken PgQuery__ScanToken;
@@ -282,6 +292,13 @@ typedef enum _PgQuery__SortByNulls {
282
292
  PG_QUERY__SORT_BY_NULLS__SORTBY_NULLS_LAST = 3
283
293
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SORT_BY_NULLS)
284
294
  } PgQuery__SortByNulls;
295
+ typedef enum _PgQuery__SetQuantifier {
296
+ PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_UNDEFINED = 0,
297
+ PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_DEFAULT = 1,
298
+ PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_ALL = 2,
299
+ PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_DISTINCT = 3
300
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SET_QUANTIFIER)
301
+ } PgQuery__SetQuantifier;
285
302
  typedef enum _PgQuery__AExprKind {
286
303
  PG_QUERY__A__EXPR__KIND__A_EXPR_KIND_UNDEFINED = 0,
287
304
  PG_QUERY__A__EXPR__KIND__AEXPR_OP = 1,
@@ -290,37 +307,37 @@ typedef enum _PgQuery__AExprKind {
290
307
  PG_QUERY__A__EXPR__KIND__AEXPR_DISTINCT = 4,
291
308
  PG_QUERY__A__EXPR__KIND__AEXPR_NOT_DISTINCT = 5,
292
309
  PG_QUERY__A__EXPR__KIND__AEXPR_NULLIF = 6,
293
- PG_QUERY__A__EXPR__KIND__AEXPR_OF = 7,
294
- PG_QUERY__A__EXPR__KIND__AEXPR_IN = 8,
295
- PG_QUERY__A__EXPR__KIND__AEXPR_LIKE = 9,
296
- PG_QUERY__A__EXPR__KIND__AEXPR_ILIKE = 10,
297
- PG_QUERY__A__EXPR__KIND__AEXPR_SIMILAR = 11,
298
- PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN = 12,
299
- PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN = 13,
300
- PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN_SYM = 14,
301
- PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN_SYM = 15,
302
- PG_QUERY__A__EXPR__KIND__AEXPR_PAREN = 16
310
+ PG_QUERY__A__EXPR__KIND__AEXPR_IN = 7,
311
+ PG_QUERY__A__EXPR__KIND__AEXPR_LIKE = 8,
312
+ PG_QUERY__A__EXPR__KIND__AEXPR_ILIKE = 9,
313
+ PG_QUERY__A__EXPR__KIND__AEXPR_SIMILAR = 10,
314
+ PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN = 11,
315
+ PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN = 12,
316
+ PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN_SYM = 13,
317
+ PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN_SYM = 14
303
318
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__A__EXPR__KIND)
304
319
  } PgQuery__AExprKind;
305
320
  typedef enum _PgQuery__RoleSpecType {
306
321
  PG_QUERY__ROLE_SPEC_TYPE__ROLE_SPEC_TYPE_UNDEFINED = 0,
307
322
  PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CSTRING = 1,
308
- PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CURRENT_USER = 2,
309
- PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_SESSION_USER = 3,
310
- PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_PUBLIC = 4
323
+ PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CURRENT_ROLE = 2,
324
+ PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CURRENT_USER = 3,
325
+ PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_SESSION_USER = 4,
326
+ PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_PUBLIC = 5
311
327
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ROLE_SPEC_TYPE)
312
328
  } PgQuery__RoleSpecType;
313
329
  typedef enum _PgQuery__TableLikeOption {
314
330
  PG_QUERY__TABLE_LIKE_OPTION__TABLE_LIKE_OPTION_UNDEFINED = 0,
315
331
  PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_COMMENTS = 1,
316
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_CONSTRAINTS = 2,
317
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_DEFAULTS = 3,
318
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_GENERATED = 4,
319
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_IDENTITY = 5,
320
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_INDEXES = 6,
321
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STATISTICS = 7,
322
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STORAGE = 8,
323
- PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_ALL = 9
332
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_COMPRESSION = 2,
333
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_CONSTRAINTS = 3,
334
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_DEFAULTS = 4,
335
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_GENERATED = 5,
336
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_IDENTITY = 6,
337
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_INDEXES = 7,
338
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STATISTICS = 8,
339
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STORAGE = 9,
340
+ PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_ALL = 10
324
341
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__TABLE_LIKE_OPTION)
325
342
  } PgQuery__TableLikeOption;
326
343
  typedef enum _PgQuery__DefElemAction {
@@ -356,7 +373,9 @@ typedef enum _PgQuery__WCOKind {
356
373
  PG_QUERY__WCOKIND__WCO_VIEW_CHECK = 1,
357
374
  PG_QUERY__WCOKIND__WCO_RLS_INSERT_CHECK = 2,
358
375
  PG_QUERY__WCOKIND__WCO_RLS_UPDATE_CHECK = 3,
359
- PG_QUERY__WCOKIND__WCO_RLS_CONFLICT_CHECK = 4
376
+ PG_QUERY__WCOKIND__WCO_RLS_CONFLICT_CHECK = 4,
377
+ PG_QUERY__WCOKIND__WCO_RLS_MERGE_UPDATE_CHECK = 5,
378
+ PG_QUERY__WCOKIND__WCO_RLS_MERGE_DELETE_CHECK = 6
360
379
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__WCOKIND)
361
380
  } PgQuery__WCOKind;
362
381
  typedef enum _PgQuery__GroupingSetKind {
@@ -412,29 +431,31 @@ typedef enum _PgQuery__ObjectType {
412
431
  PG_QUERY__OBJECT_TYPE__OBJECT_OPCLASS = 25,
413
432
  PG_QUERY__OBJECT_TYPE__OBJECT_OPERATOR = 26,
414
433
  PG_QUERY__OBJECT_TYPE__OBJECT_OPFAMILY = 27,
415
- PG_QUERY__OBJECT_TYPE__OBJECT_POLICY = 28,
416
- PG_QUERY__OBJECT_TYPE__OBJECT_PROCEDURE = 29,
417
- PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION = 30,
418
- PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION_REL = 31,
419
- PG_QUERY__OBJECT_TYPE__OBJECT_ROLE = 32,
420
- PG_QUERY__OBJECT_TYPE__OBJECT_ROUTINE = 33,
421
- PG_QUERY__OBJECT_TYPE__OBJECT_RULE = 34,
422
- PG_QUERY__OBJECT_TYPE__OBJECT_SCHEMA = 35,
423
- PG_QUERY__OBJECT_TYPE__OBJECT_SEQUENCE = 36,
424
- PG_QUERY__OBJECT_TYPE__OBJECT_SUBSCRIPTION = 37,
425
- PG_QUERY__OBJECT_TYPE__OBJECT_STATISTIC_EXT = 38,
426
- PG_QUERY__OBJECT_TYPE__OBJECT_TABCONSTRAINT = 39,
427
- PG_QUERY__OBJECT_TYPE__OBJECT_TABLE = 40,
428
- PG_QUERY__OBJECT_TYPE__OBJECT_TABLESPACE = 41,
429
- PG_QUERY__OBJECT_TYPE__OBJECT_TRANSFORM = 42,
430
- PG_QUERY__OBJECT_TYPE__OBJECT_TRIGGER = 43,
431
- PG_QUERY__OBJECT_TYPE__OBJECT_TSCONFIGURATION = 44,
432
- PG_QUERY__OBJECT_TYPE__OBJECT_TSDICTIONARY = 45,
433
- PG_QUERY__OBJECT_TYPE__OBJECT_TSPARSER = 46,
434
- PG_QUERY__OBJECT_TYPE__OBJECT_TSTEMPLATE = 47,
435
- PG_QUERY__OBJECT_TYPE__OBJECT_TYPE = 48,
436
- PG_QUERY__OBJECT_TYPE__OBJECT_USER_MAPPING = 49,
437
- PG_QUERY__OBJECT_TYPE__OBJECT_VIEW = 50
434
+ PG_QUERY__OBJECT_TYPE__OBJECT_PARAMETER_ACL = 28,
435
+ PG_QUERY__OBJECT_TYPE__OBJECT_POLICY = 29,
436
+ PG_QUERY__OBJECT_TYPE__OBJECT_PROCEDURE = 30,
437
+ PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION = 31,
438
+ PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION_NAMESPACE = 32,
439
+ PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION_REL = 33,
440
+ PG_QUERY__OBJECT_TYPE__OBJECT_ROLE = 34,
441
+ PG_QUERY__OBJECT_TYPE__OBJECT_ROUTINE = 35,
442
+ PG_QUERY__OBJECT_TYPE__OBJECT_RULE = 36,
443
+ PG_QUERY__OBJECT_TYPE__OBJECT_SCHEMA = 37,
444
+ PG_QUERY__OBJECT_TYPE__OBJECT_SEQUENCE = 38,
445
+ PG_QUERY__OBJECT_TYPE__OBJECT_SUBSCRIPTION = 39,
446
+ PG_QUERY__OBJECT_TYPE__OBJECT_STATISTIC_EXT = 40,
447
+ PG_QUERY__OBJECT_TYPE__OBJECT_TABCONSTRAINT = 41,
448
+ PG_QUERY__OBJECT_TYPE__OBJECT_TABLE = 42,
449
+ PG_QUERY__OBJECT_TYPE__OBJECT_TABLESPACE = 43,
450
+ PG_QUERY__OBJECT_TYPE__OBJECT_TRANSFORM = 44,
451
+ PG_QUERY__OBJECT_TYPE__OBJECT_TRIGGER = 45,
452
+ PG_QUERY__OBJECT_TYPE__OBJECT_TSCONFIGURATION = 46,
453
+ PG_QUERY__OBJECT_TYPE__OBJECT_TSDICTIONARY = 47,
454
+ PG_QUERY__OBJECT_TYPE__OBJECT_TSPARSER = 48,
455
+ PG_QUERY__OBJECT_TYPE__OBJECT_TSTEMPLATE = 49,
456
+ PG_QUERY__OBJECT_TYPE__OBJECT_TYPE = 50,
457
+ PG_QUERY__OBJECT_TYPE__OBJECT_USER_MAPPING = 51,
458
+ PG_QUERY__OBJECT_TYPE__OBJECT_VIEW = 52
438
459
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__OBJECT_TYPE)
439
460
  } PgQuery__ObjectType;
440
461
  typedef enum _PgQuery__DropBehavior {
@@ -458,60 +479,64 @@ typedef enum _PgQuery__AlterTableType {
458
479
  PG_QUERY__ALTER_TABLE_TYPE__AT_SetOptions = 11,
459
480
  PG_QUERY__ALTER_TABLE_TYPE__AT_ResetOptions = 12,
460
481
  PG_QUERY__ALTER_TABLE_TYPE__AT_SetStorage = 13,
461
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropColumn = 14,
462
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropColumnRecurse = 15,
463
- PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndex = 16,
464
- PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddIndex = 17,
465
- PG_QUERY__ALTER_TABLE_TYPE__AT_AddConstraint = 18,
466
- PG_QUERY__ALTER_TABLE_TYPE__AT_AddConstraintRecurse = 19,
467
- PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddConstraint = 20,
468
- PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddDomainConstraint = 21,
469
- PG_QUERY__ALTER_TABLE_TYPE__AT_AlterConstraint = 22,
470
- PG_QUERY__ALTER_TABLE_TYPE__AT_ValidateConstraint = 23,
471
- PG_QUERY__ALTER_TABLE_TYPE__AT_ValidateConstraintRecurse = 24,
472
- PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndexConstraint = 25,
473
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropConstraint = 26,
474
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropConstraintRecurse = 27,
475
- PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddComment = 28,
476
- PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnType = 29,
477
- PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnGenericOptions = 30,
478
- PG_QUERY__ALTER_TABLE_TYPE__AT_ChangeOwner = 31,
479
- PG_QUERY__ALTER_TABLE_TYPE__AT_ClusterOn = 32,
480
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropCluster = 33,
481
- PG_QUERY__ALTER_TABLE_TYPE__AT_SetLogged = 34,
482
- PG_QUERY__ALTER_TABLE_TYPE__AT_SetUnLogged = 35,
483
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropOids = 36,
484
- PG_QUERY__ALTER_TABLE_TYPE__AT_SetTableSpace = 37,
485
- PG_QUERY__ALTER_TABLE_TYPE__AT_SetRelOptions = 38,
486
- PG_QUERY__ALTER_TABLE_TYPE__AT_ResetRelOptions = 39,
487
- PG_QUERY__ALTER_TABLE_TYPE__AT_ReplaceRelOptions = 40,
488
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrig = 41,
489
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysTrig = 42,
490
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaTrig = 43,
491
- PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrig = 44,
492
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigAll = 45,
493
- PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigAll = 46,
494
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigUser = 47,
495
- PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigUser = 48,
496
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRule = 49,
497
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysRule = 50,
498
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaRule = 51,
499
- PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRule = 52,
500
- PG_QUERY__ALTER_TABLE_TYPE__AT_AddInherit = 53,
501
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropInherit = 54,
502
- PG_QUERY__ALTER_TABLE_TYPE__AT_AddOf = 55,
503
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropOf = 56,
504
- PG_QUERY__ALTER_TABLE_TYPE__AT_ReplicaIdentity = 57,
505
- PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRowSecurity = 58,
506
- PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRowSecurity = 59,
507
- PG_QUERY__ALTER_TABLE_TYPE__AT_ForceRowSecurity = 60,
508
- PG_QUERY__ALTER_TABLE_TYPE__AT_NoForceRowSecurity = 61,
509
- PG_QUERY__ALTER_TABLE_TYPE__AT_GenericOptions = 62,
510
- PG_QUERY__ALTER_TABLE_TYPE__AT_AttachPartition = 63,
511
- PG_QUERY__ALTER_TABLE_TYPE__AT_DetachPartition = 64,
512
- PG_QUERY__ALTER_TABLE_TYPE__AT_AddIdentity = 65,
513
- PG_QUERY__ALTER_TABLE_TYPE__AT_SetIdentity = 66,
514
- PG_QUERY__ALTER_TABLE_TYPE__AT_DropIdentity = 67
482
+ PG_QUERY__ALTER_TABLE_TYPE__AT_SetCompression = 14,
483
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropColumn = 15,
484
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropColumnRecurse = 16,
485
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndex = 17,
486
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddIndex = 18,
487
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AddConstraint = 19,
488
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AddConstraintRecurse = 20,
489
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddConstraint = 21,
490
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddDomainConstraint = 22,
491
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AlterConstraint = 23,
492
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ValidateConstraint = 24,
493
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ValidateConstraintRecurse = 25,
494
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndexConstraint = 26,
495
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropConstraint = 27,
496
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropConstraintRecurse = 28,
497
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddComment = 29,
498
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnType = 30,
499
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnGenericOptions = 31,
500
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ChangeOwner = 32,
501
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ClusterOn = 33,
502
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropCluster = 34,
503
+ PG_QUERY__ALTER_TABLE_TYPE__AT_SetLogged = 35,
504
+ PG_QUERY__ALTER_TABLE_TYPE__AT_SetUnLogged = 36,
505
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropOids = 37,
506
+ PG_QUERY__ALTER_TABLE_TYPE__AT_SetAccessMethod = 38,
507
+ PG_QUERY__ALTER_TABLE_TYPE__AT_SetTableSpace = 39,
508
+ PG_QUERY__ALTER_TABLE_TYPE__AT_SetRelOptions = 40,
509
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ResetRelOptions = 41,
510
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ReplaceRelOptions = 42,
511
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrig = 43,
512
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysTrig = 44,
513
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaTrig = 45,
514
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrig = 46,
515
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigAll = 47,
516
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigAll = 48,
517
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigUser = 49,
518
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigUser = 50,
519
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRule = 51,
520
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysRule = 52,
521
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaRule = 53,
522
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRule = 54,
523
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AddInherit = 55,
524
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropInherit = 56,
525
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AddOf = 57,
526
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropOf = 58,
527
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ReplicaIdentity = 59,
528
+ PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRowSecurity = 60,
529
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRowSecurity = 61,
530
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ForceRowSecurity = 62,
531
+ PG_QUERY__ALTER_TABLE_TYPE__AT_NoForceRowSecurity = 63,
532
+ PG_QUERY__ALTER_TABLE_TYPE__AT_GenericOptions = 64,
533
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AttachPartition = 65,
534
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DetachPartition = 66,
535
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DetachPartitionFinalize = 67,
536
+ PG_QUERY__ALTER_TABLE_TYPE__AT_AddIdentity = 68,
537
+ PG_QUERY__ALTER_TABLE_TYPE__AT_SetIdentity = 69,
538
+ PG_QUERY__ALTER_TABLE_TYPE__AT_DropIdentity = 70,
539
+ PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddStatistics = 71
515
540
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_TABLE_TYPE)
516
541
  } PgQuery__AlterTableType;
517
542
  typedef enum _PgQuery__GrantTargetType {
@@ -577,7 +602,8 @@ typedef enum _PgQuery__FunctionParameterMode {
577
602
  PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_OUT = 2,
578
603
  PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_INOUT = 3,
579
604
  PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_VARIADIC = 4,
580
- PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_TABLE = 5
605
+ PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_TABLE = 5,
606
+ PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_DEFAULT = 6
581
607
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__FUNCTION_PARAMETER_MODE)
582
608
  } PgQuery__FunctionParameterMode;
583
609
  typedef enum _PgQuery__TransactionStmtKind {
@@ -601,12 +627,6 @@ typedef enum _PgQuery__ViewCheckOption {
601
627
  PG_QUERY__VIEW_CHECK_OPTION__CASCADED_CHECK_OPTION = 3
602
628
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__VIEW_CHECK_OPTION)
603
629
  } PgQuery__ViewCheckOption;
604
- typedef enum _PgQuery__ClusterOption {
605
- PG_QUERY__CLUSTER_OPTION__CLUSTER_OPTION_UNDEFINED = 0,
606
- PG_QUERY__CLUSTER_OPTION__CLUOPT_RECHECK = 1,
607
- PG_QUERY__CLUSTER_OPTION__CLUOPT_VERBOSE = 2
608
- PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__CLUSTER_OPTION)
609
- } PgQuery__ClusterOption;
610
630
  typedef enum _PgQuery__DiscardMode {
611
631
  PG_QUERY__DISCARD_MODE__DISCARD_MODE_UNDEFINED = 0,
612
632
  PG_QUERY__DISCARD_MODE__DISCARD_ALL = 1,
@@ -633,13 +653,31 @@ typedef enum _PgQuery__AlterTSConfigType {
633
653
  PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_DROP_MAPPING = 5
634
654
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_TSCONFIG_TYPE)
635
655
  } PgQuery__AlterTSConfigType;
656
+ typedef enum _PgQuery__PublicationObjSpecType {
657
+ PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED = 0,
658
+ PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLE = 1,
659
+ PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLES_IN_SCHEMA = 2,
660
+ PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA = 3,
661
+ PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_CONTINUATION = 4
662
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE)
663
+ } PgQuery__PublicationObjSpecType;
664
+ typedef enum _PgQuery__AlterPublicationAction {
665
+ PG_QUERY__ALTER_PUBLICATION_ACTION__ALTER_PUBLICATION_ACTION_UNDEFINED = 0,
666
+ PG_QUERY__ALTER_PUBLICATION_ACTION__AP_AddObjects = 1,
667
+ PG_QUERY__ALTER_PUBLICATION_ACTION__AP_DropObjects = 2,
668
+ PG_QUERY__ALTER_PUBLICATION_ACTION__AP_SetObjects = 3
669
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_PUBLICATION_ACTION)
670
+ } PgQuery__AlterPublicationAction;
636
671
  typedef enum _PgQuery__AlterSubscriptionType {
637
672
  PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_TYPE_UNDEFINED = 0,
638
673
  PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_OPTIONS = 1,
639
674
  PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_CONNECTION = 2,
640
- PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_PUBLICATION = 3,
641
- PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_REFRESH = 4,
642
- PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_ENABLED = 5
675
+ PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_SET_PUBLICATION = 3,
676
+ PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_ADD_PUBLICATION = 4,
677
+ PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_DROP_PUBLICATION = 5,
678
+ PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_REFRESH = 6,
679
+ PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_ENABLED = 7,
680
+ PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_SKIP = 8
643
681
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_SUBSCRIPTION_TYPE)
644
682
  } PgQuery__AlterSubscriptionType;
645
683
  typedef enum _PgQuery__OnCommitAction {
@@ -662,14 +700,16 @@ typedef enum _PgQuery__CoercionContext {
662
700
  PG_QUERY__COERCION_CONTEXT__COERCION_CONTEXT_UNDEFINED = 0,
663
701
  PG_QUERY__COERCION_CONTEXT__COERCION_IMPLICIT = 1,
664
702
  PG_QUERY__COERCION_CONTEXT__COERCION_ASSIGNMENT = 2,
665
- PG_QUERY__COERCION_CONTEXT__COERCION_EXPLICIT = 3
703
+ PG_QUERY__COERCION_CONTEXT__COERCION_PLPGSQL = 3,
704
+ PG_QUERY__COERCION_CONTEXT__COERCION_EXPLICIT = 4
666
705
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__COERCION_CONTEXT)
667
706
  } PgQuery__CoercionContext;
668
707
  typedef enum _PgQuery__CoercionForm {
669
708
  PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED = 0,
670
709
  PG_QUERY__COERCION_FORM__COERCE_EXPLICIT_CALL = 1,
671
710
  PG_QUERY__COERCION_FORM__COERCE_EXPLICIT_CAST = 2,
672
- PG_QUERY__COERCION_FORM__COERCE_IMPLICIT_CAST = 3
711
+ PG_QUERY__COERCION_FORM__COERCE_IMPLICIT_CAST = 3,
712
+ PG_QUERY__COERCION_FORM__COERCE_SQL_SYNTAX = 4
673
713
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__COERCION_FORM)
674
714
  } PgQuery__CoercionForm;
675
715
  typedef enum _PgQuery__BoolExprType {
@@ -767,8 +807,9 @@ typedef enum _PgQuery__CmdType {
767
807
  PG_QUERY__CMD_TYPE__CMD_UPDATE = 3,
768
808
  PG_QUERY__CMD_TYPE__CMD_INSERT = 4,
769
809
  PG_QUERY__CMD_TYPE__CMD_DELETE = 5,
770
- PG_QUERY__CMD_TYPE__CMD_UTILITY = 6,
771
- PG_QUERY__CMD_TYPE__CMD_NOTHING = 7
810
+ PG_QUERY__CMD_TYPE__CMD_MERGE = 6,
811
+ PG_QUERY__CMD_TYPE__CMD_UTILITY = 7,
812
+ PG_QUERY__CMD_TYPE__CMD_NOTHING = 8
772
813
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__CMD_TYPE)
773
814
  } PgQuery__CmdType;
774
815
  typedef enum _PgQuery__JoinType {
@@ -982,442 +1023,456 @@ typedef enum _PgQuery__Token {
982
1023
  PG_QUERY__TOKEN__ARRAY = 293,
983
1024
  PG_QUERY__TOKEN__AS = 294,
984
1025
  PG_QUERY__TOKEN__ASC = 295,
985
- PG_QUERY__TOKEN__ASSERTION = 296,
986
- PG_QUERY__TOKEN__ASSIGNMENT = 297,
987
- PG_QUERY__TOKEN__ASYMMETRIC = 298,
988
- PG_QUERY__TOKEN__AT = 299,
989
- PG_QUERY__TOKEN__ATTACH = 300,
990
- PG_QUERY__TOKEN__ATTRIBUTE = 301,
991
- PG_QUERY__TOKEN__AUTHORIZATION = 302,
992
- PG_QUERY__TOKEN__BACKWARD = 303,
993
- PG_QUERY__TOKEN__BEFORE = 304,
994
- PG_QUERY__TOKEN__BEGIN_P = 305,
995
- PG_QUERY__TOKEN__BETWEEN = 306,
996
- PG_QUERY__TOKEN__BIGINT = 307,
997
- PG_QUERY__TOKEN__BINARY = 308,
998
- PG_QUERY__TOKEN__BIT = 309,
999
- PG_QUERY__TOKEN__BOOLEAN_P = 310,
1000
- PG_QUERY__TOKEN__BOTH = 311,
1001
- PG_QUERY__TOKEN__BY = 312,
1002
- PG_QUERY__TOKEN__CACHE = 313,
1003
- PG_QUERY__TOKEN__CALL = 314,
1004
- PG_QUERY__TOKEN__CALLED = 315,
1005
- PG_QUERY__TOKEN__CASCADE = 316,
1006
- PG_QUERY__TOKEN__CASCADED = 317,
1007
- PG_QUERY__TOKEN__CASE = 318,
1008
- PG_QUERY__TOKEN__CAST = 319,
1009
- PG_QUERY__TOKEN__CATALOG_P = 320,
1010
- PG_QUERY__TOKEN__CHAIN = 321,
1011
- PG_QUERY__TOKEN__CHAR_P = 322,
1012
- PG_QUERY__TOKEN__CHARACTER = 323,
1013
- PG_QUERY__TOKEN__CHARACTERISTICS = 324,
1014
- PG_QUERY__TOKEN__CHECK = 325,
1015
- PG_QUERY__TOKEN__CHECKPOINT = 326,
1016
- PG_QUERY__TOKEN__CLASS = 327,
1017
- PG_QUERY__TOKEN__CLOSE = 328,
1018
- PG_QUERY__TOKEN__CLUSTER = 329,
1019
- PG_QUERY__TOKEN__COALESCE = 330,
1020
- PG_QUERY__TOKEN__COLLATE = 331,
1021
- PG_QUERY__TOKEN__COLLATION = 332,
1022
- PG_QUERY__TOKEN__COLUMN = 333,
1023
- PG_QUERY__TOKEN__COLUMNS = 334,
1024
- PG_QUERY__TOKEN__COMMENT = 335,
1025
- PG_QUERY__TOKEN__COMMENTS = 336,
1026
- PG_QUERY__TOKEN__COMMIT = 337,
1027
- PG_QUERY__TOKEN__COMMITTED = 338,
1028
- PG_QUERY__TOKEN__CONCURRENTLY = 339,
1029
- PG_QUERY__TOKEN__CONFIGURATION = 340,
1030
- PG_QUERY__TOKEN__CONFLICT = 341,
1031
- PG_QUERY__TOKEN__CONNECTION = 342,
1032
- PG_QUERY__TOKEN__CONSTRAINT = 343,
1033
- PG_QUERY__TOKEN__CONSTRAINTS = 344,
1034
- PG_QUERY__TOKEN__CONTENT_P = 345,
1035
- PG_QUERY__TOKEN__CONTINUE_P = 346,
1036
- PG_QUERY__TOKEN__CONVERSION_P = 347,
1037
- PG_QUERY__TOKEN__COPY = 348,
1038
- PG_QUERY__TOKEN__COST = 349,
1039
- PG_QUERY__TOKEN__CREATE = 350,
1040
- PG_QUERY__TOKEN__CROSS = 351,
1041
- PG_QUERY__TOKEN__CSV = 352,
1042
- PG_QUERY__TOKEN__CUBE = 353,
1043
- PG_QUERY__TOKEN__CURRENT_P = 354,
1044
- PG_QUERY__TOKEN__CURRENT_CATALOG = 355,
1045
- PG_QUERY__TOKEN__CURRENT_DATE = 356,
1046
- PG_QUERY__TOKEN__CURRENT_ROLE = 357,
1047
- PG_QUERY__TOKEN__CURRENT_SCHEMA = 358,
1048
- PG_QUERY__TOKEN__CURRENT_TIME = 359,
1049
- PG_QUERY__TOKEN__CURRENT_TIMESTAMP = 360,
1050
- PG_QUERY__TOKEN__CURRENT_USER = 361,
1051
- PG_QUERY__TOKEN__CURSOR = 362,
1052
- PG_QUERY__TOKEN__CYCLE = 363,
1053
- PG_QUERY__TOKEN__DATA_P = 364,
1054
- PG_QUERY__TOKEN__DATABASE = 365,
1055
- PG_QUERY__TOKEN__DAY_P = 366,
1056
- PG_QUERY__TOKEN__DEALLOCATE = 367,
1057
- PG_QUERY__TOKEN__DEC = 368,
1058
- PG_QUERY__TOKEN__DECIMAL_P = 369,
1059
- PG_QUERY__TOKEN__DECLARE = 370,
1060
- PG_QUERY__TOKEN__DEFAULT = 371,
1061
- PG_QUERY__TOKEN__DEFAULTS = 372,
1062
- PG_QUERY__TOKEN__DEFERRABLE = 373,
1063
- PG_QUERY__TOKEN__DEFERRED = 374,
1064
- PG_QUERY__TOKEN__DEFINER = 375,
1065
- PG_QUERY__TOKEN__DELETE_P = 376,
1066
- PG_QUERY__TOKEN__DELIMITER = 377,
1067
- PG_QUERY__TOKEN__DELIMITERS = 378,
1068
- PG_QUERY__TOKEN__DEPENDS = 379,
1069
- PG_QUERY__TOKEN__DESC = 380,
1070
- PG_QUERY__TOKEN__DETACH = 381,
1071
- PG_QUERY__TOKEN__DICTIONARY = 382,
1072
- PG_QUERY__TOKEN__DISABLE_P = 383,
1073
- PG_QUERY__TOKEN__DISCARD = 384,
1074
- PG_QUERY__TOKEN__DISTINCT = 385,
1075
- PG_QUERY__TOKEN__DO = 386,
1076
- PG_QUERY__TOKEN__DOCUMENT_P = 387,
1077
- PG_QUERY__TOKEN__DOMAIN_P = 388,
1078
- PG_QUERY__TOKEN__DOUBLE_P = 389,
1079
- PG_QUERY__TOKEN__DROP = 390,
1080
- PG_QUERY__TOKEN__EACH = 391,
1081
- PG_QUERY__TOKEN__ELSE = 392,
1082
- PG_QUERY__TOKEN__ENABLE_P = 393,
1083
- PG_QUERY__TOKEN__ENCODING = 394,
1084
- PG_QUERY__TOKEN__ENCRYPTED = 395,
1085
- PG_QUERY__TOKEN__END_P = 396,
1086
- PG_QUERY__TOKEN__ENUM_P = 397,
1087
- PG_QUERY__TOKEN__ESCAPE = 398,
1088
- PG_QUERY__TOKEN__EVENT = 399,
1089
- PG_QUERY__TOKEN__EXCEPT = 400,
1090
- PG_QUERY__TOKEN__EXCLUDE = 401,
1091
- PG_QUERY__TOKEN__EXCLUDING = 402,
1092
- PG_QUERY__TOKEN__EXCLUSIVE = 403,
1093
- PG_QUERY__TOKEN__EXECUTE = 404,
1094
- PG_QUERY__TOKEN__EXISTS = 405,
1095
- PG_QUERY__TOKEN__EXPLAIN = 406,
1096
- PG_QUERY__TOKEN__EXPRESSION = 407,
1097
- PG_QUERY__TOKEN__EXTENSION = 408,
1098
- PG_QUERY__TOKEN__EXTERNAL = 409,
1099
- PG_QUERY__TOKEN__EXTRACT = 410,
1100
- PG_QUERY__TOKEN__FALSE_P = 411,
1101
- PG_QUERY__TOKEN__FAMILY = 412,
1102
- PG_QUERY__TOKEN__FETCH = 413,
1103
- PG_QUERY__TOKEN__FILTER = 414,
1104
- PG_QUERY__TOKEN__FIRST_P = 415,
1105
- PG_QUERY__TOKEN__FLOAT_P = 416,
1106
- PG_QUERY__TOKEN__FOLLOWING = 417,
1107
- PG_QUERY__TOKEN__FOR = 418,
1108
- PG_QUERY__TOKEN__FORCE = 419,
1109
- PG_QUERY__TOKEN__FOREIGN = 420,
1110
- PG_QUERY__TOKEN__FORWARD = 421,
1111
- PG_QUERY__TOKEN__FREEZE = 422,
1112
- PG_QUERY__TOKEN__FROM = 423,
1113
- PG_QUERY__TOKEN__FULL = 424,
1114
- PG_QUERY__TOKEN__FUNCTION = 425,
1115
- PG_QUERY__TOKEN__FUNCTIONS = 426,
1116
- PG_QUERY__TOKEN__GENERATED = 427,
1117
- PG_QUERY__TOKEN__GLOBAL = 428,
1118
- PG_QUERY__TOKEN__GRANT = 429,
1119
- PG_QUERY__TOKEN__GRANTED = 430,
1120
- PG_QUERY__TOKEN__GREATEST = 431,
1121
- PG_QUERY__TOKEN__GROUP_P = 432,
1122
- PG_QUERY__TOKEN__GROUPING = 433,
1123
- PG_QUERY__TOKEN__GROUPS = 434,
1124
- PG_QUERY__TOKEN__HANDLER = 435,
1125
- PG_QUERY__TOKEN__HAVING = 436,
1126
- PG_QUERY__TOKEN__HEADER_P = 437,
1127
- PG_QUERY__TOKEN__HOLD = 438,
1128
- PG_QUERY__TOKEN__HOUR_P = 439,
1129
- PG_QUERY__TOKEN__IDENTITY_P = 440,
1130
- PG_QUERY__TOKEN__IF_P = 441,
1131
- PG_QUERY__TOKEN__ILIKE = 442,
1132
- PG_QUERY__TOKEN__IMMEDIATE = 443,
1133
- PG_QUERY__TOKEN__IMMUTABLE = 444,
1134
- PG_QUERY__TOKEN__IMPLICIT_P = 445,
1135
- PG_QUERY__TOKEN__IMPORT_P = 446,
1136
- PG_QUERY__TOKEN__IN_P = 447,
1137
- PG_QUERY__TOKEN__INCLUDE = 448,
1138
- PG_QUERY__TOKEN__INCLUDING = 449,
1139
- PG_QUERY__TOKEN__INCREMENT = 450,
1140
- PG_QUERY__TOKEN__INDEX = 451,
1141
- PG_QUERY__TOKEN__INDEXES = 452,
1142
- PG_QUERY__TOKEN__INHERIT = 453,
1143
- PG_QUERY__TOKEN__INHERITS = 454,
1144
- PG_QUERY__TOKEN__INITIALLY = 455,
1145
- PG_QUERY__TOKEN__INLINE_P = 456,
1146
- PG_QUERY__TOKEN__INNER_P = 457,
1147
- PG_QUERY__TOKEN__INOUT = 458,
1148
- PG_QUERY__TOKEN__INPUT_P = 459,
1149
- PG_QUERY__TOKEN__INSENSITIVE = 460,
1150
- PG_QUERY__TOKEN__INSERT = 461,
1151
- PG_QUERY__TOKEN__INSTEAD = 462,
1152
- PG_QUERY__TOKEN__INT_P = 463,
1153
- PG_QUERY__TOKEN__INTEGER = 464,
1154
- PG_QUERY__TOKEN__INTERSECT = 465,
1155
- PG_QUERY__TOKEN__INTERVAL = 466,
1156
- PG_QUERY__TOKEN__INTO = 467,
1157
- PG_QUERY__TOKEN__INVOKER = 468,
1158
- PG_QUERY__TOKEN__IS = 469,
1159
- PG_QUERY__TOKEN__ISNULL = 470,
1160
- PG_QUERY__TOKEN__ISOLATION = 471,
1161
- PG_QUERY__TOKEN__JOIN = 472,
1162
- PG_QUERY__TOKEN__KEY = 473,
1163
- PG_QUERY__TOKEN__LABEL = 474,
1164
- PG_QUERY__TOKEN__LANGUAGE = 475,
1165
- PG_QUERY__TOKEN__LARGE_P = 476,
1166
- PG_QUERY__TOKEN__LAST_P = 477,
1167
- PG_QUERY__TOKEN__LATERAL_P = 478,
1168
- PG_QUERY__TOKEN__LEADING = 479,
1169
- PG_QUERY__TOKEN__LEAKPROOF = 480,
1170
- PG_QUERY__TOKEN__LEAST = 481,
1171
- PG_QUERY__TOKEN__LEFT = 482,
1172
- PG_QUERY__TOKEN__LEVEL = 483,
1173
- PG_QUERY__TOKEN__LIKE = 484,
1174
- PG_QUERY__TOKEN__LIMIT = 485,
1175
- PG_QUERY__TOKEN__LISTEN = 486,
1176
- PG_QUERY__TOKEN__LOAD = 487,
1177
- PG_QUERY__TOKEN__LOCAL = 488,
1178
- PG_QUERY__TOKEN__LOCALTIME = 489,
1179
- PG_QUERY__TOKEN__LOCALTIMESTAMP = 490,
1180
- PG_QUERY__TOKEN__LOCATION = 491,
1181
- PG_QUERY__TOKEN__LOCK_P = 492,
1182
- PG_QUERY__TOKEN__LOCKED = 493,
1183
- PG_QUERY__TOKEN__LOGGED = 494,
1184
- PG_QUERY__TOKEN__MAPPING = 495,
1185
- PG_QUERY__TOKEN__MATCH = 496,
1186
- PG_QUERY__TOKEN__MATERIALIZED = 497,
1187
- PG_QUERY__TOKEN__MAXVALUE = 498,
1188
- PG_QUERY__TOKEN__METHOD = 499,
1189
- PG_QUERY__TOKEN__MINUTE_P = 500,
1190
- PG_QUERY__TOKEN__MINVALUE = 501,
1191
- PG_QUERY__TOKEN__MODE = 502,
1192
- PG_QUERY__TOKEN__MONTH_P = 503,
1193
- PG_QUERY__TOKEN__MOVE = 504,
1194
- PG_QUERY__TOKEN__NAME_P = 505,
1195
- PG_QUERY__TOKEN__NAMES = 506,
1196
- PG_QUERY__TOKEN__NATIONAL = 507,
1197
- PG_QUERY__TOKEN__NATURAL = 508,
1198
- PG_QUERY__TOKEN__NCHAR = 509,
1199
- PG_QUERY__TOKEN__NEW = 510,
1200
- PG_QUERY__TOKEN__NEXT = 511,
1201
- PG_QUERY__TOKEN__NFC = 512,
1202
- PG_QUERY__TOKEN__NFD = 513,
1203
- PG_QUERY__TOKEN__NFKC = 514,
1204
- PG_QUERY__TOKEN__NFKD = 515,
1205
- PG_QUERY__TOKEN__NO = 516,
1206
- PG_QUERY__TOKEN__NONE = 517,
1207
- PG_QUERY__TOKEN__NORMALIZE = 518,
1208
- PG_QUERY__TOKEN__NORMALIZED = 519,
1209
- PG_QUERY__TOKEN__NOT = 520,
1210
- PG_QUERY__TOKEN__NOTHING = 521,
1211
- PG_QUERY__TOKEN__NOTIFY = 522,
1212
- PG_QUERY__TOKEN__NOTNULL = 523,
1213
- PG_QUERY__TOKEN__NOWAIT = 524,
1214
- PG_QUERY__TOKEN__NULL_P = 525,
1215
- PG_QUERY__TOKEN__NULLIF = 526,
1216
- PG_QUERY__TOKEN__NULLS_P = 527,
1217
- PG_QUERY__TOKEN__NUMERIC = 528,
1218
- PG_QUERY__TOKEN__OBJECT_P = 529,
1219
- PG_QUERY__TOKEN__OF = 530,
1220
- PG_QUERY__TOKEN__OFF = 531,
1221
- PG_QUERY__TOKEN__OFFSET = 532,
1222
- PG_QUERY__TOKEN__OIDS = 533,
1223
- PG_QUERY__TOKEN__OLD = 534,
1224
- PG_QUERY__TOKEN__ON = 535,
1225
- PG_QUERY__TOKEN__ONLY = 536,
1226
- PG_QUERY__TOKEN__OPERATOR = 537,
1227
- PG_QUERY__TOKEN__OPTION = 538,
1228
- PG_QUERY__TOKEN__OPTIONS = 539,
1229
- PG_QUERY__TOKEN__OR = 540,
1230
- PG_QUERY__TOKEN__ORDER = 541,
1231
- PG_QUERY__TOKEN__ORDINALITY = 542,
1232
- PG_QUERY__TOKEN__OTHERS = 543,
1233
- PG_QUERY__TOKEN__OUT_P = 544,
1234
- PG_QUERY__TOKEN__OUTER_P = 545,
1235
- PG_QUERY__TOKEN__OVER = 546,
1236
- PG_QUERY__TOKEN__OVERLAPS = 547,
1237
- PG_QUERY__TOKEN__OVERLAY = 548,
1238
- PG_QUERY__TOKEN__OVERRIDING = 549,
1239
- PG_QUERY__TOKEN__OWNED = 550,
1240
- PG_QUERY__TOKEN__OWNER = 551,
1241
- PG_QUERY__TOKEN__PARALLEL = 552,
1242
- PG_QUERY__TOKEN__PARSER = 553,
1243
- PG_QUERY__TOKEN__PARTIAL = 554,
1244
- PG_QUERY__TOKEN__PARTITION = 555,
1245
- PG_QUERY__TOKEN__PASSING = 556,
1246
- PG_QUERY__TOKEN__PASSWORD = 557,
1247
- PG_QUERY__TOKEN__PLACING = 558,
1248
- PG_QUERY__TOKEN__PLANS = 559,
1249
- PG_QUERY__TOKEN__POLICY = 560,
1250
- PG_QUERY__TOKEN__POSITION = 561,
1251
- PG_QUERY__TOKEN__PRECEDING = 562,
1252
- PG_QUERY__TOKEN__PRECISION = 563,
1253
- PG_QUERY__TOKEN__PRESERVE = 564,
1254
- PG_QUERY__TOKEN__PREPARE = 565,
1255
- PG_QUERY__TOKEN__PREPARED = 566,
1256
- PG_QUERY__TOKEN__PRIMARY = 567,
1257
- PG_QUERY__TOKEN__PRIOR = 568,
1258
- PG_QUERY__TOKEN__PRIVILEGES = 569,
1259
- PG_QUERY__TOKEN__PROCEDURAL = 570,
1260
- PG_QUERY__TOKEN__PROCEDURE = 571,
1261
- PG_QUERY__TOKEN__PROCEDURES = 572,
1262
- PG_QUERY__TOKEN__PROGRAM = 573,
1263
- PG_QUERY__TOKEN__PUBLICATION = 574,
1264
- PG_QUERY__TOKEN__QUOTE = 575,
1265
- PG_QUERY__TOKEN__RANGE = 576,
1266
- PG_QUERY__TOKEN__READ = 577,
1267
- PG_QUERY__TOKEN__REAL = 578,
1268
- PG_QUERY__TOKEN__REASSIGN = 579,
1269
- PG_QUERY__TOKEN__RECHECK = 580,
1270
- PG_QUERY__TOKEN__RECURSIVE = 581,
1271
- PG_QUERY__TOKEN__REF = 582,
1272
- PG_QUERY__TOKEN__REFERENCES = 583,
1273
- PG_QUERY__TOKEN__REFERENCING = 584,
1274
- PG_QUERY__TOKEN__REFRESH = 585,
1275
- PG_QUERY__TOKEN__REINDEX = 586,
1276
- PG_QUERY__TOKEN__RELATIVE_P = 587,
1277
- PG_QUERY__TOKEN__RELEASE = 588,
1278
- PG_QUERY__TOKEN__RENAME = 589,
1279
- PG_QUERY__TOKEN__REPEATABLE = 590,
1280
- PG_QUERY__TOKEN__REPLACE = 591,
1281
- PG_QUERY__TOKEN__REPLICA = 592,
1282
- PG_QUERY__TOKEN__RESET = 593,
1283
- PG_QUERY__TOKEN__RESTART = 594,
1284
- PG_QUERY__TOKEN__RESTRICT = 595,
1285
- PG_QUERY__TOKEN__RETURNING = 596,
1286
- PG_QUERY__TOKEN__RETURNS = 597,
1287
- PG_QUERY__TOKEN__REVOKE = 598,
1288
- PG_QUERY__TOKEN__RIGHT = 599,
1289
- PG_QUERY__TOKEN__ROLE = 600,
1290
- PG_QUERY__TOKEN__ROLLBACK = 601,
1291
- PG_QUERY__TOKEN__ROLLUP = 602,
1292
- PG_QUERY__TOKEN__ROUTINE = 603,
1293
- PG_QUERY__TOKEN__ROUTINES = 604,
1294
- PG_QUERY__TOKEN__ROW = 605,
1295
- PG_QUERY__TOKEN__ROWS = 606,
1296
- PG_QUERY__TOKEN__RULE = 607,
1297
- PG_QUERY__TOKEN__SAVEPOINT = 608,
1298
- PG_QUERY__TOKEN__SCHEMA = 609,
1299
- PG_QUERY__TOKEN__SCHEMAS = 610,
1300
- PG_QUERY__TOKEN__SCROLL = 611,
1301
- PG_QUERY__TOKEN__SEARCH = 612,
1302
- PG_QUERY__TOKEN__SECOND_P = 613,
1303
- PG_QUERY__TOKEN__SECURITY = 614,
1304
- PG_QUERY__TOKEN__SELECT = 615,
1305
- PG_QUERY__TOKEN__SEQUENCE = 616,
1306
- PG_QUERY__TOKEN__SEQUENCES = 617,
1307
- PG_QUERY__TOKEN__SERIALIZABLE = 618,
1308
- PG_QUERY__TOKEN__SERVER = 619,
1309
- PG_QUERY__TOKEN__SESSION = 620,
1310
- PG_QUERY__TOKEN__SESSION_USER = 621,
1311
- PG_QUERY__TOKEN__SET = 622,
1312
- PG_QUERY__TOKEN__SETS = 623,
1313
- PG_QUERY__TOKEN__SETOF = 624,
1314
- PG_QUERY__TOKEN__SHARE = 625,
1315
- PG_QUERY__TOKEN__SHOW = 626,
1316
- PG_QUERY__TOKEN__SIMILAR = 627,
1317
- PG_QUERY__TOKEN__SIMPLE = 628,
1318
- PG_QUERY__TOKEN__SKIP = 629,
1319
- PG_QUERY__TOKEN__SMALLINT = 630,
1320
- PG_QUERY__TOKEN__SNAPSHOT = 631,
1321
- PG_QUERY__TOKEN__SOME = 632,
1322
- PG_QUERY__TOKEN__SQL_P = 633,
1323
- PG_QUERY__TOKEN__STABLE = 634,
1324
- PG_QUERY__TOKEN__STANDALONE_P = 635,
1325
- PG_QUERY__TOKEN__START = 636,
1326
- PG_QUERY__TOKEN__STATEMENT = 637,
1327
- PG_QUERY__TOKEN__STATISTICS = 638,
1328
- PG_QUERY__TOKEN__STDIN = 639,
1329
- PG_QUERY__TOKEN__STDOUT = 640,
1330
- PG_QUERY__TOKEN__STORAGE = 641,
1331
- PG_QUERY__TOKEN__STORED = 642,
1332
- PG_QUERY__TOKEN__STRICT_P = 643,
1333
- PG_QUERY__TOKEN__STRIP_P = 644,
1334
- PG_QUERY__TOKEN__SUBSCRIPTION = 645,
1335
- PG_QUERY__TOKEN__SUBSTRING = 646,
1336
- PG_QUERY__TOKEN__SUPPORT = 647,
1337
- PG_QUERY__TOKEN__SYMMETRIC = 648,
1338
- PG_QUERY__TOKEN__SYSID = 649,
1339
- PG_QUERY__TOKEN__SYSTEM_P = 650,
1340
- PG_QUERY__TOKEN__TABLE = 651,
1341
- PG_QUERY__TOKEN__TABLES = 652,
1342
- PG_QUERY__TOKEN__TABLESAMPLE = 653,
1343
- PG_QUERY__TOKEN__TABLESPACE = 654,
1344
- PG_QUERY__TOKEN__TEMP = 655,
1345
- PG_QUERY__TOKEN__TEMPLATE = 656,
1346
- PG_QUERY__TOKEN__TEMPORARY = 657,
1347
- PG_QUERY__TOKEN__TEXT_P = 658,
1348
- PG_QUERY__TOKEN__THEN = 659,
1349
- PG_QUERY__TOKEN__TIES = 660,
1350
- PG_QUERY__TOKEN__TIME = 661,
1351
- PG_QUERY__TOKEN__TIMESTAMP = 662,
1352
- PG_QUERY__TOKEN__TO = 663,
1353
- PG_QUERY__TOKEN__TRAILING = 664,
1354
- PG_QUERY__TOKEN__TRANSACTION = 665,
1355
- PG_QUERY__TOKEN__TRANSFORM = 666,
1356
- PG_QUERY__TOKEN__TREAT = 667,
1357
- PG_QUERY__TOKEN__TRIGGER = 668,
1358
- PG_QUERY__TOKEN__TRIM = 669,
1359
- PG_QUERY__TOKEN__TRUE_P = 670,
1360
- PG_QUERY__TOKEN__TRUNCATE = 671,
1361
- PG_QUERY__TOKEN__TRUSTED = 672,
1362
- PG_QUERY__TOKEN__TYPE_P = 673,
1363
- PG_QUERY__TOKEN__TYPES_P = 674,
1364
- PG_QUERY__TOKEN__UESCAPE = 675,
1365
- PG_QUERY__TOKEN__UNBOUNDED = 676,
1366
- PG_QUERY__TOKEN__UNCOMMITTED = 677,
1367
- PG_QUERY__TOKEN__UNENCRYPTED = 678,
1368
- PG_QUERY__TOKEN__UNION = 679,
1369
- PG_QUERY__TOKEN__UNIQUE = 680,
1370
- PG_QUERY__TOKEN__UNKNOWN = 681,
1371
- PG_QUERY__TOKEN__UNLISTEN = 682,
1372
- PG_QUERY__TOKEN__UNLOGGED = 683,
1373
- PG_QUERY__TOKEN__UNTIL = 684,
1374
- PG_QUERY__TOKEN__UPDATE = 685,
1375
- PG_QUERY__TOKEN__USER = 686,
1376
- PG_QUERY__TOKEN__USING = 687,
1377
- PG_QUERY__TOKEN__VACUUM = 688,
1378
- PG_QUERY__TOKEN__VALID = 689,
1379
- PG_QUERY__TOKEN__VALIDATE = 690,
1380
- PG_QUERY__TOKEN__VALIDATOR = 691,
1381
- PG_QUERY__TOKEN__VALUE_P = 692,
1382
- PG_QUERY__TOKEN__VALUES = 693,
1383
- PG_QUERY__TOKEN__VARCHAR = 694,
1384
- PG_QUERY__TOKEN__VARIADIC = 695,
1385
- PG_QUERY__TOKEN__VARYING = 696,
1386
- PG_QUERY__TOKEN__VERBOSE = 697,
1387
- PG_QUERY__TOKEN__VERSION_P = 698,
1388
- PG_QUERY__TOKEN__VIEW = 699,
1389
- PG_QUERY__TOKEN__VIEWS = 700,
1390
- PG_QUERY__TOKEN__VOLATILE = 701,
1391
- PG_QUERY__TOKEN__WHEN = 702,
1392
- PG_QUERY__TOKEN__WHERE = 703,
1393
- PG_QUERY__TOKEN__WHITESPACE_P = 704,
1394
- PG_QUERY__TOKEN__WINDOW = 705,
1395
- PG_QUERY__TOKEN__WITH = 706,
1396
- PG_QUERY__TOKEN__WITHIN = 707,
1397
- PG_QUERY__TOKEN__WITHOUT = 708,
1398
- PG_QUERY__TOKEN__WORK = 709,
1399
- PG_QUERY__TOKEN__WRAPPER = 710,
1400
- PG_QUERY__TOKEN__WRITE = 711,
1401
- PG_QUERY__TOKEN__XML_P = 712,
1402
- PG_QUERY__TOKEN__XMLATTRIBUTES = 713,
1403
- PG_QUERY__TOKEN__XMLCONCAT = 714,
1404
- PG_QUERY__TOKEN__XMLELEMENT = 715,
1405
- PG_QUERY__TOKEN__XMLEXISTS = 716,
1406
- PG_QUERY__TOKEN__XMLFOREST = 717,
1407
- PG_QUERY__TOKEN__XMLNAMESPACES = 718,
1408
- PG_QUERY__TOKEN__XMLPARSE = 719,
1409
- PG_QUERY__TOKEN__XMLPI = 720,
1410
- PG_QUERY__TOKEN__XMLROOT = 721,
1411
- PG_QUERY__TOKEN__XMLSERIALIZE = 722,
1412
- PG_QUERY__TOKEN__XMLTABLE = 723,
1413
- PG_QUERY__TOKEN__YEAR_P = 724,
1414
- PG_QUERY__TOKEN__YES_P = 725,
1415
- PG_QUERY__TOKEN__ZONE = 726,
1416
- PG_QUERY__TOKEN__NOT_LA = 727,
1417
- PG_QUERY__TOKEN__NULLS_LA = 728,
1418
- PG_QUERY__TOKEN__WITH_LA = 729,
1419
- PG_QUERY__TOKEN__POSTFIXOP = 730,
1420
- PG_QUERY__TOKEN__UMINUS = 731
1026
+ PG_QUERY__TOKEN__ASENSITIVE = 296,
1027
+ PG_QUERY__TOKEN__ASSERTION = 297,
1028
+ PG_QUERY__TOKEN__ASSIGNMENT = 298,
1029
+ PG_QUERY__TOKEN__ASYMMETRIC = 299,
1030
+ PG_QUERY__TOKEN__ATOMIC = 300,
1031
+ PG_QUERY__TOKEN__AT = 301,
1032
+ PG_QUERY__TOKEN__ATTACH = 302,
1033
+ PG_QUERY__TOKEN__ATTRIBUTE = 303,
1034
+ PG_QUERY__TOKEN__AUTHORIZATION = 304,
1035
+ PG_QUERY__TOKEN__BACKWARD = 305,
1036
+ PG_QUERY__TOKEN__BEFORE = 306,
1037
+ PG_QUERY__TOKEN__BEGIN_P = 307,
1038
+ PG_QUERY__TOKEN__BETWEEN = 308,
1039
+ PG_QUERY__TOKEN__BIGINT = 309,
1040
+ PG_QUERY__TOKEN__BINARY = 310,
1041
+ PG_QUERY__TOKEN__BIT = 311,
1042
+ PG_QUERY__TOKEN__BOOLEAN_P = 312,
1043
+ PG_QUERY__TOKEN__BOTH = 313,
1044
+ PG_QUERY__TOKEN__BREADTH = 314,
1045
+ PG_QUERY__TOKEN__BY = 315,
1046
+ PG_QUERY__TOKEN__CACHE = 316,
1047
+ PG_QUERY__TOKEN__CALL = 317,
1048
+ PG_QUERY__TOKEN__CALLED = 318,
1049
+ PG_QUERY__TOKEN__CASCADE = 319,
1050
+ PG_QUERY__TOKEN__CASCADED = 320,
1051
+ PG_QUERY__TOKEN__CASE = 321,
1052
+ PG_QUERY__TOKEN__CAST = 322,
1053
+ PG_QUERY__TOKEN__CATALOG_P = 323,
1054
+ PG_QUERY__TOKEN__CHAIN = 324,
1055
+ PG_QUERY__TOKEN__CHAR_P = 325,
1056
+ PG_QUERY__TOKEN__CHARACTER = 326,
1057
+ PG_QUERY__TOKEN__CHARACTERISTICS = 327,
1058
+ PG_QUERY__TOKEN__CHECK = 328,
1059
+ PG_QUERY__TOKEN__CHECKPOINT = 329,
1060
+ PG_QUERY__TOKEN__CLASS = 330,
1061
+ PG_QUERY__TOKEN__CLOSE = 331,
1062
+ PG_QUERY__TOKEN__CLUSTER = 332,
1063
+ PG_QUERY__TOKEN__COALESCE = 333,
1064
+ PG_QUERY__TOKEN__COLLATE = 334,
1065
+ PG_QUERY__TOKEN__COLLATION = 335,
1066
+ PG_QUERY__TOKEN__COLUMN = 336,
1067
+ PG_QUERY__TOKEN__COLUMNS = 337,
1068
+ PG_QUERY__TOKEN__COMMENT = 338,
1069
+ PG_QUERY__TOKEN__COMMENTS = 339,
1070
+ PG_QUERY__TOKEN__COMMIT = 340,
1071
+ PG_QUERY__TOKEN__COMMITTED = 341,
1072
+ PG_QUERY__TOKEN__COMPRESSION = 342,
1073
+ PG_QUERY__TOKEN__CONCURRENTLY = 343,
1074
+ PG_QUERY__TOKEN__CONFIGURATION = 344,
1075
+ PG_QUERY__TOKEN__CONFLICT = 345,
1076
+ PG_QUERY__TOKEN__CONNECTION = 346,
1077
+ PG_QUERY__TOKEN__CONSTRAINT = 347,
1078
+ PG_QUERY__TOKEN__CONSTRAINTS = 348,
1079
+ PG_QUERY__TOKEN__CONTENT_P = 349,
1080
+ PG_QUERY__TOKEN__CONTINUE_P = 350,
1081
+ PG_QUERY__TOKEN__CONVERSION_P = 351,
1082
+ PG_QUERY__TOKEN__COPY = 352,
1083
+ PG_QUERY__TOKEN__COST = 353,
1084
+ PG_QUERY__TOKEN__CREATE = 354,
1085
+ PG_QUERY__TOKEN__CROSS = 355,
1086
+ PG_QUERY__TOKEN__CSV = 356,
1087
+ PG_QUERY__TOKEN__CUBE = 357,
1088
+ PG_QUERY__TOKEN__CURRENT_P = 358,
1089
+ PG_QUERY__TOKEN__CURRENT_CATALOG = 359,
1090
+ PG_QUERY__TOKEN__CURRENT_DATE = 360,
1091
+ PG_QUERY__TOKEN__CURRENT_ROLE = 361,
1092
+ PG_QUERY__TOKEN__CURRENT_SCHEMA = 362,
1093
+ PG_QUERY__TOKEN__CURRENT_TIME = 363,
1094
+ PG_QUERY__TOKEN__CURRENT_TIMESTAMP = 364,
1095
+ PG_QUERY__TOKEN__CURRENT_USER = 365,
1096
+ PG_QUERY__TOKEN__CURSOR = 366,
1097
+ PG_QUERY__TOKEN__CYCLE = 367,
1098
+ PG_QUERY__TOKEN__DATA_P = 368,
1099
+ PG_QUERY__TOKEN__DATABASE = 369,
1100
+ PG_QUERY__TOKEN__DAY_P = 370,
1101
+ PG_QUERY__TOKEN__DEALLOCATE = 371,
1102
+ PG_QUERY__TOKEN__DEC = 372,
1103
+ PG_QUERY__TOKEN__DECIMAL_P = 373,
1104
+ PG_QUERY__TOKEN__DECLARE = 374,
1105
+ PG_QUERY__TOKEN__DEFAULT = 375,
1106
+ PG_QUERY__TOKEN__DEFAULTS = 376,
1107
+ PG_QUERY__TOKEN__DEFERRABLE = 377,
1108
+ PG_QUERY__TOKEN__DEFERRED = 378,
1109
+ PG_QUERY__TOKEN__DEFINER = 379,
1110
+ PG_QUERY__TOKEN__DELETE_P = 380,
1111
+ PG_QUERY__TOKEN__DELIMITER = 381,
1112
+ PG_QUERY__TOKEN__DELIMITERS = 382,
1113
+ PG_QUERY__TOKEN__DEPENDS = 383,
1114
+ PG_QUERY__TOKEN__DEPTH = 384,
1115
+ PG_QUERY__TOKEN__DESC = 385,
1116
+ PG_QUERY__TOKEN__DETACH = 386,
1117
+ PG_QUERY__TOKEN__DICTIONARY = 387,
1118
+ PG_QUERY__TOKEN__DISABLE_P = 388,
1119
+ PG_QUERY__TOKEN__DISCARD = 389,
1120
+ PG_QUERY__TOKEN__DISTINCT = 390,
1121
+ PG_QUERY__TOKEN__DO = 391,
1122
+ PG_QUERY__TOKEN__DOCUMENT_P = 392,
1123
+ PG_QUERY__TOKEN__DOMAIN_P = 393,
1124
+ PG_QUERY__TOKEN__DOUBLE_P = 394,
1125
+ PG_QUERY__TOKEN__DROP = 395,
1126
+ PG_QUERY__TOKEN__EACH = 396,
1127
+ PG_QUERY__TOKEN__ELSE = 397,
1128
+ PG_QUERY__TOKEN__ENABLE_P = 398,
1129
+ PG_QUERY__TOKEN__ENCODING = 399,
1130
+ PG_QUERY__TOKEN__ENCRYPTED = 400,
1131
+ PG_QUERY__TOKEN__END_P = 401,
1132
+ PG_QUERY__TOKEN__ENUM_P = 402,
1133
+ PG_QUERY__TOKEN__ESCAPE = 403,
1134
+ PG_QUERY__TOKEN__EVENT = 404,
1135
+ PG_QUERY__TOKEN__EXCEPT = 405,
1136
+ PG_QUERY__TOKEN__EXCLUDE = 406,
1137
+ PG_QUERY__TOKEN__EXCLUDING = 407,
1138
+ PG_QUERY__TOKEN__EXCLUSIVE = 408,
1139
+ PG_QUERY__TOKEN__EXECUTE = 409,
1140
+ PG_QUERY__TOKEN__EXISTS = 410,
1141
+ PG_QUERY__TOKEN__EXPLAIN = 411,
1142
+ PG_QUERY__TOKEN__EXPRESSION = 412,
1143
+ PG_QUERY__TOKEN__EXTENSION = 413,
1144
+ PG_QUERY__TOKEN__EXTERNAL = 414,
1145
+ PG_QUERY__TOKEN__EXTRACT = 415,
1146
+ PG_QUERY__TOKEN__FALSE_P = 416,
1147
+ PG_QUERY__TOKEN__FAMILY = 417,
1148
+ PG_QUERY__TOKEN__FETCH = 418,
1149
+ PG_QUERY__TOKEN__FILTER = 419,
1150
+ PG_QUERY__TOKEN__FINALIZE = 420,
1151
+ PG_QUERY__TOKEN__FIRST_P = 421,
1152
+ PG_QUERY__TOKEN__FLOAT_P = 422,
1153
+ PG_QUERY__TOKEN__FOLLOWING = 423,
1154
+ PG_QUERY__TOKEN__FOR = 424,
1155
+ PG_QUERY__TOKEN__FORCE = 425,
1156
+ PG_QUERY__TOKEN__FOREIGN = 426,
1157
+ PG_QUERY__TOKEN__FORWARD = 427,
1158
+ PG_QUERY__TOKEN__FREEZE = 428,
1159
+ PG_QUERY__TOKEN__FROM = 429,
1160
+ PG_QUERY__TOKEN__FULL = 430,
1161
+ PG_QUERY__TOKEN__FUNCTION = 431,
1162
+ PG_QUERY__TOKEN__FUNCTIONS = 432,
1163
+ PG_QUERY__TOKEN__GENERATED = 433,
1164
+ PG_QUERY__TOKEN__GLOBAL = 434,
1165
+ PG_QUERY__TOKEN__GRANT = 435,
1166
+ PG_QUERY__TOKEN__GRANTED = 436,
1167
+ PG_QUERY__TOKEN__GREATEST = 437,
1168
+ PG_QUERY__TOKEN__GROUP_P = 438,
1169
+ PG_QUERY__TOKEN__GROUPING = 439,
1170
+ PG_QUERY__TOKEN__GROUPS = 440,
1171
+ PG_QUERY__TOKEN__HANDLER = 441,
1172
+ PG_QUERY__TOKEN__HAVING = 442,
1173
+ PG_QUERY__TOKEN__HEADER_P = 443,
1174
+ PG_QUERY__TOKEN__HOLD = 444,
1175
+ PG_QUERY__TOKEN__HOUR_P = 445,
1176
+ PG_QUERY__TOKEN__IDENTITY_P = 446,
1177
+ PG_QUERY__TOKEN__IF_P = 447,
1178
+ PG_QUERY__TOKEN__ILIKE = 448,
1179
+ PG_QUERY__TOKEN__IMMEDIATE = 449,
1180
+ PG_QUERY__TOKEN__IMMUTABLE = 450,
1181
+ PG_QUERY__TOKEN__IMPLICIT_P = 451,
1182
+ PG_QUERY__TOKEN__IMPORT_P = 452,
1183
+ PG_QUERY__TOKEN__IN_P = 453,
1184
+ PG_QUERY__TOKEN__INCLUDE = 454,
1185
+ PG_QUERY__TOKEN__INCLUDING = 455,
1186
+ PG_QUERY__TOKEN__INCREMENT = 456,
1187
+ PG_QUERY__TOKEN__INDEX = 457,
1188
+ PG_QUERY__TOKEN__INDEXES = 458,
1189
+ PG_QUERY__TOKEN__INHERIT = 459,
1190
+ PG_QUERY__TOKEN__INHERITS = 460,
1191
+ PG_QUERY__TOKEN__INITIALLY = 461,
1192
+ PG_QUERY__TOKEN__INLINE_P = 462,
1193
+ PG_QUERY__TOKEN__INNER_P = 463,
1194
+ PG_QUERY__TOKEN__INOUT = 464,
1195
+ PG_QUERY__TOKEN__INPUT_P = 465,
1196
+ PG_QUERY__TOKEN__INSENSITIVE = 466,
1197
+ PG_QUERY__TOKEN__INSERT = 467,
1198
+ PG_QUERY__TOKEN__INSTEAD = 468,
1199
+ PG_QUERY__TOKEN__INT_P = 469,
1200
+ PG_QUERY__TOKEN__INTEGER = 470,
1201
+ PG_QUERY__TOKEN__INTERSECT = 471,
1202
+ PG_QUERY__TOKEN__INTERVAL = 472,
1203
+ PG_QUERY__TOKEN__INTO = 473,
1204
+ PG_QUERY__TOKEN__INVOKER = 474,
1205
+ PG_QUERY__TOKEN__IS = 475,
1206
+ PG_QUERY__TOKEN__ISNULL = 476,
1207
+ PG_QUERY__TOKEN__ISOLATION = 477,
1208
+ PG_QUERY__TOKEN__JOIN = 478,
1209
+ PG_QUERY__TOKEN__KEY = 479,
1210
+ PG_QUERY__TOKEN__LABEL = 480,
1211
+ PG_QUERY__TOKEN__LANGUAGE = 481,
1212
+ PG_QUERY__TOKEN__LARGE_P = 482,
1213
+ PG_QUERY__TOKEN__LAST_P = 483,
1214
+ PG_QUERY__TOKEN__LATERAL_P = 484,
1215
+ PG_QUERY__TOKEN__LEADING = 485,
1216
+ PG_QUERY__TOKEN__LEAKPROOF = 486,
1217
+ PG_QUERY__TOKEN__LEAST = 487,
1218
+ PG_QUERY__TOKEN__LEFT = 488,
1219
+ PG_QUERY__TOKEN__LEVEL = 489,
1220
+ PG_QUERY__TOKEN__LIKE = 490,
1221
+ PG_QUERY__TOKEN__LIMIT = 491,
1222
+ PG_QUERY__TOKEN__LISTEN = 492,
1223
+ PG_QUERY__TOKEN__LOAD = 493,
1224
+ PG_QUERY__TOKEN__LOCAL = 494,
1225
+ PG_QUERY__TOKEN__LOCALTIME = 495,
1226
+ PG_QUERY__TOKEN__LOCALTIMESTAMP = 496,
1227
+ PG_QUERY__TOKEN__LOCATION = 497,
1228
+ PG_QUERY__TOKEN__LOCK_P = 498,
1229
+ PG_QUERY__TOKEN__LOCKED = 499,
1230
+ PG_QUERY__TOKEN__LOGGED = 500,
1231
+ PG_QUERY__TOKEN__MAPPING = 501,
1232
+ PG_QUERY__TOKEN__MATCH = 502,
1233
+ PG_QUERY__TOKEN__MATCHED = 503,
1234
+ PG_QUERY__TOKEN__MATERIALIZED = 504,
1235
+ PG_QUERY__TOKEN__MAXVALUE = 505,
1236
+ PG_QUERY__TOKEN__MERGE = 506,
1237
+ PG_QUERY__TOKEN__METHOD = 507,
1238
+ PG_QUERY__TOKEN__MINUTE_P = 508,
1239
+ PG_QUERY__TOKEN__MINVALUE = 509,
1240
+ PG_QUERY__TOKEN__MODE = 510,
1241
+ PG_QUERY__TOKEN__MONTH_P = 511,
1242
+ PG_QUERY__TOKEN__MOVE = 512,
1243
+ PG_QUERY__TOKEN__NAME_P = 513,
1244
+ PG_QUERY__TOKEN__NAMES = 514,
1245
+ PG_QUERY__TOKEN__NATIONAL = 515,
1246
+ PG_QUERY__TOKEN__NATURAL = 516,
1247
+ PG_QUERY__TOKEN__NCHAR = 517,
1248
+ PG_QUERY__TOKEN__NEW = 518,
1249
+ PG_QUERY__TOKEN__NEXT = 519,
1250
+ PG_QUERY__TOKEN__NFC = 520,
1251
+ PG_QUERY__TOKEN__NFD = 521,
1252
+ PG_QUERY__TOKEN__NFKC = 522,
1253
+ PG_QUERY__TOKEN__NFKD = 523,
1254
+ PG_QUERY__TOKEN__NO = 524,
1255
+ PG_QUERY__TOKEN__NONE = 525,
1256
+ PG_QUERY__TOKEN__NORMALIZE = 526,
1257
+ PG_QUERY__TOKEN__NORMALIZED = 527,
1258
+ PG_QUERY__TOKEN__NOT = 528,
1259
+ PG_QUERY__TOKEN__NOTHING = 529,
1260
+ PG_QUERY__TOKEN__NOTIFY = 530,
1261
+ PG_QUERY__TOKEN__NOTNULL = 531,
1262
+ PG_QUERY__TOKEN__NOWAIT = 532,
1263
+ PG_QUERY__TOKEN__NULL_P = 533,
1264
+ PG_QUERY__TOKEN__NULLIF = 534,
1265
+ PG_QUERY__TOKEN__NULLS_P = 535,
1266
+ PG_QUERY__TOKEN__NUMERIC = 536,
1267
+ PG_QUERY__TOKEN__OBJECT_P = 537,
1268
+ PG_QUERY__TOKEN__OF = 538,
1269
+ PG_QUERY__TOKEN__OFF = 539,
1270
+ PG_QUERY__TOKEN__OFFSET = 540,
1271
+ PG_QUERY__TOKEN__OIDS = 541,
1272
+ PG_QUERY__TOKEN__OLD = 542,
1273
+ PG_QUERY__TOKEN__ON = 543,
1274
+ PG_QUERY__TOKEN__ONLY = 544,
1275
+ PG_QUERY__TOKEN__OPERATOR = 545,
1276
+ PG_QUERY__TOKEN__OPTION = 546,
1277
+ PG_QUERY__TOKEN__OPTIONS = 547,
1278
+ PG_QUERY__TOKEN__OR = 548,
1279
+ PG_QUERY__TOKEN__ORDER = 549,
1280
+ PG_QUERY__TOKEN__ORDINALITY = 550,
1281
+ PG_QUERY__TOKEN__OTHERS = 551,
1282
+ PG_QUERY__TOKEN__OUT_P = 552,
1283
+ PG_QUERY__TOKEN__OUTER_P = 553,
1284
+ PG_QUERY__TOKEN__OVER = 554,
1285
+ PG_QUERY__TOKEN__OVERLAPS = 555,
1286
+ PG_QUERY__TOKEN__OVERLAY = 556,
1287
+ PG_QUERY__TOKEN__OVERRIDING = 557,
1288
+ PG_QUERY__TOKEN__OWNED = 558,
1289
+ PG_QUERY__TOKEN__OWNER = 559,
1290
+ PG_QUERY__TOKEN__PARALLEL = 560,
1291
+ PG_QUERY__TOKEN__PARAMETER = 561,
1292
+ PG_QUERY__TOKEN__PARSER = 562,
1293
+ PG_QUERY__TOKEN__PARTIAL = 563,
1294
+ PG_QUERY__TOKEN__PARTITION = 564,
1295
+ PG_QUERY__TOKEN__PASSING = 565,
1296
+ PG_QUERY__TOKEN__PASSWORD = 566,
1297
+ PG_QUERY__TOKEN__PLACING = 567,
1298
+ PG_QUERY__TOKEN__PLANS = 568,
1299
+ PG_QUERY__TOKEN__POLICY = 569,
1300
+ PG_QUERY__TOKEN__POSITION = 570,
1301
+ PG_QUERY__TOKEN__PRECEDING = 571,
1302
+ PG_QUERY__TOKEN__PRECISION = 572,
1303
+ PG_QUERY__TOKEN__PRESERVE = 573,
1304
+ PG_QUERY__TOKEN__PREPARE = 574,
1305
+ PG_QUERY__TOKEN__PREPARED = 575,
1306
+ PG_QUERY__TOKEN__PRIMARY = 576,
1307
+ PG_QUERY__TOKEN__PRIOR = 577,
1308
+ PG_QUERY__TOKEN__PRIVILEGES = 578,
1309
+ PG_QUERY__TOKEN__PROCEDURAL = 579,
1310
+ PG_QUERY__TOKEN__PROCEDURE = 580,
1311
+ PG_QUERY__TOKEN__PROCEDURES = 581,
1312
+ PG_QUERY__TOKEN__PROGRAM = 582,
1313
+ PG_QUERY__TOKEN__PUBLICATION = 583,
1314
+ PG_QUERY__TOKEN__QUOTE = 584,
1315
+ PG_QUERY__TOKEN__RANGE = 585,
1316
+ PG_QUERY__TOKEN__READ = 586,
1317
+ PG_QUERY__TOKEN__REAL = 587,
1318
+ PG_QUERY__TOKEN__REASSIGN = 588,
1319
+ PG_QUERY__TOKEN__RECHECK = 589,
1320
+ PG_QUERY__TOKEN__RECURSIVE = 590,
1321
+ PG_QUERY__TOKEN__REF_P = 591,
1322
+ PG_QUERY__TOKEN__REFERENCES = 592,
1323
+ PG_QUERY__TOKEN__REFERENCING = 593,
1324
+ PG_QUERY__TOKEN__REFRESH = 594,
1325
+ PG_QUERY__TOKEN__REINDEX = 595,
1326
+ PG_QUERY__TOKEN__RELATIVE_P = 596,
1327
+ PG_QUERY__TOKEN__RELEASE = 597,
1328
+ PG_QUERY__TOKEN__RENAME = 598,
1329
+ PG_QUERY__TOKEN__REPEATABLE = 599,
1330
+ PG_QUERY__TOKEN__REPLACE = 600,
1331
+ PG_QUERY__TOKEN__REPLICA = 601,
1332
+ PG_QUERY__TOKEN__RESET = 602,
1333
+ PG_QUERY__TOKEN__RESTART = 603,
1334
+ PG_QUERY__TOKEN__RESTRICT = 604,
1335
+ PG_QUERY__TOKEN__RETURN = 605,
1336
+ PG_QUERY__TOKEN__RETURNING = 606,
1337
+ PG_QUERY__TOKEN__RETURNS = 607,
1338
+ PG_QUERY__TOKEN__REVOKE = 608,
1339
+ PG_QUERY__TOKEN__RIGHT = 609,
1340
+ PG_QUERY__TOKEN__ROLE = 610,
1341
+ PG_QUERY__TOKEN__ROLLBACK = 611,
1342
+ PG_QUERY__TOKEN__ROLLUP = 612,
1343
+ PG_QUERY__TOKEN__ROUTINE = 613,
1344
+ PG_QUERY__TOKEN__ROUTINES = 614,
1345
+ PG_QUERY__TOKEN__ROW = 615,
1346
+ PG_QUERY__TOKEN__ROWS = 616,
1347
+ PG_QUERY__TOKEN__RULE = 617,
1348
+ PG_QUERY__TOKEN__SAVEPOINT = 618,
1349
+ PG_QUERY__TOKEN__SCHEMA = 619,
1350
+ PG_QUERY__TOKEN__SCHEMAS = 620,
1351
+ PG_QUERY__TOKEN__SCROLL = 621,
1352
+ PG_QUERY__TOKEN__SEARCH = 622,
1353
+ PG_QUERY__TOKEN__SECOND_P = 623,
1354
+ PG_QUERY__TOKEN__SECURITY = 624,
1355
+ PG_QUERY__TOKEN__SELECT = 625,
1356
+ PG_QUERY__TOKEN__SEQUENCE = 626,
1357
+ PG_QUERY__TOKEN__SEQUENCES = 627,
1358
+ PG_QUERY__TOKEN__SERIALIZABLE = 628,
1359
+ PG_QUERY__TOKEN__SERVER = 629,
1360
+ PG_QUERY__TOKEN__SESSION = 630,
1361
+ PG_QUERY__TOKEN__SESSION_USER = 631,
1362
+ PG_QUERY__TOKEN__SET = 632,
1363
+ PG_QUERY__TOKEN__SETS = 633,
1364
+ PG_QUERY__TOKEN__SETOF = 634,
1365
+ PG_QUERY__TOKEN__SHARE = 635,
1366
+ PG_QUERY__TOKEN__SHOW = 636,
1367
+ PG_QUERY__TOKEN__SIMILAR = 637,
1368
+ PG_QUERY__TOKEN__SIMPLE = 638,
1369
+ PG_QUERY__TOKEN__SKIP = 639,
1370
+ PG_QUERY__TOKEN__SMALLINT = 640,
1371
+ PG_QUERY__TOKEN__SNAPSHOT = 641,
1372
+ PG_QUERY__TOKEN__SOME = 642,
1373
+ PG_QUERY__TOKEN__SQL_P = 643,
1374
+ PG_QUERY__TOKEN__STABLE = 644,
1375
+ PG_QUERY__TOKEN__STANDALONE_P = 645,
1376
+ PG_QUERY__TOKEN__START = 646,
1377
+ PG_QUERY__TOKEN__STATEMENT = 647,
1378
+ PG_QUERY__TOKEN__STATISTICS = 648,
1379
+ PG_QUERY__TOKEN__STDIN = 649,
1380
+ PG_QUERY__TOKEN__STDOUT = 650,
1381
+ PG_QUERY__TOKEN__STORAGE = 651,
1382
+ PG_QUERY__TOKEN__STORED = 652,
1383
+ PG_QUERY__TOKEN__STRICT_P = 653,
1384
+ PG_QUERY__TOKEN__STRIP_P = 654,
1385
+ PG_QUERY__TOKEN__SUBSCRIPTION = 655,
1386
+ PG_QUERY__TOKEN__SUBSTRING = 656,
1387
+ PG_QUERY__TOKEN__SUPPORT = 657,
1388
+ PG_QUERY__TOKEN__SYMMETRIC = 658,
1389
+ PG_QUERY__TOKEN__SYSID = 659,
1390
+ PG_QUERY__TOKEN__SYSTEM_P = 660,
1391
+ PG_QUERY__TOKEN__TABLE = 661,
1392
+ PG_QUERY__TOKEN__TABLES = 662,
1393
+ PG_QUERY__TOKEN__TABLESAMPLE = 663,
1394
+ PG_QUERY__TOKEN__TABLESPACE = 664,
1395
+ PG_QUERY__TOKEN__TEMP = 665,
1396
+ PG_QUERY__TOKEN__TEMPLATE = 666,
1397
+ PG_QUERY__TOKEN__TEMPORARY = 667,
1398
+ PG_QUERY__TOKEN__TEXT_P = 668,
1399
+ PG_QUERY__TOKEN__THEN = 669,
1400
+ PG_QUERY__TOKEN__TIES = 670,
1401
+ PG_QUERY__TOKEN__TIME = 671,
1402
+ PG_QUERY__TOKEN__TIMESTAMP = 672,
1403
+ PG_QUERY__TOKEN__TO = 673,
1404
+ PG_QUERY__TOKEN__TRAILING = 674,
1405
+ PG_QUERY__TOKEN__TRANSACTION = 675,
1406
+ PG_QUERY__TOKEN__TRANSFORM = 676,
1407
+ PG_QUERY__TOKEN__TREAT = 677,
1408
+ PG_QUERY__TOKEN__TRIGGER = 678,
1409
+ PG_QUERY__TOKEN__TRIM = 679,
1410
+ PG_QUERY__TOKEN__TRUE_P = 680,
1411
+ PG_QUERY__TOKEN__TRUNCATE = 681,
1412
+ PG_QUERY__TOKEN__TRUSTED = 682,
1413
+ PG_QUERY__TOKEN__TYPE_P = 683,
1414
+ PG_QUERY__TOKEN__TYPES_P = 684,
1415
+ PG_QUERY__TOKEN__UESCAPE = 685,
1416
+ PG_QUERY__TOKEN__UNBOUNDED = 686,
1417
+ PG_QUERY__TOKEN__UNCOMMITTED = 687,
1418
+ PG_QUERY__TOKEN__UNENCRYPTED = 688,
1419
+ PG_QUERY__TOKEN__UNION = 689,
1420
+ PG_QUERY__TOKEN__UNIQUE = 690,
1421
+ PG_QUERY__TOKEN__UNKNOWN = 691,
1422
+ PG_QUERY__TOKEN__UNLISTEN = 692,
1423
+ PG_QUERY__TOKEN__UNLOGGED = 693,
1424
+ PG_QUERY__TOKEN__UNTIL = 694,
1425
+ PG_QUERY__TOKEN__UPDATE = 695,
1426
+ PG_QUERY__TOKEN__USER = 696,
1427
+ PG_QUERY__TOKEN__USING = 697,
1428
+ PG_QUERY__TOKEN__VACUUM = 698,
1429
+ PG_QUERY__TOKEN__VALID = 699,
1430
+ PG_QUERY__TOKEN__VALIDATE = 700,
1431
+ PG_QUERY__TOKEN__VALIDATOR = 701,
1432
+ PG_QUERY__TOKEN__VALUE_P = 702,
1433
+ PG_QUERY__TOKEN__VALUES = 703,
1434
+ PG_QUERY__TOKEN__VARCHAR = 704,
1435
+ PG_QUERY__TOKEN__VARIADIC = 705,
1436
+ PG_QUERY__TOKEN__VARYING = 706,
1437
+ PG_QUERY__TOKEN__VERBOSE = 707,
1438
+ PG_QUERY__TOKEN__VERSION_P = 708,
1439
+ PG_QUERY__TOKEN__VIEW = 709,
1440
+ PG_QUERY__TOKEN__VIEWS = 710,
1441
+ PG_QUERY__TOKEN__VOLATILE = 711,
1442
+ PG_QUERY__TOKEN__WHEN = 712,
1443
+ PG_QUERY__TOKEN__WHERE = 713,
1444
+ PG_QUERY__TOKEN__WHITESPACE_P = 714,
1445
+ PG_QUERY__TOKEN__WINDOW = 715,
1446
+ PG_QUERY__TOKEN__WITH = 716,
1447
+ PG_QUERY__TOKEN__WITHIN = 717,
1448
+ PG_QUERY__TOKEN__WITHOUT = 718,
1449
+ PG_QUERY__TOKEN__WORK = 719,
1450
+ PG_QUERY__TOKEN__WRAPPER = 720,
1451
+ PG_QUERY__TOKEN__WRITE = 721,
1452
+ PG_QUERY__TOKEN__XML_P = 722,
1453
+ PG_QUERY__TOKEN__XMLATTRIBUTES = 723,
1454
+ PG_QUERY__TOKEN__XMLCONCAT = 724,
1455
+ PG_QUERY__TOKEN__XMLELEMENT = 725,
1456
+ PG_QUERY__TOKEN__XMLEXISTS = 726,
1457
+ PG_QUERY__TOKEN__XMLFOREST = 727,
1458
+ PG_QUERY__TOKEN__XMLNAMESPACES = 728,
1459
+ PG_QUERY__TOKEN__XMLPARSE = 729,
1460
+ PG_QUERY__TOKEN__XMLPI = 730,
1461
+ PG_QUERY__TOKEN__XMLROOT = 731,
1462
+ PG_QUERY__TOKEN__XMLSERIALIZE = 732,
1463
+ PG_QUERY__TOKEN__XMLTABLE = 733,
1464
+ PG_QUERY__TOKEN__YEAR_P = 734,
1465
+ PG_QUERY__TOKEN__YES_P = 735,
1466
+ PG_QUERY__TOKEN__ZONE = 736,
1467
+ PG_QUERY__TOKEN__NOT_LA = 737,
1468
+ PG_QUERY__TOKEN__NULLS_LA = 738,
1469
+ PG_QUERY__TOKEN__WITH_LA = 739,
1470
+ PG_QUERY__TOKEN__MODE_TYPE_NAME = 740,
1471
+ PG_QUERY__TOKEN__MODE_PLPGSQL_EXPR = 741,
1472
+ PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN1 = 742,
1473
+ PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN2 = 743,
1474
+ PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN3 = 744,
1475
+ PG_QUERY__TOKEN__UMINUS = 745
1421
1476
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__TOKEN)
1422
1477
  } PgQuery__Token;
1423
1478
 
@@ -1452,231 +1507,241 @@ typedef enum {
1452
1507
  PG_QUERY__NODE__NODE_ALIAS = 1,
1453
1508
  PG_QUERY__NODE__NODE_RANGE_VAR = 2,
1454
1509
  PG_QUERY__NODE__NODE_TABLE_FUNC = 3,
1455
- PG_QUERY__NODE__NODE_EXPR = 4,
1456
- PG_QUERY__NODE__NODE_VAR = 5,
1457
- PG_QUERY__NODE__NODE_PARAM = 6,
1458
- PG_QUERY__NODE__NODE_AGGREF = 7,
1459
- PG_QUERY__NODE__NODE_GROUPING_FUNC = 8,
1460
- PG_QUERY__NODE__NODE_WINDOW_FUNC = 9,
1461
- PG_QUERY__NODE__NODE_SUBSCRIPTING_REF = 10,
1462
- PG_QUERY__NODE__NODE_FUNC_EXPR = 11,
1463
- PG_QUERY__NODE__NODE_NAMED_ARG_EXPR = 12,
1464
- PG_QUERY__NODE__NODE_OP_EXPR = 13,
1465
- PG_QUERY__NODE__NODE_DISTINCT_EXPR = 14,
1466
- PG_QUERY__NODE__NODE_NULL_IF_EXPR = 15,
1467
- PG_QUERY__NODE__NODE_SCALAR_ARRAY_OP_EXPR = 16,
1468
- PG_QUERY__NODE__NODE_BOOL_EXPR = 17,
1469
- PG_QUERY__NODE__NODE_SUB_LINK = 18,
1470
- PG_QUERY__NODE__NODE_SUB_PLAN = 19,
1471
- PG_QUERY__NODE__NODE_ALTERNATIVE_SUB_PLAN = 20,
1472
- PG_QUERY__NODE__NODE_FIELD_SELECT = 21,
1473
- PG_QUERY__NODE__NODE_FIELD_STORE = 22,
1474
- PG_QUERY__NODE__NODE_RELABEL_TYPE = 23,
1475
- PG_QUERY__NODE__NODE_COERCE_VIA_IO = 24,
1476
- PG_QUERY__NODE__NODE_ARRAY_COERCE_EXPR = 25,
1477
- PG_QUERY__NODE__NODE_CONVERT_ROWTYPE_EXPR = 26,
1478
- PG_QUERY__NODE__NODE_COLLATE_EXPR = 27,
1479
- PG_QUERY__NODE__NODE_CASE_EXPR = 28,
1480
- PG_QUERY__NODE__NODE_CASE_WHEN = 29,
1481
- PG_QUERY__NODE__NODE_CASE_TEST_EXPR = 30,
1482
- PG_QUERY__NODE__NODE_ARRAY_EXPR = 31,
1483
- PG_QUERY__NODE__NODE_ROW_EXPR = 32,
1484
- PG_QUERY__NODE__NODE_ROW_COMPARE_EXPR = 33,
1485
- PG_QUERY__NODE__NODE_COALESCE_EXPR = 34,
1486
- PG_QUERY__NODE__NODE_MIN_MAX_EXPR = 35,
1487
- PG_QUERY__NODE__NODE_SQLVALUE_FUNCTION = 36,
1488
- PG_QUERY__NODE__NODE_XML_EXPR = 37,
1489
- PG_QUERY__NODE__NODE_NULL_TEST = 38,
1490
- PG_QUERY__NODE__NODE_BOOLEAN_TEST = 39,
1491
- PG_QUERY__NODE__NODE_COERCE_TO_DOMAIN = 40,
1492
- PG_QUERY__NODE__NODE_COERCE_TO_DOMAIN_VALUE = 41,
1493
- PG_QUERY__NODE__NODE_SET_TO_DEFAULT = 42,
1494
- PG_QUERY__NODE__NODE_CURRENT_OF_EXPR = 43,
1495
- PG_QUERY__NODE__NODE_NEXT_VALUE_EXPR = 44,
1496
- PG_QUERY__NODE__NODE_INFERENCE_ELEM = 45,
1497
- PG_QUERY__NODE__NODE_TARGET_ENTRY = 46,
1498
- PG_QUERY__NODE__NODE_RANGE_TBL_REF = 47,
1499
- PG_QUERY__NODE__NODE_JOIN_EXPR = 48,
1500
- PG_QUERY__NODE__NODE_FROM_EXPR = 49,
1501
- PG_QUERY__NODE__NODE_ON_CONFLICT_EXPR = 50,
1502
- PG_QUERY__NODE__NODE_INTO_CLAUSE = 51,
1510
+ PG_QUERY__NODE__NODE_VAR = 4,
1511
+ PG_QUERY__NODE__NODE_PARAM = 5,
1512
+ PG_QUERY__NODE__NODE_AGGREF = 6,
1513
+ PG_QUERY__NODE__NODE_GROUPING_FUNC = 7,
1514
+ PG_QUERY__NODE__NODE_WINDOW_FUNC = 8,
1515
+ PG_QUERY__NODE__NODE_SUBSCRIPTING_REF = 9,
1516
+ PG_QUERY__NODE__NODE_FUNC_EXPR = 10,
1517
+ PG_QUERY__NODE__NODE_NAMED_ARG_EXPR = 11,
1518
+ PG_QUERY__NODE__NODE_OP_EXPR = 12,
1519
+ PG_QUERY__NODE__NODE_DISTINCT_EXPR = 13,
1520
+ PG_QUERY__NODE__NODE_NULL_IF_EXPR = 14,
1521
+ PG_QUERY__NODE__NODE_SCALAR_ARRAY_OP_EXPR = 15,
1522
+ PG_QUERY__NODE__NODE_BOOL_EXPR = 16,
1523
+ PG_QUERY__NODE__NODE_SUB_LINK = 17,
1524
+ PG_QUERY__NODE__NODE_SUB_PLAN = 18,
1525
+ PG_QUERY__NODE__NODE_ALTERNATIVE_SUB_PLAN = 19,
1526
+ PG_QUERY__NODE__NODE_FIELD_SELECT = 20,
1527
+ PG_QUERY__NODE__NODE_FIELD_STORE = 21,
1528
+ PG_QUERY__NODE__NODE_RELABEL_TYPE = 22,
1529
+ PG_QUERY__NODE__NODE_COERCE_VIA_IO = 23,
1530
+ PG_QUERY__NODE__NODE_ARRAY_COERCE_EXPR = 24,
1531
+ PG_QUERY__NODE__NODE_CONVERT_ROWTYPE_EXPR = 25,
1532
+ PG_QUERY__NODE__NODE_COLLATE_EXPR = 26,
1533
+ PG_QUERY__NODE__NODE_CASE_EXPR = 27,
1534
+ PG_QUERY__NODE__NODE_CASE_WHEN = 28,
1535
+ PG_QUERY__NODE__NODE_CASE_TEST_EXPR = 29,
1536
+ PG_QUERY__NODE__NODE_ARRAY_EXPR = 30,
1537
+ PG_QUERY__NODE__NODE_ROW_EXPR = 31,
1538
+ PG_QUERY__NODE__NODE_ROW_COMPARE_EXPR = 32,
1539
+ PG_QUERY__NODE__NODE_COALESCE_EXPR = 33,
1540
+ PG_QUERY__NODE__NODE_MIN_MAX_EXPR = 34,
1541
+ PG_QUERY__NODE__NODE_SQLVALUE_FUNCTION = 35,
1542
+ PG_QUERY__NODE__NODE_XML_EXPR = 36,
1543
+ PG_QUERY__NODE__NODE_NULL_TEST = 37,
1544
+ PG_QUERY__NODE__NODE_BOOLEAN_TEST = 38,
1545
+ PG_QUERY__NODE__NODE_COERCE_TO_DOMAIN = 39,
1546
+ PG_QUERY__NODE__NODE_COERCE_TO_DOMAIN_VALUE = 40,
1547
+ PG_QUERY__NODE__NODE_SET_TO_DEFAULT = 41,
1548
+ PG_QUERY__NODE__NODE_CURRENT_OF_EXPR = 42,
1549
+ PG_QUERY__NODE__NODE_NEXT_VALUE_EXPR = 43,
1550
+ PG_QUERY__NODE__NODE_INFERENCE_ELEM = 44,
1551
+ PG_QUERY__NODE__NODE_TARGET_ENTRY = 45,
1552
+ PG_QUERY__NODE__NODE_RANGE_TBL_REF = 46,
1553
+ PG_QUERY__NODE__NODE_JOIN_EXPR = 47,
1554
+ PG_QUERY__NODE__NODE_FROM_EXPR = 48,
1555
+ PG_QUERY__NODE__NODE_ON_CONFLICT_EXPR = 49,
1556
+ PG_QUERY__NODE__NODE_INTO_CLAUSE = 50,
1557
+ PG_QUERY__NODE__NODE_MERGE_ACTION = 51,
1503
1558
  PG_QUERY__NODE__NODE_RAW_STMT = 52,
1504
1559
  PG_QUERY__NODE__NODE_QUERY = 53,
1505
1560
  PG_QUERY__NODE__NODE_INSERT_STMT = 54,
1506
1561
  PG_QUERY__NODE__NODE_DELETE_STMT = 55,
1507
1562
  PG_QUERY__NODE__NODE_UPDATE_STMT = 56,
1508
- PG_QUERY__NODE__NODE_SELECT_STMT = 57,
1509
- PG_QUERY__NODE__NODE_ALTER_TABLE_STMT = 58,
1510
- PG_QUERY__NODE__NODE_ALTER_TABLE_CMD = 59,
1511
- PG_QUERY__NODE__NODE_ALTER_DOMAIN_STMT = 60,
1512
- PG_QUERY__NODE__NODE_SET_OPERATION_STMT = 61,
1513
- PG_QUERY__NODE__NODE_GRANT_STMT = 62,
1514
- PG_QUERY__NODE__NODE_GRANT_ROLE_STMT = 63,
1515
- PG_QUERY__NODE__NODE_ALTER_DEFAULT_PRIVILEGES_STMT = 64,
1516
- PG_QUERY__NODE__NODE_CLOSE_PORTAL_STMT = 65,
1517
- PG_QUERY__NODE__NODE_CLUSTER_STMT = 66,
1518
- PG_QUERY__NODE__NODE_COPY_STMT = 67,
1519
- PG_QUERY__NODE__NODE_CREATE_STMT = 68,
1520
- PG_QUERY__NODE__NODE_DEFINE_STMT = 69,
1521
- PG_QUERY__NODE__NODE_DROP_STMT = 70,
1522
- PG_QUERY__NODE__NODE_TRUNCATE_STMT = 71,
1523
- PG_QUERY__NODE__NODE_COMMENT_STMT = 72,
1524
- PG_QUERY__NODE__NODE_FETCH_STMT = 73,
1525
- PG_QUERY__NODE__NODE_INDEX_STMT = 74,
1526
- PG_QUERY__NODE__NODE_CREATE_FUNCTION_STMT = 75,
1527
- PG_QUERY__NODE__NODE_ALTER_FUNCTION_STMT = 76,
1528
- PG_QUERY__NODE__NODE_DO_STMT = 77,
1529
- PG_QUERY__NODE__NODE_RENAME_STMT = 78,
1530
- PG_QUERY__NODE__NODE_RULE_STMT = 79,
1531
- PG_QUERY__NODE__NODE_NOTIFY_STMT = 80,
1532
- PG_QUERY__NODE__NODE_LISTEN_STMT = 81,
1533
- PG_QUERY__NODE__NODE_UNLISTEN_STMT = 82,
1534
- PG_QUERY__NODE__NODE_TRANSACTION_STMT = 83,
1535
- PG_QUERY__NODE__NODE_VIEW_STMT = 84,
1536
- PG_QUERY__NODE__NODE_LOAD_STMT = 85,
1537
- PG_QUERY__NODE__NODE_CREATE_DOMAIN_STMT = 86,
1538
- PG_QUERY__NODE__NODE_CREATEDB_STMT = 87,
1539
- PG_QUERY__NODE__NODE_DROPDB_STMT = 88,
1540
- PG_QUERY__NODE__NODE_VACUUM_STMT = 89,
1541
- PG_QUERY__NODE__NODE_EXPLAIN_STMT = 90,
1542
- PG_QUERY__NODE__NODE_CREATE_TABLE_AS_STMT = 91,
1543
- PG_QUERY__NODE__NODE_CREATE_SEQ_STMT = 92,
1544
- PG_QUERY__NODE__NODE_ALTER_SEQ_STMT = 93,
1545
- PG_QUERY__NODE__NODE_VARIABLE_SET_STMT = 94,
1546
- PG_QUERY__NODE__NODE_VARIABLE_SHOW_STMT = 95,
1547
- PG_QUERY__NODE__NODE_DISCARD_STMT = 96,
1548
- PG_QUERY__NODE__NODE_CREATE_TRIG_STMT = 97,
1549
- PG_QUERY__NODE__NODE_CREATE_PLANG_STMT = 98,
1550
- PG_QUERY__NODE__NODE_CREATE_ROLE_STMT = 99,
1551
- PG_QUERY__NODE__NODE_ALTER_ROLE_STMT = 100,
1552
- PG_QUERY__NODE__NODE_DROP_ROLE_STMT = 101,
1553
- PG_QUERY__NODE__NODE_LOCK_STMT = 102,
1554
- PG_QUERY__NODE__NODE_CONSTRAINTS_SET_STMT = 103,
1555
- PG_QUERY__NODE__NODE_REINDEX_STMT = 104,
1556
- PG_QUERY__NODE__NODE_CHECK_POINT_STMT = 105,
1557
- PG_QUERY__NODE__NODE_CREATE_SCHEMA_STMT = 106,
1558
- PG_QUERY__NODE__NODE_ALTER_DATABASE_STMT = 107,
1559
- PG_QUERY__NODE__NODE_ALTER_DATABASE_SET_STMT = 108,
1560
- PG_QUERY__NODE__NODE_ALTER_ROLE_SET_STMT = 109,
1561
- PG_QUERY__NODE__NODE_CREATE_CONVERSION_STMT = 110,
1562
- PG_QUERY__NODE__NODE_CREATE_CAST_STMT = 111,
1563
- PG_QUERY__NODE__NODE_CREATE_OP_CLASS_STMT = 112,
1564
- PG_QUERY__NODE__NODE_CREATE_OP_FAMILY_STMT = 113,
1565
- PG_QUERY__NODE__NODE_ALTER_OP_FAMILY_STMT = 114,
1566
- PG_QUERY__NODE__NODE_PREPARE_STMT = 115,
1567
- PG_QUERY__NODE__NODE_EXECUTE_STMT = 116,
1568
- PG_QUERY__NODE__NODE_DEALLOCATE_STMT = 117,
1569
- PG_QUERY__NODE__NODE_DECLARE_CURSOR_STMT = 118,
1570
- PG_QUERY__NODE__NODE_CREATE_TABLE_SPACE_STMT = 119,
1571
- PG_QUERY__NODE__NODE_DROP_TABLE_SPACE_STMT = 120,
1572
- PG_QUERY__NODE__NODE_ALTER_OBJECT_DEPENDS_STMT = 121,
1573
- PG_QUERY__NODE__NODE_ALTER_OBJECT_SCHEMA_STMT = 122,
1574
- PG_QUERY__NODE__NODE_ALTER_OWNER_STMT = 123,
1575
- PG_QUERY__NODE__NODE_ALTER_OPERATOR_STMT = 124,
1576
- PG_QUERY__NODE__NODE_ALTER_TYPE_STMT = 125,
1577
- PG_QUERY__NODE__NODE_DROP_OWNED_STMT = 126,
1578
- PG_QUERY__NODE__NODE_REASSIGN_OWNED_STMT = 127,
1579
- PG_QUERY__NODE__NODE_COMPOSITE_TYPE_STMT = 128,
1580
- PG_QUERY__NODE__NODE_CREATE_ENUM_STMT = 129,
1581
- PG_QUERY__NODE__NODE_CREATE_RANGE_STMT = 130,
1582
- PG_QUERY__NODE__NODE_ALTER_ENUM_STMT = 131,
1583
- PG_QUERY__NODE__NODE_ALTER_TSDICTIONARY_STMT = 132,
1584
- PG_QUERY__NODE__NODE_ALTER_TSCONFIGURATION_STMT = 133,
1585
- PG_QUERY__NODE__NODE_CREATE_FDW_STMT = 134,
1586
- PG_QUERY__NODE__NODE_ALTER_FDW_STMT = 135,
1587
- PG_QUERY__NODE__NODE_CREATE_FOREIGN_SERVER_STMT = 136,
1588
- PG_QUERY__NODE__NODE_ALTER_FOREIGN_SERVER_STMT = 137,
1589
- PG_QUERY__NODE__NODE_CREATE_USER_MAPPING_STMT = 138,
1590
- PG_QUERY__NODE__NODE_ALTER_USER_MAPPING_STMT = 139,
1591
- PG_QUERY__NODE__NODE_DROP_USER_MAPPING_STMT = 140,
1592
- PG_QUERY__NODE__NODE_ALTER_TABLE_SPACE_OPTIONS_STMT = 141,
1593
- PG_QUERY__NODE__NODE_ALTER_TABLE_MOVE_ALL_STMT = 142,
1594
- PG_QUERY__NODE__NODE_SEC_LABEL_STMT = 143,
1595
- PG_QUERY__NODE__NODE_CREATE_FOREIGN_TABLE_STMT = 144,
1596
- PG_QUERY__NODE__NODE_IMPORT_FOREIGN_SCHEMA_STMT = 145,
1597
- PG_QUERY__NODE__NODE_CREATE_EXTENSION_STMT = 146,
1598
- PG_QUERY__NODE__NODE_ALTER_EXTENSION_STMT = 147,
1599
- PG_QUERY__NODE__NODE_ALTER_EXTENSION_CONTENTS_STMT = 148,
1600
- PG_QUERY__NODE__NODE_CREATE_EVENT_TRIG_STMT = 149,
1601
- PG_QUERY__NODE__NODE_ALTER_EVENT_TRIG_STMT = 150,
1602
- PG_QUERY__NODE__NODE_REFRESH_MAT_VIEW_STMT = 151,
1603
- PG_QUERY__NODE__NODE_REPLICA_IDENTITY_STMT = 152,
1604
- PG_QUERY__NODE__NODE_ALTER_SYSTEM_STMT = 153,
1605
- PG_QUERY__NODE__NODE_CREATE_POLICY_STMT = 154,
1606
- PG_QUERY__NODE__NODE_ALTER_POLICY_STMT = 155,
1607
- PG_QUERY__NODE__NODE_CREATE_TRANSFORM_STMT = 156,
1608
- PG_QUERY__NODE__NODE_CREATE_AM_STMT = 157,
1609
- PG_QUERY__NODE__NODE_CREATE_PUBLICATION_STMT = 158,
1610
- PG_QUERY__NODE__NODE_ALTER_PUBLICATION_STMT = 159,
1611
- PG_QUERY__NODE__NODE_CREATE_SUBSCRIPTION_STMT = 160,
1612
- PG_QUERY__NODE__NODE_ALTER_SUBSCRIPTION_STMT = 161,
1613
- PG_QUERY__NODE__NODE_DROP_SUBSCRIPTION_STMT = 162,
1614
- PG_QUERY__NODE__NODE_CREATE_STATS_STMT = 163,
1615
- PG_QUERY__NODE__NODE_ALTER_COLLATION_STMT = 164,
1616
- PG_QUERY__NODE__NODE_CALL_STMT = 165,
1617
- PG_QUERY__NODE__NODE_ALTER_STATS_STMT = 166,
1618
- PG_QUERY__NODE__NODE_A_EXPR = 167,
1619
- PG_QUERY__NODE__NODE_COLUMN_REF = 168,
1620
- PG_QUERY__NODE__NODE_PARAM_REF = 169,
1621
- PG_QUERY__NODE__NODE_A_CONST = 170,
1622
- PG_QUERY__NODE__NODE_FUNC_CALL = 171,
1623
- PG_QUERY__NODE__NODE_A_STAR = 172,
1624
- PG_QUERY__NODE__NODE_A_INDICES = 173,
1625
- PG_QUERY__NODE__NODE_A_INDIRECTION = 174,
1626
- PG_QUERY__NODE__NODE_A_ARRAY_EXPR = 175,
1627
- PG_QUERY__NODE__NODE_RES_TARGET = 176,
1628
- PG_QUERY__NODE__NODE_MULTI_ASSIGN_REF = 177,
1629
- PG_QUERY__NODE__NODE_TYPE_CAST = 178,
1630
- PG_QUERY__NODE__NODE_COLLATE_CLAUSE = 179,
1631
- PG_QUERY__NODE__NODE_SORT_BY = 180,
1632
- PG_QUERY__NODE__NODE_WINDOW_DEF = 181,
1633
- PG_QUERY__NODE__NODE_RANGE_SUBSELECT = 182,
1634
- PG_QUERY__NODE__NODE_RANGE_FUNCTION = 183,
1635
- PG_QUERY__NODE__NODE_RANGE_TABLE_SAMPLE = 184,
1636
- PG_QUERY__NODE__NODE_RANGE_TABLE_FUNC = 185,
1637
- PG_QUERY__NODE__NODE_RANGE_TABLE_FUNC_COL = 186,
1638
- PG_QUERY__NODE__NODE_TYPE_NAME = 187,
1639
- PG_QUERY__NODE__NODE_COLUMN_DEF = 188,
1640
- PG_QUERY__NODE__NODE_INDEX_ELEM = 189,
1641
- PG_QUERY__NODE__NODE_CONSTRAINT = 190,
1642
- PG_QUERY__NODE__NODE_DEF_ELEM = 191,
1643
- PG_QUERY__NODE__NODE_RANGE_TBL_ENTRY = 192,
1644
- PG_QUERY__NODE__NODE_RANGE_TBL_FUNCTION = 193,
1645
- PG_QUERY__NODE__NODE_TABLE_SAMPLE_CLAUSE = 194,
1646
- PG_QUERY__NODE__NODE_WITH_CHECK_OPTION = 195,
1647
- PG_QUERY__NODE__NODE_SORT_GROUP_CLAUSE = 196,
1648
- PG_QUERY__NODE__NODE_GROUPING_SET = 197,
1649
- PG_QUERY__NODE__NODE_WINDOW_CLAUSE = 198,
1650
- PG_QUERY__NODE__NODE_OBJECT_WITH_ARGS = 199,
1651
- PG_QUERY__NODE__NODE_ACCESS_PRIV = 200,
1652
- PG_QUERY__NODE__NODE_CREATE_OP_CLASS_ITEM = 201,
1653
- PG_QUERY__NODE__NODE_TABLE_LIKE_CLAUSE = 202,
1654
- PG_QUERY__NODE__NODE_FUNCTION_PARAMETER = 203,
1655
- PG_QUERY__NODE__NODE_LOCKING_CLAUSE = 204,
1656
- PG_QUERY__NODE__NODE_ROW_MARK_CLAUSE = 205,
1657
- PG_QUERY__NODE__NODE_XML_SERIALIZE = 206,
1658
- PG_QUERY__NODE__NODE_WITH_CLAUSE = 207,
1659
- PG_QUERY__NODE__NODE_INFER_CLAUSE = 208,
1660
- PG_QUERY__NODE__NODE_ON_CONFLICT_CLAUSE = 209,
1661
- PG_QUERY__NODE__NODE_COMMON_TABLE_EXPR = 210,
1662
- PG_QUERY__NODE__NODE_ROLE_SPEC = 211,
1663
- PG_QUERY__NODE__NODE_TRIGGER_TRANSITION = 212,
1664
- PG_QUERY__NODE__NODE_PARTITION_ELEM = 213,
1665
- PG_QUERY__NODE__NODE_PARTITION_SPEC = 214,
1666
- PG_QUERY__NODE__NODE_PARTITION_BOUND_SPEC = 215,
1667
- PG_QUERY__NODE__NODE_PARTITION_RANGE_DATUM = 216,
1668
- PG_QUERY__NODE__NODE_PARTITION_CMD = 217,
1669
- PG_QUERY__NODE__NODE_VACUUM_RELATION = 218,
1670
- PG_QUERY__NODE__NODE_INLINE_CODE_BLOCK = 219,
1671
- PG_QUERY__NODE__NODE_CALL_CONTEXT = 220,
1672
- PG_QUERY__NODE__NODE_INTEGER = 221,
1673
- PG_QUERY__NODE__NODE_FLOAT = 222,
1674
- PG_QUERY__NODE__NODE_STRING = 223,
1675
- PG_QUERY__NODE__NODE_BIT_STRING = 224,
1676
- PG_QUERY__NODE__NODE_NULL = 225,
1677
- PG_QUERY__NODE__NODE_LIST = 226,
1678
- PG_QUERY__NODE__NODE_INT_LIST = 227,
1679
- PG_QUERY__NODE__NODE_OID_LIST = 228
1563
+ PG_QUERY__NODE__NODE_MERGE_STMT = 57,
1564
+ PG_QUERY__NODE__NODE_SELECT_STMT = 58,
1565
+ PG_QUERY__NODE__NODE_RETURN_STMT = 59,
1566
+ PG_QUERY__NODE__NODE_PLASSIGN_STMT = 60,
1567
+ PG_QUERY__NODE__NODE_ALTER_TABLE_STMT = 61,
1568
+ PG_QUERY__NODE__NODE_ALTER_TABLE_CMD = 62,
1569
+ PG_QUERY__NODE__NODE_ALTER_DOMAIN_STMT = 63,
1570
+ PG_QUERY__NODE__NODE_SET_OPERATION_STMT = 64,
1571
+ PG_QUERY__NODE__NODE_GRANT_STMT = 65,
1572
+ PG_QUERY__NODE__NODE_GRANT_ROLE_STMT = 66,
1573
+ PG_QUERY__NODE__NODE_ALTER_DEFAULT_PRIVILEGES_STMT = 67,
1574
+ PG_QUERY__NODE__NODE_CLOSE_PORTAL_STMT = 68,
1575
+ PG_QUERY__NODE__NODE_CLUSTER_STMT = 69,
1576
+ PG_QUERY__NODE__NODE_COPY_STMT = 70,
1577
+ PG_QUERY__NODE__NODE_CREATE_STMT = 71,
1578
+ PG_QUERY__NODE__NODE_DEFINE_STMT = 72,
1579
+ PG_QUERY__NODE__NODE_DROP_STMT = 73,
1580
+ PG_QUERY__NODE__NODE_TRUNCATE_STMT = 74,
1581
+ PG_QUERY__NODE__NODE_COMMENT_STMT = 75,
1582
+ PG_QUERY__NODE__NODE_FETCH_STMT = 76,
1583
+ PG_QUERY__NODE__NODE_INDEX_STMT = 77,
1584
+ PG_QUERY__NODE__NODE_CREATE_FUNCTION_STMT = 78,
1585
+ PG_QUERY__NODE__NODE_ALTER_FUNCTION_STMT = 79,
1586
+ PG_QUERY__NODE__NODE_DO_STMT = 80,
1587
+ PG_QUERY__NODE__NODE_RENAME_STMT = 81,
1588
+ PG_QUERY__NODE__NODE_RULE_STMT = 82,
1589
+ PG_QUERY__NODE__NODE_NOTIFY_STMT = 83,
1590
+ PG_QUERY__NODE__NODE_LISTEN_STMT = 84,
1591
+ PG_QUERY__NODE__NODE_UNLISTEN_STMT = 85,
1592
+ PG_QUERY__NODE__NODE_TRANSACTION_STMT = 86,
1593
+ PG_QUERY__NODE__NODE_VIEW_STMT = 87,
1594
+ PG_QUERY__NODE__NODE_LOAD_STMT = 88,
1595
+ PG_QUERY__NODE__NODE_CREATE_DOMAIN_STMT = 89,
1596
+ PG_QUERY__NODE__NODE_CREATEDB_STMT = 90,
1597
+ PG_QUERY__NODE__NODE_DROPDB_STMT = 91,
1598
+ PG_QUERY__NODE__NODE_VACUUM_STMT = 92,
1599
+ PG_QUERY__NODE__NODE_EXPLAIN_STMT = 93,
1600
+ PG_QUERY__NODE__NODE_CREATE_TABLE_AS_STMT = 94,
1601
+ PG_QUERY__NODE__NODE_CREATE_SEQ_STMT = 95,
1602
+ PG_QUERY__NODE__NODE_ALTER_SEQ_STMT = 96,
1603
+ PG_QUERY__NODE__NODE_VARIABLE_SET_STMT = 97,
1604
+ PG_QUERY__NODE__NODE_VARIABLE_SHOW_STMT = 98,
1605
+ PG_QUERY__NODE__NODE_DISCARD_STMT = 99,
1606
+ PG_QUERY__NODE__NODE_CREATE_TRIG_STMT = 100,
1607
+ PG_QUERY__NODE__NODE_CREATE_PLANG_STMT = 101,
1608
+ PG_QUERY__NODE__NODE_CREATE_ROLE_STMT = 102,
1609
+ PG_QUERY__NODE__NODE_ALTER_ROLE_STMT = 103,
1610
+ PG_QUERY__NODE__NODE_DROP_ROLE_STMT = 104,
1611
+ PG_QUERY__NODE__NODE_LOCK_STMT = 105,
1612
+ PG_QUERY__NODE__NODE_CONSTRAINTS_SET_STMT = 106,
1613
+ PG_QUERY__NODE__NODE_REINDEX_STMT = 107,
1614
+ PG_QUERY__NODE__NODE_CHECK_POINT_STMT = 108,
1615
+ PG_QUERY__NODE__NODE_CREATE_SCHEMA_STMT = 109,
1616
+ PG_QUERY__NODE__NODE_ALTER_DATABASE_STMT = 110,
1617
+ PG_QUERY__NODE__NODE_ALTER_DATABASE_REFRESH_COLL_STMT = 111,
1618
+ PG_QUERY__NODE__NODE_ALTER_DATABASE_SET_STMT = 112,
1619
+ PG_QUERY__NODE__NODE_ALTER_ROLE_SET_STMT = 113,
1620
+ PG_QUERY__NODE__NODE_CREATE_CONVERSION_STMT = 114,
1621
+ PG_QUERY__NODE__NODE_CREATE_CAST_STMT = 115,
1622
+ PG_QUERY__NODE__NODE_CREATE_OP_CLASS_STMT = 116,
1623
+ PG_QUERY__NODE__NODE_CREATE_OP_FAMILY_STMT = 117,
1624
+ PG_QUERY__NODE__NODE_ALTER_OP_FAMILY_STMT = 118,
1625
+ PG_QUERY__NODE__NODE_PREPARE_STMT = 119,
1626
+ PG_QUERY__NODE__NODE_EXECUTE_STMT = 120,
1627
+ PG_QUERY__NODE__NODE_DEALLOCATE_STMT = 121,
1628
+ PG_QUERY__NODE__NODE_DECLARE_CURSOR_STMT = 122,
1629
+ PG_QUERY__NODE__NODE_CREATE_TABLE_SPACE_STMT = 123,
1630
+ PG_QUERY__NODE__NODE_DROP_TABLE_SPACE_STMT = 124,
1631
+ PG_QUERY__NODE__NODE_ALTER_OBJECT_DEPENDS_STMT = 125,
1632
+ PG_QUERY__NODE__NODE_ALTER_OBJECT_SCHEMA_STMT = 126,
1633
+ PG_QUERY__NODE__NODE_ALTER_OWNER_STMT = 127,
1634
+ PG_QUERY__NODE__NODE_ALTER_OPERATOR_STMT = 128,
1635
+ PG_QUERY__NODE__NODE_ALTER_TYPE_STMT = 129,
1636
+ PG_QUERY__NODE__NODE_DROP_OWNED_STMT = 130,
1637
+ PG_QUERY__NODE__NODE_REASSIGN_OWNED_STMT = 131,
1638
+ PG_QUERY__NODE__NODE_COMPOSITE_TYPE_STMT = 132,
1639
+ PG_QUERY__NODE__NODE_CREATE_ENUM_STMT = 133,
1640
+ PG_QUERY__NODE__NODE_CREATE_RANGE_STMT = 134,
1641
+ PG_QUERY__NODE__NODE_ALTER_ENUM_STMT = 135,
1642
+ PG_QUERY__NODE__NODE_ALTER_TSDICTIONARY_STMT = 136,
1643
+ PG_QUERY__NODE__NODE_ALTER_TSCONFIGURATION_STMT = 137,
1644
+ PG_QUERY__NODE__NODE_CREATE_FDW_STMT = 138,
1645
+ PG_QUERY__NODE__NODE_ALTER_FDW_STMT = 139,
1646
+ PG_QUERY__NODE__NODE_CREATE_FOREIGN_SERVER_STMT = 140,
1647
+ PG_QUERY__NODE__NODE_ALTER_FOREIGN_SERVER_STMT = 141,
1648
+ PG_QUERY__NODE__NODE_CREATE_USER_MAPPING_STMT = 142,
1649
+ PG_QUERY__NODE__NODE_ALTER_USER_MAPPING_STMT = 143,
1650
+ PG_QUERY__NODE__NODE_DROP_USER_MAPPING_STMT = 144,
1651
+ PG_QUERY__NODE__NODE_ALTER_TABLE_SPACE_OPTIONS_STMT = 145,
1652
+ PG_QUERY__NODE__NODE_ALTER_TABLE_MOVE_ALL_STMT = 146,
1653
+ PG_QUERY__NODE__NODE_SEC_LABEL_STMT = 147,
1654
+ PG_QUERY__NODE__NODE_CREATE_FOREIGN_TABLE_STMT = 148,
1655
+ PG_QUERY__NODE__NODE_IMPORT_FOREIGN_SCHEMA_STMT = 149,
1656
+ PG_QUERY__NODE__NODE_CREATE_EXTENSION_STMT = 150,
1657
+ PG_QUERY__NODE__NODE_ALTER_EXTENSION_STMT = 151,
1658
+ PG_QUERY__NODE__NODE_ALTER_EXTENSION_CONTENTS_STMT = 152,
1659
+ PG_QUERY__NODE__NODE_CREATE_EVENT_TRIG_STMT = 153,
1660
+ PG_QUERY__NODE__NODE_ALTER_EVENT_TRIG_STMT = 154,
1661
+ PG_QUERY__NODE__NODE_REFRESH_MAT_VIEW_STMT = 155,
1662
+ PG_QUERY__NODE__NODE_REPLICA_IDENTITY_STMT = 156,
1663
+ PG_QUERY__NODE__NODE_ALTER_SYSTEM_STMT = 157,
1664
+ PG_QUERY__NODE__NODE_CREATE_POLICY_STMT = 158,
1665
+ PG_QUERY__NODE__NODE_ALTER_POLICY_STMT = 159,
1666
+ PG_QUERY__NODE__NODE_CREATE_TRANSFORM_STMT = 160,
1667
+ PG_QUERY__NODE__NODE_CREATE_AM_STMT = 161,
1668
+ PG_QUERY__NODE__NODE_CREATE_PUBLICATION_STMT = 162,
1669
+ PG_QUERY__NODE__NODE_ALTER_PUBLICATION_STMT = 163,
1670
+ PG_QUERY__NODE__NODE_CREATE_SUBSCRIPTION_STMT = 164,
1671
+ PG_QUERY__NODE__NODE_ALTER_SUBSCRIPTION_STMT = 165,
1672
+ PG_QUERY__NODE__NODE_DROP_SUBSCRIPTION_STMT = 166,
1673
+ PG_QUERY__NODE__NODE_CREATE_STATS_STMT = 167,
1674
+ PG_QUERY__NODE__NODE_ALTER_COLLATION_STMT = 168,
1675
+ PG_QUERY__NODE__NODE_CALL_STMT = 169,
1676
+ PG_QUERY__NODE__NODE_ALTER_STATS_STMT = 170,
1677
+ PG_QUERY__NODE__NODE_A_EXPR = 171,
1678
+ PG_QUERY__NODE__NODE_COLUMN_REF = 172,
1679
+ PG_QUERY__NODE__NODE_PARAM_REF = 173,
1680
+ PG_QUERY__NODE__NODE_FUNC_CALL = 174,
1681
+ PG_QUERY__NODE__NODE_A_STAR = 175,
1682
+ PG_QUERY__NODE__NODE_A_INDICES = 176,
1683
+ PG_QUERY__NODE__NODE_A_INDIRECTION = 177,
1684
+ PG_QUERY__NODE__NODE_A_ARRAY_EXPR = 178,
1685
+ PG_QUERY__NODE__NODE_RES_TARGET = 179,
1686
+ PG_QUERY__NODE__NODE_MULTI_ASSIGN_REF = 180,
1687
+ PG_QUERY__NODE__NODE_TYPE_CAST = 181,
1688
+ PG_QUERY__NODE__NODE_COLLATE_CLAUSE = 182,
1689
+ PG_QUERY__NODE__NODE_SORT_BY = 183,
1690
+ PG_QUERY__NODE__NODE_WINDOW_DEF = 184,
1691
+ PG_QUERY__NODE__NODE_RANGE_SUBSELECT = 185,
1692
+ PG_QUERY__NODE__NODE_RANGE_FUNCTION = 186,
1693
+ PG_QUERY__NODE__NODE_RANGE_TABLE_SAMPLE = 187,
1694
+ PG_QUERY__NODE__NODE_RANGE_TABLE_FUNC = 188,
1695
+ PG_QUERY__NODE__NODE_RANGE_TABLE_FUNC_COL = 189,
1696
+ PG_QUERY__NODE__NODE_TYPE_NAME = 190,
1697
+ PG_QUERY__NODE__NODE_COLUMN_DEF = 191,
1698
+ PG_QUERY__NODE__NODE_INDEX_ELEM = 192,
1699
+ PG_QUERY__NODE__NODE_STATS_ELEM = 193,
1700
+ PG_QUERY__NODE__NODE_CONSTRAINT = 194,
1701
+ PG_QUERY__NODE__NODE_DEF_ELEM = 195,
1702
+ PG_QUERY__NODE__NODE_RANGE_TBL_ENTRY = 196,
1703
+ PG_QUERY__NODE__NODE_RANGE_TBL_FUNCTION = 197,
1704
+ PG_QUERY__NODE__NODE_TABLE_SAMPLE_CLAUSE = 198,
1705
+ PG_QUERY__NODE__NODE_WITH_CHECK_OPTION = 199,
1706
+ PG_QUERY__NODE__NODE_SORT_GROUP_CLAUSE = 200,
1707
+ PG_QUERY__NODE__NODE_GROUPING_SET = 201,
1708
+ PG_QUERY__NODE__NODE_WINDOW_CLAUSE = 202,
1709
+ PG_QUERY__NODE__NODE_OBJECT_WITH_ARGS = 203,
1710
+ PG_QUERY__NODE__NODE_ACCESS_PRIV = 204,
1711
+ PG_QUERY__NODE__NODE_CREATE_OP_CLASS_ITEM = 205,
1712
+ PG_QUERY__NODE__NODE_TABLE_LIKE_CLAUSE = 206,
1713
+ PG_QUERY__NODE__NODE_FUNCTION_PARAMETER = 207,
1714
+ PG_QUERY__NODE__NODE_LOCKING_CLAUSE = 208,
1715
+ PG_QUERY__NODE__NODE_ROW_MARK_CLAUSE = 209,
1716
+ PG_QUERY__NODE__NODE_XML_SERIALIZE = 210,
1717
+ PG_QUERY__NODE__NODE_WITH_CLAUSE = 211,
1718
+ PG_QUERY__NODE__NODE_INFER_CLAUSE = 212,
1719
+ PG_QUERY__NODE__NODE_ON_CONFLICT_CLAUSE = 213,
1720
+ PG_QUERY__NODE__NODE_CTESEARCH_CLAUSE = 214,
1721
+ PG_QUERY__NODE__NODE_CTECYCLE_CLAUSE = 215,
1722
+ PG_QUERY__NODE__NODE_COMMON_TABLE_EXPR = 216,
1723
+ PG_QUERY__NODE__NODE_MERGE_WHEN_CLAUSE = 217,
1724
+ PG_QUERY__NODE__NODE_ROLE_SPEC = 218,
1725
+ PG_QUERY__NODE__NODE_TRIGGER_TRANSITION = 219,
1726
+ PG_QUERY__NODE__NODE_PARTITION_ELEM = 220,
1727
+ PG_QUERY__NODE__NODE_PARTITION_SPEC = 221,
1728
+ PG_QUERY__NODE__NODE_PARTITION_BOUND_SPEC = 222,
1729
+ PG_QUERY__NODE__NODE_PARTITION_RANGE_DATUM = 223,
1730
+ PG_QUERY__NODE__NODE_PARTITION_CMD = 224,
1731
+ PG_QUERY__NODE__NODE_VACUUM_RELATION = 225,
1732
+ PG_QUERY__NODE__NODE_PUBLICATION_OBJ_SPEC = 226,
1733
+ PG_QUERY__NODE__NODE_PUBLICATION_TABLE = 227,
1734
+ PG_QUERY__NODE__NODE_INLINE_CODE_BLOCK = 228,
1735
+ PG_QUERY__NODE__NODE_CALL_CONTEXT = 229,
1736
+ PG_QUERY__NODE__NODE_INTEGER = 230,
1737
+ PG_QUERY__NODE__NODE_FLOAT = 231,
1738
+ PG_QUERY__NODE__NODE_BOOLEAN = 232,
1739
+ PG_QUERY__NODE__NODE_STRING = 233,
1740
+ PG_QUERY__NODE__NODE_BIT_STRING = 234,
1741
+ PG_QUERY__NODE__NODE_LIST = 235,
1742
+ PG_QUERY__NODE__NODE_INT_LIST = 236,
1743
+ PG_QUERY__NODE__NODE_OID_LIST = 237,
1744
+ PG_QUERY__NODE__NODE_A_CONST = 238
1680
1745
  PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__NODE__NODE__CASE)
1681
1746
  } PgQuery__Node__NodeCase;
1682
1747
 
@@ -1688,7 +1753,6 @@ struct PgQuery__Node
1688
1753
  PgQuery__Alias *alias;
1689
1754
  PgQuery__RangeVar *range_var;
1690
1755
  PgQuery__TableFunc *table_func;
1691
- PgQuery__Expr *expr;
1692
1756
  PgQuery__Var *var;
1693
1757
  PgQuery__Param *param;
1694
1758
  PgQuery__Aggref *aggref;
@@ -1736,12 +1800,16 @@ struct PgQuery__Node
1736
1800
  PgQuery__FromExpr *from_expr;
1737
1801
  PgQuery__OnConflictExpr *on_conflict_expr;
1738
1802
  PgQuery__IntoClause *into_clause;
1803
+ PgQuery__MergeAction *merge_action;
1739
1804
  PgQuery__RawStmt *raw_stmt;
1740
1805
  PgQuery__Query *query;
1741
1806
  PgQuery__InsertStmt *insert_stmt;
1742
1807
  PgQuery__DeleteStmt *delete_stmt;
1743
1808
  PgQuery__UpdateStmt *update_stmt;
1809
+ PgQuery__MergeStmt *merge_stmt;
1744
1810
  PgQuery__SelectStmt *select_stmt;
1811
+ PgQuery__ReturnStmt *return_stmt;
1812
+ PgQuery__PLAssignStmt *plassign_stmt;
1745
1813
  PgQuery__AlterTableStmt *alter_table_stmt;
1746
1814
  PgQuery__AlterTableCmd *alter_table_cmd;
1747
1815
  PgQuery__AlterDomainStmt *alter_domain_stmt;
@@ -1792,6 +1860,7 @@ struct PgQuery__Node
1792
1860
  PgQuery__CheckPointStmt *check_point_stmt;
1793
1861
  PgQuery__CreateSchemaStmt *create_schema_stmt;
1794
1862
  PgQuery__AlterDatabaseStmt *alter_database_stmt;
1863
+ PgQuery__AlterDatabaseRefreshCollStmt *alter_database_refresh_coll_stmt;
1795
1864
  PgQuery__AlterDatabaseSetStmt *alter_database_set_stmt;
1796
1865
  PgQuery__AlterRoleSetStmt *alter_role_set_stmt;
1797
1866
  PgQuery__CreateConversionStmt *create_conversion_stmt;
@@ -1854,7 +1923,6 @@ struct PgQuery__Node
1854
1923
  PgQuery__AExpr *a_expr;
1855
1924
  PgQuery__ColumnRef *column_ref;
1856
1925
  PgQuery__ParamRef *param_ref;
1857
- PgQuery__AConst *a_const;
1858
1926
  PgQuery__FuncCall *func_call;
1859
1927
  PgQuery__AStar *a_star;
1860
1928
  PgQuery__AIndices *a_indices;
@@ -1874,6 +1942,7 @@ struct PgQuery__Node
1874
1942
  PgQuery__TypeName *type_name;
1875
1943
  PgQuery__ColumnDef *column_def;
1876
1944
  PgQuery__IndexElem *index_elem;
1945
+ PgQuery__StatsElem *stats_elem;
1877
1946
  PgQuery__Constraint *constraint;
1878
1947
  PgQuery__DefElem *def_elem;
1879
1948
  PgQuery__RangeTblEntry *range_tbl_entry;
@@ -1894,7 +1963,10 @@ struct PgQuery__Node
1894
1963
  PgQuery__WithClause *with_clause;
1895
1964
  PgQuery__InferClause *infer_clause;
1896
1965
  PgQuery__OnConflictClause *on_conflict_clause;
1966
+ PgQuery__CTESearchClause *ctesearch_clause;
1967
+ PgQuery__CTECycleClause *ctecycle_clause;
1897
1968
  PgQuery__CommonTableExpr *common_table_expr;
1969
+ PgQuery__MergeWhenClause *merge_when_clause;
1898
1970
  PgQuery__RoleSpec *role_spec;
1899
1971
  PgQuery__TriggerTransition *trigger_transition;
1900
1972
  PgQuery__PartitionElem *partition_elem;
@@ -1903,16 +1975,19 @@ struct PgQuery__Node
1903
1975
  PgQuery__PartitionRangeDatum *partition_range_datum;
1904
1976
  PgQuery__PartitionCmd *partition_cmd;
1905
1977
  PgQuery__VacuumRelation *vacuum_relation;
1978
+ PgQuery__PublicationObjSpec *publication_obj_spec;
1979
+ PgQuery__PublicationTable *publication_table;
1906
1980
  PgQuery__InlineCodeBlock *inline_code_block;
1907
1981
  PgQuery__CallContext *call_context;
1908
1982
  PgQuery__Integer *integer;
1909
1983
  PgQuery__Float *float_;
1984
+ PgQuery__Boolean *boolean;
1910
1985
  PgQuery__String *string;
1911
1986
  PgQuery__BitString *bit_string;
1912
- PgQuery__Null *null;
1913
1987
  PgQuery__List *list;
1914
1988
  PgQuery__IntList *int_list;
1915
1989
  PgQuery__OidList *oid_list;
1990
+ PgQuery__AConst *a_const;
1916
1991
  };
1917
1992
  };
1918
1993
  #define PG_QUERY__NODE__INIT \
@@ -1939,20 +2014,30 @@ struct PgQuery__Float
1939
2014
  /*
1940
2015
  * string
1941
2016
  */
1942
- char *str;
2017
+ char *fval;
1943
2018
  };
1944
2019
  #define PG_QUERY__FLOAT__INIT \
1945
2020
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__float__descriptor) \
1946
2021
  , (char *)protobuf_c_empty_string }
1947
2022
 
1948
2023
 
2024
+ struct PgQuery__Boolean
2025
+ {
2026
+ ProtobufCMessage base;
2027
+ protobuf_c_boolean boolval;
2028
+ };
2029
+ #define PG_QUERY__BOOLEAN__INIT \
2030
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__boolean__descriptor) \
2031
+ , 0 }
2032
+
2033
+
1949
2034
  struct PgQuery__String
1950
2035
  {
1951
2036
  ProtobufCMessage base;
1952
2037
  /*
1953
2038
  * string
1954
2039
  */
1955
- char *str;
2040
+ char *sval;
1956
2041
  };
1957
2042
  #define PG_QUERY__STRING__INIT \
1958
2043
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__string__descriptor) \
@@ -1965,22 +2050,13 @@ struct PgQuery__BitString
1965
2050
  /*
1966
2051
  * string
1967
2052
  */
1968
- char *str;
2053
+ char *bsval;
1969
2054
  };
1970
2055
  #define PG_QUERY__BIT_STRING__INIT \
1971
2056
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__bit_string__descriptor) \
1972
2057
  , (char *)protobuf_c_empty_string }
1973
2058
 
1974
2059
 
1975
- struct PgQuery__Null
1976
- {
1977
- ProtobufCMessage base;
1978
- };
1979
- #define PG_QUERY__NULL__INIT \
1980
- { PROTOBUF_C_MESSAGE_INIT (&pg_query__null__descriptor) \
1981
- }
1982
-
1983
-
1984
2060
  struct PgQuery__List
1985
2061
  {
1986
2062
  ProtobufCMessage base;
@@ -2014,6 +2090,35 @@ struct PgQuery__IntList
2014
2090
  , 0,NULL }
2015
2091
 
2016
2092
 
2093
+ typedef enum {
2094
+ PG_QUERY__A__CONST__VAL__NOT_SET = 0,
2095
+ PG_QUERY__A__CONST__VAL_IVAL = 1,
2096
+ PG_QUERY__A__CONST__VAL_FVAL = 2,
2097
+ PG_QUERY__A__CONST__VAL_BOOLVAL = 3,
2098
+ PG_QUERY__A__CONST__VAL_SVAL = 4,
2099
+ PG_QUERY__A__CONST__VAL_BSVAL = 5
2100
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__A__CONST__VAL__CASE)
2101
+ } PgQuery__AConst__ValCase;
2102
+
2103
+ struct PgQuery__AConst
2104
+ {
2105
+ ProtobufCMessage base;
2106
+ protobuf_c_boolean isnull;
2107
+ int32_t location;
2108
+ PgQuery__AConst__ValCase val_case;
2109
+ union {
2110
+ PgQuery__Integer *ival;
2111
+ PgQuery__Float *fval;
2112
+ PgQuery__Boolean *boolval;
2113
+ PgQuery__String *sval;
2114
+ PgQuery__BitString *bsval;
2115
+ };
2116
+ };
2117
+ #define PG_QUERY__A__CONST__INIT \
2118
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__const__descriptor) \
2119
+ , 0, 0, PG_QUERY__A__CONST__VAL__NOT_SET, {0} }
2120
+
2121
+
2017
2122
  struct PgQuery__Alias
2018
2123
  {
2019
2124
  ProtobufCMessage base;
@@ -2073,20 +2178,11 @@ struct PgQuery__TableFunc
2073
2178
  , 0,NULL, 0,NULL, NULL, NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0, 0 }
2074
2179
 
2075
2180
 
2076
- struct PgQuery__Expr
2077
- {
2078
- ProtobufCMessage base;
2079
- };
2080
- #define PG_QUERY__EXPR__INIT \
2081
- { PROTOBUF_C_MESSAGE_INIT (&pg_query__expr__descriptor) \
2082
- }
2083
-
2084
-
2085
2181
  struct PgQuery__Var
2086
2182
  {
2087
2183
  ProtobufCMessage base;
2088
2184
  PgQuery__Node *xpr;
2089
- uint32_t varno;
2185
+ int32_t varno;
2090
2186
  int32_t varattno;
2091
2187
  uint32_t vartype;
2092
2188
  int32_t vartypmod;
@@ -2142,11 +2238,13 @@ struct PgQuery__Aggref
2142
2238
  char *aggkind;
2143
2239
  uint32_t agglevelsup;
2144
2240
  PgQuery__AggSplit aggsplit;
2241
+ int32_t aggno;
2242
+ int32_t aggtransno;
2145
2243
  int32_t location;
2146
2244
  };
2147
2245
  #define PG_QUERY__AGGREF__INIT \
2148
2246
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__aggref__descriptor) \
2149
- , NULL, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, NULL, 0, 0, (char *)protobuf_c_empty_string, 0, PG_QUERY__AGG_SPLIT__AGG_SPLIT_UNDEFINED, 0 }
2247
+ , NULL, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, NULL, 0, 0, (char *)protobuf_c_empty_string, 0, PG_QUERY__AGG_SPLIT__AGG_SPLIT_UNDEFINED, 0, 0, 0 }
2150
2248
 
2151
2249
 
2152
2250
  struct PgQuery__GroupingFunc
@@ -2194,6 +2292,7 @@ struct PgQuery__SubscriptingRef
2194
2292
  PgQuery__Node *xpr;
2195
2293
  uint32_t refcontainertype;
2196
2294
  uint32_t refelemtype;
2295
+ uint32_t refrestype;
2197
2296
  int32_t reftypmod;
2198
2297
  uint32_t refcollid;
2199
2298
  size_t n_refupperindexpr;
@@ -2205,7 +2304,7 @@ struct PgQuery__SubscriptingRef
2205
2304
  };
2206
2305
  #define PG_QUERY__SUBSCRIPTING_REF__INIT \
2207
2306
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__subscripting_ref__descriptor) \
2208
- , NULL, 0, 0, 0, 0, 0,NULL, 0,NULL, NULL, NULL }
2307
+ , NULL, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, NULL, NULL }
2209
2308
 
2210
2309
 
2211
2310
  struct PgQuery__FuncExpr
@@ -2305,6 +2404,8 @@ struct PgQuery__ScalarArrayOpExpr
2305
2404
  PgQuery__Node *xpr;
2306
2405
  uint32_t opno;
2307
2406
  uint32_t opfuncid;
2407
+ uint32_t hashfuncid;
2408
+ uint32_t negfuncid;
2308
2409
  protobuf_c_boolean use_or;
2309
2410
  uint32_t inputcollid;
2310
2411
  size_t n_args;
@@ -2313,7 +2414,7 @@ struct PgQuery__ScalarArrayOpExpr
2313
2414
  };
2314
2415
  #define PG_QUERY__SCALAR_ARRAY_OP_EXPR__INIT \
2315
2416
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__scalar_array_op_expr__descriptor) \
2316
- , NULL, 0, 0, 0, 0, 0,NULL, 0 }
2417
+ , NULL, 0, 0, 0, 0, 0, 0, 0,NULL, 0 }
2317
2418
 
2318
2419
 
2319
2420
  struct PgQuery__BoolExpr
@@ -2806,13 +2907,14 @@ struct PgQuery__JoinExpr
2806
2907
  PgQuery__Node *rarg;
2807
2908
  size_t n_using_clause;
2808
2909
  PgQuery__Node **using_clause;
2910
+ PgQuery__Alias *join_using_alias;
2809
2911
  PgQuery__Node *quals;
2810
2912
  PgQuery__Alias *alias;
2811
2913
  int32_t rtindex;
2812
2914
  };
2813
2915
  #define PG_QUERY__JOIN_EXPR__INIT \
2814
2916
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__join_expr__descriptor) \
2815
- , PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED, 0, NULL, NULL, 0,NULL, NULL, NULL, 0 }
2917
+ , PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED, 0, NULL, NULL, 0,NULL, NULL, NULL, NULL, 0 }
2816
2918
 
2817
2919
 
2818
2920
  struct PgQuery__FromExpr
@@ -2866,6 +2968,23 @@ struct PgQuery__IntoClause
2866
2968
  , NULL, 0,NULL, (char *)protobuf_c_empty_string, 0,NULL, PG_QUERY__ON_COMMIT_ACTION__ON_COMMIT_ACTION_UNDEFINED, (char *)protobuf_c_empty_string, NULL, 0 }
2867
2969
 
2868
2970
 
2971
+ struct PgQuery__MergeAction
2972
+ {
2973
+ ProtobufCMessage base;
2974
+ protobuf_c_boolean matched;
2975
+ PgQuery__CmdType command_type;
2976
+ PgQuery__OverridingKind override;
2977
+ PgQuery__Node *qual;
2978
+ size_t n_target_list;
2979
+ PgQuery__Node **target_list;
2980
+ size_t n_update_colnos;
2981
+ PgQuery__Node **update_colnos;
2982
+ };
2983
+ #define PG_QUERY__MERGE_ACTION__INIT \
2984
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__merge_action__descriptor) \
2985
+ , 0, PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED, NULL, 0,NULL, 0,NULL }
2986
+
2987
+
2869
2988
  struct PgQuery__RawStmt
2870
2989
  {
2871
2990
  ProtobufCMessage base;
@@ -2895,11 +3014,15 @@ struct PgQuery__Query
2895
3014
  protobuf_c_boolean has_modifying_cte;
2896
3015
  protobuf_c_boolean has_for_update;
2897
3016
  protobuf_c_boolean has_row_security;
3017
+ protobuf_c_boolean is_return;
2898
3018
  size_t n_cte_list;
2899
3019
  PgQuery__Node **cte_list;
2900
3020
  size_t n_rtable;
2901
3021
  PgQuery__Node **rtable;
2902
3022
  PgQuery__FromExpr *jointree;
3023
+ size_t n_merge_action_list;
3024
+ PgQuery__Node **merge_action_list;
3025
+ protobuf_c_boolean merge_use_outer_join;
2903
3026
  size_t n_target_list;
2904
3027
  PgQuery__Node **target_list;
2905
3028
  PgQuery__OverridingKind override;
@@ -2908,6 +3031,7 @@ struct PgQuery__Query
2908
3031
  PgQuery__Node **returning_list;
2909
3032
  size_t n_group_clause;
2910
3033
  PgQuery__Node **group_clause;
3034
+ protobuf_c_boolean group_distinct;
2911
3035
  size_t n_grouping_sets;
2912
3036
  PgQuery__Node **grouping_sets;
2913
3037
  PgQuery__Node *having_qual;
@@ -2932,7 +3056,7 @@ struct PgQuery__Query
2932
3056
  };
2933
3057
  #define PG_QUERY__QUERY__INIT \
2934
3058
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__query__descriptor) \
2935
- , PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, PG_QUERY__QUERY_SOURCE__QUERY_SOURCE_UNDEFINED, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, NULL, 0,NULL, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED, NULL, 0,NULL, 0,NULL, 0,NULL, NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED, 0,NULL, NULL, 0,NULL, 0,NULL, 0, 0 }
3059
+ , PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, PG_QUERY__QUERY_SOURCE__QUERY_SOURCE_UNDEFINED, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, NULL, 0,NULL, 0, 0,NULL, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED, NULL, 0,NULL, 0,NULL, 0, 0,NULL, NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED, 0,NULL, NULL, 0,NULL, 0,NULL, 0, 0 }
2936
3060
 
2937
3061
 
2938
3062
  struct PgQuery__InsertStmt
@@ -2987,6 +3111,21 @@ struct PgQuery__UpdateStmt
2987
3111
  , NULL, 0,NULL, NULL, 0,NULL, 0,NULL, NULL }
2988
3112
 
2989
3113
 
3114
+ struct PgQuery__MergeStmt
3115
+ {
3116
+ ProtobufCMessage base;
3117
+ PgQuery__RangeVar *relation;
3118
+ PgQuery__Node *source_relation;
3119
+ PgQuery__Node *join_condition;
3120
+ size_t n_merge_when_clauses;
3121
+ PgQuery__Node **merge_when_clauses;
3122
+ PgQuery__WithClause *with_clause;
3123
+ };
3124
+ #define PG_QUERY__MERGE_STMT__INIT \
3125
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__merge_stmt__descriptor) \
3126
+ , NULL, NULL, NULL, 0,NULL, NULL }
3127
+
3128
+
2990
3129
  struct PgQuery__SelectStmt
2991
3130
  {
2992
3131
  ProtobufCMessage base;
@@ -3000,6 +3139,7 @@ struct PgQuery__SelectStmt
3000
3139
  PgQuery__Node *where_clause;
3001
3140
  size_t n_group_clause;
3002
3141
  PgQuery__Node **group_clause;
3142
+ protobuf_c_boolean group_distinct;
3003
3143
  PgQuery__Node *having_clause;
3004
3144
  size_t n_window_clause;
3005
3145
  PgQuery__Node **window_clause;
@@ -3020,7 +3160,32 @@ struct PgQuery__SelectStmt
3020
3160
  };
3021
3161
  #define PG_QUERY__SELECT_STMT__INIT \
3022
3162
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__select_stmt__descriptor) \
3023
- , 0,NULL, NULL, 0,NULL, 0,NULL, NULL, 0,NULL, NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED, 0,NULL, NULL, PG_QUERY__SET_OPERATION__SET_OPERATION_UNDEFINED, 0, NULL, NULL }
3163
+ , 0,NULL, NULL, 0,NULL, 0,NULL, NULL, 0,NULL, 0, NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED, 0,NULL, NULL, PG_QUERY__SET_OPERATION__SET_OPERATION_UNDEFINED, 0, NULL, NULL }
3164
+
3165
+
3166
+ struct PgQuery__ReturnStmt
3167
+ {
3168
+ ProtobufCMessage base;
3169
+ PgQuery__Node *returnval;
3170
+ };
3171
+ #define PG_QUERY__RETURN_STMT__INIT \
3172
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__return_stmt__descriptor) \
3173
+ , NULL }
3174
+
3175
+
3176
+ struct PgQuery__PLAssignStmt
3177
+ {
3178
+ ProtobufCMessage base;
3179
+ char *name;
3180
+ size_t n_indirection;
3181
+ PgQuery__Node **indirection;
3182
+ int32_t nnames;
3183
+ PgQuery__SelectStmt *val;
3184
+ int32_t location;
3185
+ };
3186
+ #define PG_QUERY__PLASSIGN_STMT__INIT \
3187
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__plassign_stmt__descriptor) \
3188
+ , (char *)protobuf_c_empty_string, 0,NULL, 0, NULL, 0 }
3024
3189
 
3025
3190
 
3026
3191
  struct PgQuery__AlterTableStmt
@@ -3029,7 +3194,7 @@ struct PgQuery__AlterTableStmt
3029
3194
  PgQuery__RangeVar *relation;
3030
3195
  size_t n_cmds;
3031
3196
  PgQuery__Node **cmds;
3032
- PgQuery__ObjectType relkind;
3197
+ PgQuery__ObjectType objtype;
3033
3198
  protobuf_c_boolean missing_ok;
3034
3199
  };
3035
3200
  #define PG_QUERY__ALTER_TABLE_STMT__INIT \
@@ -3047,10 +3212,11 @@ struct PgQuery__AlterTableCmd
3047
3212
  PgQuery__Node *def;
3048
3213
  PgQuery__DropBehavior behavior;
3049
3214
  protobuf_c_boolean missing_ok;
3215
+ protobuf_c_boolean recurse;
3050
3216
  };
3051
3217
  #define PG_QUERY__ALTER_TABLE_CMD__INIT \
3052
3218
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_table_cmd__descriptor) \
3053
- , PG_QUERY__ALTER_TABLE_TYPE__ALTER_TABLE_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0, NULL, NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED, 0 }
3219
+ , PG_QUERY__ALTER_TABLE_TYPE__ALTER_TABLE_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0, NULL, NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED, 0, 0 }
3054
3220
 
3055
3221
 
3056
3222
  struct PgQuery__AlterDomainStmt
@@ -3103,11 +3269,12 @@ struct PgQuery__GrantStmt
3103
3269
  size_t n_grantees;
3104
3270
  PgQuery__Node **grantees;
3105
3271
  protobuf_c_boolean grant_option;
3272
+ PgQuery__RoleSpec *grantor;
3106
3273
  PgQuery__DropBehavior behavior;
3107
3274
  };
3108
3275
  #define PG_QUERY__GRANT_STMT__INIT \
3109
3276
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__grant_stmt__descriptor) \
3110
- , 0, PG_QUERY__GRANT_TARGET_TYPE__GRANT_TARGET_TYPE_UNDEFINED, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, 0,NULL, 0,NULL, 0,NULL, 0, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED }
3277
+ , 0, PG_QUERY__GRANT_TARGET_TYPE__GRANT_TARGET_TYPE_UNDEFINED, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, 0,NULL, 0,NULL, 0,NULL, 0, NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED }
3111
3278
 
3112
3279
 
3113
3280
  struct PgQuery__GrantRoleStmt
@@ -3154,11 +3321,12 @@ struct PgQuery__ClusterStmt
3154
3321
  ProtobufCMessage base;
3155
3322
  PgQuery__RangeVar *relation;
3156
3323
  char *indexname;
3157
- int32_t options;
3324
+ size_t n_params;
3325
+ PgQuery__Node **params;
3158
3326
  };
3159
3327
  #define PG_QUERY__CLUSTER_STMT__INIT \
3160
3328
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__cluster_stmt__descriptor) \
3161
- , NULL, (char *)protobuf_c_empty_string, 0 }
3329
+ , NULL, (char *)protobuf_c_empty_string, 0,NULL }
3162
3330
 
3163
3331
 
3164
3332
  struct PgQuery__CopyStmt
@@ -3299,6 +3467,7 @@ struct PgQuery__IndexStmt
3299
3467
  uint32_t old_create_subid;
3300
3468
  uint32_t old_first_relfilenode_subid;
3301
3469
  protobuf_c_boolean unique;
3470
+ protobuf_c_boolean nulls_not_distinct;
3302
3471
  protobuf_c_boolean primary;
3303
3472
  protobuf_c_boolean isconstraint;
3304
3473
  protobuf_c_boolean deferrable;
@@ -3310,7 +3479,7 @@ struct PgQuery__IndexStmt
3310
3479
  };
3311
3480
  #define PG_QUERY__INDEX_STMT__INIT \
3312
3481
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__index_stmt__descriptor) \
3313
- , (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
3482
+ , (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
3314
3483
 
3315
3484
 
3316
3485
  struct PgQuery__CreateFunctionStmt
@@ -3325,10 +3494,11 @@ struct PgQuery__CreateFunctionStmt
3325
3494
  PgQuery__TypeName *return_type;
3326
3495
  size_t n_options;
3327
3496
  PgQuery__Node **options;
3497
+ PgQuery__Node *sql_body;
3328
3498
  };
3329
3499
  #define PG_QUERY__CREATE_FUNCTION_STMT__INIT \
3330
3500
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_function_stmt__descriptor) \
3331
- , 0, 0, 0,NULL, 0,NULL, NULL, 0,NULL }
3501
+ , 0, 0, 0,NULL, 0,NULL, NULL, 0,NULL, NULL }
3332
3502
 
3333
3503
 
3334
3504
  struct PgQuery__AlterFunctionStmt
@@ -3533,7 +3703,7 @@ struct PgQuery__CreateTableAsStmt
3533
3703
  ProtobufCMessage base;
3534
3704
  PgQuery__Node *query;
3535
3705
  PgQuery__IntoClause *into;
3536
- PgQuery__ObjectType relkind;
3706
+ PgQuery__ObjectType objtype;
3537
3707
  protobuf_c_boolean is_select_into;
3538
3708
  protobuf_c_boolean if_not_exists;
3539
3709
  };
@@ -3608,6 +3778,8 @@ struct PgQuery__DiscardStmt
3608
3778
  struct PgQuery__CreateTrigStmt
3609
3779
  {
3610
3780
  ProtobufCMessage base;
3781
+ protobuf_c_boolean replace;
3782
+ protobuf_c_boolean isconstraint;
3611
3783
  char *trigname;
3612
3784
  PgQuery__RangeVar *relation;
3613
3785
  size_t n_funcname;
@@ -3620,7 +3792,6 @@ struct PgQuery__CreateTrigStmt
3620
3792
  size_t n_columns;
3621
3793
  PgQuery__Node **columns;
3622
3794
  PgQuery__Node *when_clause;
3623
- protobuf_c_boolean isconstraint;
3624
3795
  size_t n_transition_rels;
3625
3796
  PgQuery__Node **transition_rels;
3626
3797
  protobuf_c_boolean deferrable;
@@ -3629,7 +3800,7 @@ struct PgQuery__CreateTrigStmt
3629
3800
  };
3630
3801
  #define PG_QUERY__CREATE_TRIG_STMT__INIT \
3631
3802
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_trig_stmt__descriptor) \
3632
- , (char *)protobuf_c_empty_string, NULL, 0,NULL, 0,NULL, 0, 0, 0, 0,NULL, NULL, 0, 0,NULL, 0, 0, NULL }
3803
+ , 0, 0, (char *)protobuf_c_empty_string, NULL, 0,NULL, 0,NULL, 0, 0, 0, 0,NULL, NULL, 0,NULL, 0, 0, NULL }
3633
3804
 
3634
3805
 
3635
3806
  struct PgQuery__CreatePLangStmt
@@ -3719,12 +3890,12 @@ struct PgQuery__ReindexStmt
3719
3890
  PgQuery__ReindexObjectType kind;
3720
3891
  PgQuery__RangeVar *relation;
3721
3892
  char *name;
3722
- int32_t options;
3723
- protobuf_c_boolean concurrent;
3893
+ size_t n_params;
3894
+ PgQuery__Node **params;
3724
3895
  };
3725
3896
  #define PG_QUERY__REINDEX_STMT__INIT \
3726
3897
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__reindex_stmt__descriptor) \
3727
- , PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_TYPE_UNDEFINED, NULL, (char *)protobuf_c_empty_string, 0, 0 }
3898
+ , PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_TYPE_UNDEFINED, NULL, (char *)protobuf_c_empty_string, 0,NULL }
3728
3899
 
3729
3900
 
3730
3901
  struct PgQuery__CheckPointStmt
@@ -3762,6 +3933,16 @@ struct PgQuery__AlterDatabaseStmt
3762
3933
  , (char *)protobuf_c_empty_string, 0,NULL }
3763
3934
 
3764
3935
 
3936
+ struct PgQuery__AlterDatabaseRefreshCollStmt
3937
+ {
3938
+ ProtobufCMessage base;
3939
+ char *dbname;
3940
+ };
3941
+ #define PG_QUERY__ALTER_DATABASE_REFRESH_COLL_STMT__INIT \
3942
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_database_refresh_coll_stmt__descriptor) \
3943
+ , (char *)protobuf_c_empty_string }
3944
+
3945
+
3765
3946
  struct PgQuery__AlterDatabaseSetStmt
3766
3947
  {
3767
3948
  ProtobufCMessage base;
@@ -3938,7 +4119,7 @@ struct PgQuery__AlterObjectDependsStmt
3938
4119
  PgQuery__ObjectType object_type;
3939
4120
  PgQuery__RangeVar *relation;
3940
4121
  PgQuery__Node *object;
3941
- PgQuery__Node *extname;
4122
+ PgQuery__String *extname;
3942
4123
  protobuf_c_boolean remove;
3943
4124
  };
3944
4125
  #define PG_QUERY__ALTER_OBJECT_DEPENDS_STMT__INIT \
@@ -4438,8 +4619,8 @@ struct PgQuery__CreatePublicationStmt
4438
4619
  char *pubname;
4439
4620
  size_t n_options;
4440
4621
  PgQuery__Node **options;
4441
- size_t n_tables;
4442
- PgQuery__Node **tables;
4622
+ size_t n_pubobjects;
4623
+ PgQuery__Node **pubobjects;
4443
4624
  protobuf_c_boolean for_all_tables;
4444
4625
  };
4445
4626
  #define PG_QUERY__CREATE_PUBLICATION_STMT__INIT \
@@ -4453,14 +4634,14 @@ struct PgQuery__AlterPublicationStmt
4453
4634
  char *pubname;
4454
4635
  size_t n_options;
4455
4636
  PgQuery__Node **options;
4456
- size_t n_tables;
4457
- PgQuery__Node **tables;
4637
+ size_t n_pubobjects;
4638
+ PgQuery__Node **pubobjects;
4458
4639
  protobuf_c_boolean for_all_tables;
4459
- PgQuery__DefElemAction table_action;
4640
+ PgQuery__AlterPublicationAction action;
4460
4641
  };
4461
4642
  #define PG_QUERY__ALTER_PUBLICATION_STMT__INIT \
4462
4643
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_publication_stmt__descriptor) \
4463
- , (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, PG_QUERY__DEF_ELEM_ACTION__DEF_ELEM_ACTION_UNDEFINED }
4644
+ , (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, PG_QUERY__ALTER_PUBLICATION_ACTION__ALTER_PUBLICATION_ACTION_UNDEFINED }
4464
4645
 
4465
4646
 
4466
4647
  struct PgQuery__CreateSubscriptionStmt
@@ -4518,11 +4699,12 @@ struct PgQuery__CreateStatsStmt
4518
4699
  size_t n_relations;
4519
4700
  PgQuery__Node **relations;
4520
4701
  char *stxcomment;
4702
+ protobuf_c_boolean transformed;
4521
4703
  protobuf_c_boolean if_not_exists;
4522
4704
  };
4523
4705
  #define PG_QUERY__CREATE_STATS_STMT__INIT \
4524
4706
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_stats_stmt__descriptor) \
4525
- , 0,NULL, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, 0 }
4707
+ , 0,NULL, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0 }
4526
4708
 
4527
4709
 
4528
4710
  struct PgQuery__AlterCollationStmt
@@ -4541,10 +4723,12 @@ struct PgQuery__CallStmt
4541
4723
  ProtobufCMessage base;
4542
4724
  PgQuery__FuncCall *funccall;
4543
4725
  PgQuery__FuncExpr *funcexpr;
4726
+ size_t n_outargs;
4727
+ PgQuery__Node **outargs;
4544
4728
  };
4545
4729
  #define PG_QUERY__CALL_STMT__INIT \
4546
4730
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__call_stmt__descriptor) \
4547
- , NULL, NULL }
4731
+ , NULL, NULL, 0,NULL }
4548
4732
 
4549
4733
 
4550
4734
  struct PgQuery__AlterStatsStmt
@@ -4598,17 +4782,6 @@ struct PgQuery__ParamRef
4598
4782
  , 0, 0 }
4599
4783
 
4600
4784
 
4601
- struct PgQuery__AConst
4602
- {
4603
- ProtobufCMessage base;
4604
- PgQuery__Node *val;
4605
- int32_t location;
4606
- };
4607
- #define PG_QUERY__A__CONST__INIT \
4608
- { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__const__descriptor) \
4609
- , NULL, 0 }
4610
-
4611
-
4612
4785
  struct PgQuery__FuncCall
4613
4786
  {
4614
4787
  ProtobufCMessage base;
@@ -4619,16 +4792,17 @@ struct PgQuery__FuncCall
4619
4792
  size_t n_agg_order;
4620
4793
  PgQuery__Node **agg_order;
4621
4794
  PgQuery__Node *agg_filter;
4795
+ PgQuery__WindowDef *over;
4622
4796
  protobuf_c_boolean agg_within_group;
4623
4797
  protobuf_c_boolean agg_star;
4624
4798
  protobuf_c_boolean agg_distinct;
4625
4799
  protobuf_c_boolean func_variadic;
4626
- PgQuery__WindowDef *over;
4800
+ PgQuery__CoercionForm funcformat;
4627
4801
  int32_t location;
4628
4802
  };
4629
4803
  #define PG_QUERY__FUNC_CALL__INIT \
4630
4804
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__func_call__descriptor) \
4631
- , 0,NULL, 0,NULL, 0,NULL, NULL, 0, 0, 0, 0, NULL, 0 }
4805
+ , 0,NULL, 0,NULL, 0,NULL, NULL, NULL, 0, 0, 0, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0 }
4632
4806
 
4633
4807
 
4634
4808
  struct PgQuery__AStar
@@ -4865,6 +5039,7 @@ struct PgQuery__ColumnDef
4865
5039
  ProtobufCMessage base;
4866
5040
  char *colname;
4867
5041
  PgQuery__TypeName *type_name;
5042
+ char *compression;
4868
5043
  int32_t inhcount;
4869
5044
  protobuf_c_boolean is_local;
4870
5045
  protobuf_c_boolean is_not_null;
@@ -4885,7 +5060,7 @@ struct PgQuery__ColumnDef
4885
5060
  };
4886
5061
  #define PG_QUERY__COLUMN_DEF__INIT \
4887
5062
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__column_def__descriptor) \
4888
- , (char *)protobuf_c_empty_string, NULL, 0, 0, 0, 0, (char *)protobuf_c_empty_string, NULL, NULL, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, NULL, 0, 0,NULL, 0,NULL, 0 }
5063
+ , (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, 0, 0, 0, 0, (char *)protobuf_c_empty_string, NULL, NULL, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, NULL, 0, 0,NULL, 0,NULL, 0 }
4889
5064
 
4890
5065
 
4891
5066
  struct PgQuery__IndexElem
@@ -4908,6 +5083,17 @@ struct PgQuery__IndexElem
4908
5083
  , (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, PG_QUERY__SORT_BY_DIR__SORT_BY_DIR_UNDEFINED, PG_QUERY__SORT_BY_NULLS__SORT_BY_NULLS_UNDEFINED }
4909
5084
 
4910
5085
 
5086
+ struct PgQuery__StatsElem
5087
+ {
5088
+ ProtobufCMessage base;
5089
+ char *name;
5090
+ PgQuery__Node *expr;
5091
+ };
5092
+ #define PG_QUERY__STATS_ELEM__INIT \
5093
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__stats_elem__descriptor) \
5094
+ , (char *)protobuf_c_empty_string, NULL }
5095
+
5096
+
4911
5097
  struct PgQuery__Constraint
4912
5098
  {
4913
5099
  ProtobufCMessage base;
@@ -4920,6 +5106,7 @@ struct PgQuery__Constraint
4920
5106
  PgQuery__Node *raw_expr;
4921
5107
  char *cooked_expr;
4922
5108
  char *generated_when;
5109
+ protobuf_c_boolean nulls_not_distinct;
4923
5110
  size_t n_keys;
4924
5111
  PgQuery__Node **keys;
4925
5112
  size_t n_including;
@@ -4941,6 +5128,8 @@ struct PgQuery__Constraint
4941
5128
  char *fk_matchtype;
4942
5129
  char *fk_upd_action;
4943
5130
  char *fk_del_action;
5131
+ size_t n_fk_del_set_cols;
5132
+ PgQuery__Node **fk_del_set_cols;
4944
5133
  size_t n_old_conpfeqop;
4945
5134
  PgQuery__Node **old_conpfeqop;
4946
5135
  uint32_t old_pktable_oid;
@@ -4949,7 +5138,7 @@ struct PgQuery__Constraint
4949
5138
  };
4950
5139
  #define PG_QUERY__CONSTRAINT__INIT \
4951
5140
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__constraint__descriptor) \
4952
- , PG_QUERY__CONSTR_TYPE__CONSTR_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0, 0, 0, 0, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, NULL, NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0, 0, 0 }
5141
+ , PG_QUERY__CONSTR_TYPE__CONSTR_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0, 0, 0, 0, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, NULL, NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, 0, 0 }
4953
5142
 
4954
5143
 
4955
5144
  struct PgQuery__DefElem
@@ -4984,6 +5173,7 @@ struct PgQuery__RangeTblEntry
4984
5173
  PgQuery__Node **joinleftcols;
4985
5174
  size_t n_joinrightcols;
4986
5175
  PgQuery__Node **joinrightcols;
5176
+ PgQuery__Alias *join_using_alias;
4987
5177
  size_t n_functions;
4988
5178
  PgQuery__Node **functions;
4989
5179
  protobuf_c_boolean funcordinality;
@@ -5021,7 +5211,7 @@ struct PgQuery__RangeTblEntry
5021
5211
  };
5022
5212
  #define PG_QUERY__RANGE_TBL_ENTRY__INIT \
5023
5213
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_tbl_entry__descriptor) \
5024
- , PG_QUERY__RTEKIND__RTEKIND_UNDEFINED, 0, (char *)protobuf_c_empty_string, 0, NULL, NULL, 0, PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0, NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, NULL, NULL, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
5214
+ , PG_QUERY__RTEKIND__RTEKIND_UNDEFINED, 0, (char *)protobuf_c_empty_string, 0, NULL, NULL, 0, PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED, 0, 0,NULL, 0,NULL, 0,NULL, NULL, 0,NULL, 0, NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, NULL, NULL, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
5025
5215
 
5026
5216
 
5027
5217
  struct PgQuery__RangeTblFunction
@@ -5111,6 +5301,8 @@ struct PgQuery__WindowClause
5111
5301
  int32_t frame_options;
5112
5302
  PgQuery__Node *start_offset;
5113
5303
  PgQuery__Node *end_offset;
5304
+ size_t n_run_condition;
5305
+ PgQuery__Node **run_condition;
5114
5306
  uint32_t start_in_range_func;
5115
5307
  uint32_t end_in_range_func;
5116
5308
  uint32_t in_range_coll;
@@ -5121,7 +5313,7 @@ struct PgQuery__WindowClause
5121
5313
  };
5122
5314
  #define PG_QUERY__WINDOW_CLAUSE__INIT \
5123
5315
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__window_clause__descriptor) \
5124
- , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0 }
5316
+ , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, NULL, NULL, 0,NULL, 0, 0, 0, 0, 0, 0, 0 }
5125
5317
 
5126
5318
 
5127
5319
  struct PgQuery__ObjectWithArgs
@@ -5131,11 +5323,13 @@ struct PgQuery__ObjectWithArgs
5131
5323
  PgQuery__Node **objname;
5132
5324
  size_t n_objargs;
5133
5325
  PgQuery__Node **objargs;
5326
+ size_t n_objfuncargs;
5327
+ PgQuery__Node **objfuncargs;
5134
5328
  protobuf_c_boolean args_unspecified;
5135
5329
  };
5136
5330
  #define PG_QUERY__OBJECT_WITH_ARGS__INIT \
5137
5331
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__object_with_args__descriptor) \
5138
- , 0,NULL, 0,NULL, 0 }
5332
+ , 0,NULL, 0,NULL, 0,NULL, 0 }
5139
5333
 
5140
5334
 
5141
5335
  struct PgQuery__AccessPriv
@@ -5273,6 +5467,40 @@ struct PgQuery__OnConflictClause
5273
5467
  , PG_QUERY__ON_CONFLICT_ACTION__ON_CONFLICT_ACTION_UNDEFINED, NULL, 0,NULL, NULL, 0 }
5274
5468
 
5275
5469
 
5470
+ struct PgQuery__CTESearchClause
5471
+ {
5472
+ ProtobufCMessage base;
5473
+ size_t n_search_col_list;
5474
+ PgQuery__Node **search_col_list;
5475
+ protobuf_c_boolean search_breadth_first;
5476
+ char *search_seq_column;
5477
+ int32_t location;
5478
+ };
5479
+ #define PG_QUERY__CTESEARCH_CLAUSE__INIT \
5480
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__ctesearch_clause__descriptor) \
5481
+ , 0,NULL, 0, (char *)protobuf_c_empty_string, 0 }
5482
+
5483
+
5484
+ struct PgQuery__CTECycleClause
5485
+ {
5486
+ ProtobufCMessage base;
5487
+ size_t n_cycle_col_list;
5488
+ PgQuery__Node **cycle_col_list;
5489
+ char *cycle_mark_column;
5490
+ PgQuery__Node *cycle_mark_value;
5491
+ PgQuery__Node *cycle_mark_default;
5492
+ char *cycle_path_column;
5493
+ int32_t location;
5494
+ uint32_t cycle_mark_type;
5495
+ int32_t cycle_mark_typmod;
5496
+ uint32_t cycle_mark_collation;
5497
+ uint32_t cycle_mark_neop;
5498
+ };
5499
+ #define PG_QUERY__CTECYCLE_CLAUSE__INIT \
5500
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__ctecycle_clause__descriptor) \
5501
+ , 0,NULL, (char *)protobuf_c_empty_string, NULL, NULL, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0 }
5502
+
5503
+
5276
5504
  struct PgQuery__CommonTableExpr
5277
5505
  {
5278
5506
  ProtobufCMessage base;
@@ -5281,6 +5509,8 @@ struct PgQuery__CommonTableExpr
5281
5509
  PgQuery__Node **aliascolnames;
5282
5510
  PgQuery__CTEMaterialize ctematerialized;
5283
5511
  PgQuery__Node *ctequery;
5512
+ PgQuery__CTESearchClause *search_clause;
5513
+ PgQuery__CTECycleClause *cycle_clause;
5284
5514
  int32_t location;
5285
5515
  protobuf_c_boolean cterecursive;
5286
5516
  int32_t cterefcount;
@@ -5295,7 +5525,24 @@ struct PgQuery__CommonTableExpr
5295
5525
  };
5296
5526
  #define PG_QUERY__COMMON_TABLE_EXPR__INIT \
5297
5527
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__common_table_expr__descriptor) \
5298
- , (char *)protobuf_c_empty_string, 0,NULL, PG_QUERY__CTEMATERIALIZE__CTEMATERIALIZE_UNDEFINED, NULL, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
5528
+ , (char *)protobuf_c_empty_string, 0,NULL, PG_QUERY__CTEMATERIALIZE__CTEMATERIALIZE_UNDEFINED, NULL, NULL, NULL, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
5529
+
5530
+
5531
+ struct PgQuery__MergeWhenClause
5532
+ {
5533
+ ProtobufCMessage base;
5534
+ protobuf_c_boolean matched;
5535
+ PgQuery__CmdType command_type;
5536
+ PgQuery__OverridingKind override;
5537
+ PgQuery__Node *condition;
5538
+ size_t n_target_list;
5539
+ PgQuery__Node **target_list;
5540
+ size_t n_values;
5541
+ PgQuery__Node **values;
5542
+ };
5543
+ #define PG_QUERY__MERGE_WHEN_CLAUSE__INIT \
5544
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__merge_when_clause__descriptor) \
5545
+ , 0, PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED, NULL, 0,NULL, 0,NULL }
5299
5546
 
5300
5547
 
5301
5548
  struct PgQuery__RoleSpec
@@ -5388,10 +5635,11 @@ struct PgQuery__PartitionCmd
5388
5635
  ProtobufCMessage base;
5389
5636
  PgQuery__RangeVar *name;
5390
5637
  PgQuery__PartitionBoundSpec *bound;
5638
+ protobuf_c_boolean concurrent;
5391
5639
  };
5392
5640
  #define PG_QUERY__PARTITION_CMD__INIT \
5393
5641
  { PROTOBUF_C_MESSAGE_INIT (&pg_query__partition_cmd__descriptor) \
5394
- , NULL, NULL }
5642
+ , NULL, NULL, 0 }
5395
5643
 
5396
5644
 
5397
5645
  struct PgQuery__VacuumRelation
@@ -5407,6 +5655,32 @@ struct PgQuery__VacuumRelation
5407
5655
  , NULL, 0, 0,NULL }
5408
5656
 
5409
5657
 
5658
+ struct PgQuery__PublicationObjSpec
5659
+ {
5660
+ ProtobufCMessage base;
5661
+ PgQuery__PublicationObjSpecType pubobjtype;
5662
+ char *name;
5663
+ PgQuery__PublicationTable *pubtable;
5664
+ int32_t location;
5665
+ };
5666
+ #define PG_QUERY__PUBLICATION_OBJ_SPEC__INIT \
5667
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__publication_obj_spec__descriptor) \
5668
+ , PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, NULL, 0 }
5669
+
5670
+
5671
+ struct PgQuery__PublicationTable
5672
+ {
5673
+ ProtobufCMessage base;
5674
+ PgQuery__RangeVar *relation;
5675
+ PgQuery__Node *where_clause;
5676
+ size_t n_columns;
5677
+ PgQuery__Node **columns;
5678
+ };
5679
+ #define PG_QUERY__PUBLICATION_TABLE__INIT \
5680
+ { PROTOBUF_C_MESSAGE_INIT (&pg_query__publication_table__descriptor) \
5681
+ , NULL, NULL, 0,NULL }
5682
+
5683
+
5410
5684
  struct PgQuery__InlineCodeBlock
5411
5685
  {
5412
5686
  ProtobufCMessage base;
@@ -5538,6 +5812,25 @@ PgQuery__Float *
5538
5812
  void pg_query__float__free_unpacked
5539
5813
  (PgQuery__Float *message,
5540
5814
  ProtobufCAllocator *allocator);
5815
+ /* PgQuery__Boolean methods */
5816
+ void pg_query__boolean__init
5817
+ (PgQuery__Boolean *message);
5818
+ size_t pg_query__boolean__get_packed_size
5819
+ (const PgQuery__Boolean *message);
5820
+ size_t pg_query__boolean__pack
5821
+ (const PgQuery__Boolean *message,
5822
+ uint8_t *out);
5823
+ size_t pg_query__boolean__pack_to_buffer
5824
+ (const PgQuery__Boolean *message,
5825
+ ProtobufCBuffer *buffer);
5826
+ PgQuery__Boolean *
5827
+ pg_query__boolean__unpack
5828
+ (ProtobufCAllocator *allocator,
5829
+ size_t len,
5830
+ const uint8_t *data);
5831
+ void pg_query__boolean__free_unpacked
5832
+ (PgQuery__Boolean *message,
5833
+ ProtobufCAllocator *allocator);
5541
5834
  /* PgQuery__String methods */
5542
5835
  void pg_query__string__init
5543
5836
  (PgQuery__String *message);
@@ -5576,25 +5869,6 @@ PgQuery__BitString *
5576
5869
  void pg_query__bit_string__free_unpacked
5577
5870
  (PgQuery__BitString *message,
5578
5871
  ProtobufCAllocator *allocator);
5579
- /* PgQuery__Null methods */
5580
- void pg_query__null__init
5581
- (PgQuery__Null *message);
5582
- size_t pg_query__null__get_packed_size
5583
- (const PgQuery__Null *message);
5584
- size_t pg_query__null__pack
5585
- (const PgQuery__Null *message,
5586
- uint8_t *out);
5587
- size_t pg_query__null__pack_to_buffer
5588
- (const PgQuery__Null *message,
5589
- ProtobufCBuffer *buffer);
5590
- PgQuery__Null *
5591
- pg_query__null__unpack
5592
- (ProtobufCAllocator *allocator,
5593
- size_t len,
5594
- const uint8_t *data);
5595
- void pg_query__null__free_unpacked
5596
- (PgQuery__Null *message,
5597
- ProtobufCAllocator *allocator);
5598
5872
  /* PgQuery__List methods */
5599
5873
  void pg_query__list__init
5600
5874
  (PgQuery__List *message);
@@ -5652,6 +5926,25 @@ PgQuery__IntList *
5652
5926
  void pg_query__int_list__free_unpacked
5653
5927
  (PgQuery__IntList *message,
5654
5928
  ProtobufCAllocator *allocator);
5929
+ /* PgQuery__AConst methods */
5930
+ void pg_query__a__const__init
5931
+ (PgQuery__AConst *message);
5932
+ size_t pg_query__a__const__get_packed_size
5933
+ (const PgQuery__AConst *message);
5934
+ size_t pg_query__a__const__pack
5935
+ (const PgQuery__AConst *message,
5936
+ uint8_t *out);
5937
+ size_t pg_query__a__const__pack_to_buffer
5938
+ (const PgQuery__AConst *message,
5939
+ ProtobufCBuffer *buffer);
5940
+ PgQuery__AConst *
5941
+ pg_query__a__const__unpack
5942
+ (ProtobufCAllocator *allocator,
5943
+ size_t len,
5944
+ const uint8_t *data);
5945
+ void pg_query__a__const__free_unpacked
5946
+ (PgQuery__AConst *message,
5947
+ ProtobufCAllocator *allocator);
5655
5948
  /* PgQuery__Alias methods */
5656
5949
  void pg_query__alias__init
5657
5950
  (PgQuery__Alias *message);
@@ -5709,25 +6002,6 @@ PgQuery__TableFunc *
5709
6002
  void pg_query__table_func__free_unpacked
5710
6003
  (PgQuery__TableFunc *message,
5711
6004
  ProtobufCAllocator *allocator);
5712
- /* PgQuery__Expr methods */
5713
- void pg_query__expr__init
5714
- (PgQuery__Expr *message);
5715
- size_t pg_query__expr__get_packed_size
5716
- (const PgQuery__Expr *message);
5717
- size_t pg_query__expr__pack
5718
- (const PgQuery__Expr *message,
5719
- uint8_t *out);
5720
- size_t pg_query__expr__pack_to_buffer
5721
- (const PgQuery__Expr *message,
5722
- ProtobufCBuffer *buffer);
5723
- PgQuery__Expr *
5724
- pg_query__expr__unpack
5725
- (ProtobufCAllocator *allocator,
5726
- size_t len,
5727
- const uint8_t *data);
5728
- void pg_query__expr__free_unpacked
5729
- (PgQuery__Expr *message,
5730
- ProtobufCAllocator *allocator);
5731
6005
  /* PgQuery__Var methods */
5732
6006
  void pg_query__var__init
5733
6007
  (PgQuery__Var *message);
@@ -6621,6 +6895,25 @@ PgQuery__IntoClause *
6621
6895
  void pg_query__into_clause__free_unpacked
6622
6896
  (PgQuery__IntoClause *message,
6623
6897
  ProtobufCAllocator *allocator);
6898
+ /* PgQuery__MergeAction methods */
6899
+ void pg_query__merge_action__init
6900
+ (PgQuery__MergeAction *message);
6901
+ size_t pg_query__merge_action__get_packed_size
6902
+ (const PgQuery__MergeAction *message);
6903
+ size_t pg_query__merge_action__pack
6904
+ (const PgQuery__MergeAction *message,
6905
+ uint8_t *out);
6906
+ size_t pg_query__merge_action__pack_to_buffer
6907
+ (const PgQuery__MergeAction *message,
6908
+ ProtobufCBuffer *buffer);
6909
+ PgQuery__MergeAction *
6910
+ pg_query__merge_action__unpack
6911
+ (ProtobufCAllocator *allocator,
6912
+ size_t len,
6913
+ const uint8_t *data);
6914
+ void pg_query__merge_action__free_unpacked
6915
+ (PgQuery__MergeAction *message,
6916
+ ProtobufCAllocator *allocator);
6624
6917
  /* PgQuery__RawStmt methods */
6625
6918
  void pg_query__raw_stmt__init
6626
6919
  (PgQuery__RawStmt *message);
@@ -6716,6 +7009,25 @@ PgQuery__UpdateStmt *
6716
7009
  void pg_query__update_stmt__free_unpacked
6717
7010
  (PgQuery__UpdateStmt *message,
6718
7011
  ProtobufCAllocator *allocator);
7012
+ /* PgQuery__MergeStmt methods */
7013
+ void pg_query__merge_stmt__init
7014
+ (PgQuery__MergeStmt *message);
7015
+ size_t pg_query__merge_stmt__get_packed_size
7016
+ (const PgQuery__MergeStmt *message);
7017
+ size_t pg_query__merge_stmt__pack
7018
+ (const PgQuery__MergeStmt *message,
7019
+ uint8_t *out);
7020
+ size_t pg_query__merge_stmt__pack_to_buffer
7021
+ (const PgQuery__MergeStmt *message,
7022
+ ProtobufCBuffer *buffer);
7023
+ PgQuery__MergeStmt *
7024
+ pg_query__merge_stmt__unpack
7025
+ (ProtobufCAllocator *allocator,
7026
+ size_t len,
7027
+ const uint8_t *data);
7028
+ void pg_query__merge_stmt__free_unpacked
7029
+ (PgQuery__MergeStmt *message,
7030
+ ProtobufCAllocator *allocator);
6719
7031
  /* PgQuery__SelectStmt methods */
6720
7032
  void pg_query__select_stmt__init
6721
7033
  (PgQuery__SelectStmt *message);
@@ -6735,6 +7047,44 @@ PgQuery__SelectStmt *
6735
7047
  void pg_query__select_stmt__free_unpacked
6736
7048
  (PgQuery__SelectStmt *message,
6737
7049
  ProtobufCAllocator *allocator);
7050
+ /* PgQuery__ReturnStmt methods */
7051
+ void pg_query__return_stmt__init
7052
+ (PgQuery__ReturnStmt *message);
7053
+ size_t pg_query__return_stmt__get_packed_size
7054
+ (const PgQuery__ReturnStmt *message);
7055
+ size_t pg_query__return_stmt__pack
7056
+ (const PgQuery__ReturnStmt *message,
7057
+ uint8_t *out);
7058
+ size_t pg_query__return_stmt__pack_to_buffer
7059
+ (const PgQuery__ReturnStmt *message,
7060
+ ProtobufCBuffer *buffer);
7061
+ PgQuery__ReturnStmt *
7062
+ pg_query__return_stmt__unpack
7063
+ (ProtobufCAllocator *allocator,
7064
+ size_t len,
7065
+ const uint8_t *data);
7066
+ void pg_query__return_stmt__free_unpacked
7067
+ (PgQuery__ReturnStmt *message,
7068
+ ProtobufCAllocator *allocator);
7069
+ /* PgQuery__PLAssignStmt methods */
7070
+ void pg_query__plassign_stmt__init
7071
+ (PgQuery__PLAssignStmt *message);
7072
+ size_t pg_query__plassign_stmt__get_packed_size
7073
+ (const PgQuery__PLAssignStmt *message);
7074
+ size_t pg_query__plassign_stmt__pack
7075
+ (const PgQuery__PLAssignStmt *message,
7076
+ uint8_t *out);
7077
+ size_t pg_query__plassign_stmt__pack_to_buffer
7078
+ (const PgQuery__PLAssignStmt *message,
7079
+ ProtobufCBuffer *buffer);
7080
+ PgQuery__PLAssignStmt *
7081
+ pg_query__plassign_stmt__unpack
7082
+ (ProtobufCAllocator *allocator,
7083
+ size_t len,
7084
+ const uint8_t *data);
7085
+ void pg_query__plassign_stmt__free_unpacked
7086
+ (PgQuery__PLAssignStmt *message,
7087
+ ProtobufCAllocator *allocator);
6738
7088
  /* PgQuery__AlterTableStmt methods */
6739
7089
  void pg_query__alter_table_stmt__init
6740
7090
  (PgQuery__AlterTableStmt *message);
@@ -7685,6 +8035,25 @@ PgQuery__AlterDatabaseStmt *
7685
8035
  void pg_query__alter_database_stmt__free_unpacked
7686
8036
  (PgQuery__AlterDatabaseStmt *message,
7687
8037
  ProtobufCAllocator *allocator);
8038
+ /* PgQuery__AlterDatabaseRefreshCollStmt methods */
8039
+ void pg_query__alter_database_refresh_coll_stmt__init
8040
+ (PgQuery__AlterDatabaseRefreshCollStmt *message);
8041
+ size_t pg_query__alter_database_refresh_coll_stmt__get_packed_size
8042
+ (const PgQuery__AlterDatabaseRefreshCollStmt *message);
8043
+ size_t pg_query__alter_database_refresh_coll_stmt__pack
8044
+ (const PgQuery__AlterDatabaseRefreshCollStmt *message,
8045
+ uint8_t *out);
8046
+ size_t pg_query__alter_database_refresh_coll_stmt__pack_to_buffer
8047
+ (const PgQuery__AlterDatabaseRefreshCollStmt *message,
8048
+ ProtobufCBuffer *buffer);
8049
+ PgQuery__AlterDatabaseRefreshCollStmt *
8050
+ pg_query__alter_database_refresh_coll_stmt__unpack
8051
+ (ProtobufCAllocator *allocator,
8052
+ size_t len,
8053
+ const uint8_t *data);
8054
+ void pg_query__alter_database_refresh_coll_stmt__free_unpacked
8055
+ (PgQuery__AlterDatabaseRefreshCollStmt *message,
8056
+ ProtobufCAllocator *allocator);
7688
8057
  /* PgQuery__AlterDatabaseSetStmt methods */
7689
8058
  void pg_query__alter_database_set_stmt__init
7690
8059
  (PgQuery__AlterDatabaseSetStmt *message);
@@ -8863,25 +9232,6 @@ PgQuery__ParamRef *
8863
9232
  void pg_query__param_ref__free_unpacked
8864
9233
  (PgQuery__ParamRef *message,
8865
9234
  ProtobufCAllocator *allocator);
8866
- /* PgQuery__AConst methods */
8867
- void pg_query__a__const__init
8868
- (PgQuery__AConst *message);
8869
- size_t pg_query__a__const__get_packed_size
8870
- (const PgQuery__AConst *message);
8871
- size_t pg_query__a__const__pack
8872
- (const PgQuery__AConst *message,
8873
- uint8_t *out);
8874
- size_t pg_query__a__const__pack_to_buffer
8875
- (const PgQuery__AConst *message,
8876
- ProtobufCBuffer *buffer);
8877
- PgQuery__AConst *
8878
- pg_query__a__const__unpack
8879
- (ProtobufCAllocator *allocator,
8880
- size_t len,
8881
- const uint8_t *data);
8882
- void pg_query__a__const__free_unpacked
8883
- (PgQuery__AConst *message,
8884
- ProtobufCAllocator *allocator);
8885
9235
  /* PgQuery__FuncCall methods */
8886
9236
  void pg_query__func_call__init
8887
9237
  (PgQuery__FuncCall *message);
@@ -9243,6 +9593,25 @@ PgQuery__IndexElem *
9243
9593
  void pg_query__index_elem__free_unpacked
9244
9594
  (PgQuery__IndexElem *message,
9245
9595
  ProtobufCAllocator *allocator);
9596
+ /* PgQuery__StatsElem methods */
9597
+ void pg_query__stats_elem__init
9598
+ (PgQuery__StatsElem *message);
9599
+ size_t pg_query__stats_elem__get_packed_size
9600
+ (const PgQuery__StatsElem *message);
9601
+ size_t pg_query__stats_elem__pack
9602
+ (const PgQuery__StatsElem *message,
9603
+ uint8_t *out);
9604
+ size_t pg_query__stats_elem__pack_to_buffer
9605
+ (const PgQuery__StatsElem *message,
9606
+ ProtobufCBuffer *buffer);
9607
+ PgQuery__StatsElem *
9608
+ pg_query__stats_elem__unpack
9609
+ (ProtobufCAllocator *allocator,
9610
+ size_t len,
9611
+ const uint8_t *data);
9612
+ void pg_query__stats_elem__free_unpacked
9613
+ (PgQuery__StatsElem *message,
9614
+ ProtobufCAllocator *allocator);
9246
9615
  /* PgQuery__Constraint methods */
9247
9616
  void pg_query__constraint__init
9248
9617
  (PgQuery__Constraint *message);
@@ -9623,6 +9992,44 @@ PgQuery__OnConflictClause *
9623
9992
  void pg_query__on_conflict_clause__free_unpacked
9624
9993
  (PgQuery__OnConflictClause *message,
9625
9994
  ProtobufCAllocator *allocator);
9995
+ /* PgQuery__CTESearchClause methods */
9996
+ void pg_query__ctesearch_clause__init
9997
+ (PgQuery__CTESearchClause *message);
9998
+ size_t pg_query__ctesearch_clause__get_packed_size
9999
+ (const PgQuery__CTESearchClause *message);
10000
+ size_t pg_query__ctesearch_clause__pack
10001
+ (const PgQuery__CTESearchClause *message,
10002
+ uint8_t *out);
10003
+ size_t pg_query__ctesearch_clause__pack_to_buffer
10004
+ (const PgQuery__CTESearchClause *message,
10005
+ ProtobufCBuffer *buffer);
10006
+ PgQuery__CTESearchClause *
10007
+ pg_query__ctesearch_clause__unpack
10008
+ (ProtobufCAllocator *allocator,
10009
+ size_t len,
10010
+ const uint8_t *data);
10011
+ void pg_query__ctesearch_clause__free_unpacked
10012
+ (PgQuery__CTESearchClause *message,
10013
+ ProtobufCAllocator *allocator);
10014
+ /* PgQuery__CTECycleClause methods */
10015
+ void pg_query__ctecycle_clause__init
10016
+ (PgQuery__CTECycleClause *message);
10017
+ size_t pg_query__ctecycle_clause__get_packed_size
10018
+ (const PgQuery__CTECycleClause *message);
10019
+ size_t pg_query__ctecycle_clause__pack
10020
+ (const PgQuery__CTECycleClause *message,
10021
+ uint8_t *out);
10022
+ size_t pg_query__ctecycle_clause__pack_to_buffer
10023
+ (const PgQuery__CTECycleClause *message,
10024
+ ProtobufCBuffer *buffer);
10025
+ PgQuery__CTECycleClause *
10026
+ pg_query__ctecycle_clause__unpack
10027
+ (ProtobufCAllocator *allocator,
10028
+ size_t len,
10029
+ const uint8_t *data);
10030
+ void pg_query__ctecycle_clause__free_unpacked
10031
+ (PgQuery__CTECycleClause *message,
10032
+ ProtobufCAllocator *allocator);
9626
10033
  /* PgQuery__CommonTableExpr methods */
9627
10034
  void pg_query__common_table_expr__init
9628
10035
  (PgQuery__CommonTableExpr *message);
@@ -9642,6 +10049,25 @@ PgQuery__CommonTableExpr *
9642
10049
  void pg_query__common_table_expr__free_unpacked
9643
10050
  (PgQuery__CommonTableExpr *message,
9644
10051
  ProtobufCAllocator *allocator);
10052
+ /* PgQuery__MergeWhenClause methods */
10053
+ void pg_query__merge_when_clause__init
10054
+ (PgQuery__MergeWhenClause *message);
10055
+ size_t pg_query__merge_when_clause__get_packed_size
10056
+ (const PgQuery__MergeWhenClause *message);
10057
+ size_t pg_query__merge_when_clause__pack
10058
+ (const PgQuery__MergeWhenClause *message,
10059
+ uint8_t *out);
10060
+ size_t pg_query__merge_when_clause__pack_to_buffer
10061
+ (const PgQuery__MergeWhenClause *message,
10062
+ ProtobufCBuffer *buffer);
10063
+ PgQuery__MergeWhenClause *
10064
+ pg_query__merge_when_clause__unpack
10065
+ (ProtobufCAllocator *allocator,
10066
+ size_t len,
10067
+ const uint8_t *data);
10068
+ void pg_query__merge_when_clause__free_unpacked
10069
+ (PgQuery__MergeWhenClause *message,
10070
+ ProtobufCAllocator *allocator);
9645
10071
  /* PgQuery__RoleSpec methods */
9646
10072
  void pg_query__role_spec__init
9647
10073
  (PgQuery__RoleSpec *message);
@@ -9794,6 +10220,44 @@ PgQuery__VacuumRelation *
9794
10220
  void pg_query__vacuum_relation__free_unpacked
9795
10221
  (PgQuery__VacuumRelation *message,
9796
10222
  ProtobufCAllocator *allocator);
10223
+ /* PgQuery__PublicationObjSpec methods */
10224
+ void pg_query__publication_obj_spec__init
10225
+ (PgQuery__PublicationObjSpec *message);
10226
+ size_t pg_query__publication_obj_spec__get_packed_size
10227
+ (const PgQuery__PublicationObjSpec *message);
10228
+ size_t pg_query__publication_obj_spec__pack
10229
+ (const PgQuery__PublicationObjSpec *message,
10230
+ uint8_t *out);
10231
+ size_t pg_query__publication_obj_spec__pack_to_buffer
10232
+ (const PgQuery__PublicationObjSpec *message,
10233
+ ProtobufCBuffer *buffer);
10234
+ PgQuery__PublicationObjSpec *
10235
+ pg_query__publication_obj_spec__unpack
10236
+ (ProtobufCAllocator *allocator,
10237
+ size_t len,
10238
+ const uint8_t *data);
10239
+ void pg_query__publication_obj_spec__free_unpacked
10240
+ (PgQuery__PublicationObjSpec *message,
10241
+ ProtobufCAllocator *allocator);
10242
+ /* PgQuery__PublicationTable methods */
10243
+ void pg_query__publication_table__init
10244
+ (PgQuery__PublicationTable *message);
10245
+ size_t pg_query__publication_table__get_packed_size
10246
+ (const PgQuery__PublicationTable *message);
10247
+ size_t pg_query__publication_table__pack
10248
+ (const PgQuery__PublicationTable *message,
10249
+ uint8_t *out);
10250
+ size_t pg_query__publication_table__pack_to_buffer
10251
+ (const PgQuery__PublicationTable *message,
10252
+ ProtobufCBuffer *buffer);
10253
+ PgQuery__PublicationTable *
10254
+ pg_query__publication_table__unpack
10255
+ (ProtobufCAllocator *allocator,
10256
+ size_t len,
10257
+ const uint8_t *data);
10258
+ void pg_query__publication_table__free_unpacked
10259
+ (PgQuery__PublicationTable *message,
10260
+ ProtobufCAllocator *allocator);
9797
10261
  /* PgQuery__InlineCodeBlock methods */
9798
10262
  void pg_query__inline_code_block__init
9799
10263
  (PgQuery__InlineCodeBlock *message);
@@ -9868,15 +10332,15 @@ typedef void (*PgQuery__Integer_Closure)
9868
10332
  typedef void (*PgQuery__Float_Closure)
9869
10333
  (const PgQuery__Float *message,
9870
10334
  void *closure_data);
10335
+ typedef void (*PgQuery__Boolean_Closure)
10336
+ (const PgQuery__Boolean *message,
10337
+ void *closure_data);
9871
10338
  typedef void (*PgQuery__String_Closure)
9872
10339
  (const PgQuery__String *message,
9873
10340
  void *closure_data);
9874
10341
  typedef void (*PgQuery__BitString_Closure)
9875
10342
  (const PgQuery__BitString *message,
9876
10343
  void *closure_data);
9877
- typedef void (*PgQuery__Null_Closure)
9878
- (const PgQuery__Null *message,
9879
- void *closure_data);
9880
10344
  typedef void (*PgQuery__List_Closure)
9881
10345
  (const PgQuery__List *message,
9882
10346
  void *closure_data);
@@ -9886,6 +10350,9 @@ typedef void (*PgQuery__OidList_Closure)
9886
10350
  typedef void (*PgQuery__IntList_Closure)
9887
10351
  (const PgQuery__IntList *message,
9888
10352
  void *closure_data);
10353
+ typedef void (*PgQuery__AConst_Closure)
10354
+ (const PgQuery__AConst *message,
10355
+ void *closure_data);
9889
10356
  typedef void (*PgQuery__Alias_Closure)
9890
10357
  (const PgQuery__Alias *message,
9891
10358
  void *closure_data);
@@ -9895,9 +10362,6 @@ typedef void (*PgQuery__RangeVar_Closure)
9895
10362
  typedef void (*PgQuery__TableFunc_Closure)
9896
10363
  (const PgQuery__TableFunc *message,
9897
10364
  void *closure_data);
9898
- typedef void (*PgQuery__Expr_Closure)
9899
- (const PgQuery__Expr *message,
9900
- void *closure_data);
9901
10365
  typedef void (*PgQuery__Var_Closure)
9902
10366
  (const PgQuery__Var *message,
9903
10367
  void *closure_data);
@@ -10039,6 +10503,9 @@ typedef void (*PgQuery__OnConflictExpr_Closure)
10039
10503
  typedef void (*PgQuery__IntoClause_Closure)
10040
10504
  (const PgQuery__IntoClause *message,
10041
10505
  void *closure_data);
10506
+ typedef void (*PgQuery__MergeAction_Closure)
10507
+ (const PgQuery__MergeAction *message,
10508
+ void *closure_data);
10042
10509
  typedef void (*PgQuery__RawStmt_Closure)
10043
10510
  (const PgQuery__RawStmt *message,
10044
10511
  void *closure_data);
@@ -10054,9 +10521,18 @@ typedef void (*PgQuery__DeleteStmt_Closure)
10054
10521
  typedef void (*PgQuery__UpdateStmt_Closure)
10055
10522
  (const PgQuery__UpdateStmt *message,
10056
10523
  void *closure_data);
10524
+ typedef void (*PgQuery__MergeStmt_Closure)
10525
+ (const PgQuery__MergeStmt *message,
10526
+ void *closure_data);
10057
10527
  typedef void (*PgQuery__SelectStmt_Closure)
10058
10528
  (const PgQuery__SelectStmt *message,
10059
10529
  void *closure_data);
10530
+ typedef void (*PgQuery__ReturnStmt_Closure)
10531
+ (const PgQuery__ReturnStmt *message,
10532
+ void *closure_data);
10533
+ typedef void (*PgQuery__PLAssignStmt_Closure)
10534
+ (const PgQuery__PLAssignStmt *message,
10535
+ void *closure_data);
10060
10536
  typedef void (*PgQuery__AlterTableStmt_Closure)
10061
10537
  (const PgQuery__AlterTableStmt *message,
10062
10538
  void *closure_data);
@@ -10207,6 +10683,9 @@ typedef void (*PgQuery__CreateSchemaStmt_Closure)
10207
10683
  typedef void (*PgQuery__AlterDatabaseStmt_Closure)
10208
10684
  (const PgQuery__AlterDatabaseStmt *message,
10209
10685
  void *closure_data);
10686
+ typedef void (*PgQuery__AlterDatabaseRefreshCollStmt_Closure)
10687
+ (const PgQuery__AlterDatabaseRefreshCollStmt *message,
10688
+ void *closure_data);
10210
10689
  typedef void (*PgQuery__AlterDatabaseSetStmt_Closure)
10211
10690
  (const PgQuery__AlterDatabaseSetStmt *message,
10212
10691
  void *closure_data);
@@ -10393,9 +10872,6 @@ typedef void (*PgQuery__ColumnRef_Closure)
10393
10872
  typedef void (*PgQuery__ParamRef_Closure)
10394
10873
  (const PgQuery__ParamRef *message,
10395
10874
  void *closure_data);
10396
- typedef void (*PgQuery__AConst_Closure)
10397
- (const PgQuery__AConst *message,
10398
- void *closure_data);
10399
10875
  typedef void (*PgQuery__FuncCall_Closure)
10400
10876
  (const PgQuery__FuncCall *message,
10401
10877
  void *closure_data);
@@ -10453,6 +10929,9 @@ typedef void (*PgQuery__ColumnDef_Closure)
10453
10929
  typedef void (*PgQuery__IndexElem_Closure)
10454
10930
  (const PgQuery__IndexElem *message,
10455
10931
  void *closure_data);
10932
+ typedef void (*PgQuery__StatsElem_Closure)
10933
+ (const PgQuery__StatsElem *message,
10934
+ void *closure_data);
10456
10935
  typedef void (*PgQuery__Constraint_Closure)
10457
10936
  (const PgQuery__Constraint *message,
10458
10937
  void *closure_data);
@@ -10513,9 +10992,18 @@ typedef void (*PgQuery__InferClause_Closure)
10513
10992
  typedef void (*PgQuery__OnConflictClause_Closure)
10514
10993
  (const PgQuery__OnConflictClause *message,
10515
10994
  void *closure_data);
10995
+ typedef void (*PgQuery__CTESearchClause_Closure)
10996
+ (const PgQuery__CTESearchClause *message,
10997
+ void *closure_data);
10998
+ typedef void (*PgQuery__CTECycleClause_Closure)
10999
+ (const PgQuery__CTECycleClause *message,
11000
+ void *closure_data);
10516
11001
  typedef void (*PgQuery__CommonTableExpr_Closure)
10517
11002
  (const PgQuery__CommonTableExpr *message,
10518
11003
  void *closure_data);
11004
+ typedef void (*PgQuery__MergeWhenClause_Closure)
11005
+ (const PgQuery__MergeWhenClause *message,
11006
+ void *closure_data);
10519
11007
  typedef void (*PgQuery__RoleSpec_Closure)
10520
11008
  (const PgQuery__RoleSpec *message,
10521
11009
  void *closure_data);
@@ -10540,6 +11028,12 @@ typedef void (*PgQuery__PartitionCmd_Closure)
10540
11028
  typedef void (*PgQuery__VacuumRelation_Closure)
10541
11029
  (const PgQuery__VacuumRelation *message,
10542
11030
  void *closure_data);
11031
+ typedef void (*PgQuery__PublicationObjSpec_Closure)
11032
+ (const PgQuery__PublicationObjSpec *message,
11033
+ void *closure_data);
11034
+ typedef void (*PgQuery__PublicationTable_Closure)
11035
+ (const PgQuery__PublicationTable *message,
11036
+ void *closure_data);
10543
11037
  typedef void (*PgQuery__InlineCodeBlock_Closure)
10544
11038
  (const PgQuery__InlineCodeBlock *message,
10545
11039
  void *closure_data);
@@ -10559,6 +11053,7 @@ extern const ProtobufCEnumDescriptor pg_query__overriding_kind__descriptor;
10559
11053
  extern const ProtobufCEnumDescriptor pg_query__query_source__descriptor;
10560
11054
  extern const ProtobufCEnumDescriptor pg_query__sort_by_dir__descriptor;
10561
11055
  extern const ProtobufCEnumDescriptor pg_query__sort_by_nulls__descriptor;
11056
+ extern const ProtobufCEnumDescriptor pg_query__set_quantifier__descriptor;
10562
11057
  extern const ProtobufCEnumDescriptor pg_query__a__expr__kind__descriptor;
10563
11058
  extern const ProtobufCEnumDescriptor pg_query__role_spec_type__descriptor;
10564
11059
  extern const ProtobufCEnumDescriptor pg_query__table_like_option__descriptor;
@@ -10581,10 +11076,11 @@ extern const ProtobufCEnumDescriptor pg_query__fetch_direction__descriptor;
10581
11076
  extern const ProtobufCEnumDescriptor pg_query__function_parameter_mode__descriptor;
10582
11077
  extern const ProtobufCEnumDescriptor pg_query__transaction_stmt_kind__descriptor;
10583
11078
  extern const ProtobufCEnumDescriptor pg_query__view_check_option__descriptor;
10584
- extern const ProtobufCEnumDescriptor pg_query__cluster_option__descriptor;
10585
11079
  extern const ProtobufCEnumDescriptor pg_query__discard_mode__descriptor;
10586
11080
  extern const ProtobufCEnumDescriptor pg_query__reindex_object_type__descriptor;
10587
11081
  extern const ProtobufCEnumDescriptor pg_query__alter_tsconfig_type__descriptor;
11082
+ extern const ProtobufCEnumDescriptor pg_query__publication_obj_spec_type__descriptor;
11083
+ extern const ProtobufCEnumDescriptor pg_query__alter_publication_action__descriptor;
10588
11084
  extern const ProtobufCEnumDescriptor pg_query__alter_subscription_type__descriptor;
10589
11085
  extern const ProtobufCEnumDescriptor pg_query__on_commit_action__descriptor;
10590
11086
  extern const ProtobufCEnumDescriptor pg_query__param_kind__descriptor;
@@ -10617,16 +11113,16 @@ extern const ProtobufCMessageDescriptor pg_query__scan_result__descriptor;
10617
11113
  extern const ProtobufCMessageDescriptor pg_query__node__descriptor;
10618
11114
  extern const ProtobufCMessageDescriptor pg_query__integer__descriptor;
10619
11115
  extern const ProtobufCMessageDescriptor pg_query__float__descriptor;
11116
+ extern const ProtobufCMessageDescriptor pg_query__boolean__descriptor;
10620
11117
  extern const ProtobufCMessageDescriptor pg_query__string__descriptor;
10621
11118
  extern const ProtobufCMessageDescriptor pg_query__bit_string__descriptor;
10622
- extern const ProtobufCMessageDescriptor pg_query__null__descriptor;
10623
11119
  extern const ProtobufCMessageDescriptor pg_query__list__descriptor;
10624
11120
  extern const ProtobufCMessageDescriptor pg_query__oid_list__descriptor;
10625
11121
  extern const ProtobufCMessageDescriptor pg_query__int_list__descriptor;
11122
+ extern const ProtobufCMessageDescriptor pg_query__a__const__descriptor;
10626
11123
  extern const ProtobufCMessageDescriptor pg_query__alias__descriptor;
10627
11124
  extern const ProtobufCMessageDescriptor pg_query__range_var__descriptor;
10628
11125
  extern const ProtobufCMessageDescriptor pg_query__table_func__descriptor;
10629
- extern const ProtobufCMessageDescriptor pg_query__expr__descriptor;
10630
11126
  extern const ProtobufCMessageDescriptor pg_query__var__descriptor;
10631
11127
  extern const ProtobufCMessageDescriptor pg_query__param__descriptor;
10632
11128
  extern const ProtobufCMessageDescriptor pg_query__aggref__descriptor;
@@ -10674,12 +11170,16 @@ extern const ProtobufCMessageDescriptor pg_query__join_expr__descriptor;
10674
11170
  extern const ProtobufCMessageDescriptor pg_query__from_expr__descriptor;
10675
11171
  extern const ProtobufCMessageDescriptor pg_query__on_conflict_expr__descriptor;
10676
11172
  extern const ProtobufCMessageDescriptor pg_query__into_clause__descriptor;
11173
+ extern const ProtobufCMessageDescriptor pg_query__merge_action__descriptor;
10677
11174
  extern const ProtobufCMessageDescriptor pg_query__raw_stmt__descriptor;
10678
11175
  extern const ProtobufCMessageDescriptor pg_query__query__descriptor;
10679
11176
  extern const ProtobufCMessageDescriptor pg_query__insert_stmt__descriptor;
10680
11177
  extern const ProtobufCMessageDescriptor pg_query__delete_stmt__descriptor;
10681
11178
  extern const ProtobufCMessageDescriptor pg_query__update_stmt__descriptor;
11179
+ extern const ProtobufCMessageDescriptor pg_query__merge_stmt__descriptor;
10682
11180
  extern const ProtobufCMessageDescriptor pg_query__select_stmt__descriptor;
11181
+ extern const ProtobufCMessageDescriptor pg_query__return_stmt__descriptor;
11182
+ extern const ProtobufCMessageDescriptor pg_query__plassign_stmt__descriptor;
10683
11183
  extern const ProtobufCMessageDescriptor pg_query__alter_table_stmt__descriptor;
10684
11184
  extern const ProtobufCMessageDescriptor pg_query__alter_table_cmd__descriptor;
10685
11185
  extern const ProtobufCMessageDescriptor pg_query__alter_domain_stmt__descriptor;
@@ -10730,6 +11230,7 @@ extern const ProtobufCMessageDescriptor pg_query__reindex_stmt__descriptor;
10730
11230
  extern const ProtobufCMessageDescriptor pg_query__check_point_stmt__descriptor;
10731
11231
  extern const ProtobufCMessageDescriptor pg_query__create_schema_stmt__descriptor;
10732
11232
  extern const ProtobufCMessageDescriptor pg_query__alter_database_stmt__descriptor;
11233
+ extern const ProtobufCMessageDescriptor pg_query__alter_database_refresh_coll_stmt__descriptor;
10733
11234
  extern const ProtobufCMessageDescriptor pg_query__alter_database_set_stmt__descriptor;
10734
11235
  extern const ProtobufCMessageDescriptor pg_query__alter_role_set_stmt__descriptor;
10735
11236
  extern const ProtobufCMessageDescriptor pg_query__create_conversion_stmt__descriptor;
@@ -10792,7 +11293,6 @@ extern const ProtobufCMessageDescriptor pg_query__alter_stats_stmt__descriptor;
10792
11293
  extern const ProtobufCMessageDescriptor pg_query__a__expr__descriptor;
10793
11294
  extern const ProtobufCMessageDescriptor pg_query__column_ref__descriptor;
10794
11295
  extern const ProtobufCMessageDescriptor pg_query__param_ref__descriptor;
10795
- extern const ProtobufCMessageDescriptor pg_query__a__const__descriptor;
10796
11296
  extern const ProtobufCMessageDescriptor pg_query__func_call__descriptor;
10797
11297
  extern const ProtobufCMessageDescriptor pg_query__a__star__descriptor;
10798
11298
  extern const ProtobufCMessageDescriptor pg_query__a__indices__descriptor;
@@ -10812,6 +11312,7 @@ extern const ProtobufCMessageDescriptor pg_query__range_table_func_col__descript
10812
11312
  extern const ProtobufCMessageDescriptor pg_query__type_name__descriptor;
10813
11313
  extern const ProtobufCMessageDescriptor pg_query__column_def__descriptor;
10814
11314
  extern const ProtobufCMessageDescriptor pg_query__index_elem__descriptor;
11315
+ extern const ProtobufCMessageDescriptor pg_query__stats_elem__descriptor;
10815
11316
  extern const ProtobufCMessageDescriptor pg_query__constraint__descriptor;
10816
11317
  extern const ProtobufCMessageDescriptor pg_query__def_elem__descriptor;
10817
11318
  extern const ProtobufCMessageDescriptor pg_query__range_tbl_entry__descriptor;
@@ -10832,7 +11333,10 @@ extern const ProtobufCMessageDescriptor pg_query__xml_serialize__descriptor;
10832
11333
  extern const ProtobufCMessageDescriptor pg_query__with_clause__descriptor;
10833
11334
  extern const ProtobufCMessageDescriptor pg_query__infer_clause__descriptor;
10834
11335
  extern const ProtobufCMessageDescriptor pg_query__on_conflict_clause__descriptor;
11336
+ extern const ProtobufCMessageDescriptor pg_query__ctesearch_clause__descriptor;
11337
+ extern const ProtobufCMessageDescriptor pg_query__ctecycle_clause__descriptor;
10835
11338
  extern const ProtobufCMessageDescriptor pg_query__common_table_expr__descriptor;
11339
+ extern const ProtobufCMessageDescriptor pg_query__merge_when_clause__descriptor;
10836
11340
  extern const ProtobufCMessageDescriptor pg_query__role_spec__descriptor;
10837
11341
  extern const ProtobufCMessageDescriptor pg_query__trigger_transition__descriptor;
10838
11342
  extern const ProtobufCMessageDescriptor pg_query__partition_elem__descriptor;
@@ -10841,6 +11345,8 @@ extern const ProtobufCMessageDescriptor pg_query__partition_bound_spec__descript
10841
11345
  extern const ProtobufCMessageDescriptor pg_query__partition_range_datum__descriptor;
10842
11346
  extern const ProtobufCMessageDescriptor pg_query__partition_cmd__descriptor;
10843
11347
  extern const ProtobufCMessageDescriptor pg_query__vacuum_relation__descriptor;
11348
+ extern const ProtobufCMessageDescriptor pg_query__publication_obj_spec__descriptor;
11349
+ extern const ProtobufCMessageDescriptor pg_query__publication_table__descriptor;
10844
11350
  extern const ProtobufCMessageDescriptor pg_query__inline_code_block__descriptor;
10845
11351
  extern const ProtobufCMessageDescriptor pg_query__call_context__descriptor;
10846
11352
  extern const ProtobufCMessageDescriptor pg_query__scan_token__descriptor;