pg_query 2.1.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 (472) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +104 -0
  3. data/README.md +59 -31
  4. data/Rakefile +2 -2
  5. data/ext/pg_query/extconf.rb +8 -2
  6. data/ext/pg_query/include/access/amapi.h +45 -1
  7. data/ext/pg_query/include/access/attmap.h +1 -1
  8. data/ext/pg_query/include/access/attnum.h +2 -2
  9. data/ext/pg_query/include/access/clog.h +4 -2
  10. data/ext/pg_query/include/access/commit_ts.h +6 -9
  11. data/ext/pg_query/include/access/detoast.h +1 -11
  12. data/ext/pg_query/include/access/genam.h +15 -12
  13. data/ext/pg_query/include/access/gin.h +2 -2
  14. data/ext/pg_query/include/access/htup.h +1 -1
  15. data/ext/pg_query/include/access/htup_details.h +75 -87
  16. data/ext/pg_query/include/access/itup.h +7 -1
  17. data/ext/pg_query/include/access/parallel.h +2 -2
  18. data/ext/pg_query/include/access/printtup.h +1 -1
  19. data/ext/pg_query/include/access/relation.h +1 -1
  20. data/ext/pg_query/include/access/relscan.h +17 -2
  21. data/ext/pg_query/include/access/rmgr.h +30 -3
  22. data/ext/pg_query/include/access/rmgrlist.h +23 -23
  23. data/ext/pg_query/include/access/sdir.h +1 -1
  24. data/ext/pg_query/include/access/skey.h +1 -1
  25. data/ext/pg_query/include/access/stratnum.h +4 -2
  26. data/ext/pg_query/include/access/sysattr.h +1 -1
  27. data/ext/pg_query/include/access/table.h +2 -1
  28. data/ext/pg_query/include/access/tableam.h +272 -20
  29. data/ext/pg_query/include/access/toast_compression.h +73 -0
  30. data/ext/pg_query/include/access/transam.h +123 -13
  31. data/ext/pg_query/include/access/tupconvert.h +1 -1
  32. data/ext/pg_query/include/access/tupdesc.h +1 -1
  33. data/ext/pg_query/include/access/tupmacs.h +3 -3
  34. data/ext/pg_query/include/access/twophase.h +5 -1
  35. data/ext/pg_query/include/access/xact.h +79 -19
  36. data/ext/pg_query/include/access/xlog.h +60 -155
  37. data/ext/pg_query/include/access/xlog_internal.h +50 -14
  38. data/ext/pg_query/include/access/xlogdefs.h +8 -16
  39. data/ext/pg_query/include/access/xlogprefetcher.h +55 -0
  40. data/ext/pg_query/include/access/xlogreader.h +148 -32
  41. data/ext/pg_query/include/access/xlogrecord.h +18 -9
  42. data/ext/pg_query/include/access/xlogrecovery.h +157 -0
  43. data/ext/pg_query/include/c.h +101 -44
  44. data/ext/pg_query/include/catalog/catalog.h +3 -1
  45. data/ext/pg_query/include/catalog/catversion.h +2 -2
  46. data/ext/pg_query/include/catalog/dependency.h +10 -16
  47. data/ext/pg_query/include/catalog/genbki.h +83 -5
  48. data/ext/pg_query/include/catalog/index.h +18 -3
  49. data/ext/pg_query/include/catalog/indexing.h +12 -324
  50. data/ext/pg_query/include/catalog/namespace.h +4 -2
  51. data/ext/pg_query/include/catalog/objectaccess.h +70 -2
  52. data/ext/pg_query/include/catalog/objectaddress.h +11 -6
  53. data/ext/pg_query/include/catalog/pg_aggregate.h +14 -10
  54. data/ext/pg_query/include/catalog/pg_aggregate_d.h +2 -1
  55. data/ext/pg_query/include/catalog/pg_am.h +4 -1
  56. data/ext/pg_query/include/catalog/pg_am_d.h +3 -1
  57. data/ext/pg_query/include/catalog/pg_attribute.h +27 -10
  58. data/ext/pg_query/include/catalog/pg_attribute_d.h +21 -18
  59. data/ext/pg_query/include/catalog/pg_authid.h +7 -2
  60. data/ext/pg_query/include/catalog/pg_authid_d.h +17 -9
  61. data/ext/pg_query/include/catalog/pg_class.h +45 -15
  62. data/ext/pg_query/include/catalog/pg_class_d.h +31 -2
  63. data/ext/pg_query/include/catalog/pg_collation.h +33 -8
  64. data/ext/pg_query/include/catalog/pg_collation_d.h +20 -3
  65. data/ext/pg_query/include/catalog/pg_constraint.h +38 -12
  66. data/ext/pg_query/include/catalog/pg_constraint_d.h +10 -4
  67. data/ext/pg_query/include/catalog/pg_control.h +5 -5
  68. data/ext/pg_query/include/catalog/pg_conversion.h +7 -4
  69. data/ext/pg_query/include/catalog/pg_conversion_d.h +4 -1
  70. data/ext/pg_query/include/catalog/pg_depend.h +11 -7
  71. data/ext/pg_query/include/catalog/pg_depend_d.h +3 -1
  72. data/ext/pg_query/include/catalog/pg_event_trigger.h +9 -3
  73. data/ext/pg_query/include/catalog/pg_event_trigger_d.h +3 -1
  74. data/ext/pg_query/include/catalog/pg_index.h +17 -7
  75. data/ext/pg_query/include/catalog/pg_index_d.h +20 -17
  76. data/ext/pg_query/include/catalog/pg_language.h +10 -5
  77. data/ext/pg_query/include/catalog/pg_language_d.h +3 -1
  78. data/ext/pg_query/include/catalog/pg_namespace.h +7 -2
  79. data/ext/pg_query/include/catalog/pg_namespace_d.h +3 -1
  80. data/ext/pg_query/include/catalog/pg_opclass.h +8 -5
  81. data/ext/pg_query/include/catalog/pg_opclass_d.h +3 -1
  82. data/ext/pg_query/include/catalog/pg_operator.h +21 -16
  83. data/ext/pg_query/include/catalog/pg_operator_d.h +37 -1
  84. data/ext/pg_query/include/catalog/pg_opfamily.h +6 -3
  85. data/ext/pg_query/include/catalog/pg_opfamily_d.h +3 -1
  86. data/ext/pg_query/include/catalog/pg_parameter_acl.h +60 -0
  87. data/ext/pg_query/include/catalog/pg_parameter_acl_d.h +34 -0
  88. data/ext/pg_query/include/catalog/pg_partitioned_table.h +20 -9
  89. data/ext/pg_query/include/catalog/pg_partitioned_table_d.h +2 -1
  90. data/ext/pg_query/include/catalog/pg_proc.h +20 -11
  91. data/ext/pg_query/include/catalog/pg_proc_d.h +10 -8
  92. data/ext/pg_query/include/catalog/pg_publication.h +50 -4
  93. data/ext/pg_query/include/catalog/pg_publication_d.h +3 -1
  94. data/ext/pg_query/include/catalog/pg_replication_origin.h +6 -1
  95. data/ext/pg_query/include/catalog/pg_replication_origin_d.h +5 -1
  96. data/ext/pg_query/include/catalog/pg_statistic.h +19 -12
  97. data/ext/pg_query/include/catalog/pg_statistic_d.h +2 -1
  98. data/ext/pg_query/include/catalog/pg_statistic_ext.h +19 -5
  99. data/ext/pg_query/include/catalog/pg_statistic_ext_d.h +7 -2
  100. data/ext/pg_query/include/catalog/pg_transform.h +8 -5
  101. data/ext/pg_query/include/catalog/pg_transform_d.h +3 -1
  102. data/ext/pg_query/include/catalog/pg_trigger.h +24 -8
  103. data/ext/pg_query/include/catalog/pg_trigger_d.h +4 -1
  104. data/ext/pg_query/include/catalog/pg_ts_config.h +6 -3
  105. data/ext/pg_query/include/catalog/pg_ts_config_d.h +3 -1
  106. data/ext/pg_query/include/catalog/pg_ts_dict.h +8 -3
  107. data/ext/pg_query/include/catalog/pg_ts_dict_d.h +3 -1
  108. data/ext/pg_query/include/catalog/pg_ts_parser.h +6 -3
  109. data/ext/pg_query/include/catalog/pg_ts_parser_d.h +3 -1
  110. data/ext/pg_query/include/catalog/pg_ts_template.h +6 -3
  111. data/ext/pg_query/include/catalog/pg_ts_template_d.h +3 -1
  112. data/ext/pg_query/include/catalog/pg_type.h +56 -24
  113. data/ext/pg_query/include/catalog/pg_type_d.h +70 -31
  114. data/ext/pg_query/include/catalog/storage.h +5 -3
  115. data/ext/pg_query/include/commands/async.h +4 -5
  116. data/ext/pg_query/include/commands/dbcommands.h +2 -1
  117. data/ext/pg_query/include/commands/defrem.h +11 -24
  118. data/ext/pg_query/include/commands/event_trigger.h +2 -2
  119. data/ext/pg_query/include/commands/explain.h +1 -1
  120. data/ext/pg_query/include/commands/prepare.h +1 -1
  121. data/ext/pg_query/include/commands/tablespace.h +3 -1
  122. data/ext/pg_query/include/commands/trigger.h +27 -17
  123. data/ext/pg_query/include/commands/user.h +2 -2
  124. data/ext/pg_query/include/commands/vacuum.h +88 -41
  125. data/ext/pg_query/include/commands/variable.h +1 -1
  126. data/ext/pg_query/include/common/file_perm.h +4 -4
  127. data/ext/pg_query/include/common/hashfn.h +1 -1
  128. data/ext/pg_query/include/common/ip.h +1 -7
  129. data/ext/pg_query/include/common/keywords.h +2 -6
  130. data/ext/pg_query/include/common/kwlookup.h +1 -1
  131. data/ext/pg_query/include/common/pg_prng.h +60 -0
  132. data/ext/pg_query/include/common/relpath.h +2 -2
  133. data/ext/pg_query/include/common/string.h +24 -1
  134. data/ext/pg_query/include/common/unicode_combining_table.h +114 -2
  135. data/ext/pg_query/include/common/unicode_east_asian_fw_table.h +125 -0
  136. data/ext/pg_query/include/datatype/timestamp.h +40 -1
  137. data/ext/pg_query/include/executor/execdesc.h +1 -1
  138. data/ext/pg_query/include/executor/executor.h +65 -22
  139. data/ext/pg_query/include/executor/functions.h +17 -3
  140. data/ext/pg_query/include/executor/instrument.h +33 -16
  141. data/ext/pg_query/include/executor/spi.h +41 -3
  142. data/ext/pg_query/include/executor/tablefunc.h +1 -1
  143. data/ext/pg_query/include/executor/tuptable.h +1 -1
  144. data/ext/pg_query/include/fmgr.h +13 -7
  145. data/ext/pg_query/include/funcapi.h +16 -4
  146. data/ext/pg_query/include/getaddrinfo.h +1 -1
  147. data/ext/pg_query/include/jit/jit.h +11 -11
  148. data/ext/pg_query/include/kwlist_d.h +517 -494
  149. data/ext/pg_query/include/lib/dshash.h +112 -0
  150. data/ext/pg_query/include/lib/ilist.h +20 -1
  151. data/ext/pg_query/include/lib/pairingheap.h +1 -1
  152. data/ext/pg_query/include/lib/simplehash.h +150 -25
  153. data/ext/pg_query/include/lib/sort_template.h +432 -0
  154. data/ext/pg_query/include/lib/stringinfo.h +1 -1
  155. data/ext/pg_query/include/libpq/auth.h +6 -4
  156. data/ext/pg_query/include/libpq/crypt.h +5 -4
  157. data/ext/pg_query/include/libpq/hba.h +43 -4
  158. data/ext/pg_query/include/libpq/libpq-be.h +23 -6
  159. data/ext/pg_query/include/libpq/libpq.h +31 -20
  160. data/ext/pg_query/include/libpq/pqcomm.h +17 -31
  161. data/ext/pg_query/include/libpq/pqformat.h +1 -1
  162. data/ext/pg_query/include/libpq/pqsignal.h +4 -4
  163. data/ext/pg_query/include/mb/pg_wchar.h +106 -23
  164. data/ext/pg_query/include/mb/stringinfo_mb.h +1 -1
  165. data/ext/pg_query/include/miscadmin.h +71 -52
  166. data/ext/pg_query/include/nodes/bitmapset.h +1 -1
  167. data/ext/pg_query/include/nodes/execnodes.h +272 -80
  168. data/ext/pg_query/include/nodes/extensible.h +4 -2
  169. data/ext/pg_query/include/nodes/lockoptions.h +1 -1
  170. data/ext/pg_query/include/nodes/makefuncs.h +7 -6
  171. data/ext/pg_query/include/nodes/memnodes.h +5 -3
  172. data/ext/pg_query/include/nodes/nodeFuncs.h +1 -1
  173. data/ext/pg_query/include/nodes/nodes.h +30 -11
  174. data/ext/pg_query/include/nodes/params.h +1 -1
  175. data/ext/pg_query/include/nodes/parsenodes.h +327 -94
  176. data/ext/pg_query/include/nodes/pathnodes.h +245 -67
  177. data/ext/pg_query/include/nodes/pg_list.h +75 -68
  178. data/ext/pg_query/include/nodes/plannodes.h +128 -30
  179. data/ext/pg_query/include/nodes/primnodes.h +99 -47
  180. data/ext/pg_query/include/nodes/print.h +1 -1
  181. data/ext/pg_query/include/nodes/tidbitmap.h +1 -1
  182. data/ext/pg_query/include/nodes/value.h +58 -39
  183. data/ext/pg_query/include/optimizer/cost.h +9 -2
  184. data/ext/pg_query/include/optimizer/geqo.h +9 -7
  185. data/ext/pg_query/include/optimizer/geqo_gene.h +1 -1
  186. data/ext/pg_query/include/optimizer/optimizer.h +25 -22
  187. data/ext/pg_query/include/optimizer/paths.h +6 -6
  188. data/ext/pg_query/include/optimizer/planmain.h +15 -14
  189. data/ext/pg_query/include/parser/analyze.h +19 -5
  190. data/ext/pg_query/include/parser/gram.h +947 -913
  191. data/ext/pg_query/include/parser/gramparse.h +1 -1
  192. data/ext/pg_query/include/parser/kwlist.h +463 -453
  193. data/ext/pg_query/include/parser/parse_agg.h +2 -7
  194. data/ext/pg_query/include/parser/parse_coerce.h +4 -1
  195. data/ext/pg_query/include/parser/parse_expr.h +2 -3
  196. data/ext/pg_query/include/parser/parse_func.h +2 -1
  197. data/ext/pg_query/include/parser/parse_node.h +21 -9
  198. data/ext/pg_query/include/parser/parse_oper.h +1 -3
  199. data/ext/pg_query/include/parser/parse_relation.h +5 -4
  200. data/ext/pg_query/include/parser/parse_type.h +1 -1
  201. data/ext/pg_query/include/parser/parser.h +31 -4
  202. data/ext/pg_query/include/parser/parsetree.h +1 -1
  203. data/ext/pg_query/include/parser/scanner.h +1 -1
  204. data/ext/pg_query/include/parser/scansup.h +2 -5
  205. data/ext/pg_query/include/partitioning/partdefs.h +1 -1
  206. data/ext/pg_query/include/pg_config.h +94 -46
  207. data/ext/pg_query/include/pg_config_manual.h +74 -21
  208. data/ext/pg_query/include/pg_getopt.h +6 -6
  209. data/ext/pg_query/include/pg_query.h +5 -4
  210. data/ext/pg_query/include/pg_query_enum_defs.c +358 -241
  211. data/ext/pg_query/include/pg_query_fingerprint_conds.c +44 -7
  212. data/ext/pg_query/include/pg_query_fingerprint_defs.c +1220 -422
  213. data/ext/pg_query/include/pg_query_outfuncs_conds.c +43 -13
  214. data/ext/pg_query/include/pg_query_outfuncs_defs.c +152 -26
  215. data/ext/pg_query/include/pg_query_readfuncs_conds.c +11 -2
  216. data/ext/pg_query/include/pg_query_readfuncs_defs.c +174 -30
  217. data/ext/pg_query/include/pg_trace.h +1 -1
  218. data/ext/pg_query/include/pgstat.h +449 -1237
  219. data/ext/pg_query/include/pgtime.h +14 -4
  220. data/ext/pg_query/include/pl_gram.h +126 -128
  221. data/ext/pg_query/include/pl_reserved_kwlist.h +1 -1
  222. data/ext/pg_query/include/pl_reserved_kwlist_d.h +10 -10
  223. data/ext/pg_query/include/pl_unreserved_kwlist.h +2 -3
  224. data/ext/pg_query/include/pl_unreserved_kwlist_d.h +54 -56
  225. data/ext/pg_query/include/plerrcodes.h +9 -1
  226. data/ext/pg_query/include/plpgsql.h +52 -54
  227. data/ext/pg_query/include/port/atomics/arch-arm.h +7 -1
  228. data/ext/pg_query/include/port/atomics/arch-ppc.h +1 -1
  229. data/ext/pg_query/include/port/atomics/arch-x86.h +1 -1
  230. data/ext/pg_query/include/port/atomics/fallback.h +1 -1
  231. data/ext/pg_query/include/port/atomics/generic-gcc.h +3 -3
  232. data/ext/pg_query/include/port/atomics/generic.h +1 -1
  233. data/ext/pg_query/include/port/atomics.h +1 -1
  234. data/ext/pg_query/include/port/pg_bitutils.h +88 -12
  235. data/ext/pg_query/include/port/pg_bswap.h +1 -1
  236. data/ext/pg_query/include/port/pg_crc32c.h +1 -1
  237. data/ext/pg_query/include/port.h +72 -43
  238. data/ext/pg_query/include/portability/instr_time.h +1 -1
  239. data/ext/pg_query/include/postgres.h +60 -16
  240. data/ext/pg_query/include/postmaster/autovacuum.h +17 -17
  241. data/ext/pg_query/include/postmaster/auxprocess.h +20 -0
  242. data/ext/pg_query/include/postmaster/bgworker.h +2 -1
  243. data/ext/pg_query/include/postmaster/bgworker_internals.h +2 -2
  244. data/ext/pg_query/include/postmaster/bgwriter.h +5 -5
  245. data/ext/pg_query/include/postmaster/fork_process.h +1 -1
  246. data/ext/pg_query/include/postmaster/interrupt.h +1 -1
  247. data/ext/pg_query/include/postmaster/pgarch.h +42 -8
  248. data/ext/pg_query/include/postmaster/postmaster.h +18 -17
  249. data/ext/pg_query/include/postmaster/startup.h +39 -0
  250. data/ext/pg_query/include/postmaster/syslogger.h +15 -10
  251. data/ext/pg_query/include/postmaster/walwriter.h +3 -3
  252. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +1422 -916
  253. data/ext/pg_query/include/protobuf/pg_query.pb.h +43678 -32769
  254. data/ext/pg_query/include/regex/regex.h +18 -16
  255. data/ext/pg_query/include/replication/logicallauncher.h +3 -5
  256. data/ext/pg_query/include/replication/logicalproto.h +161 -17
  257. data/ext/pg_query/include/replication/logicalworker.h +1 -1
  258. data/ext/pg_query/include/replication/origin.h +7 -7
  259. data/ext/pg_query/include/replication/reorderbuffer.h +262 -44
  260. data/ext/pg_query/include/replication/slot.h +23 -12
  261. data/ext/pg_query/include/replication/syncrep.h +5 -5
  262. data/ext/pg_query/include/replication/walreceiver.h +145 -13
  263. data/ext/pg_query/include/replication/walsender.h +8 -8
  264. data/ext/pg_query/include/rewrite/prs2lock.h +1 -1
  265. data/ext/pg_query/include/rewrite/rewriteHandler.h +1 -3
  266. data/ext/pg_query/include/rewrite/rewriteManip.h +1 -1
  267. data/ext/pg_query/include/rewrite/rewriteSupport.h +1 -1
  268. data/ext/pg_query/include/storage/backendid.h +3 -3
  269. data/ext/pg_query/include/storage/block.h +4 -10
  270. data/ext/pg_query/include/storage/buf.h +1 -1
  271. data/ext/pg_query/include/storage/bufmgr.h +19 -14
  272. data/ext/pg_query/include/storage/bufpage.h +6 -8
  273. data/ext/pg_query/include/storage/condition_variable.h +13 -2
  274. data/ext/pg_query/include/storage/dsm.h +4 -1
  275. data/ext/pg_query/include/storage/dsm_impl.h +3 -2
  276. data/ext/pg_query/include/storage/fd.h +33 -3
  277. data/ext/pg_query/include/storage/fileset.h +40 -0
  278. data/ext/pg_query/include/storage/ipc.h +4 -1
  279. data/ext/pg_query/include/storage/item.h +1 -1
  280. data/ext/pg_query/include/storage/itemid.h +1 -1
  281. data/ext/pg_query/include/storage/itemptr.h +3 -1
  282. data/ext/pg_query/include/storage/large_object.h +2 -2
  283. data/ext/pg_query/include/storage/latch.h +9 -13
  284. data/ext/pg_query/include/storage/lmgr.h +2 -1
  285. data/ext/pg_query/include/storage/lock.h +17 -13
  286. data/ext/pg_query/include/storage/lockdefs.h +2 -2
  287. data/ext/pg_query/include/storage/lwlock.h +6 -32
  288. data/ext/pg_query/include/storage/lwlocknames.h +0 -1
  289. data/ext/pg_query/include/storage/off.h +1 -1
  290. data/ext/pg_query/include/storage/pg_sema.h +1 -1
  291. data/ext/pg_query/include/storage/pg_shmem.h +9 -7
  292. data/ext/pg_query/include/storage/pmsignal.h +15 -4
  293. data/ext/pg_query/include/storage/predicate.h +4 -4
  294. data/ext/pg_query/include/storage/proc.h +183 -55
  295. data/ext/pg_query/include/storage/procarray.h +98 -0
  296. data/ext/pg_query/include/storage/proclist_types.h +1 -1
  297. data/ext/pg_query/include/storage/procsignal.h +3 -7
  298. data/ext/pg_query/include/storage/relfilenode.h +1 -1
  299. data/ext/pg_query/include/storage/s_lock.h +67 -4
  300. data/ext/pg_query/include/storage/sharedfileset.h +3 -11
  301. data/ext/pg_query/include/storage/shm_mq.h +5 -4
  302. data/ext/pg_query/include/storage/shm_toc.h +1 -1
  303. data/ext/pg_query/include/storage/shmem.h +1 -1
  304. data/ext/pg_query/include/storage/sinval.h +3 -3
  305. data/ext/pg_query/include/storage/sinvaladt.h +1 -1
  306. data/ext/pg_query/include/storage/smgr.h +10 -8
  307. data/ext/pg_query/include/storage/spin.h +2 -2
  308. data/ext/pg_query/include/storage/standby.h +13 -6
  309. data/ext/pg_query/include/storage/standbydefs.h +2 -2
  310. data/ext/pg_query/include/storage/sync.h +7 -3
  311. data/ext/pg_query/include/tcop/cmdtag.h +1 -1
  312. data/ext/pg_query/include/tcop/cmdtaglist.h +3 -2
  313. data/ext/pg_query/include/tcop/deparse_utility.h +1 -1
  314. data/ext/pg_query/include/tcop/dest.h +1 -1
  315. data/ext/pg_query/include/tcop/fastpath.h +1 -2
  316. data/ext/pg_query/include/tcop/pquery.h +7 -1
  317. data/ext/pg_query/include/tcop/tcopprot.h +19 -11
  318. data/ext/pg_query/include/tcop/utility.h +7 -3
  319. data/ext/pg_query/include/tsearch/ts_cache.h +2 -2
  320. data/ext/pg_query/include/utils/acl.h +24 -3
  321. data/ext/pg_query/include/utils/aclchk_internal.h +1 -1
  322. data/ext/pg_query/include/utils/array.h +7 -2
  323. data/ext/pg_query/include/utils/backend_progress.h +44 -0
  324. data/ext/pg_query/include/utils/backend_status.h +321 -0
  325. data/ext/pg_query/include/utils/builtins.h +11 -11
  326. data/ext/pg_query/include/utils/bytea.h +3 -2
  327. data/ext/pg_query/include/utils/catcache.h +1 -1
  328. data/ext/pg_query/include/utils/date.h +1 -1
  329. data/ext/pg_query/include/utils/datetime.h +8 -7
  330. data/ext/pg_query/include/utils/datum.h +9 -1
  331. data/ext/pg_query/include/utils/dsa.h +1 -1
  332. data/ext/pg_query/include/utils/dynahash.h +4 -3
  333. data/ext/pg_query/include/utils/elog.h +52 -21
  334. data/ext/pg_query/include/utils/errcodes.h +2 -0
  335. data/ext/pg_query/include/utils/expandeddatum.h +1 -1
  336. data/ext/pg_query/include/utils/expandedrecord.h +1 -1
  337. data/ext/pg_query/include/utils/float.h +7 -7
  338. data/ext/pg_query/include/utils/fmgroids.h +1300 -696
  339. data/ext/pg_query/include/utils/fmgrprotos.h +199 -16
  340. data/ext/pg_query/include/utils/fmgrtab.h +6 -5
  341. data/ext/pg_query/include/utils/guc.h +69 -43
  342. data/ext/pg_query/include/utils/guc_tables.h +23 -19
  343. data/ext/pg_query/include/utils/hsearch.h +15 -11
  344. data/ext/pg_query/include/utils/inval.h +5 -1
  345. data/ext/pg_query/include/utils/lsyscache.h +11 -1
  346. data/ext/pg_query/include/utils/memdebug.h +1 -1
  347. data/ext/pg_query/include/utils/memutils.h +8 -3
  348. data/ext/pg_query/include/utils/numeric.h +19 -5
  349. data/ext/pg_query/include/utils/palloc.h +25 -3
  350. data/ext/pg_query/include/utils/partcache.h +1 -1
  351. data/ext/pg_query/include/utils/pg_locale.h +17 -9
  352. data/ext/pg_query/include/utils/pg_lsn.h +1 -1
  353. data/ext/pg_query/include/utils/pgstat_internal.h +784 -0
  354. data/ext/pg_query/include/utils/pidfile.h +1 -1
  355. data/ext/pg_query/include/utils/plancache.h +6 -5
  356. data/ext/pg_query/include/utils/portal.h +12 -1
  357. data/ext/pg_query/include/utils/ps_status.h +1 -1
  358. data/ext/pg_query/include/utils/queryenvironment.h +1 -1
  359. data/ext/pg_query/include/utils/queryjumble.h +88 -0
  360. data/ext/pg_query/include/utils/regproc.h +14 -3
  361. data/ext/pg_query/include/utils/rel.h +71 -20
  362. data/ext/pg_query/include/utils/relcache.h +9 -7
  363. data/ext/pg_query/include/utils/reltrigger.h +1 -1
  364. data/ext/pg_query/include/utils/resowner.h +1 -1
  365. data/ext/pg_query/include/utils/rls.h +2 -2
  366. data/ext/pg_query/include/utils/ruleutils.h +4 -1
  367. data/ext/pg_query/include/utils/sharedtuplestore.h +1 -1
  368. data/ext/pg_query/include/utils/snapmgr.h +35 -14
  369. data/ext/pg_query/include/utils/snapshot.h +14 -1
  370. data/ext/pg_query/include/utils/sortsupport.h +117 -2
  371. data/ext/pg_query/include/utils/syscache.h +6 -1
  372. data/ext/pg_query/include/utils/timeout.h +11 -4
  373. data/ext/pg_query/include/utils/timestamp.h +6 -5
  374. data/ext/pg_query/include/utils/tuplesort.h +25 -11
  375. data/ext/pg_query/include/utils/tuplestore.h +2 -2
  376. data/ext/pg_query/include/utils/typcache.h +24 -17
  377. data/ext/pg_query/include/utils/tzparser.h +1 -1
  378. data/ext/pg_query/include/utils/varlena.h +5 -3
  379. data/ext/pg_query/include/utils/wait_event.h +289 -0
  380. data/ext/pg_query/include/utils/xml.h +4 -4
  381. data/ext/pg_query/pg_query.pb-c.c +4318 -2307
  382. data/ext/pg_query/pg_query_deparse.c +1114 -381
  383. data/ext/pg_query/pg_query_fingerprint.c +46 -10
  384. data/ext/pg_query/pg_query_fingerprint.h +3 -1
  385. data/ext/pg_query/pg_query_json_plpgsql.c +55 -12
  386. data/ext/pg_query/pg_query_normalize.c +163 -20
  387. data/ext/pg_query/pg_query_outfuncs.h +1 -0
  388. data/ext/pg_query/pg_query_outfuncs_json.c +65 -16
  389. data/ext/pg_query/pg_query_outfuncs_protobuf.c +70 -10
  390. data/ext/pg_query/pg_query_parse.c +1 -1
  391. data/ext/pg_query/pg_query_parse_plpgsql.c +79 -16
  392. data/ext/pg_query/pg_query_readfuncs_protobuf.c +42 -8
  393. data/ext/pg_query/pg_query_ruby.c +1 -1
  394. data/ext/pg_query/pg_query_scan.c +2 -1
  395. data/ext/pg_query/pg_query_split.c +3 -2
  396. data/ext/pg_query/src_backend_catalog_namespace.c +21 -9
  397. data/ext/pg_query/src_backend_catalog_pg_proc.c +4 -1
  398. data/ext/pg_query/src_backend_commands_define.c +11 -1
  399. data/ext/pg_query/src_backend_nodes_bitmapset.c +3 -1
  400. data/ext/pg_query/src_backend_nodes_copyfuncs.c +424 -109
  401. data/ext/pg_query/src_backend_nodes_equalfuncs.c +291 -46
  402. data/ext/pg_query/src_backend_nodes_extensible.c +1 -1
  403. data/ext/pg_query/src_backend_nodes_list.c +86 -11
  404. data/ext/pg_query/src_backend_nodes_makefuncs.c +5 -4
  405. data/ext/pg_query/src_backend_nodes_nodeFuncs.c +55 -12
  406. data/ext/pg_query/src_backend_nodes_value.c +28 -19
  407. data/ext/pg_query/src_backend_parser_gram.c +33890 -31262
  408. data/ext/pg_query/src_backend_parser_parser.c +26 -7
  409. data/ext/pg_query/src_backend_parser_scan.c +644 -441
  410. data/ext/pg_query/src_backend_parser_scansup.c +4 -28
  411. data/ext/pg_query/src_backend_postmaster_postmaster.c +77 -106
  412. data/ext/pg_query/src_backend_storage_ipc_ipc.c +13 -4
  413. data/ext/pg_query/src_backend_storage_lmgr_s_lock.c +5 -4
  414. data/ext/pg_query/src_backend_tcop_postgres.c +73 -24
  415. data/ext/pg_query/src_backend_utils_activity_pgstat_database.c +140 -0
  416. data/ext/pg_query/src_backend_utils_adt_datum.c +13 -1
  417. data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +1 -1
  418. data/ext/pg_query/src_backend_utils_adt_format_type.c +6 -2
  419. data/ext/pg_query/src_backend_utils_adt_ruleutils.c +109 -15
  420. data/ext/pg_query/src_backend_utils_error_assert.c +16 -14
  421. data/ext/pg_query/src_backend_utils_error_elog.c +172 -99
  422. data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +12 -17
  423. data/ext/pg_query/src_backend_utils_hash_dynahash.c +40 -10
  424. data/ext/pg_query/src_backend_utils_init_globals.c +5 -5
  425. data/ext/pg_query/src_backend_utils_mb_mbutils.c +55 -66
  426. data/ext/pg_query/src_backend_utils_misc_guc.c +207 -45
  427. data/ext/pg_query/src_backend_utils_mmgr_aset.c +7 -5
  428. data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +123 -35
  429. data/ext/pg_query/src_common_encnames.c +1 -1
  430. data/ext/pg_query/src_common_hashfn.c +3 -3
  431. data/ext/pg_query/src_common_keywords.c +15 -2
  432. data/ext/pg_query/src_common_kwlist_d.h +517 -494
  433. data/ext/pg_query/src_common_kwlookup.c +1 -1
  434. data/ext/pg_query/src_common_pg_prng.c +152 -0
  435. data/ext/pg_query/src_common_psprintf.c +1 -1
  436. data/ext/pg_query/src_common_string.c +7 -1
  437. data/ext/pg_query/src_common_stringinfo.c +1 -1
  438. data/ext/pg_query/src_common_wchar.c +712 -109
  439. data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +49 -22
  440. data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +1 -18
  441. data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +1235 -1261
  442. data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +1 -1
  443. data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +10 -10
  444. data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +2 -2
  445. data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +54 -56
  446. data/ext/pg_query/src_port_pg_bitutils.c +41 -52
  447. data/ext/pg_query/src_port_pgsleep.c +1 -1
  448. data/ext/pg_query/src_port_pgstrcasecmp.c +1 -1
  449. data/ext/pg_query/src_port_qsort.c +12 -224
  450. data/ext/pg_query/src_port_snprintf.c +46 -20
  451. data/ext/pg_query/src_port_strerror.c +9 -19
  452. data/ext/pg_query/src_port_strnlen.c +1 -1
  453. data/lib/pg_query/deparse.rb +7 -1
  454. data/lib/pg_query/filter_columns.rb +6 -4
  455. data/lib/pg_query/fingerprint.rb +18 -3
  456. data/lib/pg_query/node.rb +2 -2
  457. data/lib/pg_query/param_refs.rb +1 -1
  458. data/lib/pg_query/parse.rb +87 -51
  459. data/lib/pg_query/pg_query_pb.rb +1109 -942
  460. data/lib/pg_query/treewalker.rb +6 -0
  461. data/lib/pg_query/truncate.rb +54 -8
  462. data/lib/pg_query/version.rb +1 -1
  463. metadata +29 -18
  464. data/ext/pg_query/include/access/xloginsert.h +0 -64
  465. data/ext/pg_query/include/bootstrap/bootstrap.h +0 -62
  466. data/ext/pg_query/include/parser/parse_clause.h +0 -54
  467. data/ext/pg_query/include/parser/parse_collate.h +0 -27
  468. data/ext/pg_query/include/parser/parse_target.h +0 -46
  469. data/ext/pg_query/src_backend_libpq_pqcomm.c +0 -651
  470. data/ext/pg_query/src_backend_parser_parse_expr.c +0 -313
  471. data/ext/pg_query/src_port_erand48.c +0 -127
  472. data/ext/pg_query/src_port_random.c +0 -31
@@ -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
@@ -809,6 +865,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
809
865
  optional :def, :message, 5, "pg_query.Node", json_name: "def"
810
866
  optional :behavior, :enum, 6, "pg_query.DropBehavior", json_name: "behavior"
811
867
  optional :missing_ok, :bool, 7, json_name: "missing_ok"
868
+ optional :recurse, :bool, 8, json_name: "recurse"
812
869
  end
813
870
  add_message "pg_query.AlterDomainStmt" do
814
871
  optional :subtype, :string, 1, json_name: "subtype"
@@ -836,7 +893,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
836
893
  repeated :privileges, :message, 5, "pg_query.Node", json_name: "privileges"
837
894
  repeated :grantees, :message, 6, "pg_query.Node", json_name: "grantees"
838
895
  optional :grant_option, :bool, 7, json_name: "grant_option"
839
- 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"
840
898
  end
841
899
  add_message "pg_query.GrantRoleStmt" do
842
900
  repeated :granted_roles, :message, 1, "pg_query.Node", json_name: "granted_roles"
@@ -856,7 +914,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
856
914
  add_message "pg_query.ClusterStmt" do
857
915
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
858
916
  optional :indexname, :string, 2, json_name: "indexname"
859
- optional :options, :int32, 3, json_name: "options"
917
+ repeated :params, :message, 3, "pg_query.Node", json_name: "params"
860
918
  end
861
919
  add_message "pg_query.CopyStmt" do
862
920
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
@@ -930,14 +988,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
930
988
  optional :old_create_subid, :uint32, 13, json_name: "oldCreateSubid"
931
989
  optional :old_first_relfilenode_subid, :uint32, 14, json_name: "oldFirstRelfilenodeSubid"
932
990
  optional :unique, :bool, 15, json_name: "unique"
933
- optional :primary, :bool, 16, json_name: "primary"
934
- optional :isconstraint, :bool, 17, json_name: "isconstraint"
935
- optional :deferrable, :bool, 18, json_name: "deferrable"
936
- optional :initdeferred, :bool, 19, json_name: "initdeferred"
937
- optional :transformed, :bool, 20, json_name: "transformed"
938
- optional :concurrent, :bool, 21, json_name: "concurrent"
939
- optional :if_not_exists, :bool, 22, json_name: "if_not_exists"
940
- 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"
941
1000
  end
942
1001
  add_message "pg_query.CreateFunctionStmt" do
943
1002
  optional :is_procedure, :bool, 1, json_name: "is_procedure"
@@ -946,6 +1005,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
946
1005
  repeated :parameters, :message, 4, "pg_query.Node", json_name: "parameters"
947
1006
  optional :return_type, :message, 5, "pg_query.TypeName", json_name: "returnType"
948
1007
  repeated :options, :message, 6, "pg_query.Node", json_name: "options"
1008
+ optional :sql_body, :message, 7, "pg_query.Node", json_name: "sql_body"
949
1009
  end
950
1010
  add_message "pg_query.AlterFunctionStmt" do
951
1011
  optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
@@ -1029,7 +1089,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1029
1089
  add_message "pg_query.CreateTableAsStmt" do
1030
1090
  optional :query, :message, 1, "pg_query.Node", json_name: "query"
1031
1091
  optional :into, :message, 2, "pg_query.IntoClause", json_name: "into"
1032
- optional :relkind, :enum, 3, "pg_query.ObjectType", json_name: "relkind"
1092
+ optional :objtype, :enum, 3, "pg_query.ObjectType", json_name: "objtype"
1033
1093
  optional :is_select_into, :bool, 4, json_name: "is_select_into"
1034
1094
  optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
1035
1095
  end
@@ -1059,20 +1119,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1059
1119
  optional :target, :enum, 1, "pg_query.DiscardMode", json_name: "target"
1060
1120
  end
1061
1121
  add_message "pg_query.CreateTrigStmt" do
1062
- optional :trigname, :string, 1, json_name: "trigname"
1063
- optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1064
- repeated :funcname, :message, 3, "pg_query.Node", json_name: "funcname"
1065
- repeated :args, :message, 4, "pg_query.Node", json_name: "args"
1066
- optional :row, :bool, 5, json_name: "row"
1067
- optional :timing, :int32, 6, json_name: "timing"
1068
- optional :events, :int32, 7, json_name: "events"
1069
- repeated :columns, :message, 8, "pg_query.Node", json_name: "columns"
1070
- optional :when_clause, :message, 9, "pg_query.Node", json_name: "whenClause"
1071
- optional :isconstraint, :bool, 10, json_name: "isconstraint"
1072
- repeated :transition_rels, :message, 11, "pg_query.Node", json_name: "transitionRels"
1073
- optional :deferrable, :bool, 12, json_name: "deferrable"
1074
- optional :initdeferred, :bool, 13, json_name: "initdeferred"
1075
- 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"
1076
1137
  end
1077
1138
  add_message "pg_query.CreatePLangStmt" do
1078
1139
  optional :replace, :bool, 1, json_name: "replace"
@@ -1109,8 +1170,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1109
1170
  optional :kind, :enum, 1, "pg_query.ReindexObjectType", json_name: "kind"
1110
1171
  optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1111
1172
  optional :name, :string, 3, json_name: "name"
1112
- optional :options, :int32, 4, json_name: "options"
1113
- optional :concurrent, :bool, 5, json_name: "concurrent"
1173
+ repeated :params, :message, 4, "pg_query.Node", json_name: "params"
1114
1174
  end
1115
1175
  add_message "pg_query.CheckPointStmt" do
1116
1176
  end
@@ -1124,6 +1184,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1124
1184
  optional :dbname, :string, 1, json_name: "dbname"
1125
1185
  repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1126
1186
  end
1187
+ add_message "pg_query.AlterDatabaseRefreshCollStmt" do
1188
+ optional :dbname, :string, 1, json_name: "dbname"
1189
+ end
1127
1190
  add_message "pg_query.AlterDatabaseSetStmt" do
1128
1191
  optional :dbname, :string, 1, json_name: "dbname"
1129
1192
  optional :setstmt, :message, 2, "pg_query.VariableSetStmt", json_name: "setstmt"
@@ -1196,7 +1259,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1196
1259
  optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
1197
1260
  optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1198
1261
  optional :object, :message, 3, "pg_query.Node", json_name: "object"
1199
- optional :extname, :message, 4, "pg_query.Node", json_name: "extname"
1262
+ optional :extname, :message, 4, "pg_query.String", json_name: "extname"
1200
1263
  optional :remove, :bool, 5, json_name: "remove"
1201
1264
  end
1202
1265
  add_message "pg_query.AlterObjectSchemaStmt" do
@@ -1400,15 +1463,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1400
1463
  add_message "pg_query.CreatePublicationStmt" do
1401
1464
  optional :pubname, :string, 1, json_name: "pubname"
1402
1465
  repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1403
- repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
1466
+ repeated :pubobjects, :message, 3, "pg_query.Node", json_name: "pubobjects"
1404
1467
  optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
1405
1468
  end
1406
1469
  add_message "pg_query.AlterPublicationStmt" do
1407
1470
  optional :pubname, :string, 1, json_name: "pubname"
1408
1471
  repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1409
- repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
1472
+ repeated :pubobjects, :message, 3, "pg_query.Node", json_name: "pubobjects"
1410
1473
  optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
1411
- optional :table_action, :enum, 5, "pg_query.DefElemAction", json_name: "tableAction"
1474
+ optional :action, :enum, 5, "pg_query.AlterPublicationAction", json_name: "action"
1412
1475
  end
1413
1476
  add_message "pg_query.CreateSubscriptionStmt" do
1414
1477
  optional :subname, :string, 1, json_name: "subname"
@@ -1434,7 +1497,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1434
1497
  repeated :exprs, :message, 3, "pg_query.Node", json_name: "exprs"
1435
1498
  repeated :relations, :message, 4, "pg_query.Node", json_name: "relations"
1436
1499
  optional :stxcomment, :string, 5, json_name: "stxcomment"
1437
- 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"
1438
1502
  end
1439
1503
  add_message "pg_query.AlterCollationStmt" do
1440
1504
  repeated :collname, :message, 1, "pg_query.Node", json_name: "collname"
@@ -1442,6 +1506,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1442
1506
  add_message "pg_query.CallStmt" do
1443
1507
  optional :funccall, :message, 1, "pg_query.FuncCall", json_name: "funccall"
1444
1508
  optional :funcexpr, :message, 2, "pg_query.FuncExpr", json_name: "funcexpr"
1509
+ repeated :outargs, :message, 3, "pg_query.Node", json_name: "outargs"
1445
1510
  end
1446
1511
  add_message "pg_query.AlterStatsStmt" do
1447
1512
  repeated :defnames, :message, 1, "pg_query.Node", json_name: "defnames"
@@ -1463,21 +1528,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1463
1528
  optional :number, :int32, 1, json_name: "number"
1464
1529
  optional :location, :int32, 2, json_name: "location"
1465
1530
  end
1466
- add_message "pg_query.A_Const" do
1467
- optional :val, :message, 1, "pg_query.Node", json_name: "val"
1468
- optional :location, :int32, 2, json_name: "location"
1469
- end
1470
1531
  add_message "pg_query.FuncCall" do
1471
1532
  repeated :funcname, :message, 1, "pg_query.Node", json_name: "funcname"
1472
1533
  repeated :args, :message, 2, "pg_query.Node", json_name: "args"
1473
1534
  repeated :agg_order, :message, 3, "pg_query.Node", json_name: "agg_order"
1474
1535
  optional :agg_filter, :message, 4, "pg_query.Node", json_name: "agg_filter"
1475
- optional :agg_within_group, :bool, 5, json_name: "agg_within_group"
1476
- optional :agg_star, :bool, 6, json_name: "agg_star"
1477
- optional :agg_distinct, :bool, 7, json_name: "agg_distinct"
1478
- optional :func_variadic, :bool, 8, json_name: "func_variadic"
1479
- optional :over, :message, 9, "pg_query.WindowDef", json_name: "over"
1480
- 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"
1481
1543
  end
1482
1544
  add_message "pg_query.A_Star" do
1483
1545
  end
@@ -1583,21 +1645,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1583
1645
  add_message "pg_query.ColumnDef" do
1584
1646
  optional :colname, :string, 1, json_name: "colname"
1585
1647
  optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
1586
- optional :inhcount, :int32, 3, json_name: "inhcount"
1587
- optional :is_local, :bool, 4, json_name: "is_local"
1588
- optional :is_not_null, :bool, 5, json_name: "is_not_null"
1589
- optional :is_from_type, :bool, 6, json_name: "is_from_type"
1590
- optional :storage, :string, 7, json_name: "storage"
1591
- optional :raw_default, :message, 8, "pg_query.Node", json_name: "raw_default"
1592
- optional :cooked_default, :message, 9, "pg_query.Node", json_name: "cooked_default"
1593
- optional :identity, :string, 10, json_name: "identity"
1594
- optional :identity_sequence, :message, 11, "pg_query.RangeVar", json_name: "identitySequence"
1595
- optional :generated, :string, 12, json_name: "generated"
1596
- optional :coll_clause, :message, 13, "pg_query.CollateClause", json_name: "collClause"
1597
- optional :coll_oid, :uint32, 14, json_name: "collOid"
1598
- repeated :constraints, :message, 15, "pg_query.Node", json_name: "constraints"
1599
- repeated :fdwoptions, :message, 16, "pg_query.Node", json_name: "fdwoptions"
1600
- 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"
1601
1664
  end
1602
1665
  add_message "pg_query.IndexElem" do
1603
1666
  optional :name, :string, 1, json_name: "name"
@@ -1609,6 +1672,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1609
1672
  optional :ordering, :enum, 7, "pg_query.SortByDir", json_name: "ordering"
1610
1673
  optional :nulls_ordering, :enum, 8, "pg_query.SortByNulls", json_name: "nulls_ordering"
1611
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
1612
1679
  add_message "pg_query.Constraint" do
1613
1680
  optional :contype, :enum, 1, "pg_query.ConstrType", json_name: "contype"
1614
1681
  optional :conname, :string, 2, json_name: "conname"
@@ -1619,25 +1686,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1619
1686
  optional :raw_expr, :message, 7, "pg_query.Node", json_name: "raw_expr"
1620
1687
  optional :cooked_expr, :string, 8, json_name: "cooked_expr"
1621
1688
  optional :generated_when, :string, 9, json_name: "generated_when"
1622
- repeated :keys, :message, 10, "pg_query.Node", json_name: "keys"
1623
- repeated :including, :message, 11, "pg_query.Node", json_name: "including"
1624
- repeated :exclusions, :message, 12, "pg_query.Node", json_name: "exclusions"
1625
- repeated :options, :message, 13, "pg_query.Node", json_name: "options"
1626
- optional :indexname, :string, 14, json_name: "indexname"
1627
- optional :indexspace, :string, 15, json_name: "indexspace"
1628
- optional :reset_default_tblspc, :bool, 16, json_name: "reset_default_tblspc"
1629
- optional :access_method, :string, 17, json_name: "access_method"
1630
- optional :where_clause, :message, 18, "pg_query.Node", json_name: "where_clause"
1631
- optional :pktable, :message, 19, "pg_query.RangeVar", json_name: "pktable"
1632
- repeated :fk_attrs, :message, 20, "pg_query.Node", json_name: "fk_attrs"
1633
- repeated :pk_attrs, :message, 21, "pg_query.Node", json_name: "pk_attrs"
1634
- optional :fk_matchtype, :string, 22, json_name: "fk_matchtype"
1635
- optional :fk_upd_action, :string, 23, json_name: "fk_upd_action"
1636
- optional :fk_del_action, :string, 24, json_name: "fk_del_action"
1637
- repeated :old_conpfeqop, :message, 25, "pg_query.Node", json_name: "old_conpfeqop"
1638
- optional :old_pktable_oid, :uint32, 26, json_name: "old_pktable_oid"
1639
- optional :skip_validation, :bool, 27, json_name: "skip_validation"
1640
- 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"
1641
1710
  end
1642
1711
  add_message "pg_query.DefElem" do
1643
1712
  optional :defnamespace, :string, 1, json_name: "defnamespace"
@@ -1659,30 +1728,31 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1659
1728
  repeated :joinaliasvars, :message, 10, "pg_query.Node", json_name: "joinaliasvars"
1660
1729
  repeated :joinleftcols, :message, 11, "pg_query.Node", json_name: "joinleftcols"
1661
1730
  repeated :joinrightcols, :message, 12, "pg_query.Node", json_name: "joinrightcols"
1662
- repeated :functions, :message, 13, "pg_query.Node", json_name: "functions"
1663
- optional :funcordinality, :bool, 14, json_name: "funcordinality"
1664
- optional :tablefunc, :message, 15, "pg_query.TableFunc", json_name: "tablefunc"
1665
- repeated :values_lists, :message, 16, "pg_query.Node", json_name: "values_lists"
1666
- optional :ctename, :string, 17, json_name: "ctename"
1667
- optional :ctelevelsup, :uint32, 18, json_name: "ctelevelsup"
1668
- optional :self_reference, :bool, 19, json_name: "self_reference"
1669
- repeated :coltypes, :message, 20, "pg_query.Node", json_name: "coltypes"
1670
- repeated :coltypmods, :message, 21, "pg_query.Node", json_name: "coltypmods"
1671
- repeated :colcollations, :message, 22, "pg_query.Node", json_name: "colcollations"
1672
- optional :enrname, :string, 23, json_name: "enrname"
1673
- optional :enrtuples, :double, 24, json_name: "enrtuples"
1674
- optional :alias, :message, 25, "pg_query.Alias", json_name: "alias"
1675
- optional :eref, :message, 26, "pg_query.Alias", json_name: "eref"
1676
- optional :lateral, :bool, 27, json_name: "lateral"
1677
- optional :inh, :bool, 28, json_name: "inh"
1678
- optional :in_from_cl, :bool, 29, json_name: "inFromCl"
1679
- optional :required_perms, :uint32, 30, json_name: "requiredPerms"
1680
- optional :check_as_user, :uint32, 31, json_name: "checkAsUser"
1681
- repeated :selected_cols, :uint64, 32, json_name: "selectedCols"
1682
- repeated :inserted_cols, :uint64, 33, json_name: "insertedCols"
1683
- repeated :updated_cols, :uint64, 34, json_name: "updatedCols"
1684
- repeated :extra_updated_cols, :uint64, 35, json_name: "extraUpdatedCols"
1685
- 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"
1686
1756
  end
1687
1757
  add_message "pg_query.RangeTblFunction" do
1688
1758
  optional :funcexpr, :message, 1, "pg_query.Node", json_name: "funcexpr"
@@ -1725,18 +1795,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1725
1795
  optional :frame_options, :int32, 5, json_name: "frameOptions"
1726
1796
  optional :start_offset, :message, 6, "pg_query.Node", json_name: "startOffset"
1727
1797
  optional :end_offset, :message, 7, "pg_query.Node", json_name: "endOffset"
1728
- optional :start_in_range_func, :uint32, 8, json_name: "startInRangeFunc"
1729
- optional :end_in_range_func, :uint32, 9, json_name: "endInRangeFunc"
1730
- optional :in_range_coll, :uint32, 10, json_name: "inRangeColl"
1731
- optional :in_range_asc, :bool, 11, json_name: "inRangeAsc"
1732
- optional :in_range_nulls_first, :bool, 12, json_name: "inRangeNullsFirst"
1733
- optional :winref, :uint32, 13, json_name: "winref"
1734
- 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"
1735
1806
  end
1736
1807
  add_message "pg_query.ObjectWithArgs" do
1737
1808
  repeated :objname, :message, 1, "pg_query.Node", json_name: "objname"
1738
1809
  repeated :objargs, :message, 2, "pg_query.Node", json_name: "objargs"
1739
- 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"
1740
1812
  end
1741
1813
  add_message "pg_query.AccessPriv" do
1742
1814
  optional :priv_name, :string, 1, json_name: "priv_name"
@@ -1796,18 +1868,46 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1796
1868
  optional :where_clause, :message, 4, "pg_query.Node", json_name: "whereClause"
1797
1869
  optional :location, :int32, 5, json_name: "location"
1798
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
1799
1889
  add_message "pg_query.CommonTableExpr" do
1800
1890
  optional :ctename, :string, 1, json_name: "ctename"
1801
1891
  repeated :aliascolnames, :message, 2, "pg_query.Node", json_name: "aliascolnames"
1802
1892
  optional :ctematerialized, :enum, 3, "pg_query.CTEMaterialize", json_name: "ctematerialized"
1803
1893
  optional :ctequery, :message, 4, "pg_query.Node", json_name: "ctequery"
1804
- optional :location, :int32, 5, json_name: "location"
1805
- optional :cterecursive, :bool, 6, json_name: "cterecursive"
1806
- optional :cterefcount, :int32, 7, json_name: "cterefcount"
1807
- repeated :ctecolnames, :message, 8, "pg_query.Node", json_name: "ctecolnames"
1808
- repeated :ctecoltypes, :message, 9, "pg_query.Node", json_name: "ctecoltypes"
1809
- repeated :ctecoltypmods, :message, 10, "pg_query.Node", json_name: "ctecoltypmods"
1810
- 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"
1811
1911
  end
1812
1912
  add_message "pg_query.RoleSpec" do
1813
1913
  optional :roletype, :enum, 1, "pg_query.RoleSpecType", json_name: "roletype"
@@ -1849,12 +1949,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1849
1949
  add_message "pg_query.PartitionCmd" do
1850
1950
  optional :name, :message, 1, "pg_query.RangeVar", json_name: "name"
1851
1951
  optional :bound, :message, 2, "pg_query.PartitionBoundSpec", json_name: "bound"
1952
+ optional :concurrent, :bool, 3, json_name: "concurrent"
1852
1953
  end
1853
1954
  add_message "pg_query.VacuumRelation" do
1854
1955
  optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
1855
1956
  optional :oid, :uint32, 2, json_name: "oid"
1856
1957
  repeated :va_cols, :message, 3, "pg_query.Node", json_name: "va_cols"
1857
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
1858
1970
  add_message "pg_query.InlineCodeBlock" do
1859
1971
  optional :source_text, :string, 1, json_name: "source_text"
1860
1972
  optional :lang_oid, :uint32, 2, json_name: "langOid"
@@ -1897,6 +2009,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1897
2009
  value :SORTBY_NULLS_FIRST, 2
1898
2010
  value :SORTBY_NULLS_LAST, 3
1899
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
1900
2018
  add_enum "pg_query.A_Expr_Kind" do
1901
2019
  value :A_EXPR_KIND_UNDEFINED, 0
1902
2020
  value :AEXPR_OP, 1
@@ -1905,35 +2023,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1905
2023
  value :AEXPR_DISTINCT, 4
1906
2024
  value :AEXPR_NOT_DISTINCT, 5
1907
2025
  value :AEXPR_NULLIF, 6
1908
- value :AEXPR_OF, 7
1909
- value :AEXPR_IN, 8
1910
- value :AEXPR_LIKE, 9
1911
- value :AEXPR_ILIKE, 10
1912
- value :AEXPR_SIMILAR, 11
1913
- value :AEXPR_BETWEEN, 12
1914
- value :AEXPR_NOT_BETWEEN, 13
1915
- value :AEXPR_BETWEEN_SYM, 14
1916
- value :AEXPR_NOT_BETWEEN_SYM, 15
1917
- 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
1918
2034
  end
1919
2035
  add_enum "pg_query.RoleSpecType" do
1920
2036
  value :ROLE_SPEC_TYPE_UNDEFINED, 0
1921
2037
  value :ROLESPEC_CSTRING, 1
1922
- value :ROLESPEC_CURRENT_USER, 2
1923
- value :ROLESPEC_SESSION_USER, 3
1924
- 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
1925
2042
  end
1926
2043
  add_enum "pg_query.TableLikeOption" do
1927
2044
  value :TABLE_LIKE_OPTION_UNDEFINED, 0
1928
2045
  value :CREATE_TABLE_LIKE_COMMENTS, 1
1929
- value :CREATE_TABLE_LIKE_CONSTRAINTS, 2
1930
- value :CREATE_TABLE_LIKE_DEFAULTS, 3
1931
- value :CREATE_TABLE_LIKE_GENERATED, 4
1932
- value :CREATE_TABLE_LIKE_IDENTITY, 5
1933
- value :CREATE_TABLE_LIKE_INDEXES, 6
1934
- value :CREATE_TABLE_LIKE_STATISTICS, 7
1935
- value :CREATE_TABLE_LIKE_STORAGE, 8
1936
- 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
1937
2055
  end
1938
2056
  add_enum "pg_query.DefElemAction" do
1939
2057
  value :DEF_ELEM_ACTION_UNDEFINED, 0
@@ -1966,6 +2084,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1966
2084
  value :WCO_RLS_INSERT_CHECK, 2
1967
2085
  value :WCO_RLS_UPDATE_CHECK, 3
1968
2086
  value :WCO_RLS_CONFLICT_CHECK, 4
2087
+ value :WCO_RLS_MERGE_UPDATE_CHECK, 5
2088
+ value :WCO_RLS_MERGE_DELETE_CHECK, 6
1969
2089
  end
1970
2090
  add_enum "pg_query.GroupingSetKind" do
1971
2091
  value :GROUPING_SET_KIND_UNDEFINED, 0
@@ -2017,29 +2137,31 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2017
2137
  value :OBJECT_OPCLASS, 25
2018
2138
  value :OBJECT_OPERATOR, 26
2019
2139
  value :OBJECT_OPFAMILY, 27
2020
- value :OBJECT_POLICY, 28
2021
- value :OBJECT_PROCEDURE, 29
2022
- value :OBJECT_PUBLICATION, 30
2023
- value :OBJECT_PUBLICATION_REL, 31
2024
- value :OBJECT_ROLE, 32
2025
- value :OBJECT_ROUTINE, 33
2026
- value :OBJECT_RULE, 34
2027
- value :OBJECT_SCHEMA, 35
2028
- value :OBJECT_SEQUENCE, 36
2029
- value :OBJECT_SUBSCRIPTION, 37
2030
- value :OBJECT_STATISTIC_EXT, 38
2031
- value :OBJECT_TABCONSTRAINT, 39
2032
- value :OBJECT_TABLE, 40
2033
- value :OBJECT_TABLESPACE, 41
2034
- value :OBJECT_TRANSFORM, 42
2035
- value :OBJECT_TRIGGER, 43
2036
- value :OBJECT_TSCONFIGURATION, 44
2037
- value :OBJECT_TSDICTIONARY, 45
2038
- value :OBJECT_TSPARSER, 46
2039
- value :OBJECT_TSTEMPLATE, 47
2040
- value :OBJECT_TYPE, 48
2041
- value :OBJECT_USER_MAPPING, 49
2042
- 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
2043
2165
  end
2044
2166
  add_enum "pg_query.DropBehavior" do
2045
2167
  value :DROP_BEHAVIOR_UNDEFINED, 0
@@ -2061,60 +2183,64 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2061
2183
  value :AT_SetOptions, 11
2062
2184
  value :AT_ResetOptions, 12
2063
2185
  value :AT_SetStorage, 13
2064
- value :AT_DropColumn, 14
2065
- value :AT_DropColumnRecurse, 15
2066
- value :AT_AddIndex, 16
2067
- value :AT_ReAddIndex, 17
2068
- value :AT_AddConstraint, 18
2069
- value :AT_AddConstraintRecurse, 19
2070
- value :AT_ReAddConstraint, 20
2071
- value :AT_ReAddDomainConstraint, 21
2072
- value :AT_AlterConstraint, 22
2073
- value :AT_ValidateConstraint, 23
2074
- value :AT_ValidateConstraintRecurse, 24
2075
- value :AT_AddIndexConstraint, 25
2076
- value :AT_DropConstraint, 26
2077
- value :AT_DropConstraintRecurse, 27
2078
- value :AT_ReAddComment, 28
2079
- value :AT_AlterColumnType, 29
2080
- value :AT_AlterColumnGenericOptions, 30
2081
- value :AT_ChangeOwner, 31
2082
- value :AT_ClusterOn, 32
2083
- value :AT_DropCluster, 33
2084
- value :AT_SetLogged, 34
2085
- value :AT_SetUnLogged, 35
2086
- value :AT_DropOids, 36
2087
- value :AT_SetTableSpace, 37
2088
- value :AT_SetRelOptions, 38
2089
- value :AT_ResetRelOptions, 39
2090
- value :AT_ReplaceRelOptions, 40
2091
- value :AT_EnableTrig, 41
2092
- value :AT_EnableAlwaysTrig, 42
2093
- value :AT_EnableReplicaTrig, 43
2094
- value :AT_DisableTrig, 44
2095
- value :AT_EnableTrigAll, 45
2096
- value :AT_DisableTrigAll, 46
2097
- value :AT_EnableTrigUser, 47
2098
- value :AT_DisableTrigUser, 48
2099
- value :AT_EnableRule, 49
2100
- value :AT_EnableAlwaysRule, 50
2101
- value :AT_EnableReplicaRule, 51
2102
- value :AT_DisableRule, 52
2103
- value :AT_AddInherit, 53
2104
- value :AT_DropInherit, 54
2105
- value :AT_AddOf, 55
2106
- value :AT_DropOf, 56
2107
- value :AT_ReplicaIdentity, 57
2108
- value :AT_EnableRowSecurity, 58
2109
- value :AT_DisableRowSecurity, 59
2110
- value :AT_ForceRowSecurity, 60
2111
- value :AT_NoForceRowSecurity, 61
2112
- value :AT_GenericOptions, 62
2113
- value :AT_AttachPartition, 63
2114
- value :AT_DetachPartition, 64
2115
- value :AT_AddIdentity, 65
2116
- value :AT_SetIdentity, 66
2117
- 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
2118
2244
  end
2119
2245
  add_enum "pg_query.GrantTargetType" do
2120
2246
  value :GRANT_TARGET_TYPE_UNDEFINED, 0
@@ -2174,6 +2300,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2174
2300
  value :FUNC_PARAM_INOUT, 3
2175
2301
  value :FUNC_PARAM_VARIADIC, 4
2176
2302
  value :FUNC_PARAM_TABLE, 5
2303
+ value :FUNC_PARAM_DEFAULT, 6
2177
2304
  end
2178
2305
  add_enum "pg_query.TransactionStmtKind" do
2179
2306
  value :TRANSACTION_STMT_KIND_UNDEFINED, 0
@@ -2194,11 +2321,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2194
2321
  value :LOCAL_CHECK_OPTION, 2
2195
2322
  value :CASCADED_CHECK_OPTION, 3
2196
2323
  end
2197
- add_enum "pg_query.ClusterOption" do
2198
- value :CLUSTER_OPTION_UNDEFINED, 0
2199
- value :CLUOPT_RECHECK, 1
2200
- value :CLUOPT_VERBOSE, 2
2201
- end
2202
2324
  add_enum "pg_query.DiscardMode" do
2203
2325
  value :DISCARD_MODE_UNDEFINED, 0
2204
2326
  value :DISCARD_ALL, 1
@@ -2222,13 +2344,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2222
2344
  value :ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN, 4
2223
2345
  value :ALTER_TSCONFIG_DROP_MAPPING, 5
2224
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
2225
2360
  add_enum "pg_query.AlterSubscriptionType" do
2226
2361
  value :ALTER_SUBSCRIPTION_TYPE_UNDEFINED, 0
2227
2362
  value :ALTER_SUBSCRIPTION_OPTIONS, 1
2228
2363
  value :ALTER_SUBSCRIPTION_CONNECTION, 2
2229
- value :ALTER_SUBSCRIPTION_PUBLICATION, 3
2230
- value :ALTER_SUBSCRIPTION_REFRESH, 4
2231
- 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
2232
2370
  end
2233
2371
  add_enum "pg_query.OnCommitAction" do
2234
2372
  value :ON_COMMIT_ACTION_UNDEFINED, 0
@@ -2248,13 +2386,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2248
2386
  value :COERCION_CONTEXT_UNDEFINED, 0
2249
2387
  value :COERCION_IMPLICIT, 1
2250
2388
  value :COERCION_ASSIGNMENT, 2
2251
- value :COERCION_EXPLICIT, 3
2389
+ value :COERCION_PLPGSQL, 3
2390
+ value :COERCION_EXPLICIT, 4
2252
2391
  end
2253
2392
  add_enum "pg_query.CoercionForm" do
2254
2393
  value :COERCION_FORM_UNDEFINED, 0
2255
2394
  value :COERCE_EXPLICIT_CALL, 1
2256
2395
  value :COERCE_EXPLICIT_CAST, 2
2257
2396
  value :COERCE_IMPLICIT_CAST, 3
2397
+ value :COERCE_SQL_SYNTAX, 4
2258
2398
  end
2259
2399
  add_enum "pg_query.BoolExprType" do
2260
2400
  value :BOOL_EXPR_TYPE_UNDEFINED, 0
@@ -2342,8 +2482,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2342
2482
  value :CMD_UPDATE, 3
2343
2483
  value :CMD_INSERT, 4
2344
2484
  value :CMD_DELETE, 5
2345
- value :CMD_UTILITY, 6
2346
- value :CMD_NOTHING, 7
2485
+ value :CMD_MERGE, 6
2486
+ value :CMD_UTILITY, 7
2487
+ value :CMD_NOTHING, 8
2347
2488
  end
2348
2489
  add_enum "pg_query.JoinType" do
2349
2490
  value :JOIN_TYPE_UNDEFINED, 0
@@ -2480,442 +2621,456 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
2480
2621
  value :ARRAY, 293
2481
2622
  value :AS, 294
2482
2623
  value :ASC, 295
2483
- value :ASSERTION, 296
2484
- value :ASSIGNMENT, 297
2485
- value :ASYMMETRIC, 298
2486
- value :AT, 299
2487
- value :ATTACH, 300
2488
- value :ATTRIBUTE, 301
2489
- value :AUTHORIZATION, 302
2490
- value :BACKWARD, 303
2491
- value :BEFORE, 304
2492
- value :BEGIN_P, 305
2493
- value :BETWEEN, 306
2494
- value :BIGINT, 307
2495
- value :BINARY, 308
2496
- value :BIT, 309
2497
- value :BOOLEAN_P, 310
2498
- value :BOTH, 311
2499
- value :BY, 312
2500
- value :CACHE, 313
2501
- value :CALL, 314
2502
- value :CALLED, 315
2503
- value :CASCADE, 316
2504
- value :CASCADED, 317
2505
- value :CASE, 318
2506
- value :CAST, 319
2507
- value :CATALOG_P, 320
2508
- value :CHAIN, 321
2509
- value :CHAR_P, 322
2510
- value :CHARACTER, 323
2511
- value :CHARACTERISTICS, 324
2512
- value :CHECK, 325
2513
- value :CHECKPOINT, 326
2514
- value :CLASS, 327
2515
- value :CLOSE, 328
2516
- value :CLUSTER, 329
2517
- value :COALESCE, 330
2518
- value :COLLATE, 331
2519
- value :COLLATION, 332
2520
- value :COLUMN, 333
2521
- value :COLUMNS, 334
2522
- value :COMMENT, 335
2523
- value :COMMENTS, 336
2524
- value :COMMIT, 337
2525
- value :COMMITTED, 338
2526
- value :CONCURRENTLY, 339
2527
- value :CONFIGURATION, 340
2528
- value :CONFLICT, 341
2529
- value :CONNECTION, 342
2530
- value :CONSTRAINT, 343
2531
- value :CONSTRAINTS, 344
2532
- value :CONTENT_P, 345
2533
- value :CONTINUE_P, 346
2534
- value :CONVERSION_P, 347
2535
- value :COPY, 348
2536
- value :COST, 349
2537
- value :CREATE, 350
2538
- value :CROSS, 351
2539
- value :CSV, 352
2540
- value :CUBE, 353
2541
- value :CURRENT_P, 354
2542
- value :CURRENT_CATALOG, 355
2543
- value :CURRENT_DATE, 356
2544
- value :CURRENT_ROLE, 357
2545
- value :CURRENT_SCHEMA, 358
2546
- value :CURRENT_TIME, 359
2547
- value :CURRENT_TIMESTAMP, 360
2548
- value :CURRENT_USER, 361
2549
- value :CURSOR, 362
2550
- value :CYCLE, 363
2551
- value :DATA_P, 364
2552
- value :DATABASE, 365
2553
- value :DAY_P, 366
2554
- value :DEALLOCATE, 367
2555
- value :DEC, 368
2556
- value :DECIMAL_P, 369
2557
- value :DECLARE, 370
2558
- value :DEFAULT, 371
2559
- value :DEFAULTS, 372
2560
- value :DEFERRABLE, 373
2561
- value :DEFERRED, 374
2562
- value :DEFINER, 375
2563
- value :DELETE_P, 376
2564
- value :DELIMITER, 377
2565
- value :DELIMITERS, 378
2566
- value :DEPENDS, 379
2567
- value :DESC, 380
2568
- value :DETACH, 381
2569
- value :DICTIONARY, 382
2570
- value :DISABLE_P, 383
2571
- value :DISCARD, 384
2572
- value :DISTINCT, 385
2573
- value :DO, 386
2574
- value :DOCUMENT_P, 387
2575
- value :DOMAIN_P, 388
2576
- value :DOUBLE_P, 389
2577
- value :DROP, 390
2578
- value :EACH, 391
2579
- value :ELSE, 392
2580
- value :ENABLE_P, 393
2581
- value :ENCODING, 394
2582
- value :ENCRYPTED, 395
2583
- value :END_P, 396
2584
- value :ENUM_P, 397
2585
- value :ESCAPE, 398
2586
- value :EVENT, 399
2587
- value :EXCEPT, 400
2588
- value :EXCLUDE, 401
2589
- value :EXCLUDING, 402
2590
- value :EXCLUSIVE, 403
2591
- value :EXECUTE, 404
2592
- value :EXISTS, 405
2593
- value :EXPLAIN, 406
2594
- value :EXPRESSION, 407
2595
- value :EXTENSION, 408
2596
- value :EXTERNAL, 409
2597
- value :EXTRACT, 410
2598
- value :FALSE_P, 411
2599
- value :FAMILY, 412
2600
- value :FETCH, 413
2601
- value :FILTER, 414
2602
- value :FIRST_P, 415
2603
- value :FLOAT_P, 416
2604
- value :FOLLOWING, 417
2605
- value :FOR, 418
2606
- value :FORCE, 419
2607
- value :FOREIGN, 420
2608
- value :FORWARD, 421
2609
- value :FREEZE, 422
2610
- value :FROM, 423
2611
- value :FULL, 424
2612
- value :FUNCTION, 425
2613
- value :FUNCTIONS, 426
2614
- value :GENERATED, 427
2615
- value :GLOBAL, 428
2616
- value :GRANT, 429
2617
- value :GRANTED, 430
2618
- value :GREATEST, 431
2619
- value :GROUP_P, 432
2620
- value :GROUPING, 433
2621
- value :GROUPS, 434
2622
- value :HANDLER, 435
2623
- value :HAVING, 436
2624
- value :HEADER_P, 437
2625
- value :HOLD, 438
2626
- value :HOUR_P, 439
2627
- value :IDENTITY_P, 440
2628
- value :IF_P, 441
2629
- value :ILIKE, 442
2630
- value :IMMEDIATE, 443
2631
- value :IMMUTABLE, 444
2632
- value :IMPLICIT_P, 445
2633
- value :IMPORT_P, 446
2634
- value :IN_P, 447
2635
- value :INCLUDE, 448
2636
- value :INCLUDING, 449
2637
- value :INCREMENT, 450
2638
- value :INDEX, 451
2639
- value :INDEXES, 452
2640
- value :INHERIT, 453
2641
- value :INHERITS, 454
2642
- value :INITIALLY, 455
2643
- value :INLINE_P, 456
2644
- value :INNER_P, 457
2645
- value :INOUT, 458
2646
- value :INPUT_P, 459
2647
- value :INSENSITIVE, 460
2648
- value :INSERT, 461
2649
- value :INSTEAD, 462
2650
- value :INT_P, 463
2651
- value :INTEGER, 464
2652
- value :INTERSECT, 465
2653
- value :INTERVAL, 466
2654
- value :INTO, 467
2655
- value :INVOKER, 468
2656
- value :IS, 469
2657
- value :ISNULL, 470
2658
- value :ISOLATION, 471
2659
- value :JOIN, 472
2660
- value :KEY, 473
2661
- value :LABEL, 474
2662
- value :LANGUAGE, 475
2663
- value :LARGE_P, 476
2664
- value :LAST_P, 477
2665
- value :LATERAL_P, 478
2666
- value :LEADING, 479
2667
- value :LEAKPROOF, 480
2668
- value :LEAST, 481
2669
- value :LEFT, 482
2670
- value :LEVEL, 483
2671
- value :LIKE, 484
2672
- value :LIMIT, 485
2673
- value :LISTEN, 486
2674
- value :LOAD, 487
2675
- value :LOCAL, 488
2676
- value :LOCALTIME, 489
2677
- value :LOCALTIMESTAMP, 490
2678
- value :LOCATION, 491
2679
- value :LOCK_P, 492
2680
- value :LOCKED, 493
2681
- value :LOGGED, 494
2682
- value :MAPPING, 495
2683
- value :MATCH, 496
2684
- value :MATERIALIZED, 497
2685
- value :MAXVALUE, 498
2686
- value :METHOD, 499
2687
- value :MINUTE_P, 500
2688
- value :MINVALUE, 501
2689
- value :MODE, 502
2690
- value :MONTH_P, 503
2691
- value :MOVE, 504
2692
- value :NAME_P, 505
2693
- value :NAMES, 506
2694
- value :NATIONAL, 507
2695
- value :NATURAL, 508
2696
- value :NCHAR, 509
2697
- value :NEW, 510
2698
- value :NEXT, 511
2699
- value :NFC, 512
2700
- value :NFD, 513
2701
- value :NFKC, 514
2702
- value :NFKD, 515
2703
- value :NO, 516
2704
- value :NONE, 517
2705
- value :NORMALIZE, 518
2706
- value :NORMALIZED, 519
2707
- value :NOT, 520
2708
- value :NOTHING, 521
2709
- value :NOTIFY, 522
2710
- value :NOTNULL, 523
2711
- value :NOWAIT, 524
2712
- value :NULL_P, 525
2713
- value :NULLIF, 526
2714
- value :NULLS_P, 527
2715
- value :NUMERIC, 528
2716
- value :OBJECT_P, 529
2717
- value :OF, 530
2718
- value :OFF, 531
2719
- value :OFFSET, 532
2720
- value :OIDS, 533
2721
- value :OLD, 534
2722
- value :ON, 535
2723
- value :ONLY, 536
2724
- value :OPERATOR, 537
2725
- value :OPTION, 538
2726
- value :OPTIONS, 539
2727
- value :OR, 540
2728
- value :ORDER, 541
2729
- value :ORDINALITY, 542
2730
- value :OTHERS, 543
2731
- value :OUT_P, 544
2732
- value :OUTER_P, 545
2733
- value :OVER, 546
2734
- value :OVERLAPS, 547
2735
- value :OVERLAY, 548
2736
- value :OVERRIDING, 549
2737
- value :OWNED, 550
2738
- value :OWNER, 551
2739
- value :PARALLEL, 552
2740
- value :PARSER, 553
2741
- value :PARTIAL, 554
2742
- value :PARTITION, 555
2743
- value :PASSING, 556
2744
- value :PASSWORD, 557
2745
- value :PLACING, 558
2746
- value :PLANS, 559
2747
- value :POLICY, 560
2748
- value :POSITION, 561
2749
- value :PRECEDING, 562
2750
- value :PRECISION, 563
2751
- value :PRESERVE, 564
2752
- value :PREPARE, 565
2753
- value :PREPARED, 566
2754
- value :PRIMARY, 567
2755
- value :PRIOR, 568
2756
- value :PRIVILEGES, 569
2757
- value :PROCEDURAL, 570
2758
- value :PROCEDURE, 571
2759
- value :PROCEDURES, 572
2760
- value :PROGRAM, 573
2761
- value :PUBLICATION, 574
2762
- value :QUOTE, 575
2763
- value :RANGE, 576
2764
- value :READ, 577
2765
- value :REAL, 578
2766
- value :REASSIGN, 579
2767
- value :RECHECK, 580
2768
- value :RECURSIVE, 581
2769
- value :REF, 582
2770
- value :REFERENCES, 583
2771
- value :REFERENCING, 584
2772
- value :REFRESH, 585
2773
- value :REINDEX, 586
2774
- value :RELATIVE_P, 587
2775
- value :RELEASE, 588
2776
- value :RENAME, 589
2777
- value :REPEATABLE, 590
2778
- value :REPLACE, 591
2779
- value :REPLICA, 592
2780
- value :RESET, 593
2781
- value :RESTART, 594
2782
- value :RESTRICT, 595
2783
- value :RETURNING, 596
2784
- value :RETURNS, 597
2785
- value :REVOKE, 598
2786
- value :RIGHT, 599
2787
- value :ROLE, 600
2788
- value :ROLLBACK, 601
2789
- value :ROLLUP, 602
2790
- value :ROUTINE, 603
2791
- value :ROUTINES, 604
2792
- value :ROW, 605
2793
- value :ROWS, 606
2794
- value :RULE, 607
2795
- value :SAVEPOINT, 608
2796
- value :SCHEMA, 609
2797
- value :SCHEMAS, 610
2798
- value :SCROLL, 611
2799
- value :SEARCH, 612
2800
- value :SECOND_P, 613
2801
- value :SECURITY, 614
2802
- value :SELECT, 615
2803
- value :SEQUENCE, 616
2804
- value :SEQUENCES, 617
2805
- value :SERIALIZABLE, 618
2806
- value :SERVER, 619
2807
- value :SESSION, 620
2808
- value :SESSION_USER, 621
2809
- value :SET, 622
2810
- value :SETS, 623
2811
- value :SETOF, 624
2812
- value :SHARE, 625
2813
- value :SHOW, 626
2814
- value :SIMILAR, 627
2815
- value :SIMPLE, 628
2816
- value :SKIP, 629
2817
- value :SMALLINT, 630
2818
- value :SNAPSHOT, 631
2819
- value :SOME, 632
2820
- value :SQL_P, 633
2821
- value :STABLE, 634
2822
- value :STANDALONE_P, 635
2823
- value :START, 636
2824
- value :STATEMENT, 637
2825
- value :STATISTICS, 638
2826
- value :STDIN, 639
2827
- value :STDOUT, 640
2828
- value :STORAGE, 641
2829
- value :STORED, 642
2830
- value :STRICT_P, 643
2831
- value :STRIP_P, 644
2832
- value :SUBSCRIPTION, 645
2833
- value :SUBSTRING, 646
2834
- value :SUPPORT, 647
2835
- value :SYMMETRIC, 648
2836
- value :SYSID, 649
2837
- value :SYSTEM_P, 650
2838
- value :TABLE, 651
2839
- value :TABLES, 652
2840
- value :TABLESAMPLE, 653
2841
- value :TABLESPACE, 654
2842
- value :TEMP, 655
2843
- value :TEMPLATE, 656
2844
- value :TEMPORARY, 657
2845
- value :TEXT_P, 658
2846
- value :THEN, 659
2847
- value :TIES, 660
2848
- value :TIME, 661
2849
- value :TIMESTAMP, 662
2850
- value :TO, 663
2851
- value :TRAILING, 664
2852
- value :TRANSACTION, 665
2853
- value :TRANSFORM, 666
2854
- value :TREAT, 667
2855
- value :TRIGGER, 668
2856
- value :TRIM, 669
2857
- value :TRUE_P, 670
2858
- value :TRUNCATE, 671
2859
- value :TRUSTED, 672
2860
- value :TYPE_P, 673
2861
- value :TYPES_P, 674
2862
- value :UESCAPE, 675
2863
- value :UNBOUNDED, 676
2864
- value :UNCOMMITTED, 677
2865
- value :UNENCRYPTED, 678
2866
- value :UNION, 679
2867
- value :UNIQUE, 680
2868
- value :UNKNOWN, 681
2869
- value :UNLISTEN, 682
2870
- value :UNLOGGED, 683
2871
- value :UNTIL, 684
2872
- value :UPDATE, 685
2873
- value :USER, 686
2874
- value :USING, 687
2875
- value :VACUUM, 688
2876
- value :VALID, 689
2877
- value :VALIDATE, 690
2878
- value :VALIDATOR, 691
2879
- value :VALUE_P, 692
2880
- value :VALUES, 693
2881
- value :VARCHAR, 694
2882
- value :VARIADIC, 695
2883
- value :VARYING, 696
2884
- value :VERBOSE, 697
2885
- value :VERSION_P, 698
2886
- value :VIEW, 699
2887
- value :VIEWS, 700
2888
- value :VOLATILE, 701
2889
- value :WHEN, 702
2890
- value :WHERE, 703
2891
- value :WHITESPACE_P, 704
2892
- value :WINDOW, 705
2893
- value :WITH, 706
2894
- value :WITHIN, 707
2895
- value :WITHOUT, 708
2896
- value :WORK, 709
2897
- value :WRAPPER, 710
2898
- value :WRITE, 711
2899
- value :XML_P, 712
2900
- value :XMLATTRIBUTES, 713
2901
- value :XMLCONCAT, 714
2902
- value :XMLELEMENT, 715
2903
- value :XMLEXISTS, 716
2904
- value :XMLFOREST, 717
2905
- value :XMLNAMESPACES, 718
2906
- value :XMLPARSE, 719
2907
- value :XMLPI, 720
2908
- value :XMLROOT, 721
2909
- value :XMLSERIALIZE, 722
2910
- value :XMLTABLE, 723
2911
- value :YEAR_P, 724
2912
- value :YES_P, 725
2913
- value :ZONE, 726
2914
- value :NOT_LA, 727
2915
- value :NULLS_LA, 728
2916
- value :WITH_LA, 729
2917
- value :POSTFIXOP, 730
2918
- 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
2919
3074
  end
2920
3075
  end
2921
3076
  end
@@ -2926,16 +3081,16 @@ module PgQuery
2926
3081
  Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Node").msgclass
2927
3082
  Integer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Integer").msgclass
2928
3083
  Float = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Float").msgclass
3084
+ Boolean = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Boolean").msgclass
2929
3085
  String = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.String").msgclass
2930
3086
  BitString = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BitString").msgclass
2931
- Null = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Null").msgclass
2932
3087
  List = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.List").msgclass
2933
3088
  OidList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OidList").msgclass
2934
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
2935
3091
  Alias = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Alias").msgclass
2936
3092
  RangeVar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeVar").msgclass
2937
3093
  TableFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableFunc").msgclass
2938
- Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Expr").msgclass
2939
3094
  Var = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Var").msgclass
2940
3095
  Param = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Param").msgclass
2941
3096
  Aggref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Aggref").msgclass
@@ -2983,12 +3138,16 @@ module PgQuery
2983
3138
  FromExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FromExpr").msgclass
2984
3139
  OnConflictExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictExpr").msgclass
2985
3140
  IntoClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IntoClause").msgclass
3141
+ MergeAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MergeAction").msgclass
2986
3142
  RawStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RawStmt").msgclass
2987
3143
  Query = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Query").msgclass
2988
3144
  InsertStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InsertStmt").msgclass
2989
3145
  DeleteStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeleteStmt").msgclass
2990
3146
  UpdateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.UpdateStmt").msgclass
3147
+ MergeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MergeStmt").msgclass
2991
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
2992
3151
  AlterTableStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableStmt").msgclass
2993
3152
  AlterTableCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableCmd").msgclass
2994
3153
  AlterDomainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDomainStmt").msgclass
@@ -3039,6 +3198,7 @@ module PgQuery
3039
3198
  CheckPointStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CheckPointStmt").msgclass
3040
3199
  CreateSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSchemaStmt").msgclass
3041
3200
  AlterDatabaseStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseStmt").msgclass
3201
+ AlterDatabaseRefreshCollStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseRefreshCollStmt").msgclass
3042
3202
  AlterDatabaseSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseSetStmt").msgclass
3043
3203
  AlterRoleSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterRoleSetStmt").msgclass
3044
3204
  CreateConversionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateConversionStmt").msgclass
@@ -3101,7 +3261,6 @@ module PgQuery
3101
3261
  A_Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr").msgclass
3102
3262
  ColumnRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnRef").msgclass
3103
3263
  ParamRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParamRef").msgclass
3104
- A_Const = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Const").msgclass
3105
3264
  FuncCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FuncCall").msgclass
3106
3265
  A_Star = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Star").msgclass
3107
3266
  A_Indices = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Indices").msgclass
@@ -3121,6 +3280,7 @@ module PgQuery
3121
3280
  TypeName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TypeName").msgclass
3122
3281
  ColumnDef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnDef").msgclass
3123
3282
  IndexElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IndexElem").msgclass
3283
+ StatsElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.StatsElem").msgclass
3124
3284
  Constraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Constraint").msgclass
3125
3285
  DefElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefElem").msgclass
3126
3286
  RangeTblEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblEntry").msgclass
@@ -3141,7 +3301,10 @@ module PgQuery
3141
3301
  WithClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WithClause").msgclass
3142
3302
  InferClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InferClause").msgclass
3143
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
3144
3306
  CommonTableExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CommonTableExpr").msgclass
3307
+ MergeWhenClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MergeWhenClause").msgclass
3145
3308
  RoleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpec").msgclass
3146
3309
  TriggerTransition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TriggerTransition").msgclass
3147
3310
  PartitionElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionElem").msgclass
@@ -3150,6 +3313,8 @@ module PgQuery
3150
3313
  PartitionRangeDatum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionRangeDatum").msgclass
3151
3314
  PartitionCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionCmd").msgclass
3152
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
3153
3318
  InlineCodeBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InlineCodeBlock").msgclass
3154
3319
  CallContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CallContext").msgclass
3155
3320
  ScanToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScanToken").msgclass
@@ -3157,6 +3322,7 @@ module PgQuery
3157
3322
  QuerySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.QuerySource").enummodule
3158
3323
  SortByDir = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByDir").enummodule
3159
3324
  SortByNulls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByNulls").enummodule
3325
+ SetQuantifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetQuantifier").enummodule
3160
3326
  A_Expr_Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr_Kind").enummodule
3161
3327
  RoleSpecType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpecType").enummodule
3162
3328
  TableLikeOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableLikeOption").enummodule
@@ -3179,10 +3345,11 @@ module PgQuery
3179
3345
  FunctionParameterMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FunctionParameterMode").enummodule
3180
3346
  TransactionStmtKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TransactionStmtKind").enummodule
3181
3347
  ViewCheckOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ViewCheckOption").enummodule
3182
- ClusterOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClusterOption").enummodule
3183
3348
  DiscardMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DiscardMode").enummodule
3184
3349
  ReindexObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReindexObjectType").enummodule
3185
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
3186
3353
  AlterSubscriptionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSubscriptionType").enummodule
3187
3354
  OnCommitAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnCommitAction").enummodule
3188
3355
  ParamKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParamKind").enummodule