pg_query 2.2.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/README.md +59 -31
  4. data/Rakefile +2 -2
  5. data/ext/pg_query/include/access/amapi.h +45 -1
  6. data/ext/pg_query/include/access/attmap.h +1 -1
  7. data/ext/pg_query/include/access/attnum.h +2 -2
  8. data/ext/pg_query/include/access/clog.h +4 -2
  9. data/ext/pg_query/include/access/commit_ts.h +6 -9
  10. data/ext/pg_query/include/access/detoast.h +1 -11
  11. data/ext/pg_query/include/access/genam.h +15 -12
  12. data/ext/pg_query/include/access/gin.h +2 -2
  13. data/ext/pg_query/include/access/htup.h +1 -1
  14. data/ext/pg_query/include/access/htup_details.h +75 -87
  15. data/ext/pg_query/include/access/itup.h +7 -1
  16. data/ext/pg_query/include/access/parallel.h +2 -2
  17. data/ext/pg_query/include/access/printtup.h +1 -1
  18. data/ext/pg_query/include/access/relation.h +1 -1
  19. data/ext/pg_query/include/access/relscan.h +17 -2
  20. data/ext/pg_query/include/access/rmgr.h +30 -3
  21. data/ext/pg_query/include/access/rmgrlist.h +23 -23
  22. data/ext/pg_query/include/access/sdir.h +1 -1
  23. data/ext/pg_query/include/access/skey.h +1 -1
  24. data/ext/pg_query/include/access/stratnum.h +4 -2
  25. data/ext/pg_query/include/access/sysattr.h +1 -1
  26. data/ext/pg_query/include/access/table.h +2 -1
  27. data/ext/pg_query/include/access/tableam.h +272 -20
  28. data/ext/pg_query/include/access/toast_compression.h +73 -0
  29. data/ext/pg_query/include/access/transam.h +123 -13
  30. data/ext/pg_query/include/access/tupconvert.h +1 -1
  31. data/ext/pg_query/include/access/tupdesc.h +1 -1
  32. data/ext/pg_query/include/access/tupmacs.h +3 -3
  33. data/ext/pg_query/include/access/twophase.h +3 -1
  34. data/ext/pg_query/include/access/xact.h +73 -19
  35. data/ext/pg_query/include/access/xlog.h +60 -155
  36. data/ext/pg_query/include/access/xlog_internal.h +40 -13
  37. data/ext/pg_query/include/access/xlogdefs.h +8 -16
  38. data/ext/pg_query/include/access/xlogprefetcher.h +55 -0
  39. data/ext/pg_query/include/access/xlogreader.h +145 -39
  40. data/ext/pg_query/include/access/xlogrecord.h +18 -9
  41. data/ext/pg_query/include/access/xlogrecovery.h +157 -0
  42. data/ext/pg_query/include/c.h +101 -44
  43. data/ext/pg_query/include/catalog/catalog.h +3 -1
  44. data/ext/pg_query/include/catalog/catversion.h +2 -2
  45. data/ext/pg_query/include/catalog/dependency.h +8 -16
  46. data/ext/pg_query/include/catalog/genbki.h +83 -5
  47. data/ext/pg_query/include/catalog/index.h +18 -3
  48. data/ext/pg_query/include/catalog/indexing.h +12 -324
  49. data/ext/pg_query/include/catalog/namespace.h +4 -2
  50. data/ext/pg_query/include/catalog/objectaccess.h +70 -2
  51. data/ext/pg_query/include/catalog/objectaddress.h +11 -6
  52. data/ext/pg_query/include/catalog/pg_aggregate.h +14 -10
  53. data/ext/pg_query/include/catalog/pg_aggregate_d.h +2 -1
  54. data/ext/pg_query/include/catalog/pg_am.h +4 -1
  55. data/ext/pg_query/include/catalog/pg_am_d.h +3 -1
  56. data/ext/pg_query/include/catalog/pg_attribute.h +27 -10
  57. data/ext/pg_query/include/catalog/pg_attribute_d.h +21 -18
  58. data/ext/pg_query/include/catalog/pg_authid.h +7 -2
  59. data/ext/pg_query/include/catalog/pg_authid_d.h +17 -9
  60. data/ext/pg_query/include/catalog/pg_class.h +44 -14
  61. data/ext/pg_query/include/catalog/pg_class_d.h +30 -1
  62. data/ext/pg_query/include/catalog/pg_collation.h +33 -8
  63. data/ext/pg_query/include/catalog/pg_collation_d.h +20 -3
  64. data/ext/pg_query/include/catalog/pg_constraint.h +38 -12
  65. data/ext/pg_query/include/catalog/pg_constraint_d.h +10 -4
  66. data/ext/pg_query/include/catalog/pg_control.h +3 -5
  67. data/ext/pg_query/include/catalog/pg_conversion.h +7 -4
  68. data/ext/pg_query/include/catalog/pg_conversion_d.h +4 -1
  69. data/ext/pg_query/include/catalog/pg_depend.h +11 -7
  70. data/ext/pg_query/include/catalog/pg_depend_d.h +3 -1
  71. data/ext/pg_query/include/catalog/pg_event_trigger.h +9 -3
  72. data/ext/pg_query/include/catalog/pg_event_trigger_d.h +3 -1
  73. data/ext/pg_query/include/catalog/pg_index.h +17 -7
  74. data/ext/pg_query/include/catalog/pg_index_d.h +20 -17
  75. data/ext/pg_query/include/catalog/pg_language.h +10 -5
  76. data/ext/pg_query/include/catalog/pg_language_d.h +3 -1
  77. data/ext/pg_query/include/catalog/pg_namespace.h +7 -2
  78. data/ext/pg_query/include/catalog/pg_namespace_d.h +3 -1
  79. data/ext/pg_query/include/catalog/pg_opclass.h +8 -5
  80. data/ext/pg_query/include/catalog/pg_opclass_d.h +3 -1
  81. data/ext/pg_query/include/catalog/pg_operator.h +18 -15
  82. data/ext/pg_query/include/catalog/pg_operator_d.h +37 -1
  83. data/ext/pg_query/include/catalog/pg_opfamily.h +6 -3
  84. data/ext/pg_query/include/catalog/pg_opfamily_d.h +3 -1
  85. data/ext/pg_query/include/catalog/pg_parameter_acl.h +60 -0
  86. data/ext/pg_query/include/catalog/pg_parameter_acl_d.h +34 -0
  87. data/ext/pg_query/include/catalog/pg_partitioned_table.h +20 -9
  88. data/ext/pg_query/include/catalog/pg_partitioned_table_d.h +2 -1
  89. data/ext/pg_query/include/catalog/pg_proc.h +20 -11
  90. data/ext/pg_query/include/catalog/pg_proc_d.h +10 -8
  91. data/ext/pg_query/include/catalog/pg_publication.h +50 -7
  92. data/ext/pg_query/include/catalog/pg_publication_d.h +3 -1
  93. data/ext/pg_query/include/catalog/pg_replication_origin.h +6 -1
  94. data/ext/pg_query/include/catalog/pg_replication_origin_d.h +5 -1
  95. data/ext/pg_query/include/catalog/pg_statistic.h +19 -12
  96. data/ext/pg_query/include/catalog/pg_statistic_d.h +2 -1
  97. data/ext/pg_query/include/catalog/pg_statistic_ext.h +19 -5
  98. data/ext/pg_query/include/catalog/pg_statistic_ext_d.h +7 -2
  99. data/ext/pg_query/include/catalog/pg_transform.h +8 -5
  100. data/ext/pg_query/include/catalog/pg_transform_d.h +3 -1
  101. data/ext/pg_query/include/catalog/pg_trigger.h +24 -8
  102. data/ext/pg_query/include/catalog/pg_trigger_d.h +4 -1
  103. data/ext/pg_query/include/catalog/pg_ts_config.h +6 -3
  104. data/ext/pg_query/include/catalog/pg_ts_config_d.h +3 -1
  105. data/ext/pg_query/include/catalog/pg_ts_dict.h +8 -3
  106. data/ext/pg_query/include/catalog/pg_ts_dict_d.h +3 -1
  107. data/ext/pg_query/include/catalog/pg_ts_parser.h +6 -3
  108. data/ext/pg_query/include/catalog/pg_ts_parser_d.h +3 -1
  109. data/ext/pg_query/include/catalog/pg_ts_template.h +6 -3
  110. data/ext/pg_query/include/catalog/pg_ts_template_d.h +3 -1
  111. data/ext/pg_query/include/catalog/pg_type.h +55 -24
  112. data/ext/pg_query/include/catalog/pg_type_d.h +70 -31
  113. data/ext/pg_query/include/catalog/storage.h +5 -3
  114. data/ext/pg_query/include/commands/async.h +3 -4
  115. data/ext/pg_query/include/commands/dbcommands.h +2 -1
  116. data/ext/pg_query/include/commands/defrem.h +11 -24
  117. data/ext/pg_query/include/commands/event_trigger.h +2 -2
  118. data/ext/pg_query/include/commands/explain.h +1 -1
  119. data/ext/pg_query/include/commands/prepare.h +1 -1
  120. data/ext/pg_query/include/commands/tablespace.h +2 -2
  121. data/ext/pg_query/include/commands/trigger.h +18 -16
  122. data/ext/pg_query/include/commands/user.h +2 -2
  123. data/ext/pg_query/include/commands/vacuum.h +88 -41
  124. data/ext/pg_query/include/commands/variable.h +1 -1
  125. data/ext/pg_query/include/common/file_perm.h +4 -4
  126. data/ext/pg_query/include/common/hashfn.h +1 -1
  127. data/ext/pg_query/include/common/ip.h +1 -7
  128. data/ext/pg_query/include/common/keywords.h +2 -6
  129. data/ext/pg_query/include/common/kwlookup.h +1 -1
  130. data/ext/pg_query/include/common/pg_prng.h +60 -0
  131. data/ext/pg_query/include/common/relpath.h +2 -2
  132. data/ext/pg_query/include/common/string.h +24 -1
  133. data/ext/pg_query/include/common/unicode_combining_table.h +114 -2
  134. data/ext/pg_query/include/common/unicode_east_asian_fw_table.h +125 -0
  135. data/ext/pg_query/include/datatype/timestamp.h +40 -1
  136. data/ext/pg_query/include/executor/execdesc.h +1 -1
  137. data/ext/pg_query/include/executor/executor.h +65 -22
  138. data/ext/pg_query/include/executor/functions.h +17 -3
  139. data/ext/pg_query/include/executor/instrument.h +33 -16
  140. data/ext/pg_query/include/executor/spi.h +41 -3
  141. data/ext/pg_query/include/executor/tablefunc.h +1 -1
  142. data/ext/pg_query/include/executor/tuptable.h +1 -1
  143. data/ext/pg_query/include/fmgr.h +13 -7
  144. data/ext/pg_query/include/funcapi.h +16 -4
  145. data/ext/pg_query/include/getaddrinfo.h +1 -1
  146. data/ext/pg_query/include/jit/jit.h +11 -11
  147. data/ext/pg_query/include/kwlist_d.h +517 -494
  148. data/ext/pg_query/include/lib/dshash.h +112 -0
  149. data/ext/pg_query/include/lib/ilist.h +20 -1
  150. data/ext/pg_query/include/lib/pairingheap.h +1 -1
  151. data/ext/pg_query/include/lib/simplehash.h +140 -15
  152. data/ext/pg_query/include/lib/sort_template.h +432 -0
  153. data/ext/pg_query/include/lib/stringinfo.h +1 -1
  154. data/ext/pg_query/include/libpq/auth.h +6 -4
  155. data/ext/pg_query/include/libpq/crypt.h +5 -4
  156. data/ext/pg_query/include/libpq/hba.h +43 -4
  157. data/ext/pg_query/include/libpq/libpq-be.h +23 -6
  158. data/ext/pg_query/include/libpq/libpq.h +30 -20
  159. data/ext/pg_query/include/libpq/pqcomm.h +17 -31
  160. data/ext/pg_query/include/libpq/pqformat.h +1 -1
  161. data/ext/pg_query/include/libpq/pqsignal.h +4 -4
  162. data/ext/pg_query/include/mb/pg_wchar.h +105 -23
  163. data/ext/pg_query/include/mb/stringinfo_mb.h +1 -1
  164. data/ext/pg_query/include/miscadmin.h +47 -41
  165. data/ext/pg_query/include/nodes/bitmapset.h +1 -1
  166. data/ext/pg_query/include/nodes/execnodes.h +270 -78
  167. data/ext/pg_query/include/nodes/extensible.h +4 -2
  168. data/ext/pg_query/include/nodes/lockoptions.h +1 -1
  169. data/ext/pg_query/include/nodes/makefuncs.h +7 -6
  170. data/ext/pg_query/include/nodes/memnodes.h +5 -3
  171. data/ext/pg_query/include/nodes/nodeFuncs.h +1 -1
  172. data/ext/pg_query/include/nodes/nodes.h +30 -11
  173. data/ext/pg_query/include/nodes/params.h +1 -1
  174. data/ext/pg_query/include/nodes/parsenodes.h +322 -90
  175. data/ext/pg_query/include/nodes/pathnodes.h +243 -66
  176. data/ext/pg_query/include/nodes/pg_list.h +75 -69
  177. data/ext/pg_query/include/nodes/plannodes.h +111 -28
  178. data/ext/pg_query/include/nodes/primnodes.h +99 -47
  179. data/ext/pg_query/include/nodes/print.h +1 -1
  180. data/ext/pg_query/include/nodes/tidbitmap.h +1 -1
  181. data/ext/pg_query/include/nodes/value.h +58 -39
  182. data/ext/pg_query/include/optimizer/cost.h +9 -2
  183. data/ext/pg_query/include/optimizer/geqo.h +9 -7
  184. data/ext/pg_query/include/optimizer/geqo_gene.h +1 -1
  185. data/ext/pg_query/include/optimizer/optimizer.h +25 -17
  186. data/ext/pg_query/include/optimizer/paths.h +6 -6
  187. data/ext/pg_query/include/optimizer/planmain.h +15 -14
  188. data/ext/pg_query/include/parser/analyze.h +19 -5
  189. data/ext/pg_query/include/parser/gram.h +947 -913
  190. data/ext/pg_query/include/parser/gramparse.h +1 -1
  191. data/ext/pg_query/include/parser/kwlist.h +463 -453
  192. data/ext/pg_query/include/parser/parse_agg.h +2 -7
  193. data/ext/pg_query/include/parser/parse_coerce.h +3 -1
  194. data/ext/pg_query/include/parser/parse_expr.h +2 -3
  195. data/ext/pg_query/include/parser/parse_func.h +2 -1
  196. data/ext/pg_query/include/parser/parse_node.h +21 -9
  197. data/ext/pg_query/include/parser/parse_oper.h +1 -3
  198. data/ext/pg_query/include/parser/parse_relation.h +5 -4
  199. data/ext/pg_query/include/parser/parse_type.h +1 -1
  200. data/ext/pg_query/include/parser/parser.h +31 -4
  201. data/ext/pg_query/include/parser/parsetree.h +1 -1
  202. data/ext/pg_query/include/parser/scanner.h +1 -1
  203. data/ext/pg_query/include/parser/scansup.h +2 -5
  204. data/ext/pg_query/include/partitioning/partdefs.h +1 -1
  205. data/ext/pg_query/include/pg_config.h +83 -41
  206. data/ext/pg_query/include/pg_config_manual.h +74 -21
  207. data/ext/pg_query/include/pg_getopt.h +6 -6
  208. data/ext/pg_query/include/pg_query.h +5 -4
  209. data/ext/pg_query/include/pg_query_enum_defs.c +358 -241
  210. data/ext/pg_query/include/pg_query_fingerprint_conds.c +44 -7
  211. data/ext/pg_query/include/pg_query_fingerprint_defs.c +939 -113
  212. data/ext/pg_query/include/pg_query_outfuncs_conds.c +43 -13
  213. data/ext/pg_query/include/pg_query_outfuncs_defs.c +151 -26
  214. data/ext/pg_query/include/pg_query_readfuncs_conds.c +11 -2
  215. data/ext/pg_query/include/pg_query_readfuncs_defs.c +173 -30
  216. data/ext/pg_query/include/pg_trace.h +1 -1
  217. data/ext/pg_query/include/pgstat.h +449 -1238
  218. data/ext/pg_query/include/pgtime.h +14 -4
  219. data/ext/pg_query/include/pl_gram.h +126 -128
  220. data/ext/pg_query/include/pl_reserved_kwlist.h +1 -1
  221. data/ext/pg_query/include/pl_reserved_kwlist_d.h +10 -10
  222. data/ext/pg_query/include/pl_unreserved_kwlist.h +2 -3
  223. data/ext/pg_query/include/pl_unreserved_kwlist_d.h +54 -56
  224. data/ext/pg_query/include/plerrcodes.h +9 -1
  225. data/ext/pg_query/include/plpgsql.h +52 -54
  226. data/ext/pg_query/include/port/atomics/arch-arm.h +7 -1
  227. data/ext/pg_query/include/port/atomics/arch-ppc.h +1 -1
  228. data/ext/pg_query/include/port/atomics/arch-x86.h +1 -1
  229. data/ext/pg_query/include/port/atomics/fallback.h +1 -1
  230. data/ext/pg_query/include/port/atomics/generic-gcc.h +3 -3
  231. data/ext/pg_query/include/port/atomics/generic.h +1 -1
  232. data/ext/pg_query/include/port/atomics.h +1 -1
  233. data/ext/pg_query/include/port/pg_bitutils.h +40 -10
  234. data/ext/pg_query/include/port/pg_bswap.h +1 -1
  235. data/ext/pg_query/include/port/pg_crc32c.h +1 -1
  236. data/ext/pg_query/include/port.h +71 -46
  237. data/ext/pg_query/include/portability/instr_time.h +1 -1
  238. data/ext/pg_query/include/postgres.h +60 -16
  239. data/ext/pg_query/include/postmaster/autovacuum.h +17 -17
  240. data/ext/pg_query/include/postmaster/auxprocess.h +20 -0
  241. data/ext/pg_query/include/postmaster/bgworker.h +2 -1
  242. data/ext/pg_query/include/postmaster/bgworker_internals.h +2 -2
  243. data/ext/pg_query/include/postmaster/bgwriter.h +5 -5
  244. data/ext/pg_query/include/postmaster/fork_process.h +1 -1
  245. data/ext/pg_query/include/postmaster/interrupt.h +1 -1
  246. data/ext/pg_query/include/postmaster/pgarch.h +42 -8
  247. data/ext/pg_query/include/postmaster/postmaster.h +18 -17
  248. data/ext/pg_query/include/postmaster/startup.h +39 -0
  249. data/ext/pg_query/include/postmaster/syslogger.h +15 -10
  250. data/ext/pg_query/include/postmaster/walwriter.h +3 -3
  251. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +1419 -914
  252. data/ext/pg_query/include/protobuf/pg_query.pb.h +43678 -32769
  253. data/ext/pg_query/include/regex/regex.h +18 -16
  254. data/ext/pg_query/include/replication/logicallauncher.h +3 -5
  255. data/ext/pg_query/include/replication/logicalproto.h +161 -17
  256. data/ext/pg_query/include/replication/logicalworker.h +1 -1
  257. data/ext/pg_query/include/replication/origin.h +7 -7
  258. data/ext/pg_query/include/replication/reorderbuffer.h +259 -42
  259. data/ext/pg_query/include/replication/slot.h +22 -11
  260. data/ext/pg_query/include/replication/syncrep.h +5 -5
  261. data/ext/pg_query/include/replication/walreceiver.h +145 -13
  262. data/ext/pg_query/include/replication/walsender.h +8 -8
  263. data/ext/pg_query/include/rewrite/prs2lock.h +1 -1
  264. data/ext/pg_query/include/rewrite/rewriteHandler.h +1 -3
  265. data/ext/pg_query/include/rewrite/rewriteManip.h +1 -1
  266. data/ext/pg_query/include/rewrite/rewriteSupport.h +1 -1
  267. data/ext/pg_query/include/storage/backendid.h +3 -3
  268. data/ext/pg_query/include/storage/block.h +4 -10
  269. data/ext/pg_query/include/storage/buf.h +1 -1
  270. data/ext/pg_query/include/storage/bufmgr.h +19 -14
  271. data/ext/pg_query/include/storage/bufpage.h +6 -8
  272. data/ext/pg_query/include/storage/condition_variable.h +13 -2
  273. data/ext/pg_query/include/storage/dsm.h +4 -1
  274. data/ext/pg_query/include/storage/dsm_impl.h +3 -2
  275. data/ext/pg_query/include/storage/fd.h +33 -3
  276. data/ext/pg_query/include/storage/fileset.h +40 -0
  277. data/ext/pg_query/include/storage/ipc.h +4 -1
  278. data/ext/pg_query/include/storage/item.h +1 -1
  279. data/ext/pg_query/include/storage/itemid.h +1 -1
  280. data/ext/pg_query/include/storage/itemptr.h +3 -1
  281. data/ext/pg_query/include/storage/large_object.h +2 -2
  282. data/ext/pg_query/include/storage/latch.h +9 -13
  283. data/ext/pg_query/include/storage/lmgr.h +2 -1
  284. data/ext/pg_query/include/storage/lock.h +11 -8
  285. data/ext/pg_query/include/storage/lockdefs.h +2 -2
  286. data/ext/pg_query/include/storage/lwlock.h +5 -32
  287. data/ext/pg_query/include/storage/lwlocknames.h +0 -1
  288. data/ext/pg_query/include/storage/off.h +1 -1
  289. data/ext/pg_query/include/storage/pg_sema.h +1 -1
  290. data/ext/pg_query/include/storage/pg_shmem.h +9 -7
  291. data/ext/pg_query/include/storage/pmsignal.h +15 -4
  292. data/ext/pg_query/include/storage/predicate.h +4 -4
  293. data/ext/pg_query/include/storage/proc.h +173 -59
  294. data/ext/pg_query/include/storage/procarray.h +98 -0
  295. data/ext/pg_query/include/storage/proclist_types.h +1 -1
  296. data/ext/pg_query/include/storage/procsignal.h +3 -7
  297. data/ext/pg_query/include/storage/relfilenode.h +1 -1
  298. data/ext/pg_query/include/storage/s_lock.h +60 -21
  299. data/ext/pg_query/include/storage/sharedfileset.h +3 -11
  300. data/ext/pg_query/include/storage/shm_mq.h +5 -4
  301. data/ext/pg_query/include/storage/shm_toc.h +1 -1
  302. data/ext/pg_query/include/storage/shmem.h +1 -1
  303. data/ext/pg_query/include/storage/sinval.h +3 -3
  304. data/ext/pg_query/include/storage/sinvaladt.h +1 -1
  305. data/ext/pg_query/include/storage/smgr.h +10 -8
  306. data/ext/pg_query/include/storage/spin.h +2 -2
  307. data/ext/pg_query/include/storage/standby.h +13 -6
  308. data/ext/pg_query/include/storage/standbydefs.h +2 -2
  309. data/ext/pg_query/include/storage/sync.h +7 -3
  310. data/ext/pg_query/include/tcop/cmdtag.h +1 -1
  311. data/ext/pg_query/include/tcop/cmdtaglist.h +3 -2
  312. data/ext/pg_query/include/tcop/deparse_utility.h +1 -1
  313. data/ext/pg_query/include/tcop/dest.h +1 -1
  314. data/ext/pg_query/include/tcop/fastpath.h +1 -2
  315. data/ext/pg_query/include/tcop/pquery.h +1 -1
  316. data/ext/pg_query/include/tcop/tcopprot.h +19 -11
  317. data/ext/pg_query/include/tcop/utility.h +7 -3
  318. data/ext/pg_query/include/tsearch/ts_cache.h +2 -2
  319. data/ext/pg_query/include/utils/acl.h +24 -3
  320. data/ext/pg_query/include/utils/aclchk_internal.h +1 -1
  321. data/ext/pg_query/include/utils/array.h +7 -2
  322. data/ext/pg_query/include/utils/backend_progress.h +44 -0
  323. data/ext/pg_query/include/utils/backend_status.h +321 -0
  324. data/ext/pg_query/include/utils/builtins.h +10 -11
  325. data/ext/pg_query/include/utils/bytea.h +3 -2
  326. data/ext/pg_query/include/utils/catcache.h +1 -1
  327. data/ext/pg_query/include/utils/date.h +1 -1
  328. data/ext/pg_query/include/utils/datetime.h +8 -7
  329. data/ext/pg_query/include/utils/datum.h +9 -1
  330. data/ext/pg_query/include/utils/dsa.h +1 -1
  331. data/ext/pg_query/include/utils/dynahash.h +4 -3
  332. data/ext/pg_query/include/utils/elog.h +52 -21
  333. data/ext/pg_query/include/utils/errcodes.h +2 -0
  334. data/ext/pg_query/include/utils/expandeddatum.h +1 -1
  335. data/ext/pg_query/include/utils/expandedrecord.h +1 -1
  336. data/ext/pg_query/include/utils/float.h +7 -7
  337. data/ext/pg_query/include/utils/fmgroids.h +1300 -696
  338. data/ext/pg_query/include/utils/fmgrprotos.h +199 -16
  339. data/ext/pg_query/include/utils/fmgrtab.h +6 -5
  340. data/ext/pg_query/include/utils/guc.h +69 -43
  341. data/ext/pg_query/include/utils/guc_tables.h +23 -19
  342. data/ext/pg_query/include/utils/hsearch.h +15 -11
  343. data/ext/pg_query/include/utils/inval.h +4 -1
  344. data/ext/pg_query/include/utils/lsyscache.h +11 -1
  345. data/ext/pg_query/include/utils/memdebug.h +1 -1
  346. data/ext/pg_query/include/utils/memutils.h +8 -3
  347. data/ext/pg_query/include/utils/numeric.h +19 -5
  348. data/ext/pg_query/include/utils/palloc.h +25 -3
  349. data/ext/pg_query/include/utils/partcache.h +1 -1
  350. data/ext/pg_query/include/utils/pg_locale.h +17 -9
  351. data/ext/pg_query/include/utils/pg_lsn.h +1 -1
  352. data/ext/pg_query/include/utils/pgstat_internal.h +784 -0
  353. data/ext/pg_query/include/utils/pidfile.h +1 -1
  354. data/ext/pg_query/include/utils/plancache.h +6 -5
  355. data/ext/pg_query/include/utils/portal.h +10 -12
  356. data/ext/pg_query/include/utils/ps_status.h +1 -1
  357. data/ext/pg_query/include/utils/queryenvironment.h +1 -1
  358. data/ext/pg_query/include/utils/queryjumble.h +88 -0
  359. data/ext/pg_query/include/utils/regproc.h +14 -3
  360. data/ext/pg_query/include/utils/rel.h +71 -19
  361. data/ext/pg_query/include/utils/relcache.h +8 -5
  362. data/ext/pg_query/include/utils/reltrigger.h +1 -1
  363. data/ext/pg_query/include/utils/resowner.h +1 -1
  364. data/ext/pg_query/include/utils/rls.h +2 -2
  365. data/ext/pg_query/include/utils/ruleutils.h +4 -1
  366. data/ext/pg_query/include/utils/sharedtuplestore.h +1 -1
  367. data/ext/pg_query/include/utils/snapmgr.h +34 -14
  368. data/ext/pg_query/include/utils/snapshot.h +14 -1
  369. data/ext/pg_query/include/utils/sortsupport.h +117 -2
  370. data/ext/pg_query/include/utils/syscache.h +6 -1
  371. data/ext/pg_query/include/utils/timeout.h +11 -4
  372. data/ext/pg_query/include/utils/timestamp.h +6 -5
  373. data/ext/pg_query/include/utils/tuplesort.h +25 -11
  374. data/ext/pg_query/include/utils/tuplestore.h +2 -2
  375. data/ext/pg_query/include/utils/typcache.h +24 -17
  376. data/ext/pg_query/include/utils/tzparser.h +1 -1
  377. data/ext/pg_query/include/utils/varlena.h +5 -3
  378. data/ext/pg_query/include/utils/wait_event.h +289 -0
  379. data/ext/pg_query/include/utils/xml.h +4 -4
  380. data/ext/pg_query/pg_query.pb-c.c +4302 -2304
  381. data/ext/pg_query/pg_query_deparse.c +1106 -373
  382. data/ext/pg_query/pg_query_fingerprint.c +30 -10
  383. data/ext/pg_query/pg_query_json_plpgsql.c +0 -25
  384. data/ext/pg_query/pg_query_normalize.c +1 -1
  385. data/ext/pg_query/pg_query_outfuncs_json.c +54 -16
  386. data/ext/pg_query/pg_query_outfuncs_protobuf.c +70 -10
  387. data/ext/pg_query/pg_query_parse.c +1 -1
  388. data/ext/pg_query/pg_query_readfuncs_protobuf.c +42 -8
  389. data/ext/pg_query/pg_query_scan.c +2 -1
  390. data/ext/pg_query/pg_query_split.c +3 -2
  391. data/ext/pg_query/src_backend_catalog_namespace.c +20 -9
  392. data/ext/pg_query/src_backend_catalog_pg_proc.c +4 -1
  393. data/ext/pg_query/src_backend_commands_define.c +11 -1
  394. data/ext/pg_query/src_backend_nodes_bitmapset.c +3 -1
  395. data/ext/pg_query/src_backend_nodes_copyfuncs.c +401 -76
  396. data/ext/pg_query/src_backend_nodes_equalfuncs.c +290 -46
  397. data/ext/pg_query/src_backend_nodes_extensible.c +1 -1
  398. data/ext/pg_query/src_backend_nodes_list.c +74 -11
  399. data/ext/pg_query/src_backend_nodes_makefuncs.c +5 -4
  400. data/ext/pg_query/src_backend_nodes_nodeFuncs.c +55 -12
  401. data/ext/pg_query/src_backend_nodes_value.c +28 -19
  402. data/ext/pg_query/src_backend_parser_gram.c +33874 -31261
  403. data/ext/pg_query/src_backend_parser_parser.c +26 -7
  404. data/ext/pg_query/src_backend_parser_scan.c +172 -209
  405. data/ext/pg_query/src_backend_parser_scansup.c +4 -28
  406. data/ext/pg_query/src_backend_postmaster_postmaster.c +77 -106
  407. data/ext/pg_query/src_backend_storage_ipc_ipc.c +13 -4
  408. data/ext/pg_query/src_backend_storage_lmgr_s_lock.c +5 -4
  409. data/ext/pg_query/src_backend_tcop_postgres.c +62 -23
  410. data/ext/pg_query/src_backend_utils_activity_pgstat_database.c +140 -0
  411. data/ext/pg_query/src_backend_utils_adt_datum.c +13 -1
  412. data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +1 -1
  413. data/ext/pg_query/src_backend_utils_adt_format_type.c +6 -2
  414. data/ext/pg_query/src_backend_utils_adt_ruleutils.c +71 -5
  415. data/ext/pg_query/src_backend_utils_error_assert.c +16 -14
  416. data/ext/pg_query/src_backend_utils_error_elog.c +172 -99
  417. data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +12 -17
  418. data/ext/pg_query/src_backend_utils_hash_dynahash.c +40 -10
  419. data/ext/pg_query/src_backend_utils_init_globals.c +5 -5
  420. data/ext/pg_query/src_backend_utils_mb_mbutils.c +55 -66
  421. data/ext/pg_query/src_backend_utils_misc_guc.c +206 -45
  422. data/ext/pg_query/src_backend_utils_mmgr_aset.c +7 -5
  423. data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +123 -35
  424. data/ext/pg_query/src_common_encnames.c +1 -1
  425. data/ext/pg_query/src_common_hashfn.c +3 -3
  426. data/ext/pg_query/src_common_keywords.c +15 -2
  427. data/ext/pg_query/src_common_kwlist_d.h +517 -494
  428. data/ext/pg_query/src_common_kwlookup.c +1 -1
  429. data/ext/pg_query/src_common_pg_prng.c +152 -0
  430. data/ext/pg_query/src_common_psprintf.c +1 -1
  431. data/ext/pg_query/src_common_string.c +7 -1
  432. data/ext/pg_query/src_common_stringinfo.c +1 -1
  433. data/ext/pg_query/src_common_wchar.c +701 -109
  434. data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +45 -20
  435. data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +1 -18
  436. data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +1233 -1259
  437. data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +1 -1
  438. data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +10 -10
  439. data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +2 -2
  440. data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +54 -56
  441. data/ext/pg_query/src_port_pg_bitutils.c +41 -31
  442. data/ext/pg_query/src_port_pgsleep.c +1 -1
  443. data/ext/pg_query/src_port_pgstrcasecmp.c +1 -1
  444. data/ext/pg_query/src_port_qsort.c +12 -224
  445. data/ext/pg_query/src_port_snprintf.c +37 -13
  446. data/ext/pg_query/src_port_strerror.c +9 -19
  447. data/ext/pg_query/src_port_strnlen.c +1 -1
  448. data/lib/pg_query/filter_columns.rb +1 -1
  449. data/lib/pg_query/fingerprint.rb +5 -1
  450. data/lib/pg_query/node.rb +2 -2
  451. data/lib/pg_query/param_refs.rb +1 -1
  452. data/lib/pg_query/parse.rb +20 -8
  453. data/lib/pg_query/pg_query_pb.rb +1108 -942
  454. data/lib/pg_query/treewalker.rb +6 -0
  455. data/lib/pg_query/truncate.rb +1 -1
  456. data/lib/pg_query/version.rb +1 -1
  457. metadata +27 -17
  458. data/ext/pg_query/include/access/xloginsert.h +0 -64
  459. data/ext/pg_query/include/bootstrap/bootstrap.h +0 -62
  460. data/ext/pg_query/include/parser/parse_clause.h +0 -54
  461. data/ext/pg_query/include/parser/parse_collate.h +0 -27
  462. data/ext/pg_query/include/parser/parse_target.h +0 -46
  463. data/ext/pg_query/pg_query_ruby_freebsd.sym +0 -2
  464. data/ext/pg_query/src_backend_libpq_pqcomm.c +0 -659
  465. data/ext/pg_query/src_backend_parser_parse_expr.c +0 -313
  466. data/ext/pg_query/src_port_erand48.c +0 -127
  467. data/ext/pg_query/src_port_random.c +0 -31
@@ -18,246 +18,257 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
18
  optional :alias, :message, 1, "pg_query.Alias", json_name: "Alias"
19
19
  optional :range_var, :message, 2, "pg_query.RangeVar", json_name: "RangeVar"
20
20
  optional :table_func, :message, 3, "pg_query.TableFunc", json_name: "TableFunc"
21
- optional :expr, :message, 4, "pg_query.Expr", json_name: "Expr"
22
- optional :var, :message, 5, "pg_query.Var", json_name: "Var"
23
- optional :param, :message, 6, "pg_query.Param", json_name: "Param"
24
- optional :aggref, :message, 7, "pg_query.Aggref", json_name: "Aggref"
25
- optional :grouping_func, :message, 8, "pg_query.GroupingFunc", json_name: "GroupingFunc"
26
- optional :window_func, :message, 9, "pg_query.WindowFunc", json_name: "WindowFunc"
27
- optional :subscripting_ref, :message, 10, "pg_query.SubscriptingRef", json_name: "SubscriptingRef"
28
- optional :func_expr, :message, 11, "pg_query.FuncExpr", json_name: "FuncExpr"
29
- optional :named_arg_expr, :message, 12, "pg_query.NamedArgExpr", json_name: "NamedArgExpr"
30
- optional :op_expr, :message, 13, "pg_query.OpExpr", json_name: "OpExpr"
31
- optional :distinct_expr, :message, 14, "pg_query.DistinctExpr", json_name: "DistinctExpr"
32
- optional :null_if_expr, :message, 15, "pg_query.NullIfExpr", json_name: "NullIfExpr"
33
- optional :scalar_array_op_expr, :message, 16, "pg_query.ScalarArrayOpExpr", json_name: "ScalarArrayOpExpr"
34
- optional :bool_expr, :message, 17, "pg_query.BoolExpr", json_name: "BoolExpr"
35
- optional :sub_link, :message, 18, "pg_query.SubLink", json_name: "SubLink"
36
- optional :sub_plan, :message, 19, "pg_query.SubPlan", json_name: "SubPlan"
37
- optional :alternative_sub_plan, :message, 20, "pg_query.AlternativeSubPlan", json_name: "AlternativeSubPlan"
38
- optional :field_select, :message, 21, "pg_query.FieldSelect", json_name: "FieldSelect"
39
- optional :field_store, :message, 22, "pg_query.FieldStore", json_name: "FieldStore"
40
- optional :relabel_type, :message, 23, "pg_query.RelabelType", json_name: "RelabelType"
41
- optional :coerce_via_io, :message, 24, "pg_query.CoerceViaIO", json_name: "CoerceViaIO"
42
- optional :array_coerce_expr, :message, 25, "pg_query.ArrayCoerceExpr", json_name: "ArrayCoerceExpr"
43
- optional :convert_rowtype_expr, :message, 26, "pg_query.ConvertRowtypeExpr", json_name: "ConvertRowtypeExpr"
44
- optional :collate_expr, :message, 27, "pg_query.CollateExpr", json_name: "CollateExpr"
45
- optional :case_expr, :message, 28, "pg_query.CaseExpr", json_name: "CaseExpr"
46
- optional :case_when, :message, 29, "pg_query.CaseWhen", json_name: "CaseWhen"
47
- optional :case_test_expr, :message, 30, "pg_query.CaseTestExpr", json_name: "CaseTestExpr"
48
- optional :array_expr, :message, 31, "pg_query.ArrayExpr", json_name: "ArrayExpr"
49
- optional :row_expr, :message, 32, "pg_query.RowExpr", json_name: "RowExpr"
50
- optional :row_compare_expr, :message, 33, "pg_query.RowCompareExpr", json_name: "RowCompareExpr"
51
- optional :coalesce_expr, :message, 34, "pg_query.CoalesceExpr", json_name: "CoalesceExpr"
52
- optional :min_max_expr, :message, 35, "pg_query.MinMaxExpr", json_name: "MinMaxExpr"
53
- optional :sqlvalue_function, :message, 36, "pg_query.SQLValueFunction", json_name: "SQLValueFunction"
54
- optional :xml_expr, :message, 37, "pg_query.XmlExpr", json_name: "XmlExpr"
55
- optional :null_test, :message, 38, "pg_query.NullTest", json_name: "NullTest"
56
- optional :boolean_test, :message, 39, "pg_query.BooleanTest", json_name: "BooleanTest"
57
- optional :coerce_to_domain, :message, 40, "pg_query.CoerceToDomain", json_name: "CoerceToDomain"
58
- optional :coerce_to_domain_value, :message, 41, "pg_query.CoerceToDomainValue", json_name: "CoerceToDomainValue"
59
- optional :set_to_default, :message, 42, "pg_query.SetToDefault", json_name: "SetToDefault"
60
- optional :current_of_expr, :message, 43, "pg_query.CurrentOfExpr", json_name: "CurrentOfExpr"
61
- optional :next_value_expr, :message, 44, "pg_query.NextValueExpr", json_name: "NextValueExpr"
62
- optional :inference_elem, :message, 45, "pg_query.InferenceElem", json_name: "InferenceElem"
63
- optional :target_entry, :message, 46, "pg_query.TargetEntry", json_name: "TargetEntry"
64
- optional :range_tbl_ref, :message, 47, "pg_query.RangeTblRef", json_name: "RangeTblRef"
65
- optional :join_expr, :message, 48, "pg_query.JoinExpr", json_name: "JoinExpr"
66
- optional :from_expr, :message, 49, "pg_query.FromExpr", json_name: "FromExpr"
67
- optional :on_conflict_expr, :message, 50, "pg_query.OnConflictExpr", json_name: "OnConflictExpr"
68
- optional :into_clause, :message, 51, "pg_query.IntoClause", json_name: "IntoClause"
21
+ optional :var, :message, 4, "pg_query.Var", json_name: "Var"
22
+ optional :param, :message, 5, "pg_query.Param", json_name: "Param"
23
+ optional :aggref, :message, 6, "pg_query.Aggref", json_name: "Aggref"
24
+ optional :grouping_func, :message, 7, "pg_query.GroupingFunc", json_name: "GroupingFunc"
25
+ optional :window_func, :message, 8, "pg_query.WindowFunc", json_name: "WindowFunc"
26
+ optional :subscripting_ref, :message, 9, "pg_query.SubscriptingRef", json_name: "SubscriptingRef"
27
+ optional :func_expr, :message, 10, "pg_query.FuncExpr", json_name: "FuncExpr"
28
+ optional :named_arg_expr, :message, 11, "pg_query.NamedArgExpr", json_name: "NamedArgExpr"
29
+ optional :op_expr, :message, 12, "pg_query.OpExpr", json_name: "OpExpr"
30
+ optional :distinct_expr, :message, 13, "pg_query.DistinctExpr", json_name: "DistinctExpr"
31
+ optional :null_if_expr, :message, 14, "pg_query.NullIfExpr", json_name: "NullIfExpr"
32
+ optional :scalar_array_op_expr, :message, 15, "pg_query.ScalarArrayOpExpr", json_name: "ScalarArrayOpExpr"
33
+ optional :bool_expr, :message, 16, "pg_query.BoolExpr", json_name: "BoolExpr"
34
+ optional :sub_link, :message, 17, "pg_query.SubLink", json_name: "SubLink"
35
+ optional :sub_plan, :message, 18, "pg_query.SubPlan", json_name: "SubPlan"
36
+ optional :alternative_sub_plan, :message, 19, "pg_query.AlternativeSubPlan", json_name: "AlternativeSubPlan"
37
+ optional :field_select, :message, 20, "pg_query.FieldSelect", json_name: "FieldSelect"
38
+ optional :field_store, :message, 21, "pg_query.FieldStore", json_name: "FieldStore"
39
+ optional :relabel_type, :message, 22, "pg_query.RelabelType", json_name: "RelabelType"
40
+ optional :coerce_via_io, :message, 23, "pg_query.CoerceViaIO", json_name: "CoerceViaIO"
41
+ optional :array_coerce_expr, :message, 24, "pg_query.ArrayCoerceExpr", json_name: "ArrayCoerceExpr"
42
+ optional :convert_rowtype_expr, :message, 25, "pg_query.ConvertRowtypeExpr", json_name: "ConvertRowtypeExpr"
43
+ optional :collate_expr, :message, 26, "pg_query.CollateExpr", json_name: "CollateExpr"
44
+ optional :case_expr, :message, 27, "pg_query.CaseExpr", json_name: "CaseExpr"
45
+ optional :case_when, :message, 28, "pg_query.CaseWhen", json_name: "CaseWhen"
46
+ optional :case_test_expr, :message, 29, "pg_query.CaseTestExpr", json_name: "CaseTestExpr"
47
+ optional :array_expr, :message, 30, "pg_query.ArrayExpr", json_name: "ArrayExpr"
48
+ optional :row_expr, :message, 31, "pg_query.RowExpr", json_name: "RowExpr"
49
+ optional :row_compare_expr, :message, 32, "pg_query.RowCompareExpr", json_name: "RowCompareExpr"
50
+ optional :coalesce_expr, :message, 33, "pg_query.CoalesceExpr", json_name: "CoalesceExpr"
51
+ optional :min_max_expr, :message, 34, "pg_query.MinMaxExpr", json_name: "MinMaxExpr"
52
+ optional :sqlvalue_function, :message, 35, "pg_query.SQLValueFunction", json_name: "SQLValueFunction"
53
+ optional :xml_expr, :message, 36, "pg_query.XmlExpr", json_name: "XmlExpr"
54
+ optional :null_test, :message, 37, "pg_query.NullTest", json_name: "NullTest"
55
+ optional :boolean_test, :message, 38, "pg_query.BooleanTest", json_name: "BooleanTest"
56
+ optional :coerce_to_domain, :message, 39, "pg_query.CoerceToDomain", json_name: "CoerceToDomain"
57
+ optional :coerce_to_domain_value, :message, 40, "pg_query.CoerceToDomainValue", json_name: "CoerceToDomainValue"
58
+ optional :set_to_default, :message, 41, "pg_query.SetToDefault", json_name: "SetToDefault"
59
+ optional :current_of_expr, :message, 42, "pg_query.CurrentOfExpr", json_name: "CurrentOfExpr"
60
+ optional :next_value_expr, :message, 43, "pg_query.NextValueExpr", json_name: "NextValueExpr"
61
+ optional :inference_elem, :message, 44, "pg_query.InferenceElem", json_name: "InferenceElem"
62
+ optional :target_entry, :message, 45, "pg_query.TargetEntry", json_name: "TargetEntry"
63
+ optional :range_tbl_ref, :message, 46, "pg_query.RangeTblRef", json_name: "RangeTblRef"
64
+ optional :join_expr, :message, 47, "pg_query.JoinExpr", json_name: "JoinExpr"
65
+ optional :from_expr, :message, 48, "pg_query.FromExpr", json_name: "FromExpr"
66
+ optional :on_conflict_expr, :message, 49, "pg_query.OnConflictExpr", json_name: "OnConflictExpr"
67
+ optional :into_clause, :message, 50, "pg_query.IntoClause", json_name: "IntoClause"
68
+ optional :merge_action, :message, 51, "pg_query.MergeAction", json_name: "MergeAction"
69
69
  optional :raw_stmt, :message, 52, "pg_query.RawStmt", json_name: "RawStmt"
70
70
  optional :query, :message, 53, "pg_query.Query", json_name: "Query"
71
71
  optional :insert_stmt, :message, 54, "pg_query.InsertStmt", json_name: "InsertStmt"
72
72
  optional :delete_stmt, :message, 55, "pg_query.DeleteStmt", json_name: "DeleteStmt"
73
73
  optional :update_stmt, :message, 56, "pg_query.UpdateStmt", json_name: "UpdateStmt"
74
- optional :select_stmt, :message, 57, "pg_query.SelectStmt", json_name: "SelectStmt"
75
- optional :alter_table_stmt, :message, 58, "pg_query.AlterTableStmt", json_name: "AlterTableStmt"
76
- optional :alter_table_cmd, :message, 59, "pg_query.AlterTableCmd", json_name: "AlterTableCmd"
77
- optional :alter_domain_stmt, :message, 60, "pg_query.AlterDomainStmt", json_name: "AlterDomainStmt"
78
- optional :set_operation_stmt, :message, 61, "pg_query.SetOperationStmt", json_name: "SetOperationStmt"
79
- optional :grant_stmt, :message, 62, "pg_query.GrantStmt", json_name: "GrantStmt"
80
- optional :grant_role_stmt, :message, 63, "pg_query.GrantRoleStmt", json_name: "GrantRoleStmt"
81
- optional :alter_default_privileges_stmt, :message, 64, "pg_query.AlterDefaultPrivilegesStmt", json_name: "AlterDefaultPrivilegesStmt"
82
- optional :close_portal_stmt, :message, 65, "pg_query.ClosePortalStmt", json_name: "ClosePortalStmt"
83
- optional :cluster_stmt, :message, 66, "pg_query.ClusterStmt", json_name: "ClusterStmt"
84
- optional :copy_stmt, :message, 67, "pg_query.CopyStmt", json_name: "CopyStmt"
85
- optional :create_stmt, :message, 68, "pg_query.CreateStmt", json_name: "CreateStmt"
86
- optional :define_stmt, :message, 69, "pg_query.DefineStmt", json_name: "DefineStmt"
87
- optional :drop_stmt, :message, 70, "pg_query.DropStmt", json_name: "DropStmt"
88
- optional :truncate_stmt, :message, 71, "pg_query.TruncateStmt", json_name: "TruncateStmt"
89
- optional :comment_stmt, :message, 72, "pg_query.CommentStmt", json_name: "CommentStmt"
90
- optional :fetch_stmt, :message, 73, "pg_query.FetchStmt", json_name: "FetchStmt"
91
- optional :index_stmt, :message, 74, "pg_query.IndexStmt", json_name: "IndexStmt"
92
- optional :create_function_stmt, :message, 75, "pg_query.CreateFunctionStmt", json_name: "CreateFunctionStmt"
93
- optional :alter_function_stmt, :message, 76, "pg_query.AlterFunctionStmt", json_name: "AlterFunctionStmt"
94
- optional :do_stmt, :message, 77, "pg_query.DoStmt", json_name: "DoStmt"
95
- optional :rename_stmt, :message, 78, "pg_query.RenameStmt", json_name: "RenameStmt"
96
- optional :rule_stmt, :message, 79, "pg_query.RuleStmt", json_name: "RuleStmt"
97
- optional :notify_stmt, :message, 80, "pg_query.NotifyStmt", json_name: "NotifyStmt"
98
- optional :listen_stmt, :message, 81, "pg_query.ListenStmt", json_name: "ListenStmt"
99
- optional :unlisten_stmt, :message, 82, "pg_query.UnlistenStmt", json_name: "UnlistenStmt"
100
- optional :transaction_stmt, :message, 83, "pg_query.TransactionStmt", json_name: "TransactionStmt"
101
- optional :view_stmt, :message, 84, "pg_query.ViewStmt", json_name: "ViewStmt"
102
- optional :load_stmt, :message, 85, "pg_query.LoadStmt", json_name: "LoadStmt"
103
- optional :create_domain_stmt, :message, 86, "pg_query.CreateDomainStmt", json_name: "CreateDomainStmt"
104
- optional :createdb_stmt, :message, 87, "pg_query.CreatedbStmt", json_name: "CreatedbStmt"
105
- optional :dropdb_stmt, :message, 88, "pg_query.DropdbStmt", json_name: "DropdbStmt"
106
- optional :vacuum_stmt, :message, 89, "pg_query.VacuumStmt", json_name: "VacuumStmt"
107
- optional :explain_stmt, :message, 90, "pg_query.ExplainStmt", json_name: "ExplainStmt"
108
- optional :create_table_as_stmt, :message, 91, "pg_query.CreateTableAsStmt", json_name: "CreateTableAsStmt"
109
- optional :create_seq_stmt, :message, 92, "pg_query.CreateSeqStmt", json_name: "CreateSeqStmt"
110
- optional :alter_seq_stmt, :message, 93, "pg_query.AlterSeqStmt", json_name: "AlterSeqStmt"
111
- optional :variable_set_stmt, :message, 94, "pg_query.VariableSetStmt", json_name: "VariableSetStmt"
112
- optional :variable_show_stmt, :message, 95, "pg_query.VariableShowStmt", json_name: "VariableShowStmt"
113
- optional :discard_stmt, :message, 96, "pg_query.DiscardStmt", json_name: "DiscardStmt"
114
- optional :create_trig_stmt, :message, 97, "pg_query.CreateTrigStmt", json_name: "CreateTrigStmt"
115
- optional :create_plang_stmt, :message, 98, "pg_query.CreatePLangStmt", json_name: "CreatePLangStmt"
116
- optional :create_role_stmt, :message, 99, "pg_query.CreateRoleStmt", json_name: "CreateRoleStmt"
117
- optional :alter_role_stmt, :message, 100, "pg_query.AlterRoleStmt", json_name: "AlterRoleStmt"
118
- optional :drop_role_stmt, :message, 101, "pg_query.DropRoleStmt", json_name: "DropRoleStmt"
119
- optional :lock_stmt, :message, 102, "pg_query.LockStmt", json_name: "LockStmt"
120
- optional :constraints_set_stmt, :message, 103, "pg_query.ConstraintsSetStmt", json_name: "ConstraintsSetStmt"
121
- optional :reindex_stmt, :message, 104, "pg_query.ReindexStmt", json_name: "ReindexStmt"
122
- optional :check_point_stmt, :message, 105, "pg_query.CheckPointStmt", json_name: "CheckPointStmt"
123
- optional :create_schema_stmt, :message, 106, "pg_query.CreateSchemaStmt", json_name: "CreateSchemaStmt"
124
- optional :alter_database_stmt, :message, 107, "pg_query.AlterDatabaseStmt", json_name: "AlterDatabaseStmt"
125
- optional :alter_database_set_stmt, :message, 108, "pg_query.AlterDatabaseSetStmt", json_name: "AlterDatabaseSetStmt"
126
- optional :alter_role_set_stmt, :message, 109, "pg_query.AlterRoleSetStmt", json_name: "AlterRoleSetStmt"
127
- optional :create_conversion_stmt, :message, 110, "pg_query.CreateConversionStmt", json_name: "CreateConversionStmt"
128
- optional :create_cast_stmt, :message, 111, "pg_query.CreateCastStmt", json_name: "CreateCastStmt"
129
- optional :create_op_class_stmt, :message, 112, "pg_query.CreateOpClassStmt", json_name: "CreateOpClassStmt"
130
- optional :create_op_family_stmt, :message, 113, "pg_query.CreateOpFamilyStmt", json_name: "CreateOpFamilyStmt"
131
- optional :alter_op_family_stmt, :message, 114, "pg_query.AlterOpFamilyStmt", json_name: "AlterOpFamilyStmt"
132
- optional :prepare_stmt, :message, 115, "pg_query.PrepareStmt", json_name: "PrepareStmt"
133
- optional :execute_stmt, :message, 116, "pg_query.ExecuteStmt", json_name: "ExecuteStmt"
134
- optional :deallocate_stmt, :message, 117, "pg_query.DeallocateStmt", json_name: "DeallocateStmt"
135
- optional :declare_cursor_stmt, :message, 118, "pg_query.DeclareCursorStmt", json_name: "DeclareCursorStmt"
136
- optional :create_table_space_stmt, :message, 119, "pg_query.CreateTableSpaceStmt", json_name: "CreateTableSpaceStmt"
137
- optional :drop_table_space_stmt, :message, 120, "pg_query.DropTableSpaceStmt", json_name: "DropTableSpaceStmt"
138
- optional :alter_object_depends_stmt, :message, 121, "pg_query.AlterObjectDependsStmt", json_name: "AlterObjectDependsStmt"
139
- optional :alter_object_schema_stmt, :message, 122, "pg_query.AlterObjectSchemaStmt", json_name: "AlterObjectSchemaStmt"
140
- optional :alter_owner_stmt, :message, 123, "pg_query.AlterOwnerStmt", json_name: "AlterOwnerStmt"
141
- optional :alter_operator_stmt, :message, 124, "pg_query.AlterOperatorStmt", json_name: "AlterOperatorStmt"
142
- optional :alter_type_stmt, :message, 125, "pg_query.AlterTypeStmt", json_name: "AlterTypeStmt"
143
- optional :drop_owned_stmt, :message, 126, "pg_query.DropOwnedStmt", json_name: "DropOwnedStmt"
144
- optional :reassign_owned_stmt, :message, 127, "pg_query.ReassignOwnedStmt", json_name: "ReassignOwnedStmt"
145
- optional :composite_type_stmt, :message, 128, "pg_query.CompositeTypeStmt", json_name: "CompositeTypeStmt"
146
- optional :create_enum_stmt, :message, 129, "pg_query.CreateEnumStmt", json_name: "CreateEnumStmt"
147
- optional :create_range_stmt, :message, 130, "pg_query.CreateRangeStmt", json_name: "CreateRangeStmt"
148
- optional :alter_enum_stmt, :message, 131, "pg_query.AlterEnumStmt", json_name: "AlterEnumStmt"
149
- optional :alter_tsdictionary_stmt, :message, 132, "pg_query.AlterTSDictionaryStmt", json_name: "AlterTSDictionaryStmt"
150
- optional :alter_tsconfiguration_stmt, :message, 133, "pg_query.AlterTSConfigurationStmt", json_name: "AlterTSConfigurationStmt"
151
- optional :create_fdw_stmt, :message, 134, "pg_query.CreateFdwStmt", json_name: "CreateFdwStmt"
152
- optional :alter_fdw_stmt, :message, 135, "pg_query.AlterFdwStmt", json_name: "AlterFdwStmt"
153
- optional :create_foreign_server_stmt, :message, 136, "pg_query.CreateForeignServerStmt", json_name: "CreateForeignServerStmt"
154
- optional :alter_foreign_server_stmt, :message, 137, "pg_query.AlterForeignServerStmt", json_name: "AlterForeignServerStmt"
155
- optional :create_user_mapping_stmt, :message, 138, "pg_query.CreateUserMappingStmt", json_name: "CreateUserMappingStmt"
156
- optional :alter_user_mapping_stmt, :message, 139, "pg_query.AlterUserMappingStmt", json_name: "AlterUserMappingStmt"
157
- optional :drop_user_mapping_stmt, :message, 140, "pg_query.DropUserMappingStmt", json_name: "DropUserMappingStmt"
158
- optional :alter_table_space_options_stmt, :message, 141, "pg_query.AlterTableSpaceOptionsStmt", json_name: "AlterTableSpaceOptionsStmt"
159
- optional :alter_table_move_all_stmt, :message, 142, "pg_query.AlterTableMoveAllStmt", json_name: "AlterTableMoveAllStmt"
160
- optional :sec_label_stmt, :message, 143, "pg_query.SecLabelStmt", json_name: "SecLabelStmt"
161
- optional :create_foreign_table_stmt, :message, 144, "pg_query.CreateForeignTableStmt", json_name: "CreateForeignTableStmt"
162
- optional :import_foreign_schema_stmt, :message, 145, "pg_query.ImportForeignSchemaStmt", json_name: "ImportForeignSchemaStmt"
163
- optional :create_extension_stmt, :message, 146, "pg_query.CreateExtensionStmt", json_name: "CreateExtensionStmt"
164
- optional :alter_extension_stmt, :message, 147, "pg_query.AlterExtensionStmt", json_name: "AlterExtensionStmt"
165
- optional :alter_extension_contents_stmt, :message, 148, "pg_query.AlterExtensionContentsStmt", json_name: "AlterExtensionContentsStmt"
166
- optional :create_event_trig_stmt, :message, 149, "pg_query.CreateEventTrigStmt", json_name: "CreateEventTrigStmt"
167
- optional :alter_event_trig_stmt, :message, 150, "pg_query.AlterEventTrigStmt", json_name: "AlterEventTrigStmt"
168
- optional :refresh_mat_view_stmt, :message, 151, "pg_query.RefreshMatViewStmt", json_name: "RefreshMatViewStmt"
169
- optional :replica_identity_stmt, :message, 152, "pg_query.ReplicaIdentityStmt", json_name: "ReplicaIdentityStmt"
170
- optional :alter_system_stmt, :message, 153, "pg_query.AlterSystemStmt", json_name: "AlterSystemStmt"
171
- optional :create_policy_stmt, :message, 154, "pg_query.CreatePolicyStmt", json_name: "CreatePolicyStmt"
172
- optional :alter_policy_stmt, :message, 155, "pg_query.AlterPolicyStmt", json_name: "AlterPolicyStmt"
173
- optional :create_transform_stmt, :message, 156, "pg_query.CreateTransformStmt", json_name: "CreateTransformStmt"
174
- optional :create_am_stmt, :message, 157, "pg_query.CreateAmStmt", json_name: "CreateAmStmt"
175
- optional :create_publication_stmt, :message, 158, "pg_query.CreatePublicationStmt", json_name: "CreatePublicationStmt"
176
- optional :alter_publication_stmt, :message, 159, "pg_query.AlterPublicationStmt", json_name: "AlterPublicationStmt"
177
- optional :create_subscription_stmt, :message, 160, "pg_query.CreateSubscriptionStmt", json_name: "CreateSubscriptionStmt"
178
- optional :alter_subscription_stmt, :message, 161, "pg_query.AlterSubscriptionStmt", json_name: "AlterSubscriptionStmt"
179
- optional :drop_subscription_stmt, :message, 162, "pg_query.DropSubscriptionStmt", json_name: "DropSubscriptionStmt"
180
- optional :create_stats_stmt, :message, 163, "pg_query.CreateStatsStmt", json_name: "CreateStatsStmt"
181
- optional :alter_collation_stmt, :message, 164, "pg_query.AlterCollationStmt", json_name: "AlterCollationStmt"
182
- optional :call_stmt, :message, 165, "pg_query.CallStmt", json_name: "CallStmt"
183
- optional :alter_stats_stmt, :message, 166, "pg_query.AlterStatsStmt", json_name: "AlterStatsStmt"
184
- optional :a_expr, :message, 167, "pg_query.A_Expr", json_name: "A_Expr"
185
- optional :column_ref, :message, 168, "pg_query.ColumnRef", json_name: "ColumnRef"
186
- optional :param_ref, :message, 169, "pg_query.ParamRef", json_name: "ParamRef"
187
- optional :a_const, :message, 170, "pg_query.A_Const", json_name: "A_Const"
188
- optional :func_call, :message, 171, "pg_query.FuncCall", json_name: "FuncCall"
189
- optional :a_star, :message, 172, "pg_query.A_Star", json_name: "A_Star"
190
- optional :a_indices, :message, 173, "pg_query.A_Indices", json_name: "A_Indices"
191
- optional :a_indirection, :message, 174, "pg_query.A_Indirection", json_name: "A_Indirection"
192
- optional :a_array_expr, :message, 175, "pg_query.A_ArrayExpr", json_name: "A_ArrayExpr"
193
- optional :res_target, :message, 176, "pg_query.ResTarget", json_name: "ResTarget"
194
- optional :multi_assign_ref, :message, 177, "pg_query.MultiAssignRef", json_name: "MultiAssignRef"
195
- optional :type_cast, :message, 178, "pg_query.TypeCast", json_name: "TypeCast"
196
- optional :collate_clause, :message, 179, "pg_query.CollateClause", json_name: "CollateClause"
197
- optional :sort_by, :message, 180, "pg_query.SortBy", json_name: "SortBy"
198
- optional :window_def, :message, 181, "pg_query.WindowDef", json_name: "WindowDef"
199
- optional :range_subselect, :message, 182, "pg_query.RangeSubselect", json_name: "RangeSubselect"
200
- optional :range_function, :message, 183, "pg_query.RangeFunction", json_name: "RangeFunction"
201
- optional :range_table_sample, :message, 184, "pg_query.RangeTableSample", json_name: "RangeTableSample"
202
- optional :range_table_func, :message, 185, "pg_query.RangeTableFunc", json_name: "RangeTableFunc"
203
- optional :range_table_func_col, :message, 186, "pg_query.RangeTableFuncCol", json_name: "RangeTableFuncCol"
204
- optional :type_name, :message, 187, "pg_query.TypeName", json_name: "TypeName"
205
- optional :column_def, :message, 188, "pg_query.ColumnDef", json_name: "ColumnDef"
206
- optional :index_elem, :message, 189, "pg_query.IndexElem", json_name: "IndexElem"
207
- optional :constraint, :message, 190, "pg_query.Constraint", json_name: "Constraint"
208
- optional :def_elem, :message, 191, "pg_query.DefElem", json_name: "DefElem"
209
- optional :range_tbl_entry, :message, 192, "pg_query.RangeTblEntry", json_name: "RangeTblEntry"
210
- optional :range_tbl_function, :message, 193, "pg_query.RangeTblFunction", json_name: "RangeTblFunction"
211
- optional :table_sample_clause, :message, 194, "pg_query.TableSampleClause", json_name: "TableSampleClause"
212
- optional :with_check_option, :message, 195, "pg_query.WithCheckOption", json_name: "WithCheckOption"
213
- optional :sort_group_clause, :message, 196, "pg_query.SortGroupClause", json_name: "SortGroupClause"
214
- optional :grouping_set, :message, 197, "pg_query.GroupingSet", json_name: "GroupingSet"
215
- optional :window_clause, :message, 198, "pg_query.WindowClause", json_name: "WindowClause"
216
- optional :object_with_args, :message, 199, "pg_query.ObjectWithArgs", json_name: "ObjectWithArgs"
217
- optional :access_priv, :message, 200, "pg_query.AccessPriv", json_name: "AccessPriv"
218
- optional :create_op_class_item, :message, 201, "pg_query.CreateOpClassItem", json_name: "CreateOpClassItem"
219
- optional :table_like_clause, :message, 202, "pg_query.TableLikeClause", json_name: "TableLikeClause"
220
- optional :function_parameter, :message, 203, "pg_query.FunctionParameter", json_name: "FunctionParameter"
221
- optional :locking_clause, :message, 204, "pg_query.LockingClause", json_name: "LockingClause"
222
- optional :row_mark_clause, :message, 205, "pg_query.RowMarkClause", json_name: "RowMarkClause"
223
- optional :xml_serialize, :message, 206, "pg_query.XmlSerialize", json_name: "XmlSerialize"
224
- optional :with_clause, :message, 207, "pg_query.WithClause", json_name: "WithClause"
225
- optional :infer_clause, :message, 208, "pg_query.InferClause", json_name: "InferClause"
226
- optional :on_conflict_clause, :message, 209, "pg_query.OnConflictClause", json_name: "OnConflictClause"
227
- optional :common_table_expr, :message, 210, "pg_query.CommonTableExpr", json_name: "CommonTableExpr"
228
- optional :role_spec, :message, 211, "pg_query.RoleSpec", json_name: "RoleSpec"
229
- optional :trigger_transition, :message, 212, "pg_query.TriggerTransition", json_name: "TriggerTransition"
230
- optional :partition_elem, :message, 213, "pg_query.PartitionElem", json_name: "PartitionElem"
231
- optional :partition_spec, :message, 214, "pg_query.PartitionSpec", json_name: "PartitionSpec"
232
- optional :partition_bound_spec, :message, 215, "pg_query.PartitionBoundSpec", json_name: "PartitionBoundSpec"
233
- optional :partition_range_datum, :message, 216, "pg_query.PartitionRangeDatum", json_name: "PartitionRangeDatum"
234
- optional :partition_cmd, :message, 217, "pg_query.PartitionCmd", json_name: "PartitionCmd"
235
- optional :vacuum_relation, :message, 218, "pg_query.VacuumRelation", json_name: "VacuumRelation"
236
- optional :inline_code_block, :message, 219, "pg_query.InlineCodeBlock", json_name: "InlineCodeBlock"
237
- optional :call_context, :message, 220, "pg_query.CallContext", json_name: "CallContext"
238
- optional :integer, :message, 221, "pg_query.Integer", json_name: "Integer"
239
- optional :float, :message, 222, "pg_query.Float", json_name: "Float"
240
- optional :string, :message, 223, "pg_query.String", json_name: "String"
241
- optional :bit_string, :message, 224, "pg_query.BitString", json_name: "BitString"
242
- optional :null, :message, 225, "pg_query.Null", json_name: "Null"
243
- optional :list, :message, 226, "pg_query.List", json_name: "List"
244
- optional :int_list, :message, 227, "pg_query.IntList", json_name: "IntList"
245
- optional :oid_list, :message, 228, "pg_query.OidList", json_name: "OidList"
74
+ optional :merge_stmt, :message, 57, "pg_query.MergeStmt", json_name: "MergeStmt"
75
+ optional :select_stmt, :message, 58, "pg_query.SelectStmt", json_name: "SelectStmt"
76
+ optional :return_stmt, :message, 59, "pg_query.ReturnStmt", json_name: "ReturnStmt"
77
+ optional :plassign_stmt, :message, 60, "pg_query.PLAssignStmt", json_name: "PLAssignStmt"
78
+ optional :alter_table_stmt, :message, 61, "pg_query.AlterTableStmt", json_name: "AlterTableStmt"
79
+ optional :alter_table_cmd, :message, 62, "pg_query.AlterTableCmd", json_name: "AlterTableCmd"
80
+ optional :alter_domain_stmt, :message, 63, "pg_query.AlterDomainStmt", json_name: "AlterDomainStmt"
81
+ optional :set_operation_stmt, :message, 64, "pg_query.SetOperationStmt", json_name: "SetOperationStmt"
82
+ optional :grant_stmt, :message, 65, "pg_query.GrantStmt", json_name: "GrantStmt"
83
+ optional :grant_role_stmt, :message, 66, "pg_query.GrantRoleStmt", json_name: "GrantRoleStmt"
84
+ optional :alter_default_privileges_stmt, :message, 67, "pg_query.AlterDefaultPrivilegesStmt", json_name: "AlterDefaultPrivilegesStmt"
85
+ optional :close_portal_stmt, :message, 68, "pg_query.ClosePortalStmt", json_name: "ClosePortalStmt"
86
+ optional :cluster_stmt, :message, 69, "pg_query.ClusterStmt", json_name: "ClusterStmt"
87
+ optional :copy_stmt, :message, 70, "pg_query.CopyStmt", json_name: "CopyStmt"
88
+ optional :create_stmt, :message, 71, "pg_query.CreateStmt", json_name: "CreateStmt"
89
+ optional :define_stmt, :message, 72, "pg_query.DefineStmt", json_name: "DefineStmt"
90
+ optional :drop_stmt, :message, 73, "pg_query.DropStmt", json_name: "DropStmt"
91
+ optional :truncate_stmt, :message, 74, "pg_query.TruncateStmt", json_name: "TruncateStmt"
92
+ optional :comment_stmt, :message, 75, "pg_query.CommentStmt", json_name: "CommentStmt"
93
+ optional :fetch_stmt, :message, 76, "pg_query.FetchStmt", json_name: "FetchStmt"
94
+ optional :index_stmt, :message, 77, "pg_query.IndexStmt", json_name: "IndexStmt"
95
+ optional :create_function_stmt, :message, 78, "pg_query.CreateFunctionStmt", json_name: "CreateFunctionStmt"
96
+ optional :alter_function_stmt, :message, 79, "pg_query.AlterFunctionStmt", json_name: "AlterFunctionStmt"
97
+ optional :do_stmt, :message, 80, "pg_query.DoStmt", json_name: "DoStmt"
98
+ optional :rename_stmt, :message, 81, "pg_query.RenameStmt", json_name: "RenameStmt"
99
+ optional :rule_stmt, :message, 82, "pg_query.RuleStmt", json_name: "RuleStmt"
100
+ optional :notify_stmt, :message, 83, "pg_query.NotifyStmt", json_name: "NotifyStmt"
101
+ optional :listen_stmt, :message, 84, "pg_query.ListenStmt", json_name: "ListenStmt"
102
+ optional :unlisten_stmt, :message, 85, "pg_query.UnlistenStmt", json_name: "UnlistenStmt"
103
+ optional :transaction_stmt, :message, 86, "pg_query.TransactionStmt", json_name: "TransactionStmt"
104
+ optional :view_stmt, :message, 87, "pg_query.ViewStmt", json_name: "ViewStmt"
105
+ optional :load_stmt, :message, 88, "pg_query.LoadStmt", json_name: "LoadStmt"
106
+ optional :create_domain_stmt, :message, 89, "pg_query.CreateDomainStmt", json_name: "CreateDomainStmt"
107
+ optional :createdb_stmt, :message, 90, "pg_query.CreatedbStmt", json_name: "CreatedbStmt"
108
+ optional :dropdb_stmt, :message, 91, "pg_query.DropdbStmt", json_name: "DropdbStmt"
109
+ optional :vacuum_stmt, :message, 92, "pg_query.VacuumStmt", json_name: "VacuumStmt"
110
+ optional :explain_stmt, :message, 93, "pg_query.ExplainStmt", json_name: "ExplainStmt"
111
+ optional :create_table_as_stmt, :message, 94, "pg_query.CreateTableAsStmt", json_name: "CreateTableAsStmt"
112
+ optional :create_seq_stmt, :message, 95, "pg_query.CreateSeqStmt", json_name: "CreateSeqStmt"
113
+ optional :alter_seq_stmt, :message, 96, "pg_query.AlterSeqStmt", json_name: "AlterSeqStmt"
114
+ optional :variable_set_stmt, :message, 97, "pg_query.VariableSetStmt", json_name: "VariableSetStmt"
115
+ optional :variable_show_stmt, :message, 98, "pg_query.VariableShowStmt", json_name: "VariableShowStmt"
116
+ optional :discard_stmt, :message, 99, "pg_query.DiscardStmt", json_name: "DiscardStmt"
117
+ optional :create_trig_stmt, :message, 100, "pg_query.CreateTrigStmt", json_name: "CreateTrigStmt"
118
+ optional :create_plang_stmt, :message, 101, "pg_query.CreatePLangStmt", json_name: "CreatePLangStmt"
119
+ optional :create_role_stmt, :message, 102, "pg_query.CreateRoleStmt", json_name: "CreateRoleStmt"
120
+ optional :alter_role_stmt, :message, 103, "pg_query.AlterRoleStmt", json_name: "AlterRoleStmt"
121
+ optional :drop_role_stmt, :message, 104, "pg_query.DropRoleStmt", json_name: "DropRoleStmt"
122
+ optional :lock_stmt, :message, 105, "pg_query.LockStmt", json_name: "LockStmt"
123
+ optional :constraints_set_stmt, :message, 106, "pg_query.ConstraintsSetStmt", json_name: "ConstraintsSetStmt"
124
+ optional :reindex_stmt, :message, 107, "pg_query.ReindexStmt", json_name: "ReindexStmt"
125
+ optional :check_point_stmt, :message, 108, "pg_query.CheckPointStmt", json_name: "CheckPointStmt"
126
+ optional :create_schema_stmt, :message, 109, "pg_query.CreateSchemaStmt", json_name: "CreateSchemaStmt"
127
+ optional :alter_database_stmt, :message, 110, "pg_query.AlterDatabaseStmt", json_name: "AlterDatabaseStmt"
128
+ optional :alter_database_refresh_coll_stmt, :message, 111, "pg_query.AlterDatabaseRefreshCollStmt", json_name: "AlterDatabaseRefreshCollStmt"
129
+ optional :alter_database_set_stmt, :message, 112, "pg_query.AlterDatabaseSetStmt", json_name: "AlterDatabaseSetStmt"
130
+ optional :alter_role_set_stmt, :message, 113, "pg_query.AlterRoleSetStmt", json_name: "AlterRoleSetStmt"
131
+ optional :create_conversion_stmt, :message, 114, "pg_query.CreateConversionStmt", json_name: "CreateConversionStmt"
132
+ optional :create_cast_stmt, :message, 115, "pg_query.CreateCastStmt", json_name: "CreateCastStmt"
133
+ optional :create_op_class_stmt, :message, 116, "pg_query.CreateOpClassStmt", json_name: "CreateOpClassStmt"
134
+ optional :create_op_family_stmt, :message, 117, "pg_query.CreateOpFamilyStmt", json_name: "CreateOpFamilyStmt"
135
+ optional :alter_op_family_stmt, :message, 118, "pg_query.AlterOpFamilyStmt", json_name: "AlterOpFamilyStmt"
136
+ optional :prepare_stmt, :message, 119, "pg_query.PrepareStmt", json_name: "PrepareStmt"
137
+ optional :execute_stmt, :message, 120, "pg_query.ExecuteStmt", json_name: "ExecuteStmt"
138
+ optional :deallocate_stmt, :message, 121, "pg_query.DeallocateStmt", json_name: "DeallocateStmt"
139
+ optional :declare_cursor_stmt, :message, 122, "pg_query.DeclareCursorStmt", json_name: "DeclareCursorStmt"
140
+ optional :create_table_space_stmt, :message, 123, "pg_query.CreateTableSpaceStmt", json_name: "CreateTableSpaceStmt"
141
+ optional :drop_table_space_stmt, :message, 124, "pg_query.DropTableSpaceStmt", json_name: "DropTableSpaceStmt"
142
+ optional :alter_object_depends_stmt, :message, 125, "pg_query.AlterObjectDependsStmt", json_name: "AlterObjectDependsStmt"
143
+ optional :alter_object_schema_stmt, :message, 126, "pg_query.AlterObjectSchemaStmt", json_name: "AlterObjectSchemaStmt"
144
+ optional :alter_owner_stmt, :message, 127, "pg_query.AlterOwnerStmt", json_name: "AlterOwnerStmt"
145
+ optional :alter_operator_stmt, :message, 128, "pg_query.AlterOperatorStmt", json_name: "AlterOperatorStmt"
146
+ optional :alter_type_stmt, :message, 129, "pg_query.AlterTypeStmt", json_name: "AlterTypeStmt"
147
+ optional :drop_owned_stmt, :message, 130, "pg_query.DropOwnedStmt", json_name: "DropOwnedStmt"
148
+ optional :reassign_owned_stmt, :message, 131, "pg_query.ReassignOwnedStmt", json_name: "ReassignOwnedStmt"
149
+ optional :composite_type_stmt, :message, 132, "pg_query.CompositeTypeStmt", json_name: "CompositeTypeStmt"
150
+ optional :create_enum_stmt, :message, 133, "pg_query.CreateEnumStmt", json_name: "CreateEnumStmt"
151
+ optional :create_range_stmt, :message, 134, "pg_query.CreateRangeStmt", json_name: "CreateRangeStmt"
152
+ optional :alter_enum_stmt, :message, 135, "pg_query.AlterEnumStmt", json_name: "AlterEnumStmt"
153
+ optional :alter_tsdictionary_stmt, :message, 136, "pg_query.AlterTSDictionaryStmt", json_name: "AlterTSDictionaryStmt"
154
+ optional :alter_tsconfiguration_stmt, :message, 137, "pg_query.AlterTSConfigurationStmt", json_name: "AlterTSConfigurationStmt"
155
+ optional :create_fdw_stmt, :message, 138, "pg_query.CreateFdwStmt", json_name: "CreateFdwStmt"
156
+ optional :alter_fdw_stmt, :message, 139, "pg_query.AlterFdwStmt", json_name: "AlterFdwStmt"
157
+ optional :create_foreign_server_stmt, :message, 140, "pg_query.CreateForeignServerStmt", json_name: "CreateForeignServerStmt"
158
+ optional :alter_foreign_server_stmt, :message, 141, "pg_query.AlterForeignServerStmt", json_name: "AlterForeignServerStmt"
159
+ optional :create_user_mapping_stmt, :message, 142, "pg_query.CreateUserMappingStmt", json_name: "CreateUserMappingStmt"
160
+ optional :alter_user_mapping_stmt, :message, 143, "pg_query.AlterUserMappingStmt", json_name: "AlterUserMappingStmt"
161
+ optional :drop_user_mapping_stmt, :message, 144, "pg_query.DropUserMappingStmt", json_name: "DropUserMappingStmt"
162
+ optional :alter_table_space_options_stmt, :message, 145, "pg_query.AlterTableSpaceOptionsStmt", json_name: "AlterTableSpaceOptionsStmt"
163
+ optional :alter_table_move_all_stmt, :message, 146, "pg_query.AlterTableMoveAllStmt", json_name: "AlterTableMoveAllStmt"
164
+ optional :sec_label_stmt, :message, 147, "pg_query.SecLabelStmt", json_name: "SecLabelStmt"
165
+ optional :create_foreign_table_stmt, :message, 148, "pg_query.CreateForeignTableStmt", json_name: "CreateForeignTableStmt"
166
+ optional :import_foreign_schema_stmt, :message, 149, "pg_query.ImportForeignSchemaStmt", json_name: "ImportForeignSchemaStmt"
167
+ optional :create_extension_stmt, :message, 150, "pg_query.CreateExtensionStmt", json_name: "CreateExtensionStmt"
168
+ optional :alter_extension_stmt, :message, 151, "pg_query.AlterExtensionStmt", json_name: "AlterExtensionStmt"
169
+ optional :alter_extension_contents_stmt, :message, 152, "pg_query.AlterExtensionContentsStmt", json_name: "AlterExtensionContentsStmt"
170
+ optional :create_event_trig_stmt, :message, 153, "pg_query.CreateEventTrigStmt", json_name: "CreateEventTrigStmt"
171
+ optional :alter_event_trig_stmt, :message, 154, "pg_query.AlterEventTrigStmt", json_name: "AlterEventTrigStmt"
172
+ optional :refresh_mat_view_stmt, :message, 155, "pg_query.RefreshMatViewStmt", json_name: "RefreshMatViewStmt"
173
+ optional :replica_identity_stmt, :message, 156, "pg_query.ReplicaIdentityStmt", json_name: "ReplicaIdentityStmt"
174
+ optional :alter_system_stmt, :message, 157, "pg_query.AlterSystemStmt", json_name: "AlterSystemStmt"
175
+ optional :create_policy_stmt, :message, 158, "pg_query.CreatePolicyStmt", json_name: "CreatePolicyStmt"
176
+ optional :alter_policy_stmt, :message, 159, "pg_query.AlterPolicyStmt", json_name: "AlterPolicyStmt"
177
+ optional :create_transform_stmt, :message, 160, "pg_query.CreateTransformStmt", json_name: "CreateTransformStmt"
178
+ optional :create_am_stmt, :message, 161, "pg_query.CreateAmStmt", json_name: "CreateAmStmt"
179
+ optional :create_publication_stmt, :message, 162, "pg_query.CreatePublicationStmt", json_name: "CreatePublicationStmt"
180
+ optional :alter_publication_stmt, :message, 163, "pg_query.AlterPublicationStmt", json_name: "AlterPublicationStmt"
181
+ optional :create_subscription_stmt, :message, 164, "pg_query.CreateSubscriptionStmt", json_name: "CreateSubscriptionStmt"
182
+ optional :alter_subscription_stmt, :message, 165, "pg_query.AlterSubscriptionStmt", json_name: "AlterSubscriptionStmt"
183
+ optional :drop_subscription_stmt, :message, 166, "pg_query.DropSubscriptionStmt", json_name: "DropSubscriptionStmt"
184
+ optional :create_stats_stmt, :message, 167, "pg_query.CreateStatsStmt", json_name: "CreateStatsStmt"
185
+ optional :alter_collation_stmt, :message, 168, "pg_query.AlterCollationStmt", json_name: "AlterCollationStmt"
186
+ optional :call_stmt, :message, 169, "pg_query.CallStmt", json_name: "CallStmt"
187
+ optional :alter_stats_stmt, :message, 170, "pg_query.AlterStatsStmt", json_name: "AlterStatsStmt"
188
+ optional :a_expr, :message, 171, "pg_query.A_Expr", json_name: "A_Expr"
189
+ optional :column_ref, :message, 172, "pg_query.ColumnRef", json_name: "ColumnRef"
190
+ optional :param_ref, :message, 173, "pg_query.ParamRef", json_name: "ParamRef"
191
+ optional :func_call, :message, 174, "pg_query.FuncCall", json_name: "FuncCall"
192
+ optional :a_star, :message, 175, "pg_query.A_Star", json_name: "A_Star"
193
+ optional :a_indices, :message, 176, "pg_query.A_Indices", json_name: "A_Indices"
194
+ optional :a_indirection, :message, 177, "pg_query.A_Indirection", json_name: "A_Indirection"
195
+ optional :a_array_expr, :message, 178, "pg_query.A_ArrayExpr", json_name: "A_ArrayExpr"
196
+ optional :res_target, :message, 179, "pg_query.ResTarget", json_name: "ResTarget"
197
+ optional :multi_assign_ref, :message, 180, "pg_query.MultiAssignRef", json_name: "MultiAssignRef"
198
+ optional :type_cast, :message, 181, "pg_query.TypeCast", json_name: "TypeCast"
199
+ optional :collate_clause, :message, 182, "pg_query.CollateClause", json_name: "CollateClause"
200
+ optional :sort_by, :message, 183, "pg_query.SortBy", json_name: "SortBy"
201
+ optional :window_def, :message, 184, "pg_query.WindowDef", json_name: "WindowDef"
202
+ optional :range_subselect, :message, 185, "pg_query.RangeSubselect", json_name: "RangeSubselect"
203
+ optional :range_function, :message, 186, "pg_query.RangeFunction", json_name: "RangeFunction"
204
+ optional :range_table_sample, :message, 187, "pg_query.RangeTableSample", json_name: "RangeTableSample"
205
+ optional :range_table_func, :message, 188, "pg_query.RangeTableFunc", json_name: "RangeTableFunc"
206
+ optional :range_table_func_col, :message, 189, "pg_query.RangeTableFuncCol", json_name: "RangeTableFuncCol"
207
+ optional :type_name, :message, 190, "pg_query.TypeName", json_name: "TypeName"
208
+ optional :column_def, :message, 191, "pg_query.ColumnDef", json_name: "ColumnDef"
209
+ optional :index_elem, :message, 192, "pg_query.IndexElem", json_name: "IndexElem"
210
+ optional :stats_elem, :message, 193, "pg_query.StatsElem", json_name: "StatsElem"
211
+ optional :constraint, :message, 194, "pg_query.Constraint", json_name: "Constraint"
212
+ optional :def_elem, :message, 195, "pg_query.DefElem", json_name: "DefElem"
213
+ optional :range_tbl_entry, :message, 196, "pg_query.RangeTblEntry", json_name: "RangeTblEntry"
214
+ optional :range_tbl_function, :message, 197, "pg_query.RangeTblFunction", json_name: "RangeTblFunction"
215
+ optional :table_sample_clause, :message, 198, "pg_query.TableSampleClause", json_name: "TableSampleClause"
216
+ optional :with_check_option, :message, 199, "pg_query.WithCheckOption", json_name: "WithCheckOption"
217
+ optional :sort_group_clause, :message, 200, "pg_query.SortGroupClause", json_name: "SortGroupClause"
218
+ optional :grouping_set, :message, 201, "pg_query.GroupingSet", json_name: "GroupingSet"
219
+ optional :window_clause, :message, 202, "pg_query.WindowClause", json_name: "WindowClause"
220
+ optional :object_with_args, :message, 203, "pg_query.ObjectWithArgs", json_name: "ObjectWithArgs"
221
+ optional :access_priv, :message, 204, "pg_query.AccessPriv", json_name: "AccessPriv"
222
+ optional :create_op_class_item, :message, 205, "pg_query.CreateOpClassItem", json_name: "CreateOpClassItem"
223
+ optional :table_like_clause, :message, 206, "pg_query.TableLikeClause", json_name: "TableLikeClause"
224
+ optional :function_parameter, :message, 207, "pg_query.FunctionParameter", json_name: "FunctionParameter"
225
+ optional :locking_clause, :message, 208, "pg_query.LockingClause", json_name: "LockingClause"
226
+ optional :row_mark_clause, :message, 209, "pg_query.RowMarkClause", json_name: "RowMarkClause"
227
+ optional :xml_serialize, :message, 210, "pg_query.XmlSerialize", json_name: "XmlSerialize"
228
+ optional :with_clause, :message, 211, "pg_query.WithClause", json_name: "WithClause"
229
+ optional :infer_clause, :message, 212, "pg_query.InferClause", json_name: "InferClause"
230
+ optional :on_conflict_clause, :message, 213, "pg_query.OnConflictClause", json_name: "OnConflictClause"
231
+ optional :ctesearch_clause, :message, 214, "pg_query.CTESearchClause", json_name: "CTESearchClause"
232
+ optional :ctecycle_clause, :message, 215, "pg_query.CTECycleClause", json_name: "CTECycleClause"
233
+ optional :common_table_expr, :message, 216, "pg_query.CommonTableExpr", json_name: "CommonTableExpr"
234
+ optional :merge_when_clause, :message, 217, "pg_query.MergeWhenClause", json_name: "MergeWhenClause"
235
+ optional :role_spec, :message, 218, "pg_query.RoleSpec", json_name: "RoleSpec"
236
+ optional :trigger_transition, :message, 219, "pg_query.TriggerTransition", json_name: "TriggerTransition"
237
+ optional :partition_elem, :message, 220, "pg_query.PartitionElem", json_name: "PartitionElem"
238
+ optional :partition_spec, :message, 221, "pg_query.PartitionSpec", json_name: "PartitionSpec"
239
+ optional :partition_bound_spec, :message, 222, "pg_query.PartitionBoundSpec", json_name: "PartitionBoundSpec"
240
+ optional :partition_range_datum, :message, 223, "pg_query.PartitionRangeDatum", json_name: "PartitionRangeDatum"
241
+ optional :partition_cmd, :message, 224, "pg_query.PartitionCmd", json_name: "PartitionCmd"
242
+ optional :vacuum_relation, :message, 225, "pg_query.VacuumRelation", json_name: "VacuumRelation"
243
+ optional :publication_obj_spec, :message, 226, "pg_query.PublicationObjSpec", json_name: "PublicationObjSpec"
244
+ optional :publication_table, :message, 227, "pg_query.PublicationTable", json_name: "PublicationTable"
245
+ optional :inline_code_block, :message, 228, "pg_query.InlineCodeBlock", json_name: "InlineCodeBlock"
246
+ optional :call_context, :message, 229, "pg_query.CallContext", json_name: "CallContext"
247
+ optional :integer, :message, 230, "pg_query.Integer", json_name: "Integer"
248
+ optional :float, :message, 231, "pg_query.Float", json_name: "Float"
249
+ optional :boolean, :message, 232, "pg_query.Boolean", json_name: "Boolean"
250
+ optional :string, :message, 233, "pg_query.String", json_name: "String"
251
+ optional :bit_string, :message, 234, "pg_query.BitString", json_name: "BitString"
252
+ optional :list, :message, 235, "pg_query.List", json_name: "List"
253
+ optional :int_list, :message, 236, "pg_query.IntList", json_name: "IntList"
254
+ optional :oid_list, :message, 237, "pg_query.OidList", json_name: "OidList"
255
+ optional :a_const, :message, 238, "pg_query.A_Const", json_name: "A_Const"
246
256
  end
247
257
  end
248
258
  add_message "pg_query.Integer" do
249
259
  optional :ival, :int32, 1
250
260
  end
251
261
  add_message "pg_query.Float" do
252
- optional :str, :string, 1
262
+ optional :fval, :string, 1
263
+ end
264
+ add_message "pg_query.Boolean" do
265
+ optional :boolval, :bool, 1
253
266
  end
254
267
  add_message "pg_query.String" do
255
- optional :str, :string, 1
268
+ optional :sval, :string, 1
256
269
  end
257
270
  add_message "pg_query.BitString" do
258
- optional :str, :string, 1
259
- end
260
- add_message "pg_query.Null" do
271
+ optional :bsval, :string, 1
261
272
  end
262
273
  add_message "pg_query.List" do
263
274
  repeated :items, :message, 1, "pg_query.Node"
@@ -268,6 +279,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
268
279
  add_message "pg_query.IntList" do
269
280
  repeated :items, :message, 1, "pg_query.Node"
270
281
  end
282
+ add_message "pg_query.A_Const" do
283
+ optional :isnull, :bool, 10
284
+ optional :location, :int32, 11
285
+ oneof :val do
286
+ optional :ival, :message, 1, "pg_query.Integer"
287
+ optional :fval, :message, 2, "pg_query.Float"
288
+ optional :boolval, :message, 3, "pg_query.Boolean"
289
+ optional :sval, :message, 4, "pg_query.String"
290
+ optional :bsval, :message, 5, "pg_query.BitString"
291
+ end
292
+ end
271
293
  add_message "pg_query.Alias" do
272
294
  optional :aliasname, :string, 1, json_name: "aliasname"
273
295
  repeated :colnames, :message, 2, "pg_query.Node", json_name: "colnames"
@@ -296,11 +318,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
296
318
  optional :ordinalitycol, :int32, 12, json_name: "ordinalitycol"
297
319
  optional :location, :int32, 13, json_name: "location"
298
320
  end
299
- add_message "pg_query.Expr" do
300
- end
301
321
  add_message "pg_query.Var" do
302
322
  optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
303
- optional :varno, :uint32, 2, json_name: "varno"
323
+ optional :varno, :int32, 2, json_name: "varno"
304
324
  optional :varattno, :int32, 3, json_name: "varattno"
305
325
  optional :vartype, :uint32, 4, json_name: "vartype"
306
326
  optional :vartypmod, :int32, 5, json_name: "vartypmod"
@@ -337,7 +357,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
337
357
  optional :aggkind, :string, 15, json_name: "aggkind"
338
358
  optional :agglevelsup, :uint32, 16, json_name: "agglevelsup"
339
359
  optional :aggsplit, :enum, 17, "pg_query.AggSplit", json_name: "aggsplit"
340
- optional :location, :int32, 18, json_name: "location"
360
+ optional :aggno, :int32, 18, json_name: "aggno"
361
+ optional :aggtransno, :int32, 19, json_name: "aggtransno"
362
+ optional :location, :int32, 20, json_name: "location"
341
363
  end
342
364
  add_message "pg_query.GroupingFunc" do
343
365
  optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
@@ -364,12 +386,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
364
386
  optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
365
387
  optional :refcontainertype, :uint32, 2, json_name: "refcontainertype"
366
388
  optional :refelemtype, :uint32, 3, json_name: "refelemtype"
367
- optional :reftypmod, :int32, 4, json_name: "reftypmod"
368
- optional :refcollid, :uint32, 5, json_name: "refcollid"
369
- repeated :refupperindexpr, :message, 6, "pg_query.Node", json_name: "refupperindexpr"
370
- repeated :reflowerindexpr, :message, 7, "pg_query.Node", json_name: "reflowerindexpr"
371
- optional :refexpr, :message, 8, "pg_query.Node", json_name: "refexpr"
372
- optional :refassgnexpr, :message, 9, "pg_query.Node", json_name: "refassgnexpr"
389
+ optional :refrestype, :uint32, 4, json_name: "refrestype"
390
+ optional :reftypmod, :int32, 5, json_name: "reftypmod"
391
+ optional :refcollid, :uint32, 6, json_name: "refcollid"
392
+ repeated :refupperindexpr, :message, 7, "pg_query.Node", json_name: "refupperindexpr"
393
+ repeated :reflowerindexpr, :message, 8, "pg_query.Node", json_name: "reflowerindexpr"
394
+ optional :refexpr, :message, 9, "pg_query.Node", json_name: "refexpr"
395
+ optional :refassgnexpr, :message, 10, "pg_query.Node", json_name: "refassgnexpr"
373
396
  end
374
397
  add_message "pg_query.FuncExpr" do
375
398
  optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
@@ -427,10 +450,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
427
450
  optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
428
451
  optional :opno, :uint32, 2, json_name: "opno"
429
452
  optional :opfuncid, :uint32, 3, json_name: "opfuncid"
430
- optional :use_or, :bool, 4, json_name: "useOr"
431
- optional :inputcollid, :uint32, 5, json_name: "inputcollid"
432
- repeated :args, :message, 6, "pg_query.Node", json_name: "args"
433
- optional :location, :int32, 7, json_name: "location"
453
+ optional :hashfuncid, :uint32, 4, json_name: "hashfuncid"
454
+ optional :negfuncid, :uint32, 5, json_name: "negfuncid"
455
+ optional :use_or, :bool, 6, json_name: "useOr"
456
+ optional :inputcollid, :uint32, 7, json_name: "inputcollid"
457
+ repeated :args, :message, 8, "pg_query.Node", json_name: "args"
458
+ optional :location, :int32, 9, json_name: "location"
434
459
  end
435
460
  add_message "pg_query.BoolExpr" do
436
461
  optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
@@ -679,9 +704,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
679
704
  optional :larg, :message, 3, "pg_query.Node", json_name: "larg"
680
705
  optional :rarg, :message, 4, "pg_query.Node", json_name: "rarg"
681
706
  repeated :using_clause, :message, 5, "pg_query.Node", json_name: "usingClause"
682
- optional :quals, :message, 6, "pg_query.Node", json_name: "quals"
683
- optional :alias, :message, 7, "pg_query.Alias", json_name: "alias"
684
- optional :rtindex, :int32, 8, json_name: "rtindex"
707
+ optional :join_using_alias, :message, 6, "pg_query.Alias", json_name: "join_using_alias"
708
+ optional :quals, :message, 7, "pg_query.Node", json_name: "quals"
709
+ optional :alias, :message, 8, "pg_query.Alias", json_name: "alias"
710
+ optional :rtindex, :int32, 9, json_name: "rtindex"
685
711
  end
686
712
  add_message "pg_query.FromExpr" do
687
713
  repeated :fromlist, :message, 1, "pg_query.Node", json_name: "fromlist"
@@ -707,6 +733,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
707
733
  optional :view_query, :message, 7, "pg_query.Node", json_name: "viewQuery"
708
734
  optional :skip_data, :bool, 8, json_name: "skipData"
709
735
  end
736
+ add_message "pg_query.MergeAction" do
737
+ optional :matched, :bool, 1, json_name: "matched"
738
+ optional :command_type, :enum, 2, "pg_query.CmdType", json_name: "commandType"
739
+ optional :override, :enum, 3, "pg_query.OverridingKind", json_name: "override"
740
+ optional :qual, :message, 4, "pg_query.Node", json_name: "qual"
741
+ repeated :target_list, :message, 5, "pg_query.Node", json_name: "targetList"
742
+ repeated :update_colnos, :message, 6, "pg_query.Node", json_name: "updateColnos"
743
+ end
710
744
  add_message "pg_query.RawStmt" do
711
745
  optional :stmt, :message, 1, "pg_query.Node", json_name: "stmt"
712
746
  optional :stmt_location, :int32, 2, json_name: "stmt_location"
@@ -727,28 +761,32 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
727
761
  optional :has_modifying_cte, :bool, 12, json_name: "hasModifyingCTE"
728
762
  optional :has_for_update, :bool, 13, json_name: "hasForUpdate"
729
763
  optional :has_row_security, :bool, 14, json_name: "hasRowSecurity"
730
- repeated :cte_list, :message, 15, "pg_query.Node", json_name: "cteList"
731
- repeated :rtable, :message, 16, "pg_query.Node", json_name: "rtable"
732
- optional :jointree, :message, 17, "pg_query.FromExpr", json_name: "jointree"
733
- repeated :target_list, :message, 18, "pg_query.Node", json_name: "targetList"
734
- optional :override, :enum, 19, "pg_query.OverridingKind", json_name: "override"
735
- optional :on_conflict, :message, 20, "pg_query.OnConflictExpr", json_name: "onConflict"
736
- repeated :returning_list, :message, 21, "pg_query.Node", json_name: "returningList"
737
- repeated :group_clause, :message, 22, "pg_query.Node", json_name: "groupClause"
738
- repeated :grouping_sets, :message, 23, "pg_query.Node", json_name: "groupingSets"
739
- optional :having_qual, :message, 24, "pg_query.Node", json_name: "havingQual"
740
- repeated :window_clause, :message, 25, "pg_query.Node", json_name: "windowClause"
741
- repeated :distinct_clause, :message, 26, "pg_query.Node", json_name: "distinctClause"
742
- repeated :sort_clause, :message, 27, "pg_query.Node", json_name: "sortClause"
743
- optional :limit_offset, :message, 28, "pg_query.Node", json_name: "limitOffset"
744
- optional :limit_count, :message, 29, "pg_query.Node", json_name: "limitCount"
745
- optional :limit_option, :enum, 30, "pg_query.LimitOption", json_name: "limitOption"
746
- repeated :row_marks, :message, 31, "pg_query.Node", json_name: "rowMarks"
747
- optional :set_operations, :message, 32, "pg_query.Node", json_name: "setOperations"
748
- repeated :constraint_deps, :message, 33, "pg_query.Node", json_name: "constraintDeps"
749
- repeated :with_check_options, :message, 34, "pg_query.Node", json_name: "withCheckOptions"
750
- optional :stmt_location, :int32, 35, json_name: "stmt_location"
751
- optional :stmt_len, :int32, 36, json_name: "stmt_len"
764
+ optional :is_return, :bool, 15, json_name: "isReturn"
765
+ repeated :cte_list, :message, 16, "pg_query.Node", json_name: "cteList"
766
+ repeated :rtable, :message, 17, "pg_query.Node", json_name: "rtable"
767
+ optional :jointree, :message, 18, "pg_query.FromExpr", json_name: "jointree"
768
+ repeated :merge_action_list, :message, 19, "pg_query.Node", json_name: "mergeActionList"
769
+ optional :merge_use_outer_join, :bool, 20, json_name: "mergeUseOuterJoin"
770
+ repeated :target_list, :message, 21, "pg_query.Node", json_name: "targetList"
771
+ optional :override, :enum, 22, "pg_query.OverridingKind", json_name: "override"
772
+ optional :on_conflict, :message, 23, "pg_query.OnConflictExpr", json_name: "onConflict"
773
+ repeated :returning_list, :message, 24, "pg_query.Node", json_name: "returningList"
774
+ repeated :group_clause, :message, 25, "pg_query.Node", json_name: "groupClause"
775
+ optional :group_distinct, :bool, 26, json_name: "groupDistinct"
776
+ repeated :grouping_sets, :message, 27, "pg_query.Node", json_name: "groupingSets"
777
+ optional :having_qual, :message, 28, "pg_query.Node", json_name: "havingQual"
778
+ repeated :window_clause, :message, 29, "pg_query.Node", json_name: "windowClause"
779
+ repeated :distinct_clause, :message, 30, "pg_query.Node", json_name: "distinctClause"
780
+ repeated :sort_clause, :message, 31, "pg_query.Node", json_name: "sortClause"
781
+ optional :limit_offset, :message, 32, "pg_query.Node", json_name: "limitOffset"
782
+ optional :limit_count, :message, 33, "pg_query.Node", json_name: "limitCount"
783
+ optional :limit_option, :enum, 34, "pg_query.LimitOption", json_name: "limitOption"
784
+ repeated :row_marks, :message, 35, "pg_query.Node", json_name: "rowMarks"
785
+ optional :set_operations, :message, 36, "pg_query.Node", json_name: "setOperations"
786
+ repeated :constraint_deps, :message, 37, "pg_query.Node", json_name: "constraintDeps"
787
+ repeated :with_check_options, :message, 38, "pg_query.Node", json_name: "withCheckOptions"
788
+ optional :stmt_location, :int32, 39, json_name: "stmt_location"
789
+ optional :stmt_len, :int32, 40, json_name: "stmt_len"
752
790
  end
753
791
  add_message "pg_query.InsertStmt" do
754
792
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
@@ -774,6 +812,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
774
812
  repeated :returning_list, :message, 5, "pg_query.Node", json_name: "returningList"
775
813
  optional :with_clause, :message, 6, "pg_query.WithClause", json_name: "withClause"
776
814
  end
815
+ add_message "pg_query.MergeStmt" do
816
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
817
+ optional :source_relation, :message, 2, "pg_query.Node", json_name: "sourceRelation"
818
+ optional :join_condition, :message, 3, "pg_query.Node", json_name: "joinCondition"
819
+ repeated :merge_when_clauses, :message, 4, "pg_query.Node", json_name: "mergeWhenClauses"
820
+ optional :with_clause, :message, 5, "pg_query.WithClause", json_name: "withClause"
821
+ end
777
822
  add_message "pg_query.SelectStmt" do
778
823
  repeated :distinct_clause, :message, 1, "pg_query.Node", json_name: "distinctClause"
779
824
  optional :into_clause, :message, 2, "pg_query.IntoClause", json_name: "intoClause"
@@ -781,24 +826,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
781
826
  repeated :from_clause, :message, 4, "pg_query.Node", json_name: "fromClause"
782
827
  optional :where_clause, :message, 5, "pg_query.Node", json_name: "whereClause"
783
828
  repeated :group_clause, :message, 6, "pg_query.Node", json_name: "groupClause"
784
- optional :having_clause, :message, 7, "pg_query.Node", json_name: "havingClause"
785
- repeated :window_clause, :message, 8, "pg_query.Node", json_name: "windowClause"
786
- repeated :values_lists, :message, 9, "pg_query.Node", json_name: "valuesLists"
787
- repeated :sort_clause, :message, 10, "pg_query.Node", json_name: "sortClause"
788
- optional :limit_offset, :message, 11, "pg_query.Node", json_name: "limitOffset"
789
- optional :limit_count, :message, 12, "pg_query.Node", json_name: "limitCount"
790
- optional :limit_option, :enum, 13, "pg_query.LimitOption", json_name: "limitOption"
791
- repeated :locking_clause, :message, 14, "pg_query.Node", json_name: "lockingClause"
792
- optional :with_clause, :message, 15, "pg_query.WithClause", json_name: "withClause"
793
- optional :op, :enum, 16, "pg_query.SetOperation", json_name: "op"
794
- optional :all, :bool, 17, json_name: "all"
795
- optional :larg, :message, 18, "pg_query.SelectStmt", json_name: "larg"
796
- optional :rarg, :message, 19, "pg_query.SelectStmt", json_name: "rarg"
829
+ optional :group_distinct, :bool, 7, json_name: "groupDistinct"
830
+ optional :having_clause, :message, 8, "pg_query.Node", json_name: "havingClause"
831
+ repeated :window_clause, :message, 9, "pg_query.Node", json_name: "windowClause"
832
+ repeated :values_lists, :message, 10, "pg_query.Node", json_name: "valuesLists"
833
+ repeated :sort_clause, :message, 11, "pg_query.Node", json_name: "sortClause"
834
+ optional :limit_offset, :message, 12, "pg_query.Node", json_name: "limitOffset"
835
+ optional :limit_count, :message, 13, "pg_query.Node", json_name: "limitCount"
836
+ optional :limit_option, :enum, 14, "pg_query.LimitOption", json_name: "limitOption"
837
+ repeated :locking_clause, :message, 15, "pg_query.Node", json_name: "lockingClause"
838
+ optional :with_clause, :message, 16, "pg_query.WithClause", json_name: "withClause"
839
+ optional :op, :enum, 17, "pg_query.SetOperation", json_name: "op"
840
+ optional :all, :bool, 18, json_name: "all"
841
+ optional :larg, :message, 19, "pg_query.SelectStmt", json_name: "larg"
842
+ optional :rarg, :message, 20, "pg_query.SelectStmt", json_name: "rarg"
843
+ end
844
+ add_message "pg_query.ReturnStmt" do
845
+ optional :returnval, :message, 1, "pg_query.Node", json_name: "returnval"
846
+ end
847
+ add_message "pg_query.PLAssignStmt" do
848
+ optional :name, :string, 1, json_name: "name"
849
+ repeated :indirection, :message, 2, "pg_query.Node", json_name: "indirection"
850
+ optional :nnames, :int32, 3, json_name: "nnames"
851
+ optional :val, :message, 4, "pg_query.SelectStmt", json_name: "val"
852
+ optional :location, :int32, 5, json_name: "location"
797
853
  end
798
854
  add_message "pg_query.AlterTableStmt" do
799
855
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
800
856
  repeated :cmds, :message, 2, "pg_query.Node", json_name: "cmds"
801
- optional :relkind, :enum, 3, "pg_query.ObjectType", json_name: "relkind"
857
+ optional :objtype, :enum, 3, "pg_query.ObjectType", json_name: "objtype"
802
858
  optional :missing_ok, :bool, 4, json_name: "missing_ok"
803
859
  end
804
860
  add_message "pg_query.AlterTableCmd" do
@@ -837,7 +893,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
837
893
  repeated :privileges, :message, 5, "pg_query.Node", json_name: "privileges"
838
894
  repeated :grantees, :message, 6, "pg_query.Node", json_name: "grantees"
839
895
  optional :grant_option, :bool, 7, json_name: "grant_option"
840
- optional :behavior, :enum, 8, "pg_query.DropBehavior", json_name: "behavior"
896
+ optional :grantor, :message, 8, "pg_query.RoleSpec", json_name: "grantor"
897
+ optional :behavior, :enum, 9, "pg_query.DropBehavior", json_name: "behavior"
841
898
  end
842
899
  add_message "pg_query.GrantRoleStmt" do
843
900
  repeated :granted_roles, :message, 1, "pg_query.Node", json_name: "granted_roles"
@@ -857,7 +914,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
857
914
  add_message "pg_query.ClusterStmt" do
858
915
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
859
916
  optional :indexname, :string, 2, json_name: "indexname"
860
- optional :options, :int32, 3, json_name: "options"
917
+ repeated :params, :message, 3, "pg_query.Node", json_name: "params"
861
918
  end
862
919
  add_message "pg_query.CopyStmt" do
863
920
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
@@ -931,14 +988,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
931
988
  optional :old_create_subid, :uint32, 13, json_name: "oldCreateSubid"
932
989
  optional :old_first_relfilenode_subid, :uint32, 14, json_name: "oldFirstRelfilenodeSubid"
933
990
  optional :unique, :bool, 15, json_name: "unique"
934
- optional :primary, :bool, 16, json_name: "primary"
935
- optional :isconstraint, :bool, 17, json_name: "isconstraint"
936
- optional :deferrable, :bool, 18, json_name: "deferrable"
937
- optional :initdeferred, :bool, 19, json_name: "initdeferred"
938
- optional :transformed, :bool, 20, json_name: "transformed"
939
- optional :concurrent, :bool, 21, json_name: "concurrent"
940
- optional :if_not_exists, :bool, 22, json_name: "if_not_exists"
941
- optional :reset_default_tblspc, :bool, 23, json_name: "reset_default_tblspc"
991
+ optional :nulls_not_distinct, :bool, 16, json_name: "nulls_not_distinct"
992
+ optional :primary, :bool, 17, json_name: "primary"
993
+ optional :isconstraint, :bool, 18, json_name: "isconstraint"
994
+ optional :deferrable, :bool, 19, json_name: "deferrable"
995
+ optional :initdeferred, :bool, 20, json_name: "initdeferred"
996
+ optional :transformed, :bool, 21, json_name: "transformed"
997
+ optional :concurrent, :bool, 22, json_name: "concurrent"
998
+ optional :if_not_exists, :bool, 23, json_name: "if_not_exists"
999
+ optional :reset_default_tblspc, :bool, 24, json_name: "reset_default_tblspc"
942
1000
  end
943
1001
  add_message "pg_query.CreateFunctionStmt" do
944
1002
  optional :is_procedure, :bool, 1, json_name: "is_procedure"
@@ -947,6 +1005,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
947
1005
  repeated :parameters, :message, 4, "pg_query.Node", json_name: "parameters"
948
1006
  optional :return_type, :message, 5, "pg_query.TypeName", json_name: "returnType"
949
1007
  repeated :options, :message, 6, "pg_query.Node", json_name: "options"
1008
+ optional :sql_body, :message, 7, "pg_query.Node", json_name: "sql_body"
950
1009
  end
951
1010
  add_message "pg_query.AlterFunctionStmt" do
952
1011
  optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
@@ -1030,7 +1089,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1030
1089
  add_message "pg_query.CreateTableAsStmt" do
1031
1090
  optional :query, :message, 1, "pg_query.Node", json_name: "query"
1032
1091
  optional :into, :message, 2, "pg_query.IntoClause", json_name: "into"
1033
- optional :relkind, :enum, 3, "pg_query.ObjectType", json_name: "relkind"
1092
+ optional :objtype, :enum, 3, "pg_query.ObjectType", json_name: "objtype"
1034
1093
  optional :is_select_into, :bool, 4, json_name: "is_select_into"
1035
1094
  optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
1036
1095
  end
@@ -1060,20 +1119,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1060
1119
  optional :target, :enum, 1, "pg_query.DiscardMode", json_name: "target"
1061
1120
  end
1062
1121
  add_message "pg_query.CreateTrigStmt" do
1063
- optional :trigname, :string, 1, json_name: "trigname"
1064
- optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1065
- repeated :funcname, :message, 3, "pg_query.Node", json_name: "funcname"
1066
- repeated :args, :message, 4, "pg_query.Node", json_name: "args"
1067
- optional :row, :bool, 5, json_name: "row"
1068
- optional :timing, :int32, 6, json_name: "timing"
1069
- optional :events, :int32, 7, json_name: "events"
1070
- repeated :columns, :message, 8, "pg_query.Node", json_name: "columns"
1071
- optional :when_clause, :message, 9, "pg_query.Node", json_name: "whenClause"
1072
- optional :isconstraint, :bool, 10, json_name: "isconstraint"
1073
- repeated :transition_rels, :message, 11, "pg_query.Node", json_name: "transitionRels"
1074
- optional :deferrable, :bool, 12, json_name: "deferrable"
1075
- optional :initdeferred, :bool, 13, json_name: "initdeferred"
1076
- optional :constrrel, :message, 14, "pg_query.RangeVar", json_name: "constrrel"
1122
+ optional :replace, :bool, 1, json_name: "replace"
1123
+ optional :isconstraint, :bool, 2, json_name: "isconstraint"
1124
+ optional :trigname, :string, 3, json_name: "trigname"
1125
+ optional :relation, :message, 4, "pg_query.RangeVar", json_name: "relation"
1126
+ repeated :funcname, :message, 5, "pg_query.Node", json_name: "funcname"
1127
+ repeated :args, :message, 6, "pg_query.Node", json_name: "args"
1128
+ optional :row, :bool, 7, json_name: "row"
1129
+ optional :timing, :int32, 8, json_name: "timing"
1130
+ optional :events, :int32, 9, json_name: "events"
1131
+ repeated :columns, :message, 10, "pg_query.Node", json_name: "columns"
1132
+ optional :when_clause, :message, 11, "pg_query.Node", json_name: "whenClause"
1133
+ repeated :transition_rels, :message, 12, "pg_query.Node", json_name: "transitionRels"
1134
+ optional :deferrable, :bool, 13, json_name: "deferrable"
1135
+ optional :initdeferred, :bool, 14, json_name: "initdeferred"
1136
+ optional :constrrel, :message, 15, "pg_query.RangeVar", json_name: "constrrel"
1077
1137
  end
1078
1138
  add_message "pg_query.CreatePLangStmt" do
1079
1139
  optional :replace, :bool, 1, json_name: "replace"
@@ -1110,8 +1170,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1110
1170
  optional :kind, :enum, 1, "pg_query.ReindexObjectType", json_name: "kind"
1111
1171
  optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1112
1172
  optional :name, :string, 3, json_name: "name"
1113
- optional :options, :int32, 4, json_name: "options"
1114
- optional :concurrent, :bool, 5, json_name: "concurrent"
1173
+ repeated :params, :message, 4, "pg_query.Node", json_name: "params"
1115
1174
  end
1116
1175
  add_message "pg_query.CheckPointStmt" do
1117
1176
  end
@@ -1125,6 +1184,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1125
1184
  optional :dbname, :string, 1, json_name: "dbname"
1126
1185
  repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1127
1186
  end
1187
+ add_message "pg_query.AlterDatabaseRefreshCollStmt" do
1188
+ optional :dbname, :string, 1, json_name: "dbname"
1189
+ end
1128
1190
  add_message "pg_query.AlterDatabaseSetStmt" do
1129
1191
  optional :dbname, :string, 1, json_name: "dbname"
1130
1192
  optional :setstmt, :message, 2, "pg_query.VariableSetStmt", json_name: "setstmt"
@@ -1197,7 +1259,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1197
1259
  optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
1198
1260
  optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1199
1261
  optional :object, :message, 3, "pg_query.Node", json_name: "object"
1200
- optional :extname, :message, 4, "pg_query.Node", json_name: "extname"
1262
+ optional :extname, :message, 4, "pg_query.String", json_name: "extname"
1201
1263
  optional :remove, :bool, 5, json_name: "remove"
1202
1264
  end
1203
1265
  add_message "pg_query.AlterObjectSchemaStmt" do
@@ -1401,15 +1463,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1401
1463
  add_message "pg_query.CreatePublicationStmt" do
1402
1464
  optional :pubname, :string, 1, json_name: "pubname"
1403
1465
  repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1404
- repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
1466
+ repeated :pubobjects, :message, 3, "pg_query.Node", json_name: "pubobjects"
1405
1467
  optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
1406
1468
  end
1407
1469
  add_message "pg_query.AlterPublicationStmt" do
1408
1470
  optional :pubname, :string, 1, json_name: "pubname"
1409
1471
  repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1410
- repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
1472
+ repeated :pubobjects, :message, 3, "pg_query.Node", json_name: "pubobjects"
1411
1473
  optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
1412
- optional :table_action, :enum, 5, "pg_query.DefElemAction", json_name: "tableAction"
1474
+ optional :action, :enum, 5, "pg_query.AlterPublicationAction", json_name: "action"
1413
1475
  end
1414
1476
  add_message "pg_query.CreateSubscriptionStmt" do
1415
1477
  optional :subname, :string, 1, json_name: "subname"
@@ -1435,7 +1497,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1435
1497
  repeated :exprs, :message, 3, "pg_query.Node", json_name: "exprs"
1436
1498
  repeated :relations, :message, 4, "pg_query.Node", json_name: "relations"
1437
1499
  optional :stxcomment, :string, 5, json_name: "stxcomment"
1438
- optional :if_not_exists, :bool, 6, json_name: "if_not_exists"
1500
+ optional :transformed, :bool, 6, json_name: "transformed"
1501
+ optional :if_not_exists, :bool, 7, json_name: "if_not_exists"
1439
1502
  end
1440
1503
  add_message "pg_query.AlterCollationStmt" do
1441
1504
  repeated :collname, :message, 1, "pg_query.Node", json_name: "collname"
@@ -1443,6 +1506,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1443
1506
  add_message "pg_query.CallStmt" do
1444
1507
  optional :funccall, :message, 1, "pg_query.FuncCall", json_name: "funccall"
1445
1508
  optional :funcexpr, :message, 2, "pg_query.FuncExpr", json_name: "funcexpr"
1509
+ repeated :outargs, :message, 3, "pg_query.Node", json_name: "outargs"
1446
1510
  end
1447
1511
  add_message "pg_query.AlterStatsStmt" do
1448
1512
  repeated :defnames, :message, 1, "pg_query.Node", json_name: "defnames"
@@ -1464,21 +1528,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1464
1528
  optional :number, :int32, 1, json_name: "number"
1465
1529
  optional :location, :int32, 2, json_name: "location"
1466
1530
  end
1467
- add_message "pg_query.A_Const" do
1468
- optional :val, :message, 1, "pg_query.Node", json_name: "val"
1469
- optional :location, :int32, 2, json_name: "location"
1470
- end
1471
1531
  add_message "pg_query.FuncCall" do
1472
1532
  repeated :funcname, :message, 1, "pg_query.Node", json_name: "funcname"
1473
1533
  repeated :args, :message, 2, "pg_query.Node", json_name: "args"
1474
1534
  repeated :agg_order, :message, 3, "pg_query.Node", json_name: "agg_order"
1475
1535
  optional :agg_filter, :message, 4, "pg_query.Node", json_name: "agg_filter"
1476
- optional :agg_within_group, :bool, 5, json_name: "agg_within_group"
1477
- optional :agg_star, :bool, 6, json_name: "agg_star"
1478
- optional :agg_distinct, :bool, 7, json_name: "agg_distinct"
1479
- optional :func_variadic, :bool, 8, json_name: "func_variadic"
1480
- optional :over, :message, 9, "pg_query.WindowDef", json_name: "over"
1481
- optional :location, :int32, 10, json_name: "location"
1536
+ optional :over, :message, 5, "pg_query.WindowDef", json_name: "over"
1537
+ optional :agg_within_group, :bool, 6, json_name: "agg_within_group"
1538
+ optional :agg_star, :bool, 7, json_name: "agg_star"
1539
+ optional :agg_distinct, :bool, 8, json_name: "agg_distinct"
1540
+ optional :func_variadic, :bool, 9, json_name: "func_variadic"
1541
+ optional :funcformat, :enum, 10, "pg_query.CoercionForm", json_name: "funcformat"
1542
+ optional :location, :int32, 11, json_name: "location"
1482
1543
  end
1483
1544
  add_message "pg_query.A_Star" do
1484
1545
  end
@@ -1584,21 +1645,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1584
1645
  add_message "pg_query.ColumnDef" do
1585
1646
  optional :colname, :string, 1, json_name: "colname"
1586
1647
  optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
1587
- optional :inhcount, :int32, 3, json_name: "inhcount"
1588
- optional :is_local, :bool, 4, json_name: "is_local"
1589
- optional :is_not_null, :bool, 5, json_name: "is_not_null"
1590
- optional :is_from_type, :bool, 6, json_name: "is_from_type"
1591
- optional :storage, :string, 7, json_name: "storage"
1592
- optional :raw_default, :message, 8, "pg_query.Node", json_name: "raw_default"
1593
- optional :cooked_default, :message, 9, "pg_query.Node", json_name: "cooked_default"
1594
- optional :identity, :string, 10, json_name: "identity"
1595
- optional :identity_sequence, :message, 11, "pg_query.RangeVar", json_name: "identitySequence"
1596
- optional :generated, :string, 12, json_name: "generated"
1597
- optional :coll_clause, :message, 13, "pg_query.CollateClause", json_name: "collClause"
1598
- optional :coll_oid, :uint32, 14, json_name: "collOid"
1599
- repeated :constraints, :message, 15, "pg_query.Node", json_name: "constraints"
1600
- repeated :fdwoptions, :message, 16, "pg_query.Node", json_name: "fdwoptions"
1601
- optional :location, :int32, 17, json_name: "location"
1648
+ optional :compression, :string, 3, json_name: "compression"
1649
+ optional :inhcount, :int32, 4, json_name: "inhcount"
1650
+ optional :is_local, :bool, 5, json_name: "is_local"
1651
+ optional :is_not_null, :bool, 6, json_name: "is_not_null"
1652
+ optional :is_from_type, :bool, 7, json_name: "is_from_type"
1653
+ optional :storage, :string, 8, json_name: "storage"
1654
+ optional :raw_default, :message, 9, "pg_query.Node", json_name: "raw_default"
1655
+ optional :cooked_default, :message, 10, "pg_query.Node", json_name: "cooked_default"
1656
+ optional :identity, :string, 11, json_name: "identity"
1657
+ optional :identity_sequence, :message, 12, "pg_query.RangeVar", json_name: "identitySequence"
1658
+ optional :generated, :string, 13, json_name: "generated"
1659
+ optional :coll_clause, :message, 14, "pg_query.CollateClause", json_name: "collClause"
1660
+ optional :coll_oid, :uint32, 15, json_name: "collOid"
1661
+ repeated :constraints, :message, 16, "pg_query.Node", json_name: "constraints"
1662
+ repeated :fdwoptions, :message, 17, "pg_query.Node", json_name: "fdwoptions"
1663
+ optional :location, :int32, 18, json_name: "location"
1602
1664
  end
1603
1665
  add_message "pg_query.IndexElem" do
1604
1666
  optional :name, :string, 1, json_name: "name"
@@ -1610,6 +1672,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1610
1672
  optional :ordering, :enum, 7, "pg_query.SortByDir", json_name: "ordering"
1611
1673
  optional :nulls_ordering, :enum, 8, "pg_query.SortByNulls", json_name: "nulls_ordering"
1612
1674
  end
1675
+ add_message "pg_query.StatsElem" do
1676
+ optional :name, :string, 1, json_name: "name"
1677
+ optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
1678
+ end
1613
1679
  add_message "pg_query.Constraint" do
1614
1680
  optional :contype, :enum, 1, "pg_query.ConstrType", json_name: "contype"
1615
1681
  optional :conname, :string, 2, json_name: "conname"
@@ -1620,25 +1686,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1620
1686
  optional :raw_expr, :message, 7, "pg_query.Node", json_name: "raw_expr"
1621
1687
  optional :cooked_expr, :string, 8, json_name: "cooked_expr"
1622
1688
  optional :generated_when, :string, 9, json_name: "generated_when"
1623
- repeated :keys, :message, 10, "pg_query.Node", json_name: "keys"
1624
- repeated :including, :message, 11, "pg_query.Node", json_name: "including"
1625
- repeated :exclusions, :message, 12, "pg_query.Node", json_name: "exclusions"
1626
- repeated :options, :message, 13, "pg_query.Node", json_name: "options"
1627
- optional :indexname, :string, 14, json_name: "indexname"
1628
- optional :indexspace, :string, 15, json_name: "indexspace"
1629
- optional :reset_default_tblspc, :bool, 16, json_name: "reset_default_tblspc"
1630
- optional :access_method, :string, 17, json_name: "access_method"
1631
- optional :where_clause, :message, 18, "pg_query.Node", json_name: "where_clause"
1632
- optional :pktable, :message, 19, "pg_query.RangeVar", json_name: "pktable"
1633
- repeated :fk_attrs, :message, 20, "pg_query.Node", json_name: "fk_attrs"
1634
- repeated :pk_attrs, :message, 21, "pg_query.Node", json_name: "pk_attrs"
1635
- optional :fk_matchtype, :string, 22, json_name: "fk_matchtype"
1636
- optional :fk_upd_action, :string, 23, json_name: "fk_upd_action"
1637
- optional :fk_del_action, :string, 24, json_name: "fk_del_action"
1638
- repeated :old_conpfeqop, :message, 25, "pg_query.Node", json_name: "old_conpfeqop"
1639
- optional :old_pktable_oid, :uint32, 26, json_name: "old_pktable_oid"
1640
- optional :skip_validation, :bool, 27, json_name: "skip_validation"
1641
- optional :initially_valid, :bool, 28, json_name: "initially_valid"
1689
+ optional :nulls_not_distinct, :bool, 10, json_name: "nulls_not_distinct"
1690
+ repeated :keys, :message, 11, "pg_query.Node", json_name: "keys"
1691
+ repeated :including, :message, 12, "pg_query.Node", json_name: "including"
1692
+ repeated :exclusions, :message, 13, "pg_query.Node", json_name: "exclusions"
1693
+ repeated :options, :message, 14, "pg_query.Node", json_name: "options"
1694
+ optional :indexname, :string, 15, json_name: "indexname"
1695
+ optional :indexspace, :string, 16, json_name: "indexspace"
1696
+ optional :reset_default_tblspc, :bool, 17, json_name: "reset_default_tblspc"
1697
+ optional :access_method, :string, 18, json_name: "access_method"
1698
+ optional :where_clause, :message, 19, "pg_query.Node", json_name: "where_clause"
1699
+ optional :pktable, :message, 20, "pg_query.RangeVar", json_name: "pktable"
1700
+ repeated :fk_attrs, :message, 21, "pg_query.Node", json_name: "fk_attrs"
1701
+ repeated :pk_attrs, :message, 22, "pg_query.Node", json_name: "pk_attrs"
1702
+ optional :fk_matchtype, :string, 23, json_name: "fk_matchtype"
1703
+ optional :fk_upd_action, :string, 24, json_name: "fk_upd_action"
1704
+ optional :fk_del_action, :string, 25, json_name: "fk_del_action"
1705
+ repeated :fk_del_set_cols, :message, 26, "pg_query.Node", json_name: "fk_del_set_cols"
1706
+ repeated :old_conpfeqop, :message, 27, "pg_query.Node", json_name: "old_conpfeqop"
1707
+ optional :old_pktable_oid, :uint32, 28, json_name: "old_pktable_oid"
1708
+ optional :skip_validation, :bool, 29, json_name: "skip_validation"
1709
+ optional :initially_valid, :bool, 30, json_name: "initially_valid"
1642
1710
  end
1643
1711
  add_message "pg_query.DefElem" do
1644
1712
  optional :defnamespace, :string, 1, json_name: "defnamespace"
@@ -1660,30 +1728,31 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1660
1728
  repeated :joinaliasvars, :message, 10, "pg_query.Node", json_name: "joinaliasvars"
1661
1729
  repeated :joinleftcols, :message, 11, "pg_query.Node", json_name: "joinleftcols"
1662
1730
  repeated :joinrightcols, :message, 12, "pg_query.Node", json_name: "joinrightcols"
1663
- repeated :functions, :message, 13, "pg_query.Node", json_name: "functions"
1664
- optional :funcordinality, :bool, 14, json_name: "funcordinality"
1665
- optional :tablefunc, :message, 15, "pg_query.TableFunc", json_name: "tablefunc"
1666
- repeated :values_lists, :message, 16, "pg_query.Node", json_name: "values_lists"
1667
- optional :ctename, :string, 17, json_name: "ctename"
1668
- optional :ctelevelsup, :uint32, 18, json_name: "ctelevelsup"
1669
- optional :self_reference, :bool, 19, json_name: "self_reference"
1670
- repeated :coltypes, :message, 20, "pg_query.Node", json_name: "coltypes"
1671
- repeated :coltypmods, :message, 21, "pg_query.Node", json_name: "coltypmods"
1672
- repeated :colcollations, :message, 22, "pg_query.Node", json_name: "colcollations"
1673
- optional :enrname, :string, 23, json_name: "enrname"
1674
- optional :enrtuples, :double, 24, json_name: "enrtuples"
1675
- optional :alias, :message, 25, "pg_query.Alias", json_name: "alias"
1676
- optional :eref, :message, 26, "pg_query.Alias", json_name: "eref"
1677
- optional :lateral, :bool, 27, json_name: "lateral"
1678
- optional :inh, :bool, 28, json_name: "inh"
1679
- optional :in_from_cl, :bool, 29, json_name: "inFromCl"
1680
- optional :required_perms, :uint32, 30, json_name: "requiredPerms"
1681
- optional :check_as_user, :uint32, 31, json_name: "checkAsUser"
1682
- repeated :selected_cols, :uint64, 32, json_name: "selectedCols"
1683
- repeated :inserted_cols, :uint64, 33, json_name: "insertedCols"
1684
- repeated :updated_cols, :uint64, 34, json_name: "updatedCols"
1685
- repeated :extra_updated_cols, :uint64, 35, json_name: "extraUpdatedCols"
1686
- repeated :security_quals, :message, 36, "pg_query.Node", json_name: "securityQuals"
1731
+ optional :join_using_alias, :message, 13, "pg_query.Alias", json_name: "join_using_alias"
1732
+ repeated :functions, :message, 14, "pg_query.Node", json_name: "functions"
1733
+ optional :funcordinality, :bool, 15, json_name: "funcordinality"
1734
+ optional :tablefunc, :message, 16, "pg_query.TableFunc", json_name: "tablefunc"
1735
+ repeated :values_lists, :message, 17, "pg_query.Node", json_name: "values_lists"
1736
+ optional :ctename, :string, 18, json_name: "ctename"
1737
+ optional :ctelevelsup, :uint32, 19, json_name: "ctelevelsup"
1738
+ optional :self_reference, :bool, 20, json_name: "self_reference"
1739
+ repeated :coltypes, :message, 21, "pg_query.Node", json_name: "coltypes"
1740
+ repeated :coltypmods, :message, 22, "pg_query.Node", json_name: "coltypmods"
1741
+ repeated :colcollations, :message, 23, "pg_query.Node", json_name: "colcollations"
1742
+ optional :enrname, :string, 24, json_name: "enrname"
1743
+ optional :enrtuples, :double, 25, json_name: "enrtuples"
1744
+ optional :alias, :message, 26, "pg_query.Alias", json_name: "alias"
1745
+ optional :eref, :message, 27, "pg_query.Alias", json_name: "eref"
1746
+ optional :lateral, :bool, 28, json_name: "lateral"
1747
+ optional :inh, :bool, 29, json_name: "inh"
1748
+ optional :in_from_cl, :bool, 30, json_name: "inFromCl"
1749
+ optional :required_perms, :uint32, 31, json_name: "requiredPerms"
1750
+ optional :check_as_user, :uint32, 32, json_name: "checkAsUser"
1751
+ repeated :selected_cols, :uint64, 33, json_name: "selectedCols"
1752
+ repeated :inserted_cols, :uint64, 34, json_name: "insertedCols"
1753
+ repeated :updated_cols, :uint64, 35, json_name: "updatedCols"
1754
+ repeated :extra_updated_cols, :uint64, 36, json_name: "extraUpdatedCols"
1755
+ repeated :security_quals, :message, 37, "pg_query.Node", json_name: "securityQuals"
1687
1756
  end
1688
1757
  add_message "pg_query.RangeTblFunction" do
1689
1758
  optional :funcexpr, :message, 1, "pg_query.Node", json_name: "funcexpr"
@@ -1726,18 +1795,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1726
1795
  optional :frame_options, :int32, 5, json_name: "frameOptions"
1727
1796
  optional :start_offset, :message, 6, "pg_query.Node", json_name: "startOffset"
1728
1797
  optional :end_offset, :message, 7, "pg_query.Node", json_name: "endOffset"
1729
- optional :start_in_range_func, :uint32, 8, json_name: "startInRangeFunc"
1730
- optional :end_in_range_func, :uint32, 9, json_name: "endInRangeFunc"
1731
- optional :in_range_coll, :uint32, 10, json_name: "inRangeColl"
1732
- optional :in_range_asc, :bool, 11, json_name: "inRangeAsc"
1733
- optional :in_range_nulls_first, :bool, 12, json_name: "inRangeNullsFirst"
1734
- optional :winref, :uint32, 13, json_name: "winref"
1735
- optional :copied_order, :bool, 14, json_name: "copiedOrder"
1798
+ repeated :run_condition, :message, 8, "pg_query.Node", json_name: "runCondition"
1799
+ optional :start_in_range_func, :uint32, 9, json_name: "startInRangeFunc"
1800
+ optional :end_in_range_func, :uint32, 10, json_name: "endInRangeFunc"
1801
+ optional :in_range_coll, :uint32, 11, json_name: "inRangeColl"
1802
+ optional :in_range_asc, :bool, 12, json_name: "inRangeAsc"
1803
+ optional :in_range_nulls_first, :bool, 13, json_name: "inRangeNullsFirst"
1804
+ optional :winref, :uint32, 14, json_name: "winref"
1805
+ optional :copied_order, :bool, 15, json_name: "copiedOrder"
1736
1806
  end
1737
1807
  add_message "pg_query.ObjectWithArgs" do
1738
1808
  repeated :objname, :message, 1, "pg_query.Node", json_name: "objname"
1739
1809
  repeated :objargs, :message, 2, "pg_query.Node", json_name: "objargs"
1740
- optional :args_unspecified, :bool, 3, json_name: "args_unspecified"
1810
+ repeated :objfuncargs, :message, 3, "pg_query.Node", json_name: "objfuncargs"
1811
+ optional :args_unspecified, :bool, 4, json_name: "args_unspecified"
1741
1812
  end
1742
1813
  add_message "pg_query.AccessPriv" do
1743
1814
  optional :priv_name, :string, 1, json_name: "priv_name"
@@ -1797,18 +1868,46 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1797
1868
  optional :where_clause, :message, 4, "pg_query.Node", json_name: "whereClause"
1798
1869
  optional :location, :int32, 5, json_name: "location"
1799
1870
  end
1871
+ add_message "pg_query.CTESearchClause" do
1872
+ repeated :search_col_list, :message, 1, "pg_query.Node", json_name: "search_col_list"
1873
+ optional :search_breadth_first, :bool, 2, json_name: "search_breadth_first"
1874
+ optional :search_seq_column, :string, 3, json_name: "search_seq_column"
1875
+ optional :location, :int32, 4, json_name: "location"
1876
+ end
1877
+ add_message "pg_query.CTECycleClause" do
1878
+ repeated :cycle_col_list, :message, 1, "pg_query.Node", json_name: "cycle_col_list"
1879
+ optional :cycle_mark_column, :string, 2, json_name: "cycle_mark_column"
1880
+ optional :cycle_mark_value, :message, 3, "pg_query.Node", json_name: "cycle_mark_value"
1881
+ optional :cycle_mark_default, :message, 4, "pg_query.Node", json_name: "cycle_mark_default"
1882
+ optional :cycle_path_column, :string, 5, json_name: "cycle_path_column"
1883
+ optional :location, :int32, 6, json_name: "location"
1884
+ optional :cycle_mark_type, :uint32, 7, json_name: "cycle_mark_type"
1885
+ optional :cycle_mark_typmod, :int32, 8, json_name: "cycle_mark_typmod"
1886
+ optional :cycle_mark_collation, :uint32, 9, json_name: "cycle_mark_collation"
1887
+ optional :cycle_mark_neop, :uint32, 10, json_name: "cycle_mark_neop"
1888
+ end
1800
1889
  add_message "pg_query.CommonTableExpr" do
1801
1890
  optional :ctename, :string, 1, json_name: "ctename"
1802
1891
  repeated :aliascolnames, :message, 2, "pg_query.Node", json_name: "aliascolnames"
1803
1892
  optional :ctematerialized, :enum, 3, "pg_query.CTEMaterialize", json_name: "ctematerialized"
1804
1893
  optional :ctequery, :message, 4, "pg_query.Node", json_name: "ctequery"
1805
- optional :location, :int32, 5, json_name: "location"
1806
- optional :cterecursive, :bool, 6, json_name: "cterecursive"
1807
- optional :cterefcount, :int32, 7, json_name: "cterefcount"
1808
- repeated :ctecolnames, :message, 8, "pg_query.Node", json_name: "ctecolnames"
1809
- repeated :ctecoltypes, :message, 9, "pg_query.Node", json_name: "ctecoltypes"
1810
- repeated :ctecoltypmods, :message, 10, "pg_query.Node", json_name: "ctecoltypmods"
1811
- repeated :ctecolcollations, :message, 11, "pg_query.Node", json_name: "ctecolcollations"
1894
+ optional :search_clause, :message, 5, "pg_query.CTESearchClause", json_name: "search_clause"
1895
+ optional :cycle_clause, :message, 6, "pg_query.CTECycleClause", json_name: "cycle_clause"
1896
+ optional :location, :int32, 7, json_name: "location"
1897
+ optional :cterecursive, :bool, 8, json_name: "cterecursive"
1898
+ optional :cterefcount, :int32, 9, json_name: "cterefcount"
1899
+ repeated :ctecolnames, :message, 10, "pg_query.Node", json_name: "ctecolnames"
1900
+ repeated :ctecoltypes, :message, 11, "pg_query.Node", json_name: "ctecoltypes"
1901
+ repeated :ctecoltypmods, :message, 12, "pg_query.Node", json_name: "ctecoltypmods"
1902
+ repeated :ctecolcollations, :message, 13, "pg_query.Node", json_name: "ctecolcollations"
1903
+ end
1904
+ add_message "pg_query.MergeWhenClause" do
1905
+ optional :matched, :bool, 1, json_name: "matched"
1906
+ optional :command_type, :enum, 2, "pg_query.CmdType", json_name: "commandType"
1907
+ optional :override, :enum, 3, "pg_query.OverridingKind", json_name: "override"
1908
+ optional :condition, :message, 4, "pg_query.Node", json_name: "condition"
1909
+ repeated :target_list, :message, 5, "pg_query.Node", json_name: "targetList"
1910
+ repeated :values, :message, 6, "pg_query.Node", json_name: "values"
1812
1911
  end
1813
1912
  add_message "pg_query.RoleSpec" do
1814
1913
  optional :roletype, :enum, 1, "pg_query.RoleSpecType", json_name: "roletype"
@@ -1850,12 +1949,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1850
1949
  add_message "pg_query.PartitionCmd" do
1851
1950
  optional :name, :message, 1, "pg_query.RangeVar", json_name: "name"
1852
1951
  optional :bound, :message, 2, "pg_query.PartitionBoundSpec", json_name: "bound"
1952
+ optional :concurrent, :bool, 3, json_name: "concurrent"
1853
1953
  end
1854
1954
  add_message "pg_query.VacuumRelation" do
1855
1955
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
1856
1956
  optional :oid, :uint32, 2, json_name: "oid"
1857
1957
  repeated :va_cols, :message, 3, "pg_query.Node", json_name: "va_cols"
1858
1958
  end
1959
+ add_message "pg_query.PublicationObjSpec" do
1960
+ optional :pubobjtype, :enum, 1, "pg_query.PublicationObjSpecType", json_name: "pubobjtype"
1961
+ optional :name, :string, 2, json_name: "name"
1962
+ optional :pubtable, :message, 3, "pg_query.PublicationTable", json_name: "pubtable"
1963
+ optional :location, :int32, 4, json_name: "location"
1964
+ end
1965
+ add_message "pg_query.PublicationTable" do
1966
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
1967
+ optional :where_clause, :message, 2, "pg_query.Node", json_name: "whereClause"
1968
+ repeated :columns, :message, 3, "pg_query.Node", json_name: "columns"
1969
+ end
1859
1970
  add_message "pg_query.InlineCodeBlock" do
1860
1971
  optional :source_text, :string, 1, json_name: "source_text"
1861
1972
  optional :lang_oid, :uint32, 2, json_name: "langOid"
@@ -1898,6 +2009,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1898
2009
  value :SORTBY_NULLS_FIRST, 2
1899
2010
  value :SORTBY_NULLS_LAST, 3
1900
2011
  end
2012
+ add_enum "pg_query.SetQuantifier" do
2013
+ value :SET_QUANTIFIER_UNDEFINED, 0
2014
+ value :SET_QUANTIFIER_DEFAULT, 1
2015
+ value :SET_QUANTIFIER_ALL, 2
2016
+ value :SET_QUANTIFIER_DISTINCT, 3
2017
+ end
1901
2018
  add_enum "pg_query.A_Expr_Kind" do
1902
2019
  value :A_EXPR_KIND_UNDEFINED, 0
1903
2020
  value :AEXPR_OP, 1
@@ -1906,35 +2023,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1906
2023
  value :AEXPR_DISTINCT, 4
1907
2024
  value :AEXPR_NOT_DISTINCT, 5
1908
2025
  value :AEXPR_NULLIF, 6
1909
- value :AEXPR_OF, 7
1910
- value :AEXPR_IN, 8
1911
- value :AEXPR_LIKE, 9
1912
- value :AEXPR_ILIKE, 10
1913
- value :AEXPR_SIMILAR, 11
1914
- value :AEXPR_BETWEEN, 12
1915
- value :AEXPR_NOT_BETWEEN, 13
1916
- value :AEXPR_BETWEEN_SYM, 14
1917
- value :AEXPR_NOT_BETWEEN_SYM, 15
1918
- value :AEXPR_PAREN, 16
2026
+ value :AEXPR_IN, 7
2027
+ value :AEXPR_LIKE, 8
2028
+ value :AEXPR_ILIKE, 9
2029
+ value :AEXPR_SIMILAR, 10
2030
+ value :AEXPR_BETWEEN, 11
2031
+ value :AEXPR_NOT_BETWEEN, 12
2032
+ value :AEXPR_BETWEEN_SYM, 13
2033
+ value :AEXPR_NOT_BETWEEN_SYM, 14
1919
2034
  end
1920
2035
  add_enum "pg_query.RoleSpecType" do
1921
2036
  value :ROLE_SPEC_TYPE_UNDEFINED, 0
1922
2037
  value :ROLESPEC_CSTRING, 1
1923
- value :ROLESPEC_CURRENT_USER, 2
1924
- value :ROLESPEC_SESSION_USER, 3
1925
- value :ROLESPEC_PUBLIC, 4
2038
+ value :ROLESPEC_CURRENT_ROLE, 2
2039
+ value :ROLESPEC_CURRENT_USER, 3
2040
+ value :ROLESPEC_SESSION_USER, 4
2041
+ value :ROLESPEC_PUBLIC, 5
1926
2042
  end
1927
2043
  add_enum "pg_query.TableLikeOption" do
1928
2044
  value :TABLE_LIKE_OPTION_UNDEFINED, 0
1929
2045
  value :CREATE_TABLE_LIKE_COMMENTS, 1
1930
- value :CREATE_TABLE_LIKE_CONSTRAINTS, 2
1931
- value :CREATE_TABLE_LIKE_DEFAULTS, 3
1932
- value :CREATE_TABLE_LIKE_GENERATED, 4
1933
- value :CREATE_TABLE_LIKE_IDENTITY, 5
1934
- value :CREATE_TABLE_LIKE_INDEXES, 6
1935
- value :CREATE_TABLE_LIKE_STATISTICS, 7
1936
- value :CREATE_TABLE_LIKE_STORAGE, 8
1937
- value :CREATE_TABLE_LIKE_ALL, 9
2046
+ value :CREATE_TABLE_LIKE_COMPRESSION, 2
2047
+ value :CREATE_TABLE_LIKE_CONSTRAINTS, 3
2048
+ value :CREATE_TABLE_LIKE_DEFAULTS, 4
2049
+ value :CREATE_TABLE_LIKE_GENERATED, 5
2050
+ value :CREATE_TABLE_LIKE_IDENTITY, 6
2051
+ value :CREATE_TABLE_LIKE_INDEXES, 7
2052
+ value :CREATE_TABLE_LIKE_STATISTICS, 8
2053
+ value :CREATE_TABLE_LIKE_STORAGE, 9
2054
+ value :CREATE_TABLE_LIKE_ALL, 10
1938
2055
  end
1939
2056
  add_enum "pg_query.DefElemAction" do
1940
2057
  value :DEF_ELEM_ACTION_UNDEFINED, 0
@@ -1967,6 +2084,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1967
2084
  value :WCO_RLS_INSERT_CHECK, 2
1968
2085
  value :WCO_RLS_UPDATE_CHECK, 3
1969
2086
  value :WCO_RLS_CONFLICT_CHECK, 4
2087
+ value :WCO_RLS_MERGE_UPDATE_CHECK, 5
2088
+ value :WCO_RLS_MERGE_DELETE_CHECK, 6
1970
2089
  end
1971
2090
  add_enum "pg_query.GroupingSetKind" do
1972
2091
  value :GROUPING_SET_KIND_UNDEFINED, 0
@@ -2018,29 +2137,31 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2018
2137
  value :OBJECT_OPCLASS, 25
2019
2138
  value :OBJECT_OPERATOR, 26
2020
2139
  value :OBJECT_OPFAMILY, 27
2021
- value :OBJECT_POLICY, 28
2022
- value :OBJECT_PROCEDURE, 29
2023
- value :OBJECT_PUBLICATION, 30
2024
- value :OBJECT_PUBLICATION_REL, 31
2025
- value :OBJECT_ROLE, 32
2026
- value :OBJECT_ROUTINE, 33
2027
- value :OBJECT_RULE, 34
2028
- value :OBJECT_SCHEMA, 35
2029
- value :OBJECT_SEQUENCE, 36
2030
- value :OBJECT_SUBSCRIPTION, 37
2031
- value :OBJECT_STATISTIC_EXT, 38
2032
- value :OBJECT_TABCONSTRAINT, 39
2033
- value :OBJECT_TABLE, 40
2034
- value :OBJECT_TABLESPACE, 41
2035
- value :OBJECT_TRANSFORM, 42
2036
- value :OBJECT_TRIGGER, 43
2037
- value :OBJECT_TSCONFIGURATION, 44
2038
- value :OBJECT_TSDICTIONARY, 45
2039
- value :OBJECT_TSPARSER, 46
2040
- value :OBJECT_TSTEMPLATE, 47
2041
- value :OBJECT_TYPE, 48
2042
- value :OBJECT_USER_MAPPING, 49
2043
- value :OBJECT_VIEW, 50
2140
+ value :OBJECT_PARAMETER_ACL, 28
2141
+ value :OBJECT_POLICY, 29
2142
+ value :OBJECT_PROCEDURE, 30
2143
+ value :OBJECT_PUBLICATION, 31
2144
+ value :OBJECT_PUBLICATION_NAMESPACE, 32
2145
+ value :OBJECT_PUBLICATION_REL, 33
2146
+ value :OBJECT_ROLE, 34
2147
+ value :OBJECT_ROUTINE, 35
2148
+ value :OBJECT_RULE, 36
2149
+ value :OBJECT_SCHEMA, 37
2150
+ value :OBJECT_SEQUENCE, 38
2151
+ value :OBJECT_SUBSCRIPTION, 39
2152
+ value :OBJECT_STATISTIC_EXT, 40
2153
+ value :OBJECT_TABCONSTRAINT, 41
2154
+ value :OBJECT_TABLE, 42
2155
+ value :OBJECT_TABLESPACE, 43
2156
+ value :OBJECT_TRANSFORM, 44
2157
+ value :OBJECT_TRIGGER, 45
2158
+ value :OBJECT_TSCONFIGURATION, 46
2159
+ value :OBJECT_TSDICTIONARY, 47
2160
+ value :OBJECT_TSPARSER, 48
2161
+ value :OBJECT_TSTEMPLATE, 49
2162
+ value :OBJECT_TYPE, 50
2163
+ value :OBJECT_USER_MAPPING, 51
2164
+ value :OBJECT_VIEW, 52
2044
2165
  end
2045
2166
  add_enum "pg_query.DropBehavior" do
2046
2167
  value :DROP_BEHAVIOR_UNDEFINED, 0
@@ -2062,60 +2183,64 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2062
2183
  value :AT_SetOptions, 11
2063
2184
  value :AT_ResetOptions, 12
2064
2185
  value :AT_SetStorage, 13
2065
- value :AT_DropColumn, 14
2066
- value :AT_DropColumnRecurse, 15
2067
- value :AT_AddIndex, 16
2068
- value :AT_ReAddIndex, 17
2069
- value :AT_AddConstraint, 18
2070
- value :AT_AddConstraintRecurse, 19
2071
- value :AT_ReAddConstraint, 20
2072
- value :AT_ReAddDomainConstraint, 21
2073
- value :AT_AlterConstraint, 22
2074
- value :AT_ValidateConstraint, 23
2075
- value :AT_ValidateConstraintRecurse, 24
2076
- value :AT_AddIndexConstraint, 25
2077
- value :AT_DropConstraint, 26
2078
- value :AT_DropConstraintRecurse, 27
2079
- value :AT_ReAddComment, 28
2080
- value :AT_AlterColumnType, 29
2081
- value :AT_AlterColumnGenericOptions, 30
2082
- value :AT_ChangeOwner, 31
2083
- value :AT_ClusterOn, 32
2084
- value :AT_DropCluster, 33
2085
- value :AT_SetLogged, 34
2086
- value :AT_SetUnLogged, 35
2087
- value :AT_DropOids, 36
2088
- value :AT_SetTableSpace, 37
2089
- value :AT_SetRelOptions, 38
2090
- value :AT_ResetRelOptions, 39
2091
- value :AT_ReplaceRelOptions, 40
2092
- value :AT_EnableTrig, 41
2093
- value :AT_EnableAlwaysTrig, 42
2094
- value :AT_EnableReplicaTrig, 43
2095
- value :AT_DisableTrig, 44
2096
- value :AT_EnableTrigAll, 45
2097
- value :AT_DisableTrigAll, 46
2098
- value :AT_EnableTrigUser, 47
2099
- value :AT_DisableTrigUser, 48
2100
- value :AT_EnableRule, 49
2101
- value :AT_EnableAlwaysRule, 50
2102
- value :AT_EnableReplicaRule, 51
2103
- value :AT_DisableRule, 52
2104
- value :AT_AddInherit, 53
2105
- value :AT_DropInherit, 54
2106
- value :AT_AddOf, 55
2107
- value :AT_DropOf, 56
2108
- value :AT_ReplicaIdentity, 57
2109
- value :AT_EnableRowSecurity, 58
2110
- value :AT_DisableRowSecurity, 59
2111
- value :AT_ForceRowSecurity, 60
2112
- value :AT_NoForceRowSecurity, 61
2113
- value :AT_GenericOptions, 62
2114
- value :AT_AttachPartition, 63
2115
- value :AT_DetachPartition, 64
2116
- value :AT_AddIdentity, 65
2117
- value :AT_SetIdentity, 66
2118
- value :AT_DropIdentity, 67
2186
+ value :AT_SetCompression, 14
2187
+ value :AT_DropColumn, 15
2188
+ value :AT_DropColumnRecurse, 16
2189
+ value :AT_AddIndex, 17
2190
+ value :AT_ReAddIndex, 18
2191
+ value :AT_AddConstraint, 19
2192
+ value :AT_AddConstraintRecurse, 20
2193
+ value :AT_ReAddConstraint, 21
2194
+ value :AT_ReAddDomainConstraint, 22
2195
+ value :AT_AlterConstraint, 23
2196
+ value :AT_ValidateConstraint, 24
2197
+ value :AT_ValidateConstraintRecurse, 25
2198
+ value :AT_AddIndexConstraint, 26
2199
+ value :AT_DropConstraint, 27
2200
+ value :AT_DropConstraintRecurse, 28
2201
+ value :AT_ReAddComment, 29
2202
+ value :AT_AlterColumnType, 30
2203
+ value :AT_AlterColumnGenericOptions, 31
2204
+ value :AT_ChangeOwner, 32
2205
+ value :AT_ClusterOn, 33
2206
+ value :AT_DropCluster, 34
2207
+ value :AT_SetLogged, 35
2208
+ value :AT_SetUnLogged, 36
2209
+ value :AT_DropOids, 37
2210
+ value :AT_SetAccessMethod, 38
2211
+ value :AT_SetTableSpace, 39
2212
+ value :AT_SetRelOptions, 40
2213
+ value :AT_ResetRelOptions, 41
2214
+ value :AT_ReplaceRelOptions, 42
2215
+ value :AT_EnableTrig, 43
2216
+ value :AT_EnableAlwaysTrig, 44
2217
+ value :AT_EnableReplicaTrig, 45
2218
+ value :AT_DisableTrig, 46
2219
+ value :AT_EnableTrigAll, 47
2220
+ value :AT_DisableTrigAll, 48
2221
+ value :AT_EnableTrigUser, 49
2222
+ value :AT_DisableTrigUser, 50
2223
+ value :AT_EnableRule, 51
2224
+ value :AT_EnableAlwaysRule, 52
2225
+ value :AT_EnableReplicaRule, 53
2226
+ value :AT_DisableRule, 54
2227
+ value :AT_AddInherit, 55
2228
+ value :AT_DropInherit, 56
2229
+ value :AT_AddOf, 57
2230
+ value :AT_DropOf, 58
2231
+ value :AT_ReplicaIdentity, 59
2232
+ value :AT_EnableRowSecurity, 60
2233
+ value :AT_DisableRowSecurity, 61
2234
+ value :AT_ForceRowSecurity, 62
2235
+ value :AT_NoForceRowSecurity, 63
2236
+ value :AT_GenericOptions, 64
2237
+ value :AT_AttachPartition, 65
2238
+ value :AT_DetachPartition, 66
2239
+ value :AT_DetachPartitionFinalize, 67
2240
+ value :AT_AddIdentity, 68
2241
+ value :AT_SetIdentity, 69
2242
+ value :AT_DropIdentity, 70
2243
+ value :AT_ReAddStatistics, 71
2119
2244
  end
2120
2245
  add_enum "pg_query.GrantTargetType" do
2121
2246
  value :GRANT_TARGET_TYPE_UNDEFINED, 0
@@ -2175,6 +2300,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2175
2300
  value :FUNC_PARAM_INOUT, 3
2176
2301
  value :FUNC_PARAM_VARIADIC, 4
2177
2302
  value :FUNC_PARAM_TABLE, 5
2303
+ value :FUNC_PARAM_DEFAULT, 6
2178
2304
  end
2179
2305
  add_enum "pg_query.TransactionStmtKind" do
2180
2306
  value :TRANSACTION_STMT_KIND_UNDEFINED, 0
@@ -2195,11 +2321,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2195
2321
  value :LOCAL_CHECK_OPTION, 2
2196
2322
  value :CASCADED_CHECK_OPTION, 3
2197
2323
  end
2198
- add_enum "pg_query.ClusterOption" do
2199
- value :CLUSTER_OPTION_UNDEFINED, 0
2200
- value :CLUOPT_RECHECK, 1
2201
- value :CLUOPT_VERBOSE, 2
2202
- end
2203
2324
  add_enum "pg_query.DiscardMode" do
2204
2325
  value :DISCARD_MODE_UNDEFINED, 0
2205
2326
  value :DISCARD_ALL, 1
@@ -2223,13 +2344,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2223
2344
  value :ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN, 4
2224
2345
  value :ALTER_TSCONFIG_DROP_MAPPING, 5
2225
2346
  end
2347
+ add_enum "pg_query.PublicationObjSpecType" do
2348
+ value :PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED, 0
2349
+ value :PUBLICATIONOBJ_TABLE, 1
2350
+ value :PUBLICATIONOBJ_TABLES_IN_SCHEMA, 2
2351
+ value :PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA, 3
2352
+ value :PUBLICATIONOBJ_CONTINUATION, 4
2353
+ end
2354
+ add_enum "pg_query.AlterPublicationAction" do
2355
+ value :ALTER_PUBLICATION_ACTION_UNDEFINED, 0
2356
+ value :AP_AddObjects, 1
2357
+ value :AP_DropObjects, 2
2358
+ value :AP_SetObjects, 3
2359
+ end
2226
2360
  add_enum "pg_query.AlterSubscriptionType" do
2227
2361
  value :ALTER_SUBSCRIPTION_TYPE_UNDEFINED, 0
2228
2362
  value :ALTER_SUBSCRIPTION_OPTIONS, 1
2229
2363
  value :ALTER_SUBSCRIPTION_CONNECTION, 2
2230
- value :ALTER_SUBSCRIPTION_PUBLICATION, 3
2231
- value :ALTER_SUBSCRIPTION_REFRESH, 4
2232
- value :ALTER_SUBSCRIPTION_ENABLED, 5
2364
+ value :ALTER_SUBSCRIPTION_SET_PUBLICATION, 3
2365
+ value :ALTER_SUBSCRIPTION_ADD_PUBLICATION, 4
2366
+ value :ALTER_SUBSCRIPTION_DROP_PUBLICATION, 5
2367
+ value :ALTER_SUBSCRIPTION_REFRESH, 6
2368
+ value :ALTER_SUBSCRIPTION_ENABLED, 7
2369
+ value :ALTER_SUBSCRIPTION_SKIP, 8
2233
2370
  end
2234
2371
  add_enum "pg_query.OnCommitAction" do
2235
2372
  value :ON_COMMIT_ACTION_UNDEFINED, 0
@@ -2249,13 +2386,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2249
2386
  value :COERCION_CONTEXT_UNDEFINED, 0
2250
2387
  value :COERCION_IMPLICIT, 1
2251
2388
  value :COERCION_ASSIGNMENT, 2
2252
- value :COERCION_EXPLICIT, 3
2389
+ value :COERCION_PLPGSQL, 3
2390
+ value :COERCION_EXPLICIT, 4
2253
2391
  end
2254
2392
  add_enum "pg_query.CoercionForm" do
2255
2393
  value :COERCION_FORM_UNDEFINED, 0
2256
2394
  value :COERCE_EXPLICIT_CALL, 1
2257
2395
  value :COERCE_EXPLICIT_CAST, 2
2258
2396
  value :COERCE_IMPLICIT_CAST, 3
2397
+ value :COERCE_SQL_SYNTAX, 4
2259
2398
  end
2260
2399
  add_enum "pg_query.BoolExprType" do
2261
2400
  value :BOOL_EXPR_TYPE_UNDEFINED, 0
@@ -2343,8 +2482,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2343
2482
  value :CMD_UPDATE, 3
2344
2483
  value :CMD_INSERT, 4
2345
2484
  value :CMD_DELETE, 5
2346
- value :CMD_UTILITY, 6
2347
- value :CMD_NOTHING, 7
2485
+ value :CMD_MERGE, 6
2486
+ value :CMD_UTILITY, 7
2487
+ value :CMD_NOTHING, 8
2348
2488
  end
2349
2489
  add_enum "pg_query.JoinType" do
2350
2490
  value :JOIN_TYPE_UNDEFINED, 0
@@ -2481,442 +2621,456 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2481
2621
  value :ARRAY, 293
2482
2622
  value :AS, 294
2483
2623
  value :ASC, 295
2484
- value :ASSERTION, 296
2485
- value :ASSIGNMENT, 297
2486
- value :ASYMMETRIC, 298
2487
- value :AT, 299
2488
- value :ATTACH, 300
2489
- value :ATTRIBUTE, 301
2490
- value :AUTHORIZATION, 302
2491
- value :BACKWARD, 303
2492
- value :BEFORE, 304
2493
- value :BEGIN_P, 305
2494
- value :BETWEEN, 306
2495
- value :BIGINT, 307
2496
- value :BINARY, 308
2497
- value :BIT, 309
2498
- value :BOOLEAN_P, 310
2499
- value :BOTH, 311
2500
- value :BY, 312
2501
- value :CACHE, 313
2502
- value :CALL, 314
2503
- value :CALLED, 315
2504
- value :CASCADE, 316
2505
- value :CASCADED, 317
2506
- value :CASE, 318
2507
- value :CAST, 319
2508
- value :CATALOG_P, 320
2509
- value :CHAIN, 321
2510
- value :CHAR_P, 322
2511
- value :CHARACTER, 323
2512
- value :CHARACTERISTICS, 324
2513
- value :CHECK, 325
2514
- value :CHECKPOINT, 326
2515
- value :CLASS, 327
2516
- value :CLOSE, 328
2517
- value :CLUSTER, 329
2518
- value :COALESCE, 330
2519
- value :COLLATE, 331
2520
- value :COLLATION, 332
2521
- value :COLUMN, 333
2522
- value :COLUMNS, 334
2523
- value :COMMENT, 335
2524
- value :COMMENTS, 336
2525
- value :COMMIT, 337
2526
- value :COMMITTED, 338
2527
- value :CONCURRENTLY, 339
2528
- value :CONFIGURATION, 340
2529
- value :CONFLICT, 341
2530
- value :CONNECTION, 342
2531
- value :CONSTRAINT, 343
2532
- value :CONSTRAINTS, 344
2533
- value :CONTENT_P, 345
2534
- value :CONTINUE_P, 346
2535
- value :CONVERSION_P, 347
2536
- value :COPY, 348
2537
- value :COST, 349
2538
- value :CREATE, 350
2539
- value :CROSS, 351
2540
- value :CSV, 352
2541
- value :CUBE, 353
2542
- value :CURRENT_P, 354
2543
- value :CURRENT_CATALOG, 355
2544
- value :CURRENT_DATE, 356
2545
- value :CURRENT_ROLE, 357
2546
- value :CURRENT_SCHEMA, 358
2547
- value :CURRENT_TIME, 359
2548
- value :CURRENT_TIMESTAMP, 360
2549
- value :CURRENT_USER, 361
2550
- value :CURSOR, 362
2551
- value :CYCLE, 363
2552
- value :DATA_P, 364
2553
- value :DATABASE, 365
2554
- value :DAY_P, 366
2555
- value :DEALLOCATE, 367
2556
- value :DEC, 368
2557
- value :DECIMAL_P, 369
2558
- value :DECLARE, 370
2559
- value :DEFAULT, 371
2560
- value :DEFAULTS, 372
2561
- value :DEFERRABLE, 373
2562
- value :DEFERRED, 374
2563
- value :DEFINER, 375
2564
- value :DELETE_P, 376
2565
- value :DELIMITER, 377
2566
- value :DELIMITERS, 378
2567
- value :DEPENDS, 379
2568
- value :DESC, 380
2569
- value :DETACH, 381
2570
- value :DICTIONARY, 382
2571
- value :DISABLE_P, 383
2572
- value :DISCARD, 384
2573
- value :DISTINCT, 385
2574
- value :DO, 386
2575
- value :DOCUMENT_P, 387
2576
- value :DOMAIN_P, 388
2577
- value :DOUBLE_P, 389
2578
- value :DROP, 390
2579
- value :EACH, 391
2580
- value :ELSE, 392
2581
- value :ENABLE_P, 393
2582
- value :ENCODING, 394
2583
- value :ENCRYPTED, 395
2584
- value :END_P, 396
2585
- value :ENUM_P, 397
2586
- value :ESCAPE, 398
2587
- value :EVENT, 399
2588
- value :EXCEPT, 400
2589
- value :EXCLUDE, 401
2590
- value :EXCLUDING, 402
2591
- value :EXCLUSIVE, 403
2592
- value :EXECUTE, 404
2593
- value :EXISTS, 405
2594
- value :EXPLAIN, 406
2595
- value :EXPRESSION, 407
2596
- value :EXTENSION, 408
2597
- value :EXTERNAL, 409
2598
- value :EXTRACT, 410
2599
- value :FALSE_P, 411
2600
- value :FAMILY, 412
2601
- value :FETCH, 413
2602
- value :FILTER, 414
2603
- value :FIRST_P, 415
2604
- value :FLOAT_P, 416
2605
- value :FOLLOWING, 417
2606
- value :FOR, 418
2607
- value :FORCE, 419
2608
- value :FOREIGN, 420
2609
- value :FORWARD, 421
2610
- value :FREEZE, 422
2611
- value :FROM, 423
2612
- value :FULL, 424
2613
- value :FUNCTION, 425
2614
- value :FUNCTIONS, 426
2615
- value :GENERATED, 427
2616
- value :GLOBAL, 428
2617
- value :GRANT, 429
2618
- value :GRANTED, 430
2619
- value :GREATEST, 431
2620
- value :GROUP_P, 432
2621
- value :GROUPING, 433
2622
- value :GROUPS, 434
2623
- value :HANDLER, 435
2624
- value :HAVING, 436
2625
- value :HEADER_P, 437
2626
- value :HOLD, 438
2627
- value :HOUR_P, 439
2628
- value :IDENTITY_P, 440
2629
- value :IF_P, 441
2630
- value :ILIKE, 442
2631
- value :IMMEDIATE, 443
2632
- value :IMMUTABLE, 444
2633
- value :IMPLICIT_P, 445
2634
- value :IMPORT_P, 446
2635
- value :IN_P, 447
2636
- value :INCLUDE, 448
2637
- value :INCLUDING, 449
2638
- value :INCREMENT, 450
2639
- value :INDEX, 451
2640
- value :INDEXES, 452
2641
- value :INHERIT, 453
2642
- value :INHERITS, 454
2643
- value :INITIALLY, 455
2644
- value :INLINE_P, 456
2645
- value :INNER_P, 457
2646
- value :INOUT, 458
2647
- value :INPUT_P, 459
2648
- value :INSENSITIVE, 460
2649
- value :INSERT, 461
2650
- value :INSTEAD, 462
2651
- value :INT_P, 463
2652
- value :INTEGER, 464
2653
- value :INTERSECT, 465
2654
- value :INTERVAL, 466
2655
- value :INTO, 467
2656
- value :INVOKER, 468
2657
- value :IS, 469
2658
- value :ISNULL, 470
2659
- value :ISOLATION, 471
2660
- value :JOIN, 472
2661
- value :KEY, 473
2662
- value :LABEL, 474
2663
- value :LANGUAGE, 475
2664
- value :LARGE_P, 476
2665
- value :LAST_P, 477
2666
- value :LATERAL_P, 478
2667
- value :LEADING, 479
2668
- value :LEAKPROOF, 480
2669
- value :LEAST, 481
2670
- value :LEFT, 482
2671
- value :LEVEL, 483
2672
- value :LIKE, 484
2673
- value :LIMIT, 485
2674
- value :LISTEN, 486
2675
- value :LOAD, 487
2676
- value :LOCAL, 488
2677
- value :LOCALTIME, 489
2678
- value :LOCALTIMESTAMP, 490
2679
- value :LOCATION, 491
2680
- value :LOCK_P, 492
2681
- value :LOCKED, 493
2682
- value :LOGGED, 494
2683
- value :MAPPING, 495
2684
- value :MATCH, 496
2685
- value :MATERIALIZED, 497
2686
- value :MAXVALUE, 498
2687
- value :METHOD, 499
2688
- value :MINUTE_P, 500
2689
- value :MINVALUE, 501
2690
- value :MODE, 502
2691
- value :MONTH_P, 503
2692
- value :MOVE, 504
2693
- value :NAME_P, 505
2694
- value :NAMES, 506
2695
- value :NATIONAL, 507
2696
- value :NATURAL, 508
2697
- value :NCHAR, 509
2698
- value :NEW, 510
2699
- value :NEXT, 511
2700
- value :NFC, 512
2701
- value :NFD, 513
2702
- value :NFKC, 514
2703
- value :NFKD, 515
2704
- value :NO, 516
2705
- value :NONE, 517
2706
- value :NORMALIZE, 518
2707
- value :NORMALIZED, 519
2708
- value :NOT, 520
2709
- value :NOTHING, 521
2710
- value :NOTIFY, 522
2711
- value :NOTNULL, 523
2712
- value :NOWAIT, 524
2713
- value :NULL_P, 525
2714
- value :NULLIF, 526
2715
- value :NULLS_P, 527
2716
- value :NUMERIC, 528
2717
- value :OBJECT_P, 529
2718
- value :OF, 530
2719
- value :OFF, 531
2720
- value :OFFSET, 532
2721
- value :OIDS, 533
2722
- value :OLD, 534
2723
- value :ON, 535
2724
- value :ONLY, 536
2725
- value :OPERATOR, 537
2726
- value :OPTION, 538
2727
- value :OPTIONS, 539
2728
- value :OR, 540
2729
- value :ORDER, 541
2730
- value :ORDINALITY, 542
2731
- value :OTHERS, 543
2732
- value :OUT_P, 544
2733
- value :OUTER_P, 545
2734
- value :OVER, 546
2735
- value :OVERLAPS, 547
2736
- value :OVERLAY, 548
2737
- value :OVERRIDING, 549
2738
- value :OWNED, 550
2739
- value :OWNER, 551
2740
- value :PARALLEL, 552
2741
- value :PARSER, 553
2742
- value :PARTIAL, 554
2743
- value :PARTITION, 555
2744
- value :PASSING, 556
2745
- value :PASSWORD, 557
2746
- value :PLACING, 558
2747
- value :PLANS, 559
2748
- value :POLICY, 560
2749
- value :POSITION, 561
2750
- value :PRECEDING, 562
2751
- value :PRECISION, 563
2752
- value :PRESERVE, 564
2753
- value :PREPARE, 565
2754
- value :PREPARED, 566
2755
- value :PRIMARY, 567
2756
- value :PRIOR, 568
2757
- value :PRIVILEGES, 569
2758
- value :PROCEDURAL, 570
2759
- value :PROCEDURE, 571
2760
- value :PROCEDURES, 572
2761
- value :PROGRAM, 573
2762
- value :PUBLICATION, 574
2763
- value :QUOTE, 575
2764
- value :RANGE, 576
2765
- value :READ, 577
2766
- value :REAL, 578
2767
- value :REASSIGN, 579
2768
- value :RECHECK, 580
2769
- value :RECURSIVE, 581
2770
- value :REF_P, 582
2771
- value :REFERENCES, 583
2772
- value :REFERENCING, 584
2773
- value :REFRESH, 585
2774
- value :REINDEX, 586
2775
- value :RELATIVE_P, 587
2776
- value :RELEASE, 588
2777
- value :RENAME, 589
2778
- value :REPEATABLE, 590
2779
- value :REPLACE, 591
2780
- value :REPLICA, 592
2781
- value :RESET, 593
2782
- value :RESTART, 594
2783
- value :RESTRICT, 595
2784
- value :RETURNING, 596
2785
- value :RETURNS, 597
2786
- value :REVOKE, 598
2787
- value :RIGHT, 599
2788
- value :ROLE, 600
2789
- value :ROLLBACK, 601
2790
- value :ROLLUP, 602
2791
- value :ROUTINE, 603
2792
- value :ROUTINES, 604
2793
- value :ROW, 605
2794
- value :ROWS, 606
2795
- value :RULE, 607
2796
- value :SAVEPOINT, 608
2797
- value :SCHEMA, 609
2798
- value :SCHEMAS, 610
2799
- value :SCROLL, 611
2800
- value :SEARCH, 612
2801
- value :SECOND_P, 613
2802
- value :SECURITY, 614
2803
- value :SELECT, 615
2804
- value :SEQUENCE, 616
2805
- value :SEQUENCES, 617
2806
- value :SERIALIZABLE, 618
2807
- value :SERVER, 619
2808
- value :SESSION, 620
2809
- value :SESSION_USER, 621
2810
- value :SET, 622
2811
- value :SETS, 623
2812
- value :SETOF, 624
2813
- value :SHARE, 625
2814
- value :SHOW, 626
2815
- value :SIMILAR, 627
2816
- value :SIMPLE, 628
2817
- value :SKIP, 629
2818
- value :SMALLINT, 630
2819
- value :SNAPSHOT, 631
2820
- value :SOME, 632
2821
- value :SQL_P, 633
2822
- value :STABLE, 634
2823
- value :STANDALONE_P, 635
2824
- value :START, 636
2825
- value :STATEMENT, 637
2826
- value :STATISTICS, 638
2827
- value :STDIN, 639
2828
- value :STDOUT, 640
2829
- value :STORAGE, 641
2830
- value :STORED, 642
2831
- value :STRICT_P, 643
2832
- value :STRIP_P, 644
2833
- value :SUBSCRIPTION, 645
2834
- value :SUBSTRING, 646
2835
- value :SUPPORT, 647
2836
- value :SYMMETRIC, 648
2837
- value :SYSID, 649
2838
- value :SYSTEM_P, 650
2839
- value :TABLE, 651
2840
- value :TABLES, 652
2841
- value :TABLESAMPLE, 653
2842
- value :TABLESPACE, 654
2843
- value :TEMP, 655
2844
- value :TEMPLATE, 656
2845
- value :TEMPORARY, 657
2846
- value :TEXT_P, 658
2847
- value :THEN, 659
2848
- value :TIES, 660
2849
- value :TIME, 661
2850
- value :TIMESTAMP, 662
2851
- value :TO, 663
2852
- value :TRAILING, 664
2853
- value :TRANSACTION, 665
2854
- value :TRANSFORM, 666
2855
- value :TREAT, 667
2856
- value :TRIGGER, 668
2857
- value :TRIM, 669
2858
- value :TRUE_P, 670
2859
- value :TRUNCATE, 671
2860
- value :TRUSTED, 672
2861
- value :TYPE_P, 673
2862
- value :TYPES_P, 674
2863
- value :UESCAPE, 675
2864
- value :UNBOUNDED, 676
2865
- value :UNCOMMITTED, 677
2866
- value :UNENCRYPTED, 678
2867
- value :UNION, 679
2868
- value :UNIQUE, 680
2869
- value :UNKNOWN, 681
2870
- value :UNLISTEN, 682
2871
- value :UNLOGGED, 683
2872
- value :UNTIL, 684
2873
- value :UPDATE, 685
2874
- value :USER, 686
2875
- value :USING, 687
2876
- value :VACUUM, 688
2877
- value :VALID, 689
2878
- value :VALIDATE, 690
2879
- value :VALIDATOR, 691
2880
- value :VALUE_P, 692
2881
- value :VALUES, 693
2882
- value :VARCHAR, 694
2883
- value :VARIADIC, 695
2884
- value :VARYING, 696
2885
- value :VERBOSE, 697
2886
- value :VERSION_P, 698
2887
- value :VIEW, 699
2888
- value :VIEWS, 700
2889
- value :VOLATILE, 701
2890
- value :WHEN, 702
2891
- value :WHERE, 703
2892
- value :WHITESPACE_P, 704
2893
- value :WINDOW, 705
2894
- value :WITH, 706
2895
- value :WITHIN, 707
2896
- value :WITHOUT, 708
2897
- value :WORK, 709
2898
- value :WRAPPER, 710
2899
- value :WRITE, 711
2900
- value :XML_P, 712
2901
- value :XMLATTRIBUTES, 713
2902
- value :XMLCONCAT, 714
2903
- value :XMLELEMENT, 715
2904
- value :XMLEXISTS, 716
2905
- value :XMLFOREST, 717
2906
- value :XMLNAMESPACES, 718
2907
- value :XMLPARSE, 719
2908
- value :XMLPI, 720
2909
- value :XMLROOT, 721
2910
- value :XMLSERIALIZE, 722
2911
- value :XMLTABLE, 723
2912
- value :YEAR_P, 724
2913
- value :YES_P, 725
2914
- value :ZONE, 726
2915
- value :NOT_LA, 727
2916
- value :NULLS_LA, 728
2917
- value :WITH_LA, 729
2918
- value :POSTFIXOP, 730
2919
- value :UMINUS, 731
2624
+ value :ASENSITIVE, 296
2625
+ value :ASSERTION, 297
2626
+ value :ASSIGNMENT, 298
2627
+ value :ASYMMETRIC, 299
2628
+ value :ATOMIC, 300
2629
+ value :AT, 301
2630
+ value :ATTACH, 302
2631
+ value :ATTRIBUTE, 303
2632
+ value :AUTHORIZATION, 304
2633
+ value :BACKWARD, 305
2634
+ value :BEFORE, 306
2635
+ value :BEGIN_P, 307
2636
+ value :BETWEEN, 308
2637
+ value :BIGINT, 309
2638
+ value :BINARY, 310
2639
+ value :BIT, 311
2640
+ value :BOOLEAN_P, 312
2641
+ value :BOTH, 313
2642
+ value :BREADTH, 314
2643
+ value :BY, 315
2644
+ value :CACHE, 316
2645
+ value :CALL, 317
2646
+ value :CALLED, 318
2647
+ value :CASCADE, 319
2648
+ value :CASCADED, 320
2649
+ value :CASE, 321
2650
+ value :CAST, 322
2651
+ value :CATALOG_P, 323
2652
+ value :CHAIN, 324
2653
+ value :CHAR_P, 325
2654
+ value :CHARACTER, 326
2655
+ value :CHARACTERISTICS, 327
2656
+ value :CHECK, 328
2657
+ value :CHECKPOINT, 329
2658
+ value :CLASS, 330
2659
+ value :CLOSE, 331
2660
+ value :CLUSTER, 332
2661
+ value :COALESCE, 333
2662
+ value :COLLATE, 334
2663
+ value :COLLATION, 335
2664
+ value :COLUMN, 336
2665
+ value :COLUMNS, 337
2666
+ value :COMMENT, 338
2667
+ value :COMMENTS, 339
2668
+ value :COMMIT, 340
2669
+ value :COMMITTED, 341
2670
+ value :COMPRESSION, 342
2671
+ value :CONCURRENTLY, 343
2672
+ value :CONFIGURATION, 344
2673
+ value :CONFLICT, 345
2674
+ value :CONNECTION, 346
2675
+ value :CONSTRAINT, 347
2676
+ value :CONSTRAINTS, 348
2677
+ value :CONTENT_P, 349
2678
+ value :CONTINUE_P, 350
2679
+ value :CONVERSION_P, 351
2680
+ value :COPY, 352
2681
+ value :COST, 353
2682
+ value :CREATE, 354
2683
+ value :CROSS, 355
2684
+ value :CSV, 356
2685
+ value :CUBE, 357
2686
+ value :CURRENT_P, 358
2687
+ value :CURRENT_CATALOG, 359
2688
+ value :CURRENT_DATE, 360
2689
+ value :CURRENT_ROLE, 361
2690
+ value :CURRENT_SCHEMA, 362
2691
+ value :CURRENT_TIME, 363
2692
+ value :CURRENT_TIMESTAMP, 364
2693
+ value :CURRENT_USER, 365
2694
+ value :CURSOR, 366
2695
+ value :CYCLE, 367
2696
+ value :DATA_P, 368
2697
+ value :DATABASE, 369
2698
+ value :DAY_P, 370
2699
+ value :DEALLOCATE, 371
2700
+ value :DEC, 372
2701
+ value :DECIMAL_P, 373
2702
+ value :DECLARE, 374
2703
+ value :DEFAULT, 375
2704
+ value :DEFAULTS, 376
2705
+ value :DEFERRABLE, 377
2706
+ value :DEFERRED, 378
2707
+ value :DEFINER, 379
2708
+ value :DELETE_P, 380
2709
+ value :DELIMITER, 381
2710
+ value :DELIMITERS, 382
2711
+ value :DEPENDS, 383
2712
+ value :DEPTH, 384
2713
+ value :DESC, 385
2714
+ value :DETACH, 386
2715
+ value :DICTIONARY, 387
2716
+ value :DISABLE_P, 388
2717
+ value :DISCARD, 389
2718
+ value :DISTINCT, 390
2719
+ value :DO, 391
2720
+ value :DOCUMENT_P, 392
2721
+ value :DOMAIN_P, 393
2722
+ value :DOUBLE_P, 394
2723
+ value :DROP, 395
2724
+ value :EACH, 396
2725
+ value :ELSE, 397
2726
+ value :ENABLE_P, 398
2727
+ value :ENCODING, 399
2728
+ value :ENCRYPTED, 400
2729
+ value :END_P, 401
2730
+ value :ENUM_P, 402
2731
+ value :ESCAPE, 403
2732
+ value :EVENT, 404
2733
+ value :EXCEPT, 405
2734
+ value :EXCLUDE, 406
2735
+ value :EXCLUDING, 407
2736
+ value :EXCLUSIVE, 408
2737
+ value :EXECUTE, 409
2738
+ value :EXISTS, 410
2739
+ value :EXPLAIN, 411
2740
+ value :EXPRESSION, 412
2741
+ value :EXTENSION, 413
2742
+ value :EXTERNAL, 414
2743
+ value :EXTRACT, 415
2744
+ value :FALSE_P, 416
2745
+ value :FAMILY, 417
2746
+ value :FETCH, 418
2747
+ value :FILTER, 419
2748
+ value :FINALIZE, 420
2749
+ value :FIRST_P, 421
2750
+ value :FLOAT_P, 422
2751
+ value :FOLLOWING, 423
2752
+ value :FOR, 424
2753
+ value :FORCE, 425
2754
+ value :FOREIGN, 426
2755
+ value :FORWARD, 427
2756
+ value :FREEZE, 428
2757
+ value :FROM, 429
2758
+ value :FULL, 430
2759
+ value :FUNCTION, 431
2760
+ value :FUNCTIONS, 432
2761
+ value :GENERATED, 433
2762
+ value :GLOBAL, 434
2763
+ value :GRANT, 435
2764
+ value :GRANTED, 436
2765
+ value :GREATEST, 437
2766
+ value :GROUP_P, 438
2767
+ value :GROUPING, 439
2768
+ value :GROUPS, 440
2769
+ value :HANDLER, 441
2770
+ value :HAVING, 442
2771
+ value :HEADER_P, 443
2772
+ value :HOLD, 444
2773
+ value :HOUR_P, 445
2774
+ value :IDENTITY_P, 446
2775
+ value :IF_P, 447
2776
+ value :ILIKE, 448
2777
+ value :IMMEDIATE, 449
2778
+ value :IMMUTABLE, 450
2779
+ value :IMPLICIT_P, 451
2780
+ value :IMPORT_P, 452
2781
+ value :IN_P, 453
2782
+ value :INCLUDE, 454
2783
+ value :INCLUDING, 455
2784
+ value :INCREMENT, 456
2785
+ value :INDEX, 457
2786
+ value :INDEXES, 458
2787
+ value :INHERIT, 459
2788
+ value :INHERITS, 460
2789
+ value :INITIALLY, 461
2790
+ value :INLINE_P, 462
2791
+ value :INNER_P, 463
2792
+ value :INOUT, 464
2793
+ value :INPUT_P, 465
2794
+ value :INSENSITIVE, 466
2795
+ value :INSERT, 467
2796
+ value :INSTEAD, 468
2797
+ value :INT_P, 469
2798
+ value :INTEGER, 470
2799
+ value :INTERSECT, 471
2800
+ value :INTERVAL, 472
2801
+ value :INTO, 473
2802
+ value :INVOKER, 474
2803
+ value :IS, 475
2804
+ value :ISNULL, 476
2805
+ value :ISOLATION, 477
2806
+ value :JOIN, 478
2807
+ value :KEY, 479
2808
+ value :LABEL, 480
2809
+ value :LANGUAGE, 481
2810
+ value :LARGE_P, 482
2811
+ value :LAST_P, 483
2812
+ value :LATERAL_P, 484
2813
+ value :LEADING, 485
2814
+ value :LEAKPROOF, 486
2815
+ value :LEAST, 487
2816
+ value :LEFT, 488
2817
+ value :LEVEL, 489
2818
+ value :LIKE, 490
2819
+ value :LIMIT, 491
2820
+ value :LISTEN, 492
2821
+ value :LOAD, 493
2822
+ value :LOCAL, 494
2823
+ value :LOCALTIME, 495
2824
+ value :LOCALTIMESTAMP, 496
2825
+ value :LOCATION, 497
2826
+ value :LOCK_P, 498
2827
+ value :LOCKED, 499
2828
+ value :LOGGED, 500
2829
+ value :MAPPING, 501
2830
+ value :MATCH, 502
2831
+ value :MATCHED, 503
2832
+ value :MATERIALIZED, 504
2833
+ value :MAXVALUE, 505
2834
+ value :MERGE, 506
2835
+ value :METHOD, 507
2836
+ value :MINUTE_P, 508
2837
+ value :MINVALUE, 509
2838
+ value :MODE, 510
2839
+ value :MONTH_P, 511
2840
+ value :MOVE, 512
2841
+ value :NAME_P, 513
2842
+ value :NAMES, 514
2843
+ value :NATIONAL, 515
2844
+ value :NATURAL, 516
2845
+ value :NCHAR, 517
2846
+ value :NEW, 518
2847
+ value :NEXT, 519
2848
+ value :NFC, 520
2849
+ value :NFD, 521
2850
+ value :NFKC, 522
2851
+ value :NFKD, 523
2852
+ value :NO, 524
2853
+ value :NONE, 525
2854
+ value :NORMALIZE, 526
2855
+ value :NORMALIZED, 527
2856
+ value :NOT, 528
2857
+ value :NOTHING, 529
2858
+ value :NOTIFY, 530
2859
+ value :NOTNULL, 531
2860
+ value :NOWAIT, 532
2861
+ value :NULL_P, 533
2862
+ value :NULLIF, 534
2863
+ value :NULLS_P, 535
2864
+ value :NUMERIC, 536
2865
+ value :OBJECT_P, 537
2866
+ value :OF, 538
2867
+ value :OFF, 539
2868
+ value :OFFSET, 540
2869
+ value :OIDS, 541
2870
+ value :OLD, 542
2871
+ value :ON, 543
2872
+ value :ONLY, 544
2873
+ value :OPERATOR, 545
2874
+ value :OPTION, 546
2875
+ value :OPTIONS, 547
2876
+ value :OR, 548
2877
+ value :ORDER, 549
2878
+ value :ORDINALITY, 550
2879
+ value :OTHERS, 551
2880
+ value :OUT_P, 552
2881
+ value :OUTER_P, 553
2882
+ value :OVER, 554
2883
+ value :OVERLAPS, 555
2884
+ value :OVERLAY, 556
2885
+ value :OVERRIDING, 557
2886
+ value :OWNED, 558
2887
+ value :OWNER, 559
2888
+ value :PARALLEL, 560
2889
+ value :PARAMETER, 561
2890
+ value :PARSER, 562
2891
+ value :PARTIAL, 563
2892
+ value :PARTITION, 564
2893
+ value :PASSING, 565
2894
+ value :PASSWORD, 566
2895
+ value :PLACING, 567
2896
+ value :PLANS, 568
2897
+ value :POLICY, 569
2898
+ value :POSITION, 570
2899
+ value :PRECEDING, 571
2900
+ value :PRECISION, 572
2901
+ value :PRESERVE, 573
2902
+ value :PREPARE, 574
2903
+ value :PREPARED, 575
2904
+ value :PRIMARY, 576
2905
+ value :PRIOR, 577
2906
+ value :PRIVILEGES, 578
2907
+ value :PROCEDURAL, 579
2908
+ value :PROCEDURE, 580
2909
+ value :PROCEDURES, 581
2910
+ value :PROGRAM, 582
2911
+ value :PUBLICATION, 583
2912
+ value :QUOTE, 584
2913
+ value :RANGE, 585
2914
+ value :READ, 586
2915
+ value :REAL, 587
2916
+ value :REASSIGN, 588
2917
+ value :RECHECK, 589
2918
+ value :RECURSIVE, 590
2919
+ value :REF_P, 591
2920
+ value :REFERENCES, 592
2921
+ value :REFERENCING, 593
2922
+ value :REFRESH, 594
2923
+ value :REINDEX, 595
2924
+ value :RELATIVE_P, 596
2925
+ value :RELEASE, 597
2926
+ value :RENAME, 598
2927
+ value :REPEATABLE, 599
2928
+ value :REPLACE, 600
2929
+ value :REPLICA, 601
2930
+ value :RESET, 602
2931
+ value :RESTART, 603
2932
+ value :RESTRICT, 604
2933
+ value :RETURN, 605
2934
+ value :RETURNING, 606
2935
+ value :RETURNS, 607
2936
+ value :REVOKE, 608
2937
+ value :RIGHT, 609
2938
+ value :ROLE, 610
2939
+ value :ROLLBACK, 611
2940
+ value :ROLLUP, 612
2941
+ value :ROUTINE, 613
2942
+ value :ROUTINES, 614
2943
+ value :ROW, 615
2944
+ value :ROWS, 616
2945
+ value :RULE, 617
2946
+ value :SAVEPOINT, 618
2947
+ value :SCHEMA, 619
2948
+ value :SCHEMAS, 620
2949
+ value :SCROLL, 621
2950
+ value :SEARCH, 622
2951
+ value :SECOND_P, 623
2952
+ value :SECURITY, 624
2953
+ value :SELECT, 625
2954
+ value :SEQUENCE, 626
2955
+ value :SEQUENCES, 627
2956
+ value :SERIALIZABLE, 628
2957
+ value :SERVER, 629
2958
+ value :SESSION, 630
2959
+ value :SESSION_USER, 631
2960
+ value :SET, 632
2961
+ value :SETS, 633
2962
+ value :SETOF, 634
2963
+ value :SHARE, 635
2964
+ value :SHOW, 636
2965
+ value :SIMILAR, 637
2966
+ value :SIMPLE, 638
2967
+ value :SKIP, 639
2968
+ value :SMALLINT, 640
2969
+ value :SNAPSHOT, 641
2970
+ value :SOME, 642
2971
+ value :SQL_P, 643
2972
+ value :STABLE, 644
2973
+ value :STANDALONE_P, 645
2974
+ value :START, 646
2975
+ value :STATEMENT, 647
2976
+ value :STATISTICS, 648
2977
+ value :STDIN, 649
2978
+ value :STDOUT, 650
2979
+ value :STORAGE, 651
2980
+ value :STORED, 652
2981
+ value :STRICT_P, 653
2982
+ value :STRIP_P, 654
2983
+ value :SUBSCRIPTION, 655
2984
+ value :SUBSTRING, 656
2985
+ value :SUPPORT, 657
2986
+ value :SYMMETRIC, 658
2987
+ value :SYSID, 659
2988
+ value :SYSTEM_P, 660
2989
+ value :TABLE, 661
2990
+ value :TABLES, 662
2991
+ value :TABLESAMPLE, 663
2992
+ value :TABLESPACE, 664
2993
+ value :TEMP, 665
2994
+ value :TEMPLATE, 666
2995
+ value :TEMPORARY, 667
2996
+ value :TEXT_P, 668
2997
+ value :THEN, 669
2998
+ value :TIES, 670
2999
+ value :TIME, 671
3000
+ value :TIMESTAMP, 672
3001
+ value :TO, 673
3002
+ value :TRAILING, 674
3003
+ value :TRANSACTION, 675
3004
+ value :TRANSFORM, 676
3005
+ value :TREAT, 677
3006
+ value :TRIGGER, 678
3007
+ value :TRIM, 679
3008
+ value :TRUE_P, 680
3009
+ value :TRUNCATE, 681
3010
+ value :TRUSTED, 682
3011
+ value :TYPE_P, 683
3012
+ value :TYPES_P, 684
3013
+ value :UESCAPE, 685
3014
+ value :UNBOUNDED, 686
3015
+ value :UNCOMMITTED, 687
3016
+ value :UNENCRYPTED, 688
3017
+ value :UNION, 689
3018
+ value :UNIQUE, 690
3019
+ value :UNKNOWN, 691
3020
+ value :UNLISTEN, 692
3021
+ value :UNLOGGED, 693
3022
+ value :UNTIL, 694
3023
+ value :UPDATE, 695
3024
+ value :USER, 696
3025
+ value :USING, 697
3026
+ value :VACUUM, 698
3027
+ value :VALID, 699
3028
+ value :VALIDATE, 700
3029
+ value :VALIDATOR, 701
3030
+ value :VALUE_P, 702
3031
+ value :VALUES, 703
3032
+ value :VARCHAR, 704
3033
+ value :VARIADIC, 705
3034
+ value :VARYING, 706
3035
+ value :VERBOSE, 707
3036
+ value :VERSION_P, 708
3037
+ value :VIEW, 709
3038
+ value :VIEWS, 710
3039
+ value :VOLATILE, 711
3040
+ value :WHEN, 712
3041
+ value :WHERE, 713
3042
+ value :WHITESPACE_P, 714
3043
+ value :WINDOW, 715
3044
+ value :WITH, 716
3045
+ value :WITHIN, 717
3046
+ value :WITHOUT, 718
3047
+ value :WORK, 719
3048
+ value :WRAPPER, 720
3049
+ value :WRITE, 721
3050
+ value :XML_P, 722
3051
+ value :XMLATTRIBUTES, 723
3052
+ value :XMLCONCAT, 724
3053
+ value :XMLELEMENT, 725
3054
+ value :XMLEXISTS, 726
3055
+ value :XMLFOREST, 727
3056
+ value :XMLNAMESPACES, 728
3057
+ value :XMLPARSE, 729
3058
+ value :XMLPI, 730
3059
+ value :XMLROOT, 731
3060
+ value :XMLSERIALIZE, 732
3061
+ value :XMLTABLE, 733
3062
+ value :YEAR_P, 734
3063
+ value :YES_P, 735
3064
+ value :ZONE, 736
3065
+ value :NOT_LA, 737
3066
+ value :NULLS_LA, 738
3067
+ value :WITH_LA, 739
3068
+ value :MODE_TYPE_NAME, 740
3069
+ value :MODE_PLPGSQL_EXPR, 741
3070
+ value :MODE_PLPGSQL_ASSIGN1, 742
3071
+ value :MODE_PLPGSQL_ASSIGN2, 743
3072
+ value :MODE_PLPGSQL_ASSIGN3, 744
3073
+ value :UMINUS, 745
2920
3074
  end
2921
3075
  end
2922
3076
  end
@@ -2927,16 +3081,16 @@ module PgQuery
2927
3081
  Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Node").msgclass
2928
3082
  Integer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Integer").msgclass
2929
3083
  Float = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Float").msgclass
3084
+ Boolean = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Boolean").msgclass
2930
3085
  String = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.String").msgclass
2931
3086
  BitString = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BitString").msgclass
2932
- Null = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Null").msgclass
2933
3087
  List = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.List").msgclass
2934
3088
  OidList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OidList").msgclass
2935
3089
  IntList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IntList").msgclass
3090
+ A_Const = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Const").msgclass
2936
3091
  Alias = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Alias").msgclass
2937
3092
  RangeVar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeVar").msgclass
2938
3093
  TableFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableFunc").msgclass
2939
- Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Expr").msgclass
2940
3094
  Var = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Var").msgclass
2941
3095
  Param = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Param").msgclass
2942
3096
  Aggref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Aggref").msgclass
@@ -2984,12 +3138,16 @@ module PgQuery
2984
3138
  FromExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FromExpr").msgclass
2985
3139
  OnConflictExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictExpr").msgclass
2986
3140
  IntoClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IntoClause").msgclass
3141
+ MergeAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MergeAction").msgclass
2987
3142
  RawStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RawStmt").msgclass
2988
3143
  Query = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Query").msgclass
2989
3144
  InsertStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InsertStmt").msgclass
2990
3145
  DeleteStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeleteStmt").msgclass
2991
3146
  UpdateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.UpdateStmt").msgclass
3147
+ MergeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MergeStmt").msgclass
2992
3148
  SelectStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SelectStmt").msgclass
3149
+ ReturnStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReturnStmt").msgclass
3150
+ PLAssignStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PLAssignStmt").msgclass
2993
3151
  AlterTableStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableStmt").msgclass
2994
3152
  AlterTableCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableCmd").msgclass
2995
3153
  AlterDomainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDomainStmt").msgclass
@@ -3040,6 +3198,7 @@ module PgQuery
3040
3198
  CheckPointStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CheckPointStmt").msgclass
3041
3199
  CreateSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSchemaStmt").msgclass
3042
3200
  AlterDatabaseStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseStmt").msgclass
3201
+ AlterDatabaseRefreshCollStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseRefreshCollStmt").msgclass
3043
3202
  AlterDatabaseSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseSetStmt").msgclass
3044
3203
  AlterRoleSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterRoleSetStmt").msgclass
3045
3204
  CreateConversionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateConversionStmt").msgclass
@@ -3102,7 +3261,6 @@ module PgQuery
3102
3261
  A_Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr").msgclass
3103
3262
  ColumnRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnRef").msgclass
3104
3263
  ParamRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParamRef").msgclass
3105
- A_Const = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Const").msgclass
3106
3264
  FuncCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FuncCall").msgclass
3107
3265
  A_Star = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Star").msgclass
3108
3266
  A_Indices = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Indices").msgclass
@@ -3122,6 +3280,7 @@ module PgQuery
3122
3280
  TypeName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TypeName").msgclass
3123
3281
  ColumnDef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnDef").msgclass
3124
3282
  IndexElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IndexElem").msgclass
3283
+ StatsElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.StatsElem").msgclass
3125
3284
  Constraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Constraint").msgclass
3126
3285
  DefElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefElem").msgclass
3127
3286
  RangeTblEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblEntry").msgclass
@@ -3142,7 +3301,10 @@ module PgQuery
3142
3301
  WithClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WithClause").msgclass
3143
3302
  InferClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InferClause").msgclass
3144
3303
  OnConflictClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictClause").msgclass
3304
+ CTESearchClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CTESearchClause").msgclass
3305
+ CTECycleClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CTECycleClause").msgclass
3145
3306
  CommonTableExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CommonTableExpr").msgclass
3307
+ MergeWhenClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MergeWhenClause").msgclass
3146
3308
  RoleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpec").msgclass
3147
3309
  TriggerTransition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TriggerTransition").msgclass
3148
3310
  PartitionElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionElem").msgclass
@@ -3151,6 +3313,8 @@ module PgQuery
3151
3313
  PartitionRangeDatum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionRangeDatum").msgclass
3152
3314
  PartitionCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionCmd").msgclass
3153
3315
  VacuumRelation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VacuumRelation").msgclass
3316
+ PublicationObjSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PublicationObjSpec").msgclass
3317
+ PublicationTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PublicationTable").msgclass
3154
3318
  InlineCodeBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InlineCodeBlock").msgclass
3155
3319
  CallContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CallContext").msgclass
3156
3320
  ScanToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScanToken").msgclass
@@ -3158,6 +3322,7 @@ module PgQuery
3158
3322
  QuerySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.QuerySource").enummodule
3159
3323
  SortByDir = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByDir").enummodule
3160
3324
  SortByNulls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByNulls").enummodule
3325
+ SetQuantifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetQuantifier").enummodule
3161
3326
  A_Expr_Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr_Kind").enummodule
3162
3327
  RoleSpecType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpecType").enummodule
3163
3328
  TableLikeOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableLikeOption").enummodule
@@ -3180,10 +3345,11 @@ module PgQuery
3180
3345
  FunctionParameterMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FunctionParameterMode").enummodule
3181
3346
  TransactionStmtKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TransactionStmtKind").enummodule
3182
3347
  ViewCheckOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ViewCheckOption").enummodule
3183
- ClusterOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClusterOption").enummodule
3184
3348
  DiscardMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DiscardMode").enummodule
3185
3349
  ReindexObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReindexObjectType").enummodule
3186
3350
  AlterTSConfigType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTSConfigType").enummodule
3351
+ PublicationObjSpecType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PublicationObjSpecType").enummodule
3352
+ AlterPublicationAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterPublicationAction").enummodule
3187
3353
  AlterSubscriptionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSubscriptionType").enummodule
3188
3354
  OnCommitAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnCommitAction").enummodule
3189
3355
  ParamKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParamKind").enummodule