pg_query 1.3.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (480) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +237 -117
  3. data/README.md +84 -65
  4. data/Rakefile +71 -5
  5. data/ext/pg_query/extconf.rb +4 -38
  6. data/ext/pg_query/guc-file.c +0 -0
  7. data/ext/pg_query/include/access/amapi.h +246 -0
  8. data/ext/pg_query/include/access/attmap.h +52 -0
  9. data/ext/pg_query/include/access/attnum.h +64 -0
  10. data/ext/pg_query/include/access/clog.h +61 -0
  11. data/ext/pg_query/include/access/commit_ts.h +77 -0
  12. data/ext/pg_query/include/access/detoast.h +92 -0
  13. data/ext/pg_query/include/access/genam.h +228 -0
  14. data/ext/pg_query/include/access/gin.h +78 -0
  15. data/ext/pg_query/include/access/htup.h +89 -0
  16. data/ext/pg_query/include/access/htup_details.h +819 -0
  17. data/ext/pg_query/include/access/itup.h +161 -0
  18. data/ext/pg_query/include/access/parallel.h +82 -0
  19. data/ext/pg_query/include/access/printtup.h +35 -0
  20. data/ext/pg_query/include/access/relation.h +28 -0
  21. data/ext/pg_query/include/access/relscan.h +176 -0
  22. data/ext/pg_query/include/access/rmgr.h +35 -0
  23. data/ext/pg_query/include/access/rmgrlist.h +49 -0
  24. data/ext/pg_query/include/access/sdir.h +58 -0
  25. data/ext/pg_query/include/access/skey.h +151 -0
  26. data/ext/pg_query/include/access/stratnum.h +83 -0
  27. data/ext/pg_query/include/access/sysattr.h +29 -0
  28. data/ext/pg_query/include/access/table.h +27 -0
  29. data/ext/pg_query/include/access/tableam.h +1825 -0
  30. data/ext/pg_query/include/access/transam.h +265 -0
  31. data/ext/pg_query/include/access/tupconvert.h +51 -0
  32. data/ext/pg_query/include/access/tupdesc.h +154 -0
  33. data/ext/pg_query/include/access/tupmacs.h +247 -0
  34. data/ext/pg_query/include/access/twophase.h +61 -0
  35. data/ext/pg_query/include/access/xact.h +463 -0
  36. data/ext/pg_query/include/access/xlog.h +398 -0
  37. data/ext/pg_query/include/access/xlog_internal.h +330 -0
  38. data/ext/pg_query/include/access/xlogdefs.h +109 -0
  39. data/ext/pg_query/include/access/xloginsert.h +64 -0
  40. data/ext/pg_query/include/access/xlogreader.h +327 -0
  41. data/ext/pg_query/include/access/xlogrecord.h +227 -0
  42. data/ext/pg_query/include/bootstrap/bootstrap.h +62 -0
  43. data/ext/pg_query/include/c.h +1334 -0
  44. data/ext/pg_query/include/catalog/catalog.h +42 -0
  45. data/ext/pg_query/include/catalog/catversion.h +58 -0
  46. data/ext/pg_query/include/catalog/dependency.h +275 -0
  47. data/ext/pg_query/include/catalog/genbki.h +64 -0
  48. data/ext/pg_query/include/catalog/index.h +199 -0
  49. data/ext/pg_query/include/catalog/indexing.h +366 -0
  50. data/ext/pg_query/include/catalog/namespace.h +188 -0
  51. data/ext/pg_query/include/catalog/objectaccess.h +197 -0
  52. data/ext/pg_query/include/catalog/objectaddress.h +84 -0
  53. data/ext/pg_query/include/catalog/pg_aggregate.h +176 -0
  54. data/ext/pg_query/include/catalog/pg_aggregate_d.h +77 -0
  55. data/ext/pg_query/include/catalog/pg_am.h +60 -0
  56. data/ext/pg_query/include/catalog/pg_am_d.h +45 -0
  57. data/ext/pg_query/include/catalog/pg_attribute.h +204 -0
  58. data/ext/pg_query/include/catalog/pg_attribute_d.h +59 -0
  59. data/ext/pg_query/include/catalog/pg_authid.h +58 -0
  60. data/ext/pg_query/include/catalog/pg_authid_d.h +49 -0
  61. data/ext/pg_query/include/catalog/pg_class.h +200 -0
  62. data/ext/pg_query/include/catalog/pg_class_d.h +103 -0
  63. data/ext/pg_query/include/catalog/pg_collation.h +73 -0
  64. data/ext/pg_query/include/catalog/pg_collation_d.h +45 -0
  65. data/ext/pg_query/include/catalog/pg_constraint.h +247 -0
  66. data/ext/pg_query/include/catalog/pg_constraint_d.h +67 -0
  67. data/ext/pg_query/include/catalog/pg_control.h +250 -0
  68. data/ext/pg_query/include/catalog/pg_conversion.h +72 -0
  69. data/ext/pg_query/include/catalog/pg_conversion_d.h +35 -0
  70. data/ext/pg_query/include/catalog/pg_depend.h +73 -0
  71. data/ext/pg_query/include/catalog/pg_depend_d.h +34 -0
  72. data/ext/pg_query/include/catalog/pg_event_trigger.h +51 -0
  73. data/ext/pg_query/include/catalog/pg_event_trigger_d.h +34 -0
  74. data/ext/pg_query/include/catalog/pg_index.h +80 -0
  75. data/ext/pg_query/include/catalog/pg_index_d.h +56 -0
  76. data/ext/pg_query/include/catalog/pg_language.h +67 -0
  77. data/ext/pg_query/include/catalog/pg_language_d.h +39 -0
  78. data/ext/pg_query/include/catalog/pg_namespace.h +59 -0
  79. data/ext/pg_query/include/catalog/pg_namespace_d.h +34 -0
  80. data/ext/pg_query/include/catalog/pg_opclass.h +85 -0
  81. data/ext/pg_query/include/catalog/pg_opclass_d.h +49 -0
  82. data/ext/pg_query/include/catalog/pg_operator.h +102 -0
  83. data/ext/pg_query/include/catalog/pg_operator_d.h +106 -0
  84. data/ext/pg_query/include/catalog/pg_opfamily.h +60 -0
  85. data/ext/pg_query/include/catalog/pg_opfamily_d.h +47 -0
  86. data/ext/pg_query/include/catalog/pg_partitioned_table.h +63 -0
  87. data/ext/pg_query/include/catalog/pg_partitioned_table_d.h +35 -0
  88. data/ext/pg_query/include/catalog/pg_proc.h +211 -0
  89. data/ext/pg_query/include/catalog/pg_proc_d.h +99 -0
  90. data/ext/pg_query/include/catalog/pg_publication.h +115 -0
  91. data/ext/pg_query/include/catalog/pg_publication_d.h +36 -0
  92. data/ext/pg_query/include/catalog/pg_replication_origin.h +57 -0
  93. data/ext/pg_query/include/catalog/pg_replication_origin_d.h +29 -0
  94. data/ext/pg_query/include/catalog/pg_statistic.h +275 -0
  95. data/ext/pg_query/include/catalog/pg_statistic_d.h +194 -0
  96. data/ext/pg_query/include/catalog/pg_statistic_ext.h +74 -0
  97. data/ext/pg_query/include/catalog/pg_statistic_ext_d.h +40 -0
  98. data/ext/pg_query/include/catalog/pg_transform.h +45 -0
  99. data/ext/pg_query/include/catalog/pg_transform_d.h +32 -0
  100. data/ext/pg_query/include/catalog/pg_trigger.h +137 -0
  101. data/ext/pg_query/include/catalog/pg_trigger_d.h +106 -0
  102. data/ext/pg_query/include/catalog/pg_ts_config.h +50 -0
  103. data/ext/pg_query/include/catalog/pg_ts_config_d.h +32 -0
  104. data/ext/pg_query/include/catalog/pg_ts_dict.h +54 -0
  105. data/ext/pg_query/include/catalog/pg_ts_dict_d.h +33 -0
  106. data/ext/pg_query/include/catalog/pg_ts_parser.h +57 -0
  107. data/ext/pg_query/include/catalog/pg_ts_parser_d.h +35 -0
  108. data/ext/pg_query/include/catalog/pg_ts_template.h +48 -0
  109. data/ext/pg_query/include/catalog/pg_ts_template_d.h +32 -0
  110. data/ext/pg_query/include/catalog/pg_type.h +372 -0
  111. data/ext/pg_query/include/catalog/pg_type_d.h +285 -0
  112. data/ext/pg_query/include/catalog/storage.h +48 -0
  113. data/ext/pg_query/include/commands/async.h +54 -0
  114. data/ext/pg_query/include/commands/dbcommands.h +35 -0
  115. data/ext/pg_query/include/commands/defrem.h +173 -0
  116. data/ext/pg_query/include/commands/event_trigger.h +88 -0
  117. data/ext/pg_query/include/commands/explain.h +127 -0
  118. data/ext/pg_query/include/commands/prepare.h +61 -0
  119. data/ext/pg_query/include/commands/tablespace.h +67 -0
  120. data/ext/pg_query/include/commands/trigger.h +277 -0
  121. data/ext/pg_query/include/commands/user.h +37 -0
  122. data/ext/pg_query/include/commands/vacuum.h +293 -0
  123. data/ext/pg_query/include/commands/variable.h +38 -0
  124. data/ext/pg_query/include/common/file_perm.h +56 -0
  125. data/ext/pg_query/include/common/hashfn.h +104 -0
  126. data/ext/pg_query/include/common/ip.h +37 -0
  127. data/ext/pg_query/include/common/keywords.h +33 -0
  128. data/ext/pg_query/include/common/kwlookup.h +44 -0
  129. data/ext/pg_query/include/common/relpath.h +90 -0
  130. data/ext/pg_query/include/common/string.h +19 -0
  131. data/ext/pg_query/include/common/unicode_combining_table.h +196 -0
  132. data/ext/pg_query/include/datatype/timestamp.h +197 -0
  133. data/ext/pg_query/include/executor/execdesc.h +70 -0
  134. data/ext/pg_query/include/executor/executor.h +620 -0
  135. data/ext/pg_query/include/executor/functions.h +41 -0
  136. data/ext/pg_query/include/executor/instrument.h +101 -0
  137. data/ext/pg_query/include/executor/spi.h +175 -0
  138. data/ext/pg_query/include/executor/tablefunc.h +67 -0
  139. data/ext/pg_query/include/executor/tuptable.h +487 -0
  140. data/ext/pg_query/include/fmgr.h +775 -0
  141. data/ext/pg_query/include/funcapi.h +348 -0
  142. data/ext/pg_query/include/getaddrinfo.h +162 -0
  143. data/ext/pg_query/include/jit/jit.h +105 -0
  144. data/ext/pg_query/include/kwlist_d.h +1072 -0
  145. data/ext/pg_query/include/lib/ilist.h +727 -0
  146. data/ext/pg_query/include/lib/pairingheap.h +102 -0
  147. data/ext/pg_query/include/lib/simplehash.h +1059 -0
  148. data/ext/pg_query/include/lib/stringinfo.h +161 -0
  149. data/ext/pg_query/include/libpq/auth.h +29 -0
  150. data/ext/pg_query/include/libpq/crypt.h +46 -0
  151. data/ext/pg_query/include/libpq/hba.h +140 -0
  152. data/ext/pg_query/include/libpq/libpq-be.h +326 -0
  153. data/ext/pg_query/include/libpq/libpq.h +133 -0
  154. data/ext/pg_query/include/libpq/pqcomm.h +208 -0
  155. data/ext/pg_query/include/libpq/pqformat.h +210 -0
  156. data/ext/pg_query/include/libpq/pqsignal.h +42 -0
  157. data/ext/pg_query/include/mb/pg_wchar.h +672 -0
  158. data/ext/pg_query/include/mb/stringinfo_mb.h +24 -0
  159. data/ext/pg_query/include/miscadmin.h +476 -0
  160. data/ext/pg_query/include/nodes/bitmapset.h +122 -0
  161. data/ext/pg_query/include/nodes/execnodes.h +2523 -0
  162. data/ext/pg_query/include/nodes/extensible.h +160 -0
  163. data/ext/pg_query/include/nodes/lockoptions.h +61 -0
  164. data/ext/pg_query/include/nodes/makefuncs.h +108 -0
  165. data/ext/pg_query/include/nodes/memnodes.h +108 -0
  166. data/ext/pg_query/include/nodes/nodeFuncs.h +162 -0
  167. data/ext/pg_query/include/nodes/nodes.h +842 -0
  168. data/ext/pg_query/include/nodes/params.h +170 -0
  169. data/ext/pg_query/include/nodes/parsenodes.h +3579 -0
  170. data/ext/pg_query/include/nodes/pathnodes.h +2556 -0
  171. data/ext/pg_query/include/nodes/pg_list.h +605 -0
  172. data/ext/pg_query/include/nodes/plannodes.h +1251 -0
  173. data/ext/pg_query/include/nodes/primnodes.h +1541 -0
  174. data/ext/pg_query/include/nodes/print.h +34 -0
  175. data/ext/pg_query/include/nodes/tidbitmap.h +75 -0
  176. data/ext/pg_query/include/nodes/value.h +61 -0
  177. data/ext/pg_query/include/optimizer/cost.h +206 -0
  178. data/ext/pg_query/include/optimizer/geqo.h +88 -0
  179. data/ext/pg_query/include/optimizer/geqo_gene.h +45 -0
  180. data/ext/pg_query/include/optimizer/optimizer.h +199 -0
  181. data/ext/pg_query/include/optimizer/paths.h +257 -0
  182. data/ext/pg_query/include/optimizer/planmain.h +119 -0
  183. data/ext/pg_query/include/parser/analyze.h +49 -0
  184. data/ext/pg_query/include/parser/gram.h +1067 -0
  185. data/ext/pg_query/include/parser/gramparse.h +75 -0
  186. data/ext/pg_query/include/parser/kwlist.h +477 -0
  187. data/ext/pg_query/include/parser/parse_agg.h +68 -0
  188. data/ext/pg_query/include/parser/parse_clause.h +54 -0
  189. data/ext/pg_query/include/parser/parse_coerce.h +97 -0
  190. data/ext/pg_query/include/parser/parse_collate.h +27 -0
  191. data/ext/pg_query/include/parser/parse_expr.h +26 -0
  192. data/ext/pg_query/include/parser/parse_func.h +73 -0
  193. data/ext/pg_query/include/parser/parse_node.h +327 -0
  194. data/ext/pg_query/include/parser/parse_oper.h +67 -0
  195. data/ext/pg_query/include/parser/parse_relation.h +123 -0
  196. data/ext/pg_query/include/parser/parse_target.h +46 -0
  197. data/ext/pg_query/include/parser/parse_type.h +60 -0
  198. data/ext/pg_query/include/parser/parser.h +41 -0
  199. data/ext/pg_query/include/parser/parsetree.h +61 -0
  200. data/ext/pg_query/include/parser/scanner.h +152 -0
  201. data/ext/pg_query/include/parser/scansup.h +30 -0
  202. data/ext/pg_query/include/partitioning/partdefs.h +26 -0
  203. data/ext/pg_query/include/pg_config.h +989 -0
  204. data/ext/pg_query/include/pg_config_ext.h +8 -0
  205. data/ext/pg_query/include/pg_config_manual.h +357 -0
  206. data/ext/pg_query/include/pg_config_os.h +8 -0
  207. data/ext/pg_query/include/pg_getopt.h +56 -0
  208. data/ext/pg_query/include/pg_query.h +121 -0
  209. data/ext/pg_query/include/pg_query_enum_defs.c +2454 -0
  210. data/ext/pg_query/include/pg_query_fingerprint_conds.c +875 -0
  211. data/ext/pg_query/include/pg_query_fingerprint_defs.c +12413 -0
  212. data/ext/pg_query/include/pg_query_json_helper.c +61 -0
  213. data/ext/pg_query/include/pg_query_outfuncs_conds.c +686 -0
  214. data/ext/pg_query/include/pg_query_outfuncs_defs.c +2438 -0
  215. data/ext/pg_query/include/pg_query_readfuncs_conds.c +222 -0
  216. data/ext/pg_query/include/pg_query_readfuncs_defs.c +2879 -0
  217. data/ext/pg_query/include/pg_trace.h +17 -0
  218. data/ext/pg_query/include/pgstat.h +1487 -0
  219. data/ext/pg_query/include/pgtime.h +84 -0
  220. data/ext/pg_query/include/pl_gram.h +385 -0
  221. data/ext/pg_query/include/pl_reserved_kwlist.h +52 -0
  222. data/ext/pg_query/include/pl_reserved_kwlist_d.h +114 -0
  223. data/ext/pg_query/include/pl_unreserved_kwlist.h +112 -0
  224. data/ext/pg_query/include/pl_unreserved_kwlist_d.h +246 -0
  225. data/ext/pg_query/include/plerrcodes.h +990 -0
  226. data/ext/pg_query/include/plpgsql.h +1347 -0
  227. data/ext/pg_query/include/port.h +524 -0
  228. data/ext/pg_query/include/port/atomics.h +524 -0
  229. data/ext/pg_query/include/port/atomics/arch-arm.h +26 -0
  230. data/ext/pg_query/include/port/atomics/arch-ppc.h +254 -0
  231. data/ext/pg_query/include/port/atomics/arch-x86.h +252 -0
  232. data/ext/pg_query/include/port/atomics/fallback.h +170 -0
  233. data/ext/pg_query/include/port/atomics/generic-gcc.h +286 -0
  234. data/ext/pg_query/include/port/atomics/generic.h +401 -0
  235. data/ext/pg_query/include/port/pg_bitutils.h +226 -0
  236. data/ext/pg_query/include/port/pg_bswap.h +161 -0
  237. data/ext/pg_query/include/port/pg_crc32c.h +101 -0
  238. data/ext/pg_query/include/portability/instr_time.h +256 -0
  239. data/ext/pg_query/include/postgres.h +764 -0
  240. data/ext/pg_query/include/postgres_ext.h +74 -0
  241. data/ext/pg_query/include/postmaster/autovacuum.h +83 -0
  242. data/ext/pg_query/include/postmaster/bgworker.h +161 -0
  243. data/ext/pg_query/include/postmaster/bgworker_internals.h +64 -0
  244. data/ext/pg_query/include/postmaster/bgwriter.h +45 -0
  245. data/ext/pg_query/include/postmaster/fork_process.h +17 -0
  246. data/ext/pg_query/include/postmaster/interrupt.h +32 -0
  247. data/ext/pg_query/include/postmaster/pgarch.h +39 -0
  248. data/ext/pg_query/include/postmaster/postmaster.h +77 -0
  249. data/ext/pg_query/include/postmaster/syslogger.h +98 -0
  250. data/ext/pg_query/include/postmaster/walwriter.h +21 -0
  251. data/ext/pg_query/include/protobuf-c.h +1110 -0
  252. data/ext/pg_query/include/protobuf-c/protobuf-c.h +1110 -0
  253. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +10851 -0
  254. data/ext/pg_query/include/protobuf/pg_query.pb.h +124718 -0
  255. data/ext/pg_query/include/regex/regex.h +184 -0
  256. data/ext/pg_query/include/replication/logicallauncher.h +31 -0
  257. data/ext/pg_query/include/replication/logicalproto.h +110 -0
  258. data/ext/pg_query/include/replication/logicalworker.h +19 -0
  259. data/ext/pg_query/include/replication/origin.h +73 -0
  260. data/ext/pg_query/include/replication/reorderbuffer.h +467 -0
  261. data/ext/pg_query/include/replication/slot.h +219 -0
  262. data/ext/pg_query/include/replication/syncrep.h +115 -0
  263. data/ext/pg_query/include/replication/walreceiver.h +340 -0
  264. data/ext/pg_query/include/replication/walsender.h +74 -0
  265. data/ext/pg_query/include/rewrite/prs2lock.h +46 -0
  266. data/ext/pg_query/include/rewrite/rewriteHandler.h +40 -0
  267. data/ext/pg_query/include/rewrite/rewriteManip.h +87 -0
  268. data/ext/pg_query/include/rewrite/rewriteSupport.h +26 -0
  269. data/ext/pg_query/include/storage/backendid.h +37 -0
  270. data/ext/pg_query/include/storage/block.h +121 -0
  271. data/ext/pg_query/include/storage/buf.h +46 -0
  272. data/ext/pg_query/include/storage/bufmgr.h +292 -0
  273. data/ext/pg_query/include/storage/bufpage.h +459 -0
  274. data/ext/pg_query/include/storage/condition_variable.h +62 -0
  275. data/ext/pg_query/include/storage/dsm.h +61 -0
  276. data/ext/pg_query/include/storage/dsm_impl.h +75 -0
  277. data/ext/pg_query/include/storage/fd.h +168 -0
  278. data/ext/pg_query/include/storage/ipc.h +81 -0
  279. data/ext/pg_query/include/storage/item.h +19 -0
  280. data/ext/pg_query/include/storage/itemid.h +184 -0
  281. data/ext/pg_query/include/storage/itemptr.h +206 -0
  282. data/ext/pg_query/include/storage/large_object.h +100 -0
  283. data/ext/pg_query/include/storage/latch.h +190 -0
  284. data/ext/pg_query/include/storage/lmgr.h +114 -0
  285. data/ext/pg_query/include/storage/lock.h +612 -0
  286. data/ext/pg_query/include/storage/lockdefs.h +59 -0
  287. data/ext/pg_query/include/storage/lwlock.h +232 -0
  288. data/ext/pg_query/include/storage/lwlocknames.h +51 -0
  289. data/ext/pg_query/include/storage/off.h +57 -0
  290. data/ext/pg_query/include/storage/pg_sema.h +61 -0
  291. data/ext/pg_query/include/storage/pg_shmem.h +90 -0
  292. data/ext/pg_query/include/storage/pmsignal.h +94 -0
  293. data/ext/pg_query/include/storage/predicate.h +87 -0
  294. data/ext/pg_query/include/storage/proc.h +333 -0
  295. data/ext/pg_query/include/storage/proclist_types.h +51 -0
  296. data/ext/pg_query/include/storage/procsignal.h +75 -0
  297. data/ext/pg_query/include/storage/relfilenode.h +99 -0
  298. data/ext/pg_query/include/storage/s_lock.h +1047 -0
  299. data/ext/pg_query/include/storage/sharedfileset.h +45 -0
  300. data/ext/pg_query/include/storage/shm_mq.h +85 -0
  301. data/ext/pg_query/include/storage/shm_toc.h +58 -0
  302. data/ext/pg_query/include/storage/shmem.h +81 -0
  303. data/ext/pg_query/include/storage/sinval.h +153 -0
  304. data/ext/pg_query/include/storage/sinvaladt.h +43 -0
  305. data/ext/pg_query/include/storage/smgr.h +109 -0
  306. data/ext/pg_query/include/storage/spin.h +77 -0
  307. data/ext/pg_query/include/storage/standby.h +91 -0
  308. data/ext/pg_query/include/storage/standbydefs.h +74 -0
  309. data/ext/pg_query/include/storage/sync.h +62 -0
  310. data/ext/pg_query/include/tcop/cmdtag.h +58 -0
  311. data/ext/pg_query/include/tcop/cmdtaglist.h +217 -0
  312. data/ext/pg_query/include/tcop/deparse_utility.h +108 -0
  313. data/ext/pg_query/include/tcop/dest.h +149 -0
  314. data/ext/pg_query/include/tcop/fastpath.h +21 -0
  315. data/ext/pg_query/include/tcop/pquery.h +45 -0
  316. data/ext/pg_query/include/tcop/tcopprot.h +89 -0
  317. data/ext/pg_query/include/tcop/utility.h +108 -0
  318. data/ext/pg_query/include/tsearch/ts_cache.h +98 -0
  319. data/ext/pg_query/include/utils/acl.h +312 -0
  320. data/ext/pg_query/include/utils/aclchk_internal.h +45 -0
  321. data/ext/pg_query/include/utils/array.h +459 -0
  322. data/ext/pg_query/include/utils/builtins.h +127 -0
  323. data/ext/pg_query/include/utils/bytea.h +27 -0
  324. data/ext/pg_query/include/utils/catcache.h +231 -0
  325. data/ext/pg_query/include/utils/date.h +90 -0
  326. data/ext/pg_query/include/utils/datetime.h +343 -0
  327. data/ext/pg_query/include/utils/datum.h +68 -0
  328. data/ext/pg_query/include/utils/dsa.h +123 -0
  329. data/ext/pg_query/include/utils/dynahash.h +19 -0
  330. data/ext/pg_query/include/utils/elog.h +439 -0
  331. data/ext/pg_query/include/utils/errcodes.h +352 -0
  332. data/ext/pg_query/include/utils/expandeddatum.h +159 -0
  333. data/ext/pg_query/include/utils/expandedrecord.h +231 -0
  334. data/ext/pg_query/include/utils/float.h +356 -0
  335. data/ext/pg_query/include/utils/fmgroids.h +2657 -0
  336. data/ext/pg_query/include/utils/fmgrprotos.h +2646 -0
  337. data/ext/pg_query/include/utils/fmgrtab.h +48 -0
  338. data/ext/pg_query/include/utils/guc.h +443 -0
  339. data/ext/pg_query/include/utils/guc_tables.h +272 -0
  340. data/ext/pg_query/include/utils/hsearch.h +149 -0
  341. data/ext/pg_query/include/utils/inval.h +64 -0
  342. data/ext/pg_query/include/utils/lsyscache.h +198 -0
  343. data/ext/pg_query/include/utils/memdebug.h +82 -0
  344. data/ext/pg_query/include/utils/memutils.h +225 -0
  345. data/ext/pg_query/include/utils/numeric.h +76 -0
  346. data/ext/pg_query/include/utils/palloc.h +136 -0
  347. data/ext/pg_query/include/utils/partcache.h +102 -0
  348. data/ext/pg_query/include/utils/pg_locale.h +119 -0
  349. data/ext/pg_query/include/utils/pg_lsn.h +29 -0
  350. data/ext/pg_query/include/utils/pidfile.h +56 -0
  351. data/ext/pg_query/include/utils/plancache.h +235 -0
  352. data/ext/pg_query/include/utils/portal.h +241 -0
  353. data/ext/pg_query/include/utils/probes.h +114 -0
  354. data/ext/pg_query/include/utils/ps_status.h +25 -0
  355. data/ext/pg_query/include/utils/queryenvironment.h +74 -0
  356. data/ext/pg_query/include/utils/regproc.h +28 -0
  357. data/ext/pg_query/include/utils/rel.h +644 -0
  358. data/ext/pg_query/include/utils/relcache.h +151 -0
  359. data/ext/pg_query/include/utils/reltrigger.h +81 -0
  360. data/ext/pg_query/include/utils/resowner.h +86 -0
  361. data/ext/pg_query/include/utils/rls.h +50 -0
  362. data/ext/pg_query/include/utils/ruleutils.h +44 -0
  363. data/ext/pg_query/include/utils/sharedtuplestore.h +61 -0
  364. data/ext/pg_query/include/utils/snapmgr.h +158 -0
  365. data/ext/pg_query/include/utils/snapshot.h +206 -0
  366. data/ext/pg_query/include/utils/sortsupport.h +276 -0
  367. data/ext/pg_query/include/utils/syscache.h +219 -0
  368. data/ext/pg_query/include/utils/timeout.h +88 -0
  369. data/ext/pg_query/include/utils/timestamp.h +116 -0
  370. data/ext/pg_query/include/utils/tuplesort.h +277 -0
  371. data/ext/pg_query/include/utils/tuplestore.h +91 -0
  372. data/ext/pg_query/include/utils/typcache.h +202 -0
  373. data/ext/pg_query/include/utils/tzparser.h +39 -0
  374. data/ext/pg_query/include/utils/varlena.h +39 -0
  375. data/ext/pg_query/include/utils/xml.h +84 -0
  376. data/ext/pg_query/include/xxhash.h +5445 -0
  377. data/ext/pg_query/include/xxhash/xxhash.h +5445 -0
  378. data/ext/pg_query/pg_query.c +104 -0
  379. data/ext/pg_query/pg_query.pb-c.c +37643 -0
  380. data/ext/pg_query/pg_query_deparse.c +9965 -0
  381. data/ext/pg_query/pg_query_fingerprint.c +367 -0
  382. data/ext/pg_query/pg_query_fingerprint.h +8 -0
  383. data/ext/pg_query/pg_query_internal.h +24 -0
  384. data/ext/pg_query/pg_query_json_plpgsql.c +738 -0
  385. data/ext/pg_query/pg_query_json_plpgsql.h +9 -0
  386. data/ext/pg_query/pg_query_normalize.c +491 -0
  387. data/ext/pg_query/pg_query_outfuncs.h +10 -0
  388. data/ext/pg_query/pg_query_outfuncs_json.c +297 -0
  389. data/ext/pg_query/pg_query_outfuncs_protobuf.c +237 -0
  390. data/ext/pg_query/pg_query_parse.c +148 -0
  391. data/ext/pg_query/pg_query_parse_plpgsql.c +460 -0
  392. data/ext/pg_query/pg_query_readfuncs.h +11 -0
  393. data/ext/pg_query/pg_query_readfuncs_protobuf.c +142 -0
  394. data/ext/pg_query/pg_query_ruby.c +108 -12
  395. data/ext/pg_query/pg_query_scan.c +173 -0
  396. data/ext/pg_query/pg_query_split.c +221 -0
  397. data/ext/pg_query/protobuf-c.c +3667 -0
  398. data/ext/pg_query/src_backend_catalog_namespace.c +1051 -0
  399. data/ext/pg_query/src_backend_catalog_pg_proc.c +142 -0
  400. data/ext/pg_query/src_backend_commands_define.c +117 -0
  401. data/ext/pg_query/src_backend_libpq_pqcomm.c +651 -0
  402. data/ext/pg_query/src_backend_nodes_bitmapset.c +513 -0
  403. data/ext/pg_query/src_backend_nodes_copyfuncs.c +6013 -0
  404. data/ext/pg_query/src_backend_nodes_equalfuncs.c +4003 -0
  405. data/ext/pg_query/src_backend_nodes_extensible.c +99 -0
  406. data/ext/pg_query/src_backend_nodes_list.c +922 -0
  407. data/ext/pg_query/src_backend_nodes_makefuncs.c +417 -0
  408. data/ext/pg_query/src_backend_nodes_nodeFuncs.c +1363 -0
  409. data/ext/pg_query/src_backend_nodes_value.c +84 -0
  410. data/ext/pg_query/src_backend_parser_gram.c +47456 -0
  411. data/ext/pg_query/src_backend_parser_parse_expr.c +313 -0
  412. data/ext/pg_query/src_backend_parser_parser.c +497 -0
  413. data/ext/pg_query/src_backend_parser_scan.c +7091 -0
  414. data/ext/pg_query/src_backend_parser_scansup.c +160 -0
  415. data/ext/pg_query/src_backend_postmaster_postmaster.c +2230 -0
  416. data/ext/pg_query/src_backend_storage_ipc_ipc.c +192 -0
  417. data/ext/pg_query/src_backend_storage_lmgr_s_lock.c +370 -0
  418. data/ext/pg_query/src_backend_tcop_postgres.c +776 -0
  419. data/ext/pg_query/src_backend_utils_adt_datum.c +326 -0
  420. data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +98 -0
  421. data/ext/pg_query/src_backend_utils_adt_format_type.c +136 -0
  422. data/ext/pg_query/src_backend_utils_adt_ruleutils.c +1683 -0
  423. data/ext/pg_query/src_backend_utils_error_assert.c +74 -0
  424. data/ext/pg_query/src_backend_utils_error_elog.c +1748 -0
  425. data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +570 -0
  426. data/ext/pg_query/src_backend_utils_hash_dynahash.c +1086 -0
  427. data/ext/pg_query/src_backend_utils_init_globals.c +168 -0
  428. data/ext/pg_query/src_backend_utils_mb_mbutils.c +839 -0
  429. data/ext/pg_query/src_backend_utils_misc_guc.c +1831 -0
  430. data/ext/pg_query/src_backend_utils_mmgr_aset.c +1560 -0
  431. data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +1042 -0
  432. data/ext/pg_query/src_common_encnames.c +158 -0
  433. data/ext/pg_query/src_common_hashfn.c +420 -0
  434. data/ext/pg_query/src_common_keywords.c +39 -0
  435. data/ext/pg_query/src_common_kwlist_d.h +1081 -0
  436. data/ext/pg_query/src_common_kwlookup.c +91 -0
  437. data/ext/pg_query/src_common_psprintf.c +158 -0
  438. data/ext/pg_query/src_common_string.c +86 -0
  439. data/ext/pg_query/src_common_stringinfo.c +336 -0
  440. data/ext/pg_query/src_common_wchar.c +1651 -0
  441. data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +1133 -0
  442. data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +877 -0
  443. data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +6533 -0
  444. data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +107 -0
  445. data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +123 -0
  446. data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +671 -0
  447. data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +255 -0
  448. data/ext/pg_query/src_port_erand48.c +127 -0
  449. data/ext/pg_query/src_port_pg_bitutils.c +246 -0
  450. data/ext/pg_query/src_port_pgsleep.c +69 -0
  451. data/ext/pg_query/src_port_pgstrcasecmp.c +83 -0
  452. data/ext/pg_query/src_port_qsort.c +240 -0
  453. data/ext/pg_query/src_port_random.c +31 -0
  454. data/ext/pg_query/src_port_snprintf.c +1449 -0
  455. data/ext/pg_query/src_port_strerror.c +324 -0
  456. data/ext/pg_query/src_port_strnlen.c +39 -0
  457. data/ext/pg_query/xxhash.c +43 -0
  458. data/lib/pg_query.rb +6 -4
  459. data/lib/pg_query/constants.rb +21 -0
  460. data/lib/pg_query/deparse.rb +15 -1673
  461. data/lib/pg_query/filter_columns.rb +88 -85
  462. data/lib/pg_query/fingerprint.rb +120 -87
  463. data/lib/pg_query/node.rb +31 -0
  464. data/lib/pg_query/param_refs.rb +42 -37
  465. data/lib/pg_query/parse.rb +274 -202
  466. data/lib/pg_query/parse_error.rb +1 -1
  467. data/lib/pg_query/pg_query_pb.rb +3213 -0
  468. data/lib/pg_query/scan.rb +23 -0
  469. data/lib/pg_query/treewalker.rb +24 -40
  470. data/lib/pg_query/truncate.rb +71 -42
  471. data/lib/pg_query/version.rb +2 -2
  472. metadata +472 -11
  473. data/ext/pg_query/pg_query_ruby.h +0 -10
  474. data/lib/pg_query/deep_dup.rb +0 -16
  475. data/lib/pg_query/deparse/alter_table.rb +0 -42
  476. data/lib/pg_query/deparse/interval.rb +0 -105
  477. data/lib/pg_query/deparse/keywords.rb +0 -159
  478. data/lib/pg_query/deparse/rename.rb +0 -41
  479. data/lib/pg_query/legacy_parsetree.rb +0 -109
  480. data/lib/pg_query/node_types.rb +0 -297
@@ -1,4 +1,4 @@
1
- class PgQuery
1
+ module PgQuery
2
2
  class ParseError < ArgumentError
3
3
  attr_reader :location
4
4
  def initialize(message, source_file, source_line, location)
@@ -0,0 +1,3213 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: pg_query.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("pg_query.proto", :syntax => :proto3) do
8
+ add_message "pg_query.ParseResult" do
9
+ optional :version, :int32, 1
10
+ repeated :stmts, :message, 2, "pg_query.RawStmt"
11
+ end
12
+ add_message "pg_query.ScanResult" do
13
+ optional :version, :int32, 1
14
+ repeated :tokens, :message, 2, "pg_query.ScanToken"
15
+ end
16
+ add_message "pg_query.Node" do
17
+ oneof :node do
18
+ optional :alias, :message, 1, "pg_query.Alias", json_name: "Alias"
19
+ optional :range_var, :message, 2, "pg_query.RangeVar", json_name: "RangeVar"
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"
69
+ optional :raw_stmt, :message, 52, "pg_query.RawStmt", json_name: "RawStmt"
70
+ optional :query, :message, 53, "pg_query.Query", json_name: "Query"
71
+ optional :insert_stmt, :message, 54, "pg_query.InsertStmt", json_name: "InsertStmt"
72
+ optional :delete_stmt, :message, 55, "pg_query.DeleteStmt", json_name: "DeleteStmt"
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"
246
+ end
247
+ end
248
+ add_message "pg_query.Integer" do
249
+ optional :ival, :int32, 1
250
+ end
251
+ add_message "pg_query.Float" do
252
+ optional :str, :string, 1
253
+ end
254
+ add_message "pg_query.String" do
255
+ optional :str, :string, 1
256
+ end
257
+ add_message "pg_query.BitString" do
258
+ optional :str, :string, 1
259
+ end
260
+ add_message "pg_query.Null" do
261
+ end
262
+ add_message "pg_query.List" do
263
+ repeated :items, :message, 1, "pg_query.Node"
264
+ end
265
+ add_message "pg_query.OidList" do
266
+ repeated :items, :message, 1, "pg_query.Node"
267
+ end
268
+ add_message "pg_query.IntList" do
269
+ repeated :items, :message, 1, "pg_query.Node"
270
+ end
271
+ add_message "pg_query.Alias" do
272
+ optional :aliasname, :string, 1, json_name: "aliasname"
273
+ repeated :colnames, :message, 2, "pg_query.Node", json_name: "colnames"
274
+ end
275
+ add_message "pg_query.RangeVar" do
276
+ optional :catalogname, :string, 1, json_name: "catalogname"
277
+ optional :schemaname, :string, 2, json_name: "schemaname"
278
+ optional :relname, :string, 3, json_name: "relname"
279
+ optional :inh, :bool, 4, json_name: "inh"
280
+ optional :relpersistence, :string, 5, json_name: "relpersistence"
281
+ optional :alias, :message, 6, "pg_query.Alias", json_name: "alias"
282
+ optional :location, :int32, 7, json_name: "location"
283
+ end
284
+ add_message "pg_query.TableFunc" do
285
+ repeated :ns_uris, :message, 1, "pg_query.Node", json_name: "ns_uris"
286
+ repeated :ns_names, :message, 2, "pg_query.Node", json_name: "ns_names"
287
+ optional :docexpr, :message, 3, "pg_query.Node", json_name: "docexpr"
288
+ optional :rowexpr, :message, 4, "pg_query.Node", json_name: "rowexpr"
289
+ repeated :colnames, :message, 5, "pg_query.Node", json_name: "colnames"
290
+ repeated :coltypes, :message, 6, "pg_query.Node", json_name: "coltypes"
291
+ repeated :coltypmods, :message, 7, "pg_query.Node", json_name: "coltypmods"
292
+ repeated :colcollations, :message, 8, "pg_query.Node", json_name: "colcollations"
293
+ repeated :colexprs, :message, 9, "pg_query.Node", json_name: "colexprs"
294
+ repeated :coldefexprs, :message, 10, "pg_query.Node", json_name: "coldefexprs"
295
+ repeated :notnulls, :uint64, 11, json_name: "notnulls"
296
+ optional :ordinalitycol, :int32, 12, json_name: "ordinalitycol"
297
+ optional :location, :int32, 13, json_name: "location"
298
+ end
299
+ add_message "pg_query.Expr" do
300
+ end
301
+ add_message "pg_query.Var" do
302
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
303
+ optional :varno, :uint32, 2, json_name: "varno"
304
+ optional :varattno, :int32, 3, json_name: "varattno"
305
+ optional :vartype, :uint32, 4, json_name: "vartype"
306
+ optional :vartypmod, :int32, 5, json_name: "vartypmod"
307
+ optional :varcollid, :uint32, 6, json_name: "varcollid"
308
+ optional :varlevelsup, :uint32, 7, json_name: "varlevelsup"
309
+ optional :varnosyn, :uint32, 8, json_name: "varnosyn"
310
+ optional :varattnosyn, :int32, 9, json_name: "varattnosyn"
311
+ optional :location, :int32, 10, json_name: "location"
312
+ end
313
+ add_message "pg_query.Param" do
314
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
315
+ optional :paramkind, :enum, 2, "pg_query.ParamKind", json_name: "paramkind"
316
+ optional :paramid, :int32, 3, json_name: "paramid"
317
+ optional :paramtype, :uint32, 4, json_name: "paramtype"
318
+ optional :paramtypmod, :int32, 5, json_name: "paramtypmod"
319
+ optional :paramcollid, :uint32, 6, json_name: "paramcollid"
320
+ optional :location, :int32, 7, json_name: "location"
321
+ end
322
+ add_message "pg_query.Aggref" do
323
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
324
+ optional :aggfnoid, :uint32, 2, json_name: "aggfnoid"
325
+ optional :aggtype, :uint32, 3, json_name: "aggtype"
326
+ optional :aggcollid, :uint32, 4, json_name: "aggcollid"
327
+ optional :inputcollid, :uint32, 5, json_name: "inputcollid"
328
+ optional :aggtranstype, :uint32, 6, json_name: "aggtranstype"
329
+ repeated :aggargtypes, :message, 7, "pg_query.Node", json_name: "aggargtypes"
330
+ repeated :aggdirectargs, :message, 8, "pg_query.Node", json_name: "aggdirectargs"
331
+ repeated :args, :message, 9, "pg_query.Node", json_name: "args"
332
+ repeated :aggorder, :message, 10, "pg_query.Node", json_name: "aggorder"
333
+ repeated :aggdistinct, :message, 11, "pg_query.Node", json_name: "aggdistinct"
334
+ optional :aggfilter, :message, 12, "pg_query.Node", json_name: "aggfilter"
335
+ optional :aggstar, :bool, 13, json_name: "aggstar"
336
+ optional :aggvariadic, :bool, 14, json_name: "aggvariadic"
337
+ optional :aggkind, :string, 15, json_name: "aggkind"
338
+ optional :agglevelsup, :uint32, 16, json_name: "agglevelsup"
339
+ optional :aggsplit, :enum, 17, "pg_query.AggSplit", json_name: "aggsplit"
340
+ optional :location, :int32, 18, json_name: "location"
341
+ end
342
+ add_message "pg_query.GroupingFunc" do
343
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
344
+ repeated :args, :message, 2, "pg_query.Node", json_name: "args"
345
+ repeated :refs, :message, 3, "pg_query.Node", json_name: "refs"
346
+ repeated :cols, :message, 4, "pg_query.Node", json_name: "cols"
347
+ optional :agglevelsup, :uint32, 5, json_name: "agglevelsup"
348
+ optional :location, :int32, 6, json_name: "location"
349
+ end
350
+ add_message "pg_query.WindowFunc" do
351
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
352
+ optional :winfnoid, :uint32, 2, json_name: "winfnoid"
353
+ optional :wintype, :uint32, 3, json_name: "wintype"
354
+ optional :wincollid, :uint32, 4, json_name: "wincollid"
355
+ optional :inputcollid, :uint32, 5, json_name: "inputcollid"
356
+ repeated :args, :message, 6, "pg_query.Node", json_name: "args"
357
+ optional :aggfilter, :message, 7, "pg_query.Node", json_name: "aggfilter"
358
+ optional :winref, :uint32, 8, json_name: "winref"
359
+ optional :winstar, :bool, 9, json_name: "winstar"
360
+ optional :winagg, :bool, 10, json_name: "winagg"
361
+ optional :location, :int32, 11, json_name: "location"
362
+ end
363
+ add_message "pg_query.SubscriptingRef" do
364
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
365
+ optional :refcontainertype, :uint32, 2, json_name: "refcontainertype"
366
+ 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"
373
+ end
374
+ add_message "pg_query.FuncExpr" do
375
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
376
+ optional :funcid, :uint32, 2, json_name: "funcid"
377
+ optional :funcresulttype, :uint32, 3, json_name: "funcresulttype"
378
+ optional :funcretset, :bool, 4, json_name: "funcretset"
379
+ optional :funcvariadic, :bool, 5, json_name: "funcvariadic"
380
+ optional :funcformat, :enum, 6, "pg_query.CoercionForm", json_name: "funcformat"
381
+ optional :funccollid, :uint32, 7, json_name: "funccollid"
382
+ optional :inputcollid, :uint32, 8, json_name: "inputcollid"
383
+ repeated :args, :message, 9, "pg_query.Node", json_name: "args"
384
+ optional :location, :int32, 10, json_name: "location"
385
+ end
386
+ add_message "pg_query.NamedArgExpr" do
387
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
388
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
389
+ optional :name, :string, 3, json_name: "name"
390
+ optional :argnumber, :int32, 4, json_name: "argnumber"
391
+ optional :location, :int32, 5, json_name: "location"
392
+ end
393
+ add_message "pg_query.OpExpr" do
394
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
395
+ optional :opno, :uint32, 2, json_name: "opno"
396
+ optional :opfuncid, :uint32, 3, json_name: "opfuncid"
397
+ optional :opresulttype, :uint32, 4, json_name: "opresulttype"
398
+ optional :opretset, :bool, 5, json_name: "opretset"
399
+ optional :opcollid, :uint32, 6, json_name: "opcollid"
400
+ optional :inputcollid, :uint32, 7, json_name: "inputcollid"
401
+ repeated :args, :message, 8, "pg_query.Node", json_name: "args"
402
+ optional :location, :int32, 9, json_name: "location"
403
+ end
404
+ add_message "pg_query.DistinctExpr" do
405
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
406
+ optional :opno, :uint32, 2, json_name: "opno"
407
+ optional :opfuncid, :uint32, 3, json_name: "opfuncid"
408
+ optional :opresulttype, :uint32, 4, json_name: "opresulttype"
409
+ optional :opretset, :bool, 5, json_name: "opretset"
410
+ optional :opcollid, :uint32, 6, json_name: "opcollid"
411
+ optional :inputcollid, :uint32, 7, json_name: "inputcollid"
412
+ repeated :args, :message, 8, "pg_query.Node", json_name: "args"
413
+ optional :location, :int32, 9, json_name: "location"
414
+ end
415
+ add_message "pg_query.NullIfExpr" do
416
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
417
+ optional :opno, :uint32, 2, json_name: "opno"
418
+ optional :opfuncid, :uint32, 3, json_name: "opfuncid"
419
+ optional :opresulttype, :uint32, 4, json_name: "opresulttype"
420
+ optional :opretset, :bool, 5, json_name: "opretset"
421
+ optional :opcollid, :uint32, 6, json_name: "opcollid"
422
+ optional :inputcollid, :uint32, 7, json_name: "inputcollid"
423
+ repeated :args, :message, 8, "pg_query.Node", json_name: "args"
424
+ optional :location, :int32, 9, json_name: "location"
425
+ end
426
+ add_message "pg_query.ScalarArrayOpExpr" do
427
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
428
+ optional :opno, :uint32, 2, json_name: "opno"
429
+ 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"
434
+ end
435
+ add_message "pg_query.BoolExpr" do
436
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
437
+ optional :boolop, :enum, 2, "pg_query.BoolExprType", json_name: "boolop"
438
+ repeated :args, :message, 3, "pg_query.Node", json_name: "args"
439
+ optional :location, :int32, 4, json_name: "location"
440
+ end
441
+ add_message "pg_query.SubLink" do
442
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
443
+ optional :sub_link_type, :enum, 2, "pg_query.SubLinkType", json_name: "subLinkType"
444
+ optional :sub_link_id, :int32, 3, json_name: "subLinkId"
445
+ optional :testexpr, :message, 4, "pg_query.Node", json_name: "testexpr"
446
+ repeated :oper_name, :message, 5, "pg_query.Node", json_name: "operName"
447
+ optional :subselect, :message, 6, "pg_query.Node", json_name: "subselect"
448
+ optional :location, :int32, 7, json_name: "location"
449
+ end
450
+ add_message "pg_query.SubPlan" do
451
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
452
+ optional :sub_link_type, :enum, 2, "pg_query.SubLinkType", json_name: "subLinkType"
453
+ optional :testexpr, :message, 3, "pg_query.Node", json_name: "testexpr"
454
+ repeated :param_ids, :message, 4, "pg_query.Node", json_name: "paramIds"
455
+ optional :plan_id, :int32, 5, json_name: "plan_id"
456
+ optional :plan_name, :string, 6, json_name: "plan_name"
457
+ optional :first_col_type, :uint32, 7, json_name: "firstColType"
458
+ optional :first_col_typmod, :int32, 8, json_name: "firstColTypmod"
459
+ optional :first_col_collation, :uint32, 9, json_name: "firstColCollation"
460
+ optional :use_hash_table, :bool, 10, json_name: "useHashTable"
461
+ optional :unknown_eq_false, :bool, 11, json_name: "unknownEqFalse"
462
+ optional :parallel_safe, :bool, 12, json_name: "parallel_safe"
463
+ repeated :set_param, :message, 13, "pg_query.Node", json_name: "setParam"
464
+ repeated :par_param, :message, 14, "pg_query.Node", json_name: "parParam"
465
+ repeated :args, :message, 15, "pg_query.Node", json_name: "args"
466
+ optional :startup_cost, :double, 16, json_name: "startup_cost"
467
+ optional :per_call_cost, :double, 17, json_name: "per_call_cost"
468
+ end
469
+ add_message "pg_query.AlternativeSubPlan" do
470
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
471
+ repeated :subplans, :message, 2, "pg_query.Node", json_name: "subplans"
472
+ end
473
+ add_message "pg_query.FieldSelect" do
474
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
475
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
476
+ optional :fieldnum, :int32, 3, json_name: "fieldnum"
477
+ optional :resulttype, :uint32, 4, json_name: "resulttype"
478
+ optional :resulttypmod, :int32, 5, json_name: "resulttypmod"
479
+ optional :resultcollid, :uint32, 6, json_name: "resultcollid"
480
+ end
481
+ add_message "pg_query.FieldStore" do
482
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
483
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
484
+ repeated :newvals, :message, 3, "pg_query.Node", json_name: "newvals"
485
+ repeated :fieldnums, :message, 4, "pg_query.Node", json_name: "fieldnums"
486
+ optional :resulttype, :uint32, 5, json_name: "resulttype"
487
+ end
488
+ add_message "pg_query.RelabelType" do
489
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
490
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
491
+ optional :resulttype, :uint32, 3, json_name: "resulttype"
492
+ optional :resulttypmod, :int32, 4, json_name: "resulttypmod"
493
+ optional :resultcollid, :uint32, 5, json_name: "resultcollid"
494
+ optional :relabelformat, :enum, 6, "pg_query.CoercionForm", json_name: "relabelformat"
495
+ optional :location, :int32, 7, json_name: "location"
496
+ end
497
+ add_message "pg_query.CoerceViaIO" do
498
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
499
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
500
+ optional :resulttype, :uint32, 3, json_name: "resulttype"
501
+ optional :resultcollid, :uint32, 4, json_name: "resultcollid"
502
+ optional :coerceformat, :enum, 5, "pg_query.CoercionForm", json_name: "coerceformat"
503
+ optional :location, :int32, 6, json_name: "location"
504
+ end
505
+ add_message "pg_query.ArrayCoerceExpr" do
506
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
507
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
508
+ optional :elemexpr, :message, 3, "pg_query.Node", json_name: "elemexpr"
509
+ optional :resulttype, :uint32, 4, json_name: "resulttype"
510
+ optional :resulttypmod, :int32, 5, json_name: "resulttypmod"
511
+ optional :resultcollid, :uint32, 6, json_name: "resultcollid"
512
+ optional :coerceformat, :enum, 7, "pg_query.CoercionForm", json_name: "coerceformat"
513
+ optional :location, :int32, 8, json_name: "location"
514
+ end
515
+ add_message "pg_query.ConvertRowtypeExpr" do
516
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
517
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
518
+ optional :resulttype, :uint32, 3, json_name: "resulttype"
519
+ optional :convertformat, :enum, 4, "pg_query.CoercionForm", json_name: "convertformat"
520
+ optional :location, :int32, 5, json_name: "location"
521
+ end
522
+ add_message "pg_query.CollateExpr" do
523
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
524
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
525
+ optional :coll_oid, :uint32, 3, json_name: "collOid"
526
+ optional :location, :int32, 4, json_name: "location"
527
+ end
528
+ add_message "pg_query.CaseExpr" do
529
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
530
+ optional :casetype, :uint32, 2, json_name: "casetype"
531
+ optional :casecollid, :uint32, 3, json_name: "casecollid"
532
+ optional :arg, :message, 4, "pg_query.Node", json_name: "arg"
533
+ repeated :args, :message, 5, "pg_query.Node", json_name: "args"
534
+ optional :defresult, :message, 6, "pg_query.Node", json_name: "defresult"
535
+ optional :location, :int32, 7, json_name: "location"
536
+ end
537
+ add_message "pg_query.CaseWhen" do
538
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
539
+ optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
540
+ optional :result, :message, 3, "pg_query.Node", json_name: "result"
541
+ optional :location, :int32, 4, json_name: "location"
542
+ end
543
+ add_message "pg_query.CaseTestExpr" do
544
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
545
+ optional :type_id, :uint32, 2, json_name: "typeId"
546
+ optional :type_mod, :int32, 3, json_name: "typeMod"
547
+ optional :collation, :uint32, 4, json_name: "collation"
548
+ end
549
+ add_message "pg_query.ArrayExpr" do
550
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
551
+ optional :array_typeid, :uint32, 2, json_name: "array_typeid"
552
+ optional :array_collid, :uint32, 3, json_name: "array_collid"
553
+ optional :element_typeid, :uint32, 4, json_name: "element_typeid"
554
+ repeated :elements, :message, 5, "pg_query.Node", json_name: "elements"
555
+ optional :multidims, :bool, 6, json_name: "multidims"
556
+ optional :location, :int32, 7, json_name: "location"
557
+ end
558
+ add_message "pg_query.RowExpr" do
559
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
560
+ repeated :args, :message, 2, "pg_query.Node", json_name: "args"
561
+ optional :row_typeid, :uint32, 3, json_name: "row_typeid"
562
+ optional :row_format, :enum, 4, "pg_query.CoercionForm", json_name: "row_format"
563
+ repeated :colnames, :message, 5, "pg_query.Node", json_name: "colnames"
564
+ optional :location, :int32, 6, json_name: "location"
565
+ end
566
+ add_message "pg_query.RowCompareExpr" do
567
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
568
+ optional :rctype, :enum, 2, "pg_query.RowCompareType", json_name: "rctype"
569
+ repeated :opnos, :message, 3, "pg_query.Node", json_name: "opnos"
570
+ repeated :opfamilies, :message, 4, "pg_query.Node", json_name: "opfamilies"
571
+ repeated :inputcollids, :message, 5, "pg_query.Node", json_name: "inputcollids"
572
+ repeated :largs, :message, 6, "pg_query.Node", json_name: "largs"
573
+ repeated :rargs, :message, 7, "pg_query.Node", json_name: "rargs"
574
+ end
575
+ add_message "pg_query.CoalesceExpr" do
576
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
577
+ optional :coalescetype, :uint32, 2, json_name: "coalescetype"
578
+ optional :coalescecollid, :uint32, 3, json_name: "coalescecollid"
579
+ repeated :args, :message, 4, "pg_query.Node", json_name: "args"
580
+ optional :location, :int32, 5, json_name: "location"
581
+ end
582
+ add_message "pg_query.MinMaxExpr" do
583
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
584
+ optional :minmaxtype, :uint32, 2, json_name: "minmaxtype"
585
+ optional :minmaxcollid, :uint32, 3, json_name: "minmaxcollid"
586
+ optional :inputcollid, :uint32, 4, json_name: "inputcollid"
587
+ optional :op, :enum, 5, "pg_query.MinMaxOp", json_name: "op"
588
+ repeated :args, :message, 6, "pg_query.Node", json_name: "args"
589
+ optional :location, :int32, 7, json_name: "location"
590
+ end
591
+ add_message "pg_query.SQLValueFunction" do
592
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
593
+ optional :op, :enum, 2, "pg_query.SQLValueFunctionOp", json_name: "op"
594
+ optional :type, :uint32, 3, json_name: "type"
595
+ optional :typmod, :int32, 4, json_name: "typmod"
596
+ optional :location, :int32, 5, json_name: "location"
597
+ end
598
+ add_message "pg_query.XmlExpr" do
599
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
600
+ optional :op, :enum, 2, "pg_query.XmlExprOp", json_name: "op"
601
+ optional :name, :string, 3, json_name: "name"
602
+ repeated :named_args, :message, 4, "pg_query.Node", json_name: "named_args"
603
+ repeated :arg_names, :message, 5, "pg_query.Node", json_name: "arg_names"
604
+ repeated :args, :message, 6, "pg_query.Node", json_name: "args"
605
+ optional :xmloption, :enum, 7, "pg_query.XmlOptionType", json_name: "xmloption"
606
+ optional :type, :uint32, 8, json_name: "type"
607
+ optional :typmod, :int32, 9, json_name: "typmod"
608
+ optional :location, :int32, 10, json_name: "location"
609
+ end
610
+ add_message "pg_query.NullTest" do
611
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
612
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
613
+ optional :nulltesttype, :enum, 3, "pg_query.NullTestType", json_name: "nulltesttype"
614
+ optional :argisrow, :bool, 4, json_name: "argisrow"
615
+ optional :location, :int32, 5, json_name: "location"
616
+ end
617
+ add_message "pg_query.BooleanTest" do
618
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
619
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
620
+ optional :booltesttype, :enum, 3, "pg_query.BoolTestType", json_name: "booltesttype"
621
+ optional :location, :int32, 4, json_name: "location"
622
+ end
623
+ add_message "pg_query.CoerceToDomain" do
624
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
625
+ optional :arg, :message, 2, "pg_query.Node", json_name: "arg"
626
+ optional :resulttype, :uint32, 3, json_name: "resulttype"
627
+ optional :resulttypmod, :int32, 4, json_name: "resulttypmod"
628
+ optional :resultcollid, :uint32, 5, json_name: "resultcollid"
629
+ optional :coercionformat, :enum, 6, "pg_query.CoercionForm", json_name: "coercionformat"
630
+ optional :location, :int32, 7, json_name: "location"
631
+ end
632
+ add_message "pg_query.CoerceToDomainValue" do
633
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
634
+ optional :type_id, :uint32, 2, json_name: "typeId"
635
+ optional :type_mod, :int32, 3, json_name: "typeMod"
636
+ optional :collation, :uint32, 4, json_name: "collation"
637
+ optional :location, :int32, 5, json_name: "location"
638
+ end
639
+ add_message "pg_query.SetToDefault" do
640
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
641
+ optional :type_id, :uint32, 2, json_name: "typeId"
642
+ optional :type_mod, :int32, 3, json_name: "typeMod"
643
+ optional :collation, :uint32, 4, json_name: "collation"
644
+ optional :location, :int32, 5, json_name: "location"
645
+ end
646
+ add_message "pg_query.CurrentOfExpr" do
647
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
648
+ optional :cvarno, :uint32, 2, json_name: "cvarno"
649
+ optional :cursor_name, :string, 3, json_name: "cursor_name"
650
+ optional :cursor_param, :int32, 4, json_name: "cursor_param"
651
+ end
652
+ add_message "pg_query.NextValueExpr" do
653
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
654
+ optional :seqid, :uint32, 2, json_name: "seqid"
655
+ optional :type_id, :uint32, 3, json_name: "typeId"
656
+ end
657
+ add_message "pg_query.InferenceElem" do
658
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
659
+ optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
660
+ optional :infercollid, :uint32, 3, json_name: "infercollid"
661
+ optional :inferopclass, :uint32, 4, json_name: "inferopclass"
662
+ end
663
+ add_message "pg_query.TargetEntry" do
664
+ optional :xpr, :message, 1, "pg_query.Node", json_name: "xpr"
665
+ optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
666
+ optional :resno, :int32, 3, json_name: "resno"
667
+ optional :resname, :string, 4, json_name: "resname"
668
+ optional :ressortgroupref, :uint32, 5, json_name: "ressortgroupref"
669
+ optional :resorigtbl, :uint32, 6, json_name: "resorigtbl"
670
+ optional :resorigcol, :int32, 7, json_name: "resorigcol"
671
+ optional :resjunk, :bool, 8, json_name: "resjunk"
672
+ end
673
+ add_message "pg_query.RangeTblRef" do
674
+ optional :rtindex, :int32, 1, json_name: "rtindex"
675
+ end
676
+ add_message "pg_query.JoinExpr" do
677
+ optional :jointype, :enum, 1, "pg_query.JoinType", json_name: "jointype"
678
+ optional :is_natural, :bool, 2, json_name: "isNatural"
679
+ optional :larg, :message, 3, "pg_query.Node", json_name: "larg"
680
+ optional :rarg, :message, 4, "pg_query.Node", json_name: "rarg"
681
+ 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"
685
+ end
686
+ add_message "pg_query.FromExpr" do
687
+ repeated :fromlist, :message, 1, "pg_query.Node", json_name: "fromlist"
688
+ optional :quals, :message, 2, "pg_query.Node", json_name: "quals"
689
+ end
690
+ add_message "pg_query.OnConflictExpr" do
691
+ optional :action, :enum, 1, "pg_query.OnConflictAction", json_name: "action"
692
+ repeated :arbiter_elems, :message, 2, "pg_query.Node", json_name: "arbiterElems"
693
+ optional :arbiter_where, :message, 3, "pg_query.Node", json_name: "arbiterWhere"
694
+ optional :constraint, :uint32, 4, json_name: "constraint"
695
+ repeated :on_conflict_set, :message, 5, "pg_query.Node", json_name: "onConflictSet"
696
+ optional :on_conflict_where, :message, 6, "pg_query.Node", json_name: "onConflictWhere"
697
+ optional :excl_rel_index, :int32, 7, json_name: "exclRelIndex"
698
+ repeated :excl_rel_tlist, :message, 8, "pg_query.Node", json_name: "exclRelTlist"
699
+ end
700
+ add_message "pg_query.IntoClause" do
701
+ optional :rel, :message, 1, "pg_query.RangeVar", json_name: "rel"
702
+ repeated :col_names, :message, 2, "pg_query.Node", json_name: "colNames"
703
+ optional :access_method, :string, 3, json_name: "accessMethod"
704
+ repeated :options, :message, 4, "pg_query.Node", json_name: "options"
705
+ optional :on_commit, :enum, 5, "pg_query.OnCommitAction", json_name: "onCommit"
706
+ optional :table_space_name, :string, 6, json_name: "tableSpaceName"
707
+ optional :view_query, :message, 7, "pg_query.Node", json_name: "viewQuery"
708
+ optional :skip_data, :bool, 8, json_name: "skipData"
709
+ end
710
+ add_message "pg_query.RawStmt" do
711
+ optional :stmt, :message, 1, "pg_query.Node", json_name: "stmt"
712
+ optional :stmt_location, :int32, 2, json_name: "stmt_location"
713
+ optional :stmt_len, :int32, 3, json_name: "stmt_len"
714
+ end
715
+ add_message "pg_query.Query" do
716
+ optional :command_type, :enum, 1, "pg_query.CmdType", json_name: "commandType"
717
+ optional :query_source, :enum, 2, "pg_query.QuerySource", json_name: "querySource"
718
+ optional :can_set_tag, :bool, 3, json_name: "canSetTag"
719
+ optional :utility_stmt, :message, 4, "pg_query.Node", json_name: "utilityStmt"
720
+ optional :result_relation, :int32, 5, json_name: "resultRelation"
721
+ optional :has_aggs, :bool, 6, json_name: "hasAggs"
722
+ optional :has_window_funcs, :bool, 7, json_name: "hasWindowFuncs"
723
+ optional :has_target_srfs, :bool, 8, json_name: "hasTargetSRFs"
724
+ optional :has_sub_links, :bool, 9, json_name: "hasSubLinks"
725
+ optional :has_distinct_on, :bool, 10, json_name: "hasDistinctOn"
726
+ optional :has_recursive, :bool, 11, json_name: "hasRecursive"
727
+ optional :has_modifying_cte, :bool, 12, json_name: "hasModifyingCTE"
728
+ optional :has_for_update, :bool, 13, json_name: "hasForUpdate"
729
+ 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"
752
+ end
753
+ add_message "pg_query.InsertStmt" do
754
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
755
+ repeated :cols, :message, 2, "pg_query.Node", json_name: "cols"
756
+ optional :select_stmt, :message, 3, "pg_query.Node", json_name: "selectStmt"
757
+ optional :on_conflict_clause, :message, 4, "pg_query.OnConflictClause", json_name: "onConflictClause"
758
+ repeated :returning_list, :message, 5, "pg_query.Node", json_name: "returningList"
759
+ optional :with_clause, :message, 6, "pg_query.WithClause", json_name: "withClause"
760
+ optional :override, :enum, 7, "pg_query.OverridingKind", json_name: "override"
761
+ end
762
+ add_message "pg_query.DeleteStmt" do
763
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
764
+ repeated :using_clause, :message, 2, "pg_query.Node", json_name: "usingClause"
765
+ optional :where_clause, :message, 3, "pg_query.Node", json_name: "whereClause"
766
+ repeated :returning_list, :message, 4, "pg_query.Node", json_name: "returningList"
767
+ optional :with_clause, :message, 5, "pg_query.WithClause", json_name: "withClause"
768
+ end
769
+ add_message "pg_query.UpdateStmt" do
770
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
771
+ repeated :target_list, :message, 2, "pg_query.Node", json_name: "targetList"
772
+ optional :where_clause, :message, 3, "pg_query.Node", json_name: "whereClause"
773
+ repeated :from_clause, :message, 4, "pg_query.Node", json_name: "fromClause"
774
+ repeated :returning_list, :message, 5, "pg_query.Node", json_name: "returningList"
775
+ optional :with_clause, :message, 6, "pg_query.WithClause", json_name: "withClause"
776
+ end
777
+ add_message "pg_query.SelectStmt" do
778
+ repeated :distinct_clause, :message, 1, "pg_query.Node", json_name: "distinctClause"
779
+ optional :into_clause, :message, 2, "pg_query.IntoClause", json_name: "intoClause"
780
+ repeated :target_list, :message, 3, "pg_query.Node", json_name: "targetList"
781
+ repeated :from_clause, :message, 4, "pg_query.Node", json_name: "fromClause"
782
+ optional :where_clause, :message, 5, "pg_query.Node", json_name: "whereClause"
783
+ 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"
797
+ end
798
+ add_message "pg_query.AlterTableStmt" do
799
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
800
+ repeated :cmds, :message, 2, "pg_query.Node", json_name: "cmds"
801
+ optional :relkind, :enum, 3, "pg_query.ObjectType", json_name: "relkind"
802
+ optional :missing_ok, :bool, 4, json_name: "missing_ok"
803
+ end
804
+ add_message "pg_query.AlterTableCmd" do
805
+ optional :subtype, :enum, 1, "pg_query.AlterTableType", json_name: "subtype"
806
+ optional :name, :string, 2, json_name: "name"
807
+ optional :num, :int32, 3, json_name: "num"
808
+ optional :newowner, :message, 4, "pg_query.RoleSpec", json_name: "newowner"
809
+ optional :def, :message, 5, "pg_query.Node", json_name: "def"
810
+ optional :behavior, :enum, 6, "pg_query.DropBehavior", json_name: "behavior"
811
+ optional :missing_ok, :bool, 7, json_name: "missing_ok"
812
+ end
813
+ add_message "pg_query.AlterDomainStmt" do
814
+ optional :subtype, :string, 1, json_name: "subtype"
815
+ repeated :type_name, :message, 2, "pg_query.Node", json_name: "typeName"
816
+ optional :name, :string, 3, json_name: "name"
817
+ optional :def, :message, 4, "pg_query.Node", json_name: "def"
818
+ optional :behavior, :enum, 5, "pg_query.DropBehavior", json_name: "behavior"
819
+ optional :missing_ok, :bool, 6, json_name: "missing_ok"
820
+ end
821
+ add_message "pg_query.SetOperationStmt" do
822
+ optional :op, :enum, 1, "pg_query.SetOperation", json_name: "op"
823
+ optional :all, :bool, 2, json_name: "all"
824
+ optional :larg, :message, 3, "pg_query.Node", json_name: "larg"
825
+ optional :rarg, :message, 4, "pg_query.Node", json_name: "rarg"
826
+ repeated :col_types, :message, 5, "pg_query.Node", json_name: "colTypes"
827
+ repeated :col_typmods, :message, 6, "pg_query.Node", json_name: "colTypmods"
828
+ repeated :col_collations, :message, 7, "pg_query.Node", json_name: "colCollations"
829
+ repeated :group_clauses, :message, 8, "pg_query.Node", json_name: "groupClauses"
830
+ end
831
+ add_message "pg_query.GrantStmt" do
832
+ optional :is_grant, :bool, 1, json_name: "is_grant"
833
+ optional :targtype, :enum, 2, "pg_query.GrantTargetType", json_name: "targtype"
834
+ optional :objtype, :enum, 3, "pg_query.ObjectType", json_name: "objtype"
835
+ repeated :objects, :message, 4, "pg_query.Node", json_name: "objects"
836
+ repeated :privileges, :message, 5, "pg_query.Node", json_name: "privileges"
837
+ repeated :grantees, :message, 6, "pg_query.Node", json_name: "grantees"
838
+ optional :grant_option, :bool, 7, json_name: "grant_option"
839
+ optional :behavior, :enum, 8, "pg_query.DropBehavior", json_name: "behavior"
840
+ end
841
+ add_message "pg_query.GrantRoleStmt" do
842
+ repeated :granted_roles, :message, 1, "pg_query.Node", json_name: "granted_roles"
843
+ repeated :grantee_roles, :message, 2, "pg_query.Node", json_name: "grantee_roles"
844
+ optional :is_grant, :bool, 3, json_name: "is_grant"
845
+ optional :admin_opt, :bool, 4, json_name: "admin_opt"
846
+ optional :grantor, :message, 5, "pg_query.RoleSpec", json_name: "grantor"
847
+ optional :behavior, :enum, 6, "pg_query.DropBehavior", json_name: "behavior"
848
+ end
849
+ add_message "pg_query.AlterDefaultPrivilegesStmt" do
850
+ repeated :options, :message, 1, "pg_query.Node", json_name: "options"
851
+ optional :action, :message, 2, "pg_query.GrantStmt", json_name: "action"
852
+ end
853
+ add_message "pg_query.ClosePortalStmt" do
854
+ optional :portalname, :string, 1, json_name: "portalname"
855
+ end
856
+ add_message "pg_query.ClusterStmt" do
857
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
858
+ optional :indexname, :string, 2, json_name: "indexname"
859
+ optional :options, :int32, 3, json_name: "options"
860
+ end
861
+ add_message "pg_query.CopyStmt" do
862
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
863
+ optional :query, :message, 2, "pg_query.Node", json_name: "query"
864
+ repeated :attlist, :message, 3, "pg_query.Node", json_name: "attlist"
865
+ optional :is_from, :bool, 4, json_name: "is_from"
866
+ optional :is_program, :bool, 5, json_name: "is_program"
867
+ optional :filename, :string, 6, json_name: "filename"
868
+ repeated :options, :message, 7, "pg_query.Node", json_name: "options"
869
+ optional :where_clause, :message, 8, "pg_query.Node", json_name: "whereClause"
870
+ end
871
+ add_message "pg_query.CreateStmt" do
872
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
873
+ repeated :table_elts, :message, 2, "pg_query.Node", json_name: "tableElts"
874
+ repeated :inh_relations, :message, 3, "pg_query.Node", json_name: "inhRelations"
875
+ optional :partbound, :message, 4, "pg_query.PartitionBoundSpec", json_name: "partbound"
876
+ optional :partspec, :message, 5, "pg_query.PartitionSpec", json_name: "partspec"
877
+ optional :of_typename, :message, 6, "pg_query.TypeName", json_name: "ofTypename"
878
+ repeated :constraints, :message, 7, "pg_query.Node", json_name: "constraints"
879
+ repeated :options, :message, 8, "pg_query.Node", json_name: "options"
880
+ optional :oncommit, :enum, 9, "pg_query.OnCommitAction", json_name: "oncommit"
881
+ optional :tablespacename, :string, 10, json_name: "tablespacename"
882
+ optional :access_method, :string, 11, json_name: "accessMethod"
883
+ optional :if_not_exists, :bool, 12, json_name: "if_not_exists"
884
+ end
885
+ add_message "pg_query.DefineStmt" do
886
+ optional :kind, :enum, 1, "pg_query.ObjectType", json_name: "kind"
887
+ optional :oldstyle, :bool, 2, json_name: "oldstyle"
888
+ repeated :defnames, :message, 3, "pg_query.Node", json_name: "defnames"
889
+ repeated :args, :message, 4, "pg_query.Node", json_name: "args"
890
+ repeated :definition, :message, 5, "pg_query.Node", json_name: "definition"
891
+ optional :if_not_exists, :bool, 6, json_name: "if_not_exists"
892
+ optional :replace, :bool, 7, json_name: "replace"
893
+ end
894
+ add_message "pg_query.DropStmt" do
895
+ repeated :objects, :message, 1, "pg_query.Node", json_name: "objects"
896
+ optional :remove_type, :enum, 2, "pg_query.ObjectType", json_name: "removeType"
897
+ optional :behavior, :enum, 3, "pg_query.DropBehavior", json_name: "behavior"
898
+ optional :missing_ok, :bool, 4, json_name: "missing_ok"
899
+ optional :concurrent, :bool, 5, json_name: "concurrent"
900
+ end
901
+ add_message "pg_query.TruncateStmt" do
902
+ repeated :relations, :message, 1, "pg_query.Node", json_name: "relations"
903
+ optional :restart_seqs, :bool, 2, json_name: "restart_seqs"
904
+ optional :behavior, :enum, 3, "pg_query.DropBehavior", json_name: "behavior"
905
+ end
906
+ add_message "pg_query.CommentStmt" do
907
+ optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
908
+ optional :object, :message, 2, "pg_query.Node", json_name: "object"
909
+ optional :comment, :string, 3, json_name: "comment"
910
+ end
911
+ add_message "pg_query.FetchStmt" do
912
+ optional :direction, :enum, 1, "pg_query.FetchDirection", json_name: "direction"
913
+ optional :how_many, :int64, 2, json_name: "howMany"
914
+ optional :portalname, :string, 3, json_name: "portalname"
915
+ optional :ismove, :bool, 4, json_name: "ismove"
916
+ end
917
+ add_message "pg_query.IndexStmt" do
918
+ optional :idxname, :string, 1, json_name: "idxname"
919
+ optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
920
+ optional :access_method, :string, 3, json_name: "accessMethod"
921
+ optional :table_space, :string, 4, json_name: "tableSpace"
922
+ repeated :index_params, :message, 5, "pg_query.Node", json_name: "indexParams"
923
+ repeated :index_including_params, :message, 6, "pg_query.Node", json_name: "indexIncludingParams"
924
+ repeated :options, :message, 7, "pg_query.Node", json_name: "options"
925
+ optional :where_clause, :message, 8, "pg_query.Node", json_name: "whereClause"
926
+ repeated :exclude_op_names, :message, 9, "pg_query.Node", json_name: "excludeOpNames"
927
+ optional :idxcomment, :string, 10, json_name: "idxcomment"
928
+ optional :index_oid, :uint32, 11, json_name: "indexOid"
929
+ optional :old_node, :uint32, 12, json_name: "oldNode"
930
+ optional :old_create_subid, :uint32, 13, json_name: "oldCreateSubid"
931
+ optional :old_first_relfilenode_subid, :uint32, 14, json_name: "oldFirstRelfilenodeSubid"
932
+ 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"
941
+ end
942
+ add_message "pg_query.CreateFunctionStmt" do
943
+ optional :is_procedure, :bool, 1, json_name: "is_procedure"
944
+ optional :replace, :bool, 2, json_name: "replace"
945
+ repeated :funcname, :message, 3, "pg_query.Node", json_name: "funcname"
946
+ repeated :parameters, :message, 4, "pg_query.Node", json_name: "parameters"
947
+ optional :return_type, :message, 5, "pg_query.TypeName", json_name: "returnType"
948
+ repeated :options, :message, 6, "pg_query.Node", json_name: "options"
949
+ end
950
+ add_message "pg_query.AlterFunctionStmt" do
951
+ optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
952
+ optional :func, :message, 2, "pg_query.ObjectWithArgs", json_name: "func"
953
+ repeated :actions, :message, 3, "pg_query.Node", json_name: "actions"
954
+ end
955
+ add_message "pg_query.DoStmt" do
956
+ repeated :args, :message, 1, "pg_query.Node", json_name: "args"
957
+ end
958
+ add_message "pg_query.RenameStmt" do
959
+ optional :rename_type, :enum, 1, "pg_query.ObjectType", json_name: "renameType"
960
+ optional :relation_type, :enum, 2, "pg_query.ObjectType", json_name: "relationType"
961
+ optional :relation, :message, 3, "pg_query.RangeVar", json_name: "relation"
962
+ optional :object, :message, 4, "pg_query.Node", json_name: "object"
963
+ optional :subname, :string, 5, json_name: "subname"
964
+ optional :newname, :string, 6, json_name: "newname"
965
+ optional :behavior, :enum, 7, "pg_query.DropBehavior", json_name: "behavior"
966
+ optional :missing_ok, :bool, 8, json_name: "missing_ok"
967
+ end
968
+ add_message "pg_query.RuleStmt" do
969
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
970
+ optional :rulename, :string, 2, json_name: "rulename"
971
+ optional :where_clause, :message, 3, "pg_query.Node", json_name: "whereClause"
972
+ optional :event, :enum, 4, "pg_query.CmdType", json_name: "event"
973
+ optional :instead, :bool, 5, json_name: "instead"
974
+ repeated :actions, :message, 6, "pg_query.Node", json_name: "actions"
975
+ optional :replace, :bool, 7, json_name: "replace"
976
+ end
977
+ add_message "pg_query.NotifyStmt" do
978
+ optional :conditionname, :string, 1, json_name: "conditionname"
979
+ optional :payload, :string, 2, json_name: "payload"
980
+ end
981
+ add_message "pg_query.ListenStmt" do
982
+ optional :conditionname, :string, 1, json_name: "conditionname"
983
+ end
984
+ add_message "pg_query.UnlistenStmt" do
985
+ optional :conditionname, :string, 1, json_name: "conditionname"
986
+ end
987
+ add_message "pg_query.TransactionStmt" do
988
+ optional :kind, :enum, 1, "pg_query.TransactionStmtKind", json_name: "kind"
989
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
990
+ optional :savepoint_name, :string, 3, json_name: "savepoint_name"
991
+ optional :gid, :string, 4, json_name: "gid"
992
+ optional :chain, :bool, 5, json_name: "chain"
993
+ end
994
+ add_message "pg_query.ViewStmt" do
995
+ optional :view, :message, 1, "pg_query.RangeVar", json_name: "view"
996
+ repeated :aliases, :message, 2, "pg_query.Node", json_name: "aliases"
997
+ optional :query, :message, 3, "pg_query.Node", json_name: "query"
998
+ optional :replace, :bool, 4, json_name: "replace"
999
+ repeated :options, :message, 5, "pg_query.Node", json_name: "options"
1000
+ optional :with_check_option, :enum, 6, "pg_query.ViewCheckOption", json_name: "withCheckOption"
1001
+ end
1002
+ add_message "pg_query.LoadStmt" do
1003
+ optional :filename, :string, 1, json_name: "filename"
1004
+ end
1005
+ add_message "pg_query.CreateDomainStmt" do
1006
+ repeated :domainname, :message, 1, "pg_query.Node", json_name: "domainname"
1007
+ optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
1008
+ optional :coll_clause, :message, 3, "pg_query.CollateClause", json_name: "collClause"
1009
+ repeated :constraints, :message, 4, "pg_query.Node", json_name: "constraints"
1010
+ end
1011
+ add_message "pg_query.CreatedbStmt" do
1012
+ optional :dbname, :string, 1, json_name: "dbname"
1013
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1014
+ end
1015
+ add_message "pg_query.DropdbStmt" do
1016
+ optional :dbname, :string, 1, json_name: "dbname"
1017
+ optional :missing_ok, :bool, 2, json_name: "missing_ok"
1018
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1019
+ end
1020
+ add_message "pg_query.VacuumStmt" do
1021
+ repeated :options, :message, 1, "pg_query.Node", json_name: "options"
1022
+ repeated :rels, :message, 2, "pg_query.Node", json_name: "rels"
1023
+ optional :is_vacuumcmd, :bool, 3, json_name: "is_vacuumcmd"
1024
+ end
1025
+ add_message "pg_query.ExplainStmt" do
1026
+ optional :query, :message, 1, "pg_query.Node", json_name: "query"
1027
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1028
+ end
1029
+ add_message "pg_query.CreateTableAsStmt" do
1030
+ optional :query, :message, 1, "pg_query.Node", json_name: "query"
1031
+ optional :into, :message, 2, "pg_query.IntoClause", json_name: "into"
1032
+ optional :relkind, :enum, 3, "pg_query.ObjectType", json_name: "relkind"
1033
+ optional :is_select_into, :bool, 4, json_name: "is_select_into"
1034
+ optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
1035
+ end
1036
+ add_message "pg_query.CreateSeqStmt" do
1037
+ optional :sequence, :message, 1, "pg_query.RangeVar", json_name: "sequence"
1038
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1039
+ optional :owner_id, :uint32, 3, json_name: "ownerId"
1040
+ optional :for_identity, :bool, 4, json_name: "for_identity"
1041
+ optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
1042
+ end
1043
+ add_message "pg_query.AlterSeqStmt" do
1044
+ optional :sequence, :message, 1, "pg_query.RangeVar", json_name: "sequence"
1045
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1046
+ optional :for_identity, :bool, 3, json_name: "for_identity"
1047
+ optional :missing_ok, :bool, 4, json_name: "missing_ok"
1048
+ end
1049
+ add_message "pg_query.VariableSetStmt" do
1050
+ optional :kind, :enum, 1, "pg_query.VariableSetKind", json_name: "kind"
1051
+ optional :name, :string, 2, json_name: "name"
1052
+ repeated :args, :message, 3, "pg_query.Node", json_name: "args"
1053
+ optional :is_local, :bool, 4, json_name: "is_local"
1054
+ end
1055
+ add_message "pg_query.VariableShowStmt" do
1056
+ optional :name, :string, 1, json_name: "name"
1057
+ end
1058
+ add_message "pg_query.DiscardStmt" do
1059
+ optional :target, :enum, 1, "pg_query.DiscardMode", json_name: "target"
1060
+ end
1061
+ 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"
1076
+ end
1077
+ add_message "pg_query.CreatePLangStmt" do
1078
+ optional :replace, :bool, 1, json_name: "replace"
1079
+ optional :plname, :string, 2, json_name: "plname"
1080
+ repeated :plhandler, :message, 3, "pg_query.Node", json_name: "plhandler"
1081
+ repeated :plinline, :message, 4, "pg_query.Node", json_name: "plinline"
1082
+ repeated :plvalidator, :message, 5, "pg_query.Node", json_name: "plvalidator"
1083
+ optional :pltrusted, :bool, 6, json_name: "pltrusted"
1084
+ end
1085
+ add_message "pg_query.CreateRoleStmt" do
1086
+ optional :stmt_type, :enum, 1, "pg_query.RoleStmtType", json_name: "stmt_type"
1087
+ optional :role, :string, 2, json_name: "role"
1088
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1089
+ end
1090
+ add_message "pg_query.AlterRoleStmt" do
1091
+ optional :role, :message, 1, "pg_query.RoleSpec", json_name: "role"
1092
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1093
+ optional :action, :int32, 3, json_name: "action"
1094
+ end
1095
+ add_message "pg_query.DropRoleStmt" do
1096
+ repeated :roles, :message, 1, "pg_query.Node", json_name: "roles"
1097
+ optional :missing_ok, :bool, 2, json_name: "missing_ok"
1098
+ end
1099
+ add_message "pg_query.LockStmt" do
1100
+ repeated :relations, :message, 1, "pg_query.Node", json_name: "relations"
1101
+ optional :mode, :int32, 2, json_name: "mode"
1102
+ optional :nowait, :bool, 3, json_name: "nowait"
1103
+ end
1104
+ add_message "pg_query.ConstraintsSetStmt" do
1105
+ repeated :constraints, :message, 1, "pg_query.Node", json_name: "constraints"
1106
+ optional :deferred, :bool, 2, json_name: "deferred"
1107
+ end
1108
+ add_message "pg_query.ReindexStmt" do
1109
+ optional :kind, :enum, 1, "pg_query.ReindexObjectType", json_name: "kind"
1110
+ optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1111
+ optional :name, :string, 3, json_name: "name"
1112
+ optional :options, :int32, 4, json_name: "options"
1113
+ optional :concurrent, :bool, 5, json_name: "concurrent"
1114
+ end
1115
+ add_message "pg_query.CheckPointStmt" do
1116
+ end
1117
+ add_message "pg_query.CreateSchemaStmt" do
1118
+ optional :schemaname, :string, 1, json_name: "schemaname"
1119
+ optional :authrole, :message, 2, "pg_query.RoleSpec", json_name: "authrole"
1120
+ repeated :schema_elts, :message, 3, "pg_query.Node", json_name: "schemaElts"
1121
+ optional :if_not_exists, :bool, 4, json_name: "if_not_exists"
1122
+ end
1123
+ add_message "pg_query.AlterDatabaseStmt" do
1124
+ optional :dbname, :string, 1, json_name: "dbname"
1125
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1126
+ end
1127
+ add_message "pg_query.AlterDatabaseSetStmt" do
1128
+ optional :dbname, :string, 1, json_name: "dbname"
1129
+ optional :setstmt, :message, 2, "pg_query.VariableSetStmt", json_name: "setstmt"
1130
+ end
1131
+ add_message "pg_query.AlterRoleSetStmt" do
1132
+ optional :role, :message, 1, "pg_query.RoleSpec", json_name: "role"
1133
+ optional :database, :string, 2, json_name: "database"
1134
+ optional :setstmt, :message, 3, "pg_query.VariableSetStmt", json_name: "setstmt"
1135
+ end
1136
+ add_message "pg_query.CreateConversionStmt" do
1137
+ repeated :conversion_name, :message, 1, "pg_query.Node", json_name: "conversion_name"
1138
+ optional :for_encoding_name, :string, 2, json_name: "for_encoding_name"
1139
+ optional :to_encoding_name, :string, 3, json_name: "to_encoding_name"
1140
+ repeated :func_name, :message, 4, "pg_query.Node", json_name: "func_name"
1141
+ optional :def, :bool, 5, json_name: "def"
1142
+ end
1143
+ add_message "pg_query.CreateCastStmt" do
1144
+ optional :sourcetype, :message, 1, "pg_query.TypeName", json_name: "sourcetype"
1145
+ optional :targettype, :message, 2, "pg_query.TypeName", json_name: "targettype"
1146
+ optional :func, :message, 3, "pg_query.ObjectWithArgs", json_name: "func"
1147
+ optional :context, :enum, 4, "pg_query.CoercionContext", json_name: "context"
1148
+ optional :inout, :bool, 5, json_name: "inout"
1149
+ end
1150
+ add_message "pg_query.CreateOpClassStmt" do
1151
+ repeated :opclassname, :message, 1, "pg_query.Node", json_name: "opclassname"
1152
+ repeated :opfamilyname, :message, 2, "pg_query.Node", json_name: "opfamilyname"
1153
+ optional :amname, :string, 3, json_name: "amname"
1154
+ optional :datatype, :message, 4, "pg_query.TypeName", json_name: "datatype"
1155
+ repeated :items, :message, 5, "pg_query.Node", json_name: "items"
1156
+ optional :is_default, :bool, 6, json_name: "isDefault"
1157
+ end
1158
+ add_message "pg_query.CreateOpFamilyStmt" do
1159
+ repeated :opfamilyname, :message, 1, "pg_query.Node", json_name: "opfamilyname"
1160
+ optional :amname, :string, 2, json_name: "amname"
1161
+ end
1162
+ add_message "pg_query.AlterOpFamilyStmt" do
1163
+ repeated :opfamilyname, :message, 1, "pg_query.Node", json_name: "opfamilyname"
1164
+ optional :amname, :string, 2, json_name: "amname"
1165
+ optional :is_drop, :bool, 3, json_name: "isDrop"
1166
+ repeated :items, :message, 4, "pg_query.Node", json_name: "items"
1167
+ end
1168
+ add_message "pg_query.PrepareStmt" do
1169
+ optional :name, :string, 1, json_name: "name"
1170
+ repeated :argtypes, :message, 2, "pg_query.Node", json_name: "argtypes"
1171
+ optional :query, :message, 3, "pg_query.Node", json_name: "query"
1172
+ end
1173
+ add_message "pg_query.ExecuteStmt" do
1174
+ optional :name, :string, 1, json_name: "name"
1175
+ repeated :params, :message, 2, "pg_query.Node", json_name: "params"
1176
+ end
1177
+ add_message "pg_query.DeallocateStmt" do
1178
+ optional :name, :string, 1, json_name: "name"
1179
+ end
1180
+ add_message "pg_query.DeclareCursorStmt" do
1181
+ optional :portalname, :string, 1, json_name: "portalname"
1182
+ optional :options, :int32, 2, json_name: "options"
1183
+ optional :query, :message, 3, "pg_query.Node", json_name: "query"
1184
+ end
1185
+ add_message "pg_query.CreateTableSpaceStmt" do
1186
+ optional :tablespacename, :string, 1, json_name: "tablespacename"
1187
+ optional :owner, :message, 2, "pg_query.RoleSpec", json_name: "owner"
1188
+ optional :location, :string, 3, json_name: "location"
1189
+ repeated :options, :message, 4, "pg_query.Node", json_name: "options"
1190
+ end
1191
+ add_message "pg_query.DropTableSpaceStmt" do
1192
+ optional :tablespacename, :string, 1, json_name: "tablespacename"
1193
+ optional :missing_ok, :bool, 2, json_name: "missing_ok"
1194
+ end
1195
+ add_message "pg_query.AlterObjectDependsStmt" do
1196
+ optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
1197
+ optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1198
+ optional :object, :message, 3, "pg_query.Node", json_name: "object"
1199
+ optional :extname, :message, 4, "pg_query.Node", json_name: "extname"
1200
+ optional :remove, :bool, 5, json_name: "remove"
1201
+ end
1202
+ add_message "pg_query.AlterObjectSchemaStmt" do
1203
+ optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
1204
+ optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1205
+ optional :object, :message, 3, "pg_query.Node", json_name: "object"
1206
+ optional :newschema, :string, 4, json_name: "newschema"
1207
+ optional :missing_ok, :bool, 5, json_name: "missing_ok"
1208
+ end
1209
+ add_message "pg_query.AlterOwnerStmt" do
1210
+ optional :object_type, :enum, 1, "pg_query.ObjectType", json_name: "objectType"
1211
+ optional :relation, :message, 2, "pg_query.RangeVar", json_name: "relation"
1212
+ optional :object, :message, 3, "pg_query.Node", json_name: "object"
1213
+ optional :newowner, :message, 4, "pg_query.RoleSpec", json_name: "newowner"
1214
+ end
1215
+ add_message "pg_query.AlterOperatorStmt" do
1216
+ optional :opername, :message, 1, "pg_query.ObjectWithArgs", json_name: "opername"
1217
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1218
+ end
1219
+ add_message "pg_query.AlterTypeStmt" do
1220
+ repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
1221
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1222
+ end
1223
+ add_message "pg_query.DropOwnedStmt" do
1224
+ repeated :roles, :message, 1, "pg_query.Node", json_name: "roles"
1225
+ optional :behavior, :enum, 2, "pg_query.DropBehavior", json_name: "behavior"
1226
+ end
1227
+ add_message "pg_query.ReassignOwnedStmt" do
1228
+ repeated :roles, :message, 1, "pg_query.Node", json_name: "roles"
1229
+ optional :newrole, :message, 2, "pg_query.RoleSpec", json_name: "newrole"
1230
+ end
1231
+ add_message "pg_query.CompositeTypeStmt" do
1232
+ optional :typevar, :message, 1, "pg_query.RangeVar", json_name: "typevar"
1233
+ repeated :coldeflist, :message, 2, "pg_query.Node", json_name: "coldeflist"
1234
+ end
1235
+ add_message "pg_query.CreateEnumStmt" do
1236
+ repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
1237
+ repeated :vals, :message, 2, "pg_query.Node", json_name: "vals"
1238
+ end
1239
+ add_message "pg_query.CreateRangeStmt" do
1240
+ repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
1241
+ repeated :params, :message, 2, "pg_query.Node", json_name: "params"
1242
+ end
1243
+ add_message "pg_query.AlterEnumStmt" do
1244
+ repeated :type_name, :message, 1, "pg_query.Node", json_name: "typeName"
1245
+ optional :old_val, :string, 2, json_name: "oldVal"
1246
+ optional :new_val, :string, 3, json_name: "newVal"
1247
+ optional :new_val_neighbor, :string, 4, json_name: "newValNeighbor"
1248
+ optional :new_val_is_after, :bool, 5, json_name: "newValIsAfter"
1249
+ optional :skip_if_new_val_exists, :bool, 6, json_name: "skipIfNewValExists"
1250
+ end
1251
+ add_message "pg_query.AlterTSDictionaryStmt" do
1252
+ repeated :dictname, :message, 1, "pg_query.Node", json_name: "dictname"
1253
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1254
+ end
1255
+ add_message "pg_query.AlterTSConfigurationStmt" do
1256
+ optional :kind, :enum, 1, "pg_query.AlterTSConfigType", json_name: "kind"
1257
+ repeated :cfgname, :message, 2, "pg_query.Node", json_name: "cfgname"
1258
+ repeated :tokentype, :message, 3, "pg_query.Node", json_name: "tokentype"
1259
+ repeated :dicts, :message, 4, "pg_query.Node", json_name: "dicts"
1260
+ optional :override, :bool, 5, json_name: "override"
1261
+ optional :replace, :bool, 6, json_name: "replace"
1262
+ optional :missing_ok, :bool, 7, json_name: "missing_ok"
1263
+ end
1264
+ add_message "pg_query.CreateFdwStmt" do
1265
+ optional :fdwname, :string, 1, json_name: "fdwname"
1266
+ repeated :func_options, :message, 2, "pg_query.Node", json_name: "func_options"
1267
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1268
+ end
1269
+ add_message "pg_query.AlterFdwStmt" do
1270
+ optional :fdwname, :string, 1, json_name: "fdwname"
1271
+ repeated :func_options, :message, 2, "pg_query.Node", json_name: "func_options"
1272
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1273
+ end
1274
+ add_message "pg_query.CreateForeignServerStmt" do
1275
+ optional :servername, :string, 1, json_name: "servername"
1276
+ optional :servertype, :string, 2, json_name: "servertype"
1277
+ optional :version, :string, 3, json_name: "version"
1278
+ optional :fdwname, :string, 4, json_name: "fdwname"
1279
+ optional :if_not_exists, :bool, 5, json_name: "if_not_exists"
1280
+ repeated :options, :message, 6, "pg_query.Node", json_name: "options"
1281
+ end
1282
+ add_message "pg_query.AlterForeignServerStmt" do
1283
+ optional :servername, :string, 1, json_name: "servername"
1284
+ optional :version, :string, 2, json_name: "version"
1285
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1286
+ optional :has_version, :bool, 4, json_name: "has_version"
1287
+ end
1288
+ add_message "pg_query.CreateUserMappingStmt" do
1289
+ optional :user, :message, 1, "pg_query.RoleSpec", json_name: "user"
1290
+ optional :servername, :string, 2, json_name: "servername"
1291
+ optional :if_not_exists, :bool, 3, json_name: "if_not_exists"
1292
+ repeated :options, :message, 4, "pg_query.Node", json_name: "options"
1293
+ end
1294
+ add_message "pg_query.AlterUserMappingStmt" do
1295
+ optional :user, :message, 1, "pg_query.RoleSpec", json_name: "user"
1296
+ optional :servername, :string, 2, json_name: "servername"
1297
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1298
+ end
1299
+ add_message "pg_query.DropUserMappingStmt" do
1300
+ optional :user, :message, 1, "pg_query.RoleSpec", json_name: "user"
1301
+ optional :servername, :string, 2, json_name: "servername"
1302
+ optional :missing_ok, :bool, 3, json_name: "missing_ok"
1303
+ end
1304
+ add_message "pg_query.AlterTableSpaceOptionsStmt" do
1305
+ optional :tablespacename, :string, 1, json_name: "tablespacename"
1306
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1307
+ optional :is_reset, :bool, 3, json_name: "isReset"
1308
+ end
1309
+ add_message "pg_query.AlterTableMoveAllStmt" do
1310
+ optional :orig_tablespacename, :string, 1, json_name: "orig_tablespacename"
1311
+ optional :objtype, :enum, 2, "pg_query.ObjectType", json_name: "objtype"
1312
+ repeated :roles, :message, 3, "pg_query.Node", json_name: "roles"
1313
+ optional :new_tablespacename, :string, 4, json_name: "new_tablespacename"
1314
+ optional :nowait, :bool, 5, json_name: "nowait"
1315
+ end
1316
+ add_message "pg_query.SecLabelStmt" do
1317
+ optional :objtype, :enum, 1, "pg_query.ObjectType", json_name: "objtype"
1318
+ optional :object, :message, 2, "pg_query.Node", json_name: "object"
1319
+ optional :provider, :string, 3, json_name: "provider"
1320
+ optional :label, :string, 4, json_name: "label"
1321
+ end
1322
+ add_message "pg_query.CreateForeignTableStmt" do
1323
+ optional :base_stmt, :message, 1, "pg_query.CreateStmt", json_name: "base"
1324
+ optional :servername, :string, 2, json_name: "servername"
1325
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1326
+ end
1327
+ add_message "pg_query.ImportForeignSchemaStmt" do
1328
+ optional :server_name, :string, 1, json_name: "server_name"
1329
+ optional :remote_schema, :string, 2, json_name: "remote_schema"
1330
+ optional :local_schema, :string, 3, json_name: "local_schema"
1331
+ optional :list_type, :enum, 4, "pg_query.ImportForeignSchemaType", json_name: "list_type"
1332
+ repeated :table_list, :message, 5, "pg_query.Node", json_name: "table_list"
1333
+ repeated :options, :message, 6, "pg_query.Node", json_name: "options"
1334
+ end
1335
+ add_message "pg_query.CreateExtensionStmt" do
1336
+ optional :extname, :string, 1, json_name: "extname"
1337
+ optional :if_not_exists, :bool, 2, json_name: "if_not_exists"
1338
+ repeated :options, :message, 3, "pg_query.Node", json_name: "options"
1339
+ end
1340
+ add_message "pg_query.AlterExtensionStmt" do
1341
+ optional :extname, :string, 1, json_name: "extname"
1342
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1343
+ end
1344
+ add_message "pg_query.AlterExtensionContentsStmt" do
1345
+ optional :extname, :string, 1, json_name: "extname"
1346
+ optional :action, :int32, 2, json_name: "action"
1347
+ optional :objtype, :enum, 3, "pg_query.ObjectType", json_name: "objtype"
1348
+ optional :object, :message, 4, "pg_query.Node", json_name: "object"
1349
+ end
1350
+ add_message "pg_query.CreateEventTrigStmt" do
1351
+ optional :trigname, :string, 1, json_name: "trigname"
1352
+ optional :eventname, :string, 2, json_name: "eventname"
1353
+ repeated :whenclause, :message, 3, "pg_query.Node", json_name: "whenclause"
1354
+ repeated :funcname, :message, 4, "pg_query.Node", json_name: "funcname"
1355
+ end
1356
+ add_message "pg_query.AlterEventTrigStmt" do
1357
+ optional :trigname, :string, 1, json_name: "trigname"
1358
+ optional :tgenabled, :string, 2, json_name: "tgenabled"
1359
+ end
1360
+ add_message "pg_query.RefreshMatViewStmt" do
1361
+ optional :concurrent, :bool, 1, json_name: "concurrent"
1362
+ optional :skip_data, :bool, 2, json_name: "skipData"
1363
+ optional :relation, :message, 3, "pg_query.RangeVar", json_name: "relation"
1364
+ end
1365
+ add_message "pg_query.ReplicaIdentityStmt" do
1366
+ optional :identity_type, :string, 1, json_name: "identity_type"
1367
+ optional :name, :string, 2, json_name: "name"
1368
+ end
1369
+ add_message "pg_query.AlterSystemStmt" do
1370
+ optional :setstmt, :message, 1, "pg_query.VariableSetStmt", json_name: "setstmt"
1371
+ end
1372
+ add_message "pg_query.CreatePolicyStmt" do
1373
+ optional :policy_name, :string, 1, json_name: "policy_name"
1374
+ optional :table, :message, 2, "pg_query.RangeVar", json_name: "table"
1375
+ optional :cmd_name, :string, 3, json_name: "cmd_name"
1376
+ optional :permissive, :bool, 4, json_name: "permissive"
1377
+ repeated :roles, :message, 5, "pg_query.Node", json_name: "roles"
1378
+ optional :qual, :message, 6, "pg_query.Node", json_name: "qual"
1379
+ optional :with_check, :message, 7, "pg_query.Node", json_name: "with_check"
1380
+ end
1381
+ add_message "pg_query.AlterPolicyStmt" do
1382
+ optional :policy_name, :string, 1, json_name: "policy_name"
1383
+ optional :table, :message, 2, "pg_query.RangeVar", json_name: "table"
1384
+ repeated :roles, :message, 3, "pg_query.Node", json_name: "roles"
1385
+ optional :qual, :message, 4, "pg_query.Node", json_name: "qual"
1386
+ optional :with_check, :message, 5, "pg_query.Node", json_name: "with_check"
1387
+ end
1388
+ add_message "pg_query.CreateTransformStmt" do
1389
+ optional :replace, :bool, 1, json_name: "replace"
1390
+ optional :type_name, :message, 2, "pg_query.TypeName", json_name: "type_name"
1391
+ optional :lang, :string, 3, json_name: "lang"
1392
+ optional :fromsql, :message, 4, "pg_query.ObjectWithArgs", json_name: "fromsql"
1393
+ optional :tosql, :message, 5, "pg_query.ObjectWithArgs", json_name: "tosql"
1394
+ end
1395
+ add_message "pg_query.CreateAmStmt" do
1396
+ optional :amname, :string, 1, json_name: "amname"
1397
+ repeated :handler_name, :message, 2, "pg_query.Node", json_name: "handler_name"
1398
+ optional :amtype, :string, 3, json_name: "amtype"
1399
+ end
1400
+ add_message "pg_query.CreatePublicationStmt" do
1401
+ optional :pubname, :string, 1, json_name: "pubname"
1402
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1403
+ repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
1404
+ optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
1405
+ end
1406
+ add_message "pg_query.AlterPublicationStmt" do
1407
+ optional :pubname, :string, 1, json_name: "pubname"
1408
+ repeated :options, :message, 2, "pg_query.Node", json_name: "options"
1409
+ repeated :tables, :message, 3, "pg_query.Node", json_name: "tables"
1410
+ optional :for_all_tables, :bool, 4, json_name: "for_all_tables"
1411
+ optional :table_action, :enum, 5, "pg_query.DefElemAction", json_name: "tableAction"
1412
+ end
1413
+ add_message "pg_query.CreateSubscriptionStmt" do
1414
+ optional :subname, :string, 1, json_name: "subname"
1415
+ optional :conninfo, :string, 2, json_name: "conninfo"
1416
+ repeated :publication, :message, 3, "pg_query.Node", json_name: "publication"
1417
+ repeated :options, :message, 4, "pg_query.Node", json_name: "options"
1418
+ end
1419
+ add_message "pg_query.AlterSubscriptionStmt" do
1420
+ optional :kind, :enum, 1, "pg_query.AlterSubscriptionType", json_name: "kind"
1421
+ optional :subname, :string, 2, json_name: "subname"
1422
+ optional :conninfo, :string, 3, json_name: "conninfo"
1423
+ repeated :publication, :message, 4, "pg_query.Node", json_name: "publication"
1424
+ repeated :options, :message, 5, "pg_query.Node", json_name: "options"
1425
+ end
1426
+ add_message "pg_query.DropSubscriptionStmt" do
1427
+ optional :subname, :string, 1, json_name: "subname"
1428
+ optional :missing_ok, :bool, 2, json_name: "missing_ok"
1429
+ optional :behavior, :enum, 3, "pg_query.DropBehavior", json_name: "behavior"
1430
+ end
1431
+ add_message "pg_query.CreateStatsStmt" do
1432
+ repeated :defnames, :message, 1, "pg_query.Node", json_name: "defnames"
1433
+ repeated :stat_types, :message, 2, "pg_query.Node", json_name: "stat_types"
1434
+ repeated :exprs, :message, 3, "pg_query.Node", json_name: "exprs"
1435
+ repeated :relations, :message, 4, "pg_query.Node", json_name: "relations"
1436
+ optional :stxcomment, :string, 5, json_name: "stxcomment"
1437
+ optional :if_not_exists, :bool, 6, json_name: "if_not_exists"
1438
+ end
1439
+ add_message "pg_query.AlterCollationStmt" do
1440
+ repeated :collname, :message, 1, "pg_query.Node", json_name: "collname"
1441
+ end
1442
+ add_message "pg_query.CallStmt" do
1443
+ optional :funccall, :message, 1, "pg_query.FuncCall", json_name: "funccall"
1444
+ optional :funcexpr, :message, 2, "pg_query.FuncExpr", json_name: "funcexpr"
1445
+ end
1446
+ add_message "pg_query.AlterStatsStmt" do
1447
+ repeated :defnames, :message, 1, "pg_query.Node", json_name: "defnames"
1448
+ optional :stxstattarget, :int32, 2, json_name: "stxstattarget"
1449
+ optional :missing_ok, :bool, 3, json_name: "missing_ok"
1450
+ end
1451
+ add_message "pg_query.A_Expr" do
1452
+ optional :kind, :enum, 1, "pg_query.A_Expr_Kind", json_name: "kind"
1453
+ repeated :name, :message, 2, "pg_query.Node", json_name: "name"
1454
+ optional :lexpr, :message, 3, "pg_query.Node", json_name: "lexpr"
1455
+ optional :rexpr, :message, 4, "pg_query.Node", json_name: "rexpr"
1456
+ optional :location, :int32, 5, json_name: "location"
1457
+ end
1458
+ add_message "pg_query.ColumnRef" do
1459
+ repeated :fields, :message, 1, "pg_query.Node", json_name: "fields"
1460
+ optional :location, :int32, 2, json_name: "location"
1461
+ end
1462
+ add_message "pg_query.ParamRef" do
1463
+ optional :number, :int32, 1, json_name: "number"
1464
+ optional :location, :int32, 2, json_name: "location"
1465
+ 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
+ add_message "pg_query.FuncCall" do
1471
+ repeated :funcname, :message, 1, "pg_query.Node", json_name: "funcname"
1472
+ repeated :args, :message, 2, "pg_query.Node", json_name: "args"
1473
+ repeated :agg_order, :message, 3, "pg_query.Node", json_name: "agg_order"
1474
+ 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"
1481
+ end
1482
+ add_message "pg_query.A_Star" do
1483
+ end
1484
+ add_message "pg_query.A_Indices" do
1485
+ optional :is_slice, :bool, 1, json_name: "is_slice"
1486
+ optional :lidx, :message, 2, "pg_query.Node", json_name: "lidx"
1487
+ optional :uidx, :message, 3, "pg_query.Node", json_name: "uidx"
1488
+ end
1489
+ add_message "pg_query.A_Indirection" do
1490
+ optional :arg, :message, 1, "pg_query.Node", json_name: "arg"
1491
+ repeated :indirection, :message, 2, "pg_query.Node", json_name: "indirection"
1492
+ end
1493
+ add_message "pg_query.A_ArrayExpr" do
1494
+ repeated :elements, :message, 1, "pg_query.Node", json_name: "elements"
1495
+ optional :location, :int32, 2, json_name: "location"
1496
+ end
1497
+ add_message "pg_query.ResTarget" do
1498
+ optional :name, :string, 1, json_name: "name"
1499
+ repeated :indirection, :message, 2, "pg_query.Node", json_name: "indirection"
1500
+ optional :val, :message, 3, "pg_query.Node", json_name: "val"
1501
+ optional :location, :int32, 4, json_name: "location"
1502
+ end
1503
+ add_message "pg_query.MultiAssignRef" do
1504
+ optional :source, :message, 1, "pg_query.Node", json_name: "source"
1505
+ optional :colno, :int32, 2, json_name: "colno"
1506
+ optional :ncolumns, :int32, 3, json_name: "ncolumns"
1507
+ end
1508
+ add_message "pg_query.TypeCast" do
1509
+ optional :arg, :message, 1, "pg_query.Node", json_name: "arg"
1510
+ optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
1511
+ optional :location, :int32, 3, json_name: "location"
1512
+ end
1513
+ add_message "pg_query.CollateClause" do
1514
+ optional :arg, :message, 1, "pg_query.Node", json_name: "arg"
1515
+ repeated :collname, :message, 2, "pg_query.Node", json_name: "collname"
1516
+ optional :location, :int32, 3, json_name: "location"
1517
+ end
1518
+ add_message "pg_query.SortBy" do
1519
+ optional :node, :message, 1, "pg_query.Node", json_name: "node"
1520
+ optional :sortby_dir, :enum, 2, "pg_query.SortByDir", json_name: "sortby_dir"
1521
+ optional :sortby_nulls, :enum, 3, "pg_query.SortByNulls", json_name: "sortby_nulls"
1522
+ repeated :use_op, :message, 4, "pg_query.Node", json_name: "useOp"
1523
+ optional :location, :int32, 5, json_name: "location"
1524
+ end
1525
+ add_message "pg_query.WindowDef" do
1526
+ optional :name, :string, 1, json_name: "name"
1527
+ optional :refname, :string, 2, json_name: "refname"
1528
+ repeated :partition_clause, :message, 3, "pg_query.Node", json_name: "partitionClause"
1529
+ repeated :order_clause, :message, 4, "pg_query.Node", json_name: "orderClause"
1530
+ optional :frame_options, :int32, 5, json_name: "frameOptions"
1531
+ optional :start_offset, :message, 6, "pg_query.Node", json_name: "startOffset"
1532
+ optional :end_offset, :message, 7, "pg_query.Node", json_name: "endOffset"
1533
+ optional :location, :int32, 8, json_name: "location"
1534
+ end
1535
+ add_message "pg_query.RangeSubselect" do
1536
+ optional :lateral, :bool, 1, json_name: "lateral"
1537
+ optional :subquery, :message, 2, "pg_query.Node", json_name: "subquery"
1538
+ optional :alias, :message, 3, "pg_query.Alias", json_name: "alias"
1539
+ end
1540
+ add_message "pg_query.RangeFunction" do
1541
+ optional :lateral, :bool, 1, json_name: "lateral"
1542
+ optional :ordinality, :bool, 2, json_name: "ordinality"
1543
+ optional :is_rowsfrom, :bool, 3, json_name: "is_rowsfrom"
1544
+ repeated :functions, :message, 4, "pg_query.Node", json_name: "functions"
1545
+ optional :alias, :message, 5, "pg_query.Alias", json_name: "alias"
1546
+ repeated :coldeflist, :message, 6, "pg_query.Node", json_name: "coldeflist"
1547
+ end
1548
+ add_message "pg_query.RangeTableSample" do
1549
+ optional :relation, :message, 1, "pg_query.Node", json_name: "relation"
1550
+ repeated :method, :message, 2, "pg_query.Node", json_name: "method"
1551
+ repeated :args, :message, 3, "pg_query.Node", json_name: "args"
1552
+ optional :repeatable, :message, 4, "pg_query.Node", json_name: "repeatable"
1553
+ optional :location, :int32, 5, json_name: "location"
1554
+ end
1555
+ add_message "pg_query.RangeTableFunc" do
1556
+ optional :lateral, :bool, 1, json_name: "lateral"
1557
+ optional :docexpr, :message, 2, "pg_query.Node", json_name: "docexpr"
1558
+ optional :rowexpr, :message, 3, "pg_query.Node", json_name: "rowexpr"
1559
+ repeated :namespaces, :message, 4, "pg_query.Node", json_name: "namespaces"
1560
+ repeated :columns, :message, 5, "pg_query.Node", json_name: "columns"
1561
+ optional :alias, :message, 6, "pg_query.Alias", json_name: "alias"
1562
+ optional :location, :int32, 7, json_name: "location"
1563
+ end
1564
+ add_message "pg_query.RangeTableFuncCol" do
1565
+ optional :colname, :string, 1, json_name: "colname"
1566
+ optional :type_name, :message, 2, "pg_query.TypeName", json_name: "typeName"
1567
+ optional :for_ordinality, :bool, 3, json_name: "for_ordinality"
1568
+ optional :is_not_null, :bool, 4, json_name: "is_not_null"
1569
+ optional :colexpr, :message, 5, "pg_query.Node", json_name: "colexpr"
1570
+ optional :coldefexpr, :message, 6, "pg_query.Node", json_name: "coldefexpr"
1571
+ optional :location, :int32, 7, json_name: "location"
1572
+ end
1573
+ add_message "pg_query.TypeName" do
1574
+ repeated :names, :message, 1, "pg_query.Node", json_name: "names"
1575
+ optional :type_oid, :uint32, 2, json_name: "typeOid"
1576
+ optional :setof, :bool, 3, json_name: "setof"
1577
+ optional :pct_type, :bool, 4, json_name: "pct_type"
1578
+ repeated :typmods, :message, 5, "pg_query.Node", json_name: "typmods"
1579
+ optional :typemod, :int32, 6, json_name: "typemod"
1580
+ repeated :array_bounds, :message, 7, "pg_query.Node", json_name: "arrayBounds"
1581
+ optional :location, :int32, 8, json_name: "location"
1582
+ end
1583
+ add_message "pg_query.ColumnDef" do
1584
+ optional :colname, :string, 1, json_name: "colname"
1585
+ 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"
1601
+ end
1602
+ add_message "pg_query.IndexElem" do
1603
+ optional :name, :string, 1, json_name: "name"
1604
+ optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
1605
+ optional :indexcolname, :string, 3, json_name: "indexcolname"
1606
+ repeated :collation, :message, 4, "pg_query.Node", json_name: "collation"
1607
+ repeated :opclass, :message, 5, "pg_query.Node", json_name: "opclass"
1608
+ repeated :opclassopts, :message, 6, "pg_query.Node", json_name: "opclassopts"
1609
+ optional :ordering, :enum, 7, "pg_query.SortByDir", json_name: "ordering"
1610
+ optional :nulls_ordering, :enum, 8, "pg_query.SortByNulls", json_name: "nulls_ordering"
1611
+ end
1612
+ add_message "pg_query.Constraint" do
1613
+ optional :contype, :enum, 1, "pg_query.ConstrType", json_name: "contype"
1614
+ optional :conname, :string, 2, json_name: "conname"
1615
+ optional :deferrable, :bool, 3, json_name: "deferrable"
1616
+ optional :initdeferred, :bool, 4, json_name: "initdeferred"
1617
+ optional :location, :int32, 5, json_name: "location"
1618
+ optional :is_no_inherit, :bool, 6, json_name: "is_no_inherit"
1619
+ optional :raw_expr, :message, 7, "pg_query.Node", json_name: "raw_expr"
1620
+ optional :cooked_expr, :string, 8, json_name: "cooked_expr"
1621
+ 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"
1641
+ end
1642
+ add_message "pg_query.DefElem" do
1643
+ optional :defnamespace, :string, 1, json_name: "defnamespace"
1644
+ optional :defname, :string, 2, json_name: "defname"
1645
+ optional :arg, :message, 3, "pg_query.Node", json_name: "arg"
1646
+ optional :defaction, :enum, 4, "pg_query.DefElemAction", json_name: "defaction"
1647
+ optional :location, :int32, 5, json_name: "location"
1648
+ end
1649
+ add_message "pg_query.RangeTblEntry" do
1650
+ optional :rtekind, :enum, 1, "pg_query.RTEKind", json_name: "rtekind"
1651
+ optional :relid, :uint32, 2, json_name: "relid"
1652
+ optional :relkind, :string, 3, json_name: "relkind"
1653
+ optional :rellockmode, :int32, 4, json_name: "rellockmode"
1654
+ optional :tablesample, :message, 5, "pg_query.TableSampleClause", json_name: "tablesample"
1655
+ optional :subquery, :message, 6, "pg_query.Query", json_name: "subquery"
1656
+ optional :security_barrier, :bool, 7, json_name: "security_barrier"
1657
+ optional :jointype, :enum, 8, "pg_query.JoinType", json_name: "jointype"
1658
+ optional :joinmergedcols, :int32, 9, json_name: "joinmergedcols"
1659
+ repeated :joinaliasvars, :message, 10, "pg_query.Node", json_name: "joinaliasvars"
1660
+ repeated :joinleftcols, :message, 11, "pg_query.Node", json_name: "joinleftcols"
1661
+ 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"
1686
+ end
1687
+ add_message "pg_query.RangeTblFunction" do
1688
+ optional :funcexpr, :message, 1, "pg_query.Node", json_name: "funcexpr"
1689
+ optional :funccolcount, :int32, 2, json_name: "funccolcount"
1690
+ repeated :funccolnames, :message, 3, "pg_query.Node", json_name: "funccolnames"
1691
+ repeated :funccoltypes, :message, 4, "pg_query.Node", json_name: "funccoltypes"
1692
+ repeated :funccoltypmods, :message, 5, "pg_query.Node", json_name: "funccoltypmods"
1693
+ repeated :funccolcollations, :message, 6, "pg_query.Node", json_name: "funccolcollations"
1694
+ repeated :funcparams, :uint64, 7, json_name: "funcparams"
1695
+ end
1696
+ add_message "pg_query.TableSampleClause" do
1697
+ optional :tsmhandler, :uint32, 1, json_name: "tsmhandler"
1698
+ repeated :args, :message, 2, "pg_query.Node", json_name: "args"
1699
+ optional :repeatable, :message, 3, "pg_query.Node", json_name: "repeatable"
1700
+ end
1701
+ add_message "pg_query.WithCheckOption" do
1702
+ optional :kind, :enum, 1, "pg_query.WCOKind", json_name: "kind"
1703
+ optional :relname, :string, 2, json_name: "relname"
1704
+ optional :polname, :string, 3, json_name: "polname"
1705
+ optional :qual, :message, 4, "pg_query.Node", json_name: "qual"
1706
+ optional :cascaded, :bool, 5, json_name: "cascaded"
1707
+ end
1708
+ add_message "pg_query.SortGroupClause" do
1709
+ optional :tle_sort_group_ref, :uint32, 1, json_name: "tleSortGroupRef"
1710
+ optional :eqop, :uint32, 2, json_name: "eqop"
1711
+ optional :sortop, :uint32, 3, json_name: "sortop"
1712
+ optional :nulls_first, :bool, 4, json_name: "nulls_first"
1713
+ optional :hashable, :bool, 5, json_name: "hashable"
1714
+ end
1715
+ add_message "pg_query.GroupingSet" do
1716
+ optional :kind, :enum, 1, "pg_query.GroupingSetKind", json_name: "kind"
1717
+ repeated :content, :message, 2, "pg_query.Node", json_name: "content"
1718
+ optional :location, :int32, 3, json_name: "location"
1719
+ end
1720
+ add_message "pg_query.WindowClause" do
1721
+ optional :name, :string, 1, json_name: "name"
1722
+ optional :refname, :string, 2, json_name: "refname"
1723
+ repeated :partition_clause, :message, 3, "pg_query.Node", json_name: "partitionClause"
1724
+ repeated :order_clause, :message, 4, "pg_query.Node", json_name: "orderClause"
1725
+ optional :frame_options, :int32, 5, json_name: "frameOptions"
1726
+ optional :start_offset, :message, 6, "pg_query.Node", json_name: "startOffset"
1727
+ 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"
1735
+ end
1736
+ add_message "pg_query.ObjectWithArgs" do
1737
+ repeated :objname, :message, 1, "pg_query.Node", json_name: "objname"
1738
+ repeated :objargs, :message, 2, "pg_query.Node", json_name: "objargs"
1739
+ optional :args_unspecified, :bool, 3, json_name: "args_unspecified"
1740
+ end
1741
+ add_message "pg_query.AccessPriv" do
1742
+ optional :priv_name, :string, 1, json_name: "priv_name"
1743
+ repeated :cols, :message, 2, "pg_query.Node", json_name: "cols"
1744
+ end
1745
+ add_message "pg_query.CreateOpClassItem" do
1746
+ optional :itemtype, :int32, 1, json_name: "itemtype"
1747
+ optional :name, :message, 2, "pg_query.ObjectWithArgs", json_name: "name"
1748
+ optional :number, :int32, 3, json_name: "number"
1749
+ repeated :order_family, :message, 4, "pg_query.Node", json_name: "order_family"
1750
+ repeated :class_args, :message, 5, "pg_query.Node", json_name: "class_args"
1751
+ optional :storedtype, :message, 6, "pg_query.TypeName", json_name: "storedtype"
1752
+ end
1753
+ add_message "pg_query.TableLikeClause" do
1754
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
1755
+ optional :options, :uint32, 2, json_name: "options"
1756
+ optional :relation_oid, :uint32, 3, json_name: "relationOid"
1757
+ end
1758
+ add_message "pg_query.FunctionParameter" do
1759
+ optional :name, :string, 1, json_name: "name"
1760
+ optional :arg_type, :message, 2, "pg_query.TypeName", json_name: "argType"
1761
+ optional :mode, :enum, 3, "pg_query.FunctionParameterMode", json_name: "mode"
1762
+ optional :defexpr, :message, 4, "pg_query.Node", json_name: "defexpr"
1763
+ end
1764
+ add_message "pg_query.LockingClause" do
1765
+ repeated :locked_rels, :message, 1, "pg_query.Node", json_name: "lockedRels"
1766
+ optional :strength, :enum, 2, "pg_query.LockClauseStrength", json_name: "strength"
1767
+ optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy", json_name: "waitPolicy"
1768
+ end
1769
+ add_message "pg_query.RowMarkClause" do
1770
+ optional :rti, :uint32, 1, json_name: "rti"
1771
+ optional :strength, :enum, 2, "pg_query.LockClauseStrength", json_name: "strength"
1772
+ optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy", json_name: "waitPolicy"
1773
+ optional :pushed_down, :bool, 4, json_name: "pushedDown"
1774
+ end
1775
+ add_message "pg_query.XmlSerialize" do
1776
+ optional :xmloption, :enum, 1, "pg_query.XmlOptionType", json_name: "xmloption"
1777
+ optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
1778
+ optional :type_name, :message, 3, "pg_query.TypeName", json_name: "typeName"
1779
+ optional :location, :int32, 4, json_name: "location"
1780
+ end
1781
+ add_message "pg_query.WithClause" do
1782
+ repeated :ctes, :message, 1, "pg_query.Node", json_name: "ctes"
1783
+ optional :recursive, :bool, 2, json_name: "recursive"
1784
+ optional :location, :int32, 3, json_name: "location"
1785
+ end
1786
+ add_message "pg_query.InferClause" do
1787
+ repeated :index_elems, :message, 1, "pg_query.Node", json_name: "indexElems"
1788
+ optional :where_clause, :message, 2, "pg_query.Node", json_name: "whereClause"
1789
+ optional :conname, :string, 3, json_name: "conname"
1790
+ optional :location, :int32, 4, json_name: "location"
1791
+ end
1792
+ add_message "pg_query.OnConflictClause" do
1793
+ optional :action, :enum, 1, "pg_query.OnConflictAction", json_name: "action"
1794
+ optional :infer, :message, 2, "pg_query.InferClause", json_name: "infer"
1795
+ repeated :target_list, :message, 3, "pg_query.Node", json_name: "targetList"
1796
+ optional :where_clause, :message, 4, "pg_query.Node", json_name: "whereClause"
1797
+ optional :location, :int32, 5, json_name: "location"
1798
+ end
1799
+ add_message "pg_query.CommonTableExpr" do
1800
+ optional :ctename, :string, 1, json_name: "ctename"
1801
+ repeated :aliascolnames, :message, 2, "pg_query.Node", json_name: "aliascolnames"
1802
+ optional :ctematerialized, :enum, 3, "pg_query.CTEMaterialize", json_name: "ctematerialized"
1803
+ 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"
1811
+ end
1812
+ add_message "pg_query.RoleSpec" do
1813
+ optional :roletype, :enum, 1, "pg_query.RoleSpecType", json_name: "roletype"
1814
+ optional :rolename, :string, 2, json_name: "rolename"
1815
+ optional :location, :int32, 3, json_name: "location"
1816
+ end
1817
+ add_message "pg_query.TriggerTransition" do
1818
+ optional :name, :string, 1, json_name: "name"
1819
+ optional :is_new, :bool, 2, json_name: "isNew"
1820
+ optional :is_table, :bool, 3, json_name: "isTable"
1821
+ end
1822
+ add_message "pg_query.PartitionElem" do
1823
+ optional :name, :string, 1, json_name: "name"
1824
+ optional :expr, :message, 2, "pg_query.Node", json_name: "expr"
1825
+ repeated :collation, :message, 3, "pg_query.Node", json_name: "collation"
1826
+ repeated :opclass, :message, 4, "pg_query.Node", json_name: "opclass"
1827
+ optional :location, :int32, 5, json_name: "location"
1828
+ end
1829
+ add_message "pg_query.PartitionSpec" do
1830
+ optional :strategy, :string, 1, json_name: "strategy"
1831
+ repeated :part_params, :message, 2, "pg_query.Node", json_name: "partParams"
1832
+ optional :location, :int32, 3, json_name: "location"
1833
+ end
1834
+ add_message "pg_query.PartitionBoundSpec" do
1835
+ optional :strategy, :string, 1, json_name: "strategy"
1836
+ optional :is_default, :bool, 2, json_name: "is_default"
1837
+ optional :modulus, :int32, 3, json_name: "modulus"
1838
+ optional :remainder, :int32, 4, json_name: "remainder"
1839
+ repeated :listdatums, :message, 5, "pg_query.Node", json_name: "listdatums"
1840
+ repeated :lowerdatums, :message, 6, "pg_query.Node", json_name: "lowerdatums"
1841
+ repeated :upperdatums, :message, 7, "pg_query.Node", json_name: "upperdatums"
1842
+ optional :location, :int32, 8, json_name: "location"
1843
+ end
1844
+ add_message "pg_query.PartitionRangeDatum" do
1845
+ optional :kind, :enum, 1, "pg_query.PartitionRangeDatumKind", json_name: "kind"
1846
+ optional :value, :message, 2, "pg_query.Node", json_name: "value"
1847
+ optional :location, :int32, 3, json_name: "location"
1848
+ end
1849
+ add_message "pg_query.PartitionCmd" do
1850
+ optional :name, :message, 1, "pg_query.RangeVar", json_name: "name"
1851
+ optional :bound, :message, 2, "pg_query.PartitionBoundSpec", json_name: "bound"
1852
+ end
1853
+ add_message "pg_query.VacuumRelation" do
1854
+ optional :relation, :message, 1, "pg_query.RangeVar", json_name: "relation"
1855
+ optional :oid, :uint32, 2, json_name: "oid"
1856
+ repeated :va_cols, :message, 3, "pg_query.Node", json_name: "va_cols"
1857
+ end
1858
+ add_message "pg_query.InlineCodeBlock" do
1859
+ optional :source_text, :string, 1, json_name: "source_text"
1860
+ optional :lang_oid, :uint32, 2, json_name: "langOid"
1861
+ optional :lang_is_trusted, :bool, 3, json_name: "langIsTrusted"
1862
+ optional :atomic, :bool, 4, json_name: "atomic"
1863
+ end
1864
+ add_message "pg_query.CallContext" do
1865
+ optional :atomic, :bool, 1, json_name: "atomic"
1866
+ end
1867
+ add_message "pg_query.ScanToken" do
1868
+ optional :start, :int32, 1
1869
+ optional :end, :int32, 2
1870
+ optional :token, :enum, 4, "pg_query.Token"
1871
+ optional :keyword_kind, :enum, 5, "pg_query.KeywordKind"
1872
+ end
1873
+ add_enum "pg_query.OverridingKind" do
1874
+ value :OVERRIDING_KIND_UNDEFINED, 0
1875
+ value :OVERRIDING_NOT_SET, 1
1876
+ value :OVERRIDING_USER_VALUE, 2
1877
+ value :OVERRIDING_SYSTEM_VALUE, 3
1878
+ end
1879
+ add_enum "pg_query.QuerySource" do
1880
+ value :QUERY_SOURCE_UNDEFINED, 0
1881
+ value :QSRC_ORIGINAL, 1
1882
+ value :QSRC_PARSER, 2
1883
+ value :QSRC_INSTEAD_RULE, 3
1884
+ value :QSRC_QUAL_INSTEAD_RULE, 4
1885
+ value :QSRC_NON_INSTEAD_RULE, 5
1886
+ end
1887
+ add_enum "pg_query.SortByDir" do
1888
+ value :SORT_BY_DIR_UNDEFINED, 0
1889
+ value :SORTBY_DEFAULT, 1
1890
+ value :SORTBY_ASC, 2
1891
+ value :SORTBY_DESC, 3
1892
+ value :SORTBY_USING, 4
1893
+ end
1894
+ add_enum "pg_query.SortByNulls" do
1895
+ value :SORT_BY_NULLS_UNDEFINED, 0
1896
+ value :SORTBY_NULLS_DEFAULT, 1
1897
+ value :SORTBY_NULLS_FIRST, 2
1898
+ value :SORTBY_NULLS_LAST, 3
1899
+ end
1900
+ add_enum "pg_query.A_Expr_Kind" do
1901
+ value :A_EXPR_KIND_UNDEFINED, 0
1902
+ value :AEXPR_OP, 1
1903
+ value :AEXPR_OP_ANY, 2
1904
+ value :AEXPR_OP_ALL, 3
1905
+ value :AEXPR_DISTINCT, 4
1906
+ value :AEXPR_NOT_DISTINCT, 5
1907
+ 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
1918
+ end
1919
+ add_enum "pg_query.RoleSpecType" do
1920
+ value :ROLE_SPEC_TYPE_UNDEFINED, 0
1921
+ value :ROLESPEC_CSTRING, 1
1922
+ value :ROLESPEC_CURRENT_USER, 2
1923
+ value :ROLESPEC_SESSION_USER, 3
1924
+ value :ROLESPEC_PUBLIC, 4
1925
+ end
1926
+ add_enum "pg_query.TableLikeOption" do
1927
+ value :TABLE_LIKE_OPTION_UNDEFINED, 0
1928
+ 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
1937
+ end
1938
+ add_enum "pg_query.DefElemAction" do
1939
+ value :DEF_ELEM_ACTION_UNDEFINED, 0
1940
+ value :DEFELEM_UNSPEC, 1
1941
+ value :DEFELEM_SET, 2
1942
+ value :DEFELEM_ADD, 3
1943
+ value :DEFELEM_DROP, 4
1944
+ end
1945
+ add_enum "pg_query.PartitionRangeDatumKind" do
1946
+ value :PARTITION_RANGE_DATUM_KIND_UNDEFINED, 0
1947
+ value :PARTITION_RANGE_DATUM_MINVALUE, 1
1948
+ value :PARTITION_RANGE_DATUM_VALUE, 2
1949
+ value :PARTITION_RANGE_DATUM_MAXVALUE, 3
1950
+ end
1951
+ add_enum "pg_query.RTEKind" do
1952
+ value :RTEKIND_UNDEFINED, 0
1953
+ value :RTE_RELATION, 1
1954
+ value :RTE_SUBQUERY, 2
1955
+ value :RTE_JOIN, 3
1956
+ value :RTE_FUNCTION, 4
1957
+ value :RTE_TABLEFUNC, 5
1958
+ value :RTE_VALUES, 6
1959
+ value :RTE_CTE, 7
1960
+ value :RTE_NAMEDTUPLESTORE, 8
1961
+ value :RTE_RESULT, 9
1962
+ end
1963
+ add_enum "pg_query.WCOKind" do
1964
+ value :WCOKIND_UNDEFINED, 0
1965
+ value :WCO_VIEW_CHECK, 1
1966
+ value :WCO_RLS_INSERT_CHECK, 2
1967
+ value :WCO_RLS_UPDATE_CHECK, 3
1968
+ value :WCO_RLS_CONFLICT_CHECK, 4
1969
+ end
1970
+ add_enum "pg_query.GroupingSetKind" do
1971
+ value :GROUPING_SET_KIND_UNDEFINED, 0
1972
+ value :GROUPING_SET_EMPTY, 1
1973
+ value :GROUPING_SET_SIMPLE, 2
1974
+ value :GROUPING_SET_ROLLUP, 3
1975
+ value :GROUPING_SET_CUBE, 4
1976
+ value :GROUPING_SET_SETS, 5
1977
+ end
1978
+ add_enum "pg_query.CTEMaterialize" do
1979
+ value :CTEMATERIALIZE_UNDEFINED, 0
1980
+ value :CTEMaterializeDefault, 1
1981
+ value :CTEMaterializeAlways, 2
1982
+ value :CTEMaterializeNever, 3
1983
+ end
1984
+ add_enum "pg_query.SetOperation" do
1985
+ value :SET_OPERATION_UNDEFINED, 0
1986
+ value :SETOP_NONE, 1
1987
+ value :SETOP_UNION, 2
1988
+ value :SETOP_INTERSECT, 3
1989
+ value :SETOP_EXCEPT, 4
1990
+ end
1991
+ add_enum "pg_query.ObjectType" do
1992
+ value :OBJECT_TYPE_UNDEFINED, 0
1993
+ value :OBJECT_ACCESS_METHOD, 1
1994
+ value :OBJECT_AGGREGATE, 2
1995
+ value :OBJECT_AMOP, 3
1996
+ value :OBJECT_AMPROC, 4
1997
+ value :OBJECT_ATTRIBUTE, 5
1998
+ value :OBJECT_CAST, 6
1999
+ value :OBJECT_COLUMN, 7
2000
+ value :OBJECT_COLLATION, 8
2001
+ value :OBJECT_CONVERSION, 9
2002
+ value :OBJECT_DATABASE, 10
2003
+ value :OBJECT_DEFAULT, 11
2004
+ value :OBJECT_DEFACL, 12
2005
+ value :OBJECT_DOMAIN, 13
2006
+ value :OBJECT_DOMCONSTRAINT, 14
2007
+ value :OBJECT_EVENT_TRIGGER, 15
2008
+ value :OBJECT_EXTENSION, 16
2009
+ value :OBJECT_FDW, 17
2010
+ value :OBJECT_FOREIGN_SERVER, 18
2011
+ value :OBJECT_FOREIGN_TABLE, 19
2012
+ value :OBJECT_FUNCTION, 20
2013
+ value :OBJECT_INDEX, 21
2014
+ value :OBJECT_LANGUAGE, 22
2015
+ value :OBJECT_LARGEOBJECT, 23
2016
+ value :OBJECT_MATVIEW, 24
2017
+ value :OBJECT_OPCLASS, 25
2018
+ value :OBJECT_OPERATOR, 26
2019
+ 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
2043
+ end
2044
+ add_enum "pg_query.DropBehavior" do
2045
+ value :DROP_BEHAVIOR_UNDEFINED, 0
2046
+ value :DROP_RESTRICT, 1
2047
+ value :DROP_CASCADE, 2
2048
+ end
2049
+ add_enum "pg_query.AlterTableType" do
2050
+ value :ALTER_TABLE_TYPE_UNDEFINED, 0
2051
+ value :AT_AddColumn, 1
2052
+ value :AT_AddColumnRecurse, 2
2053
+ value :AT_AddColumnToView, 3
2054
+ value :AT_ColumnDefault, 4
2055
+ value :AT_CookedColumnDefault, 5
2056
+ value :AT_DropNotNull, 6
2057
+ value :AT_SetNotNull, 7
2058
+ value :AT_DropExpression, 8
2059
+ value :AT_CheckNotNull, 9
2060
+ value :AT_SetStatistics, 10
2061
+ value :AT_SetOptions, 11
2062
+ value :AT_ResetOptions, 12
2063
+ 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
2118
+ end
2119
+ add_enum "pg_query.GrantTargetType" do
2120
+ value :GRANT_TARGET_TYPE_UNDEFINED, 0
2121
+ value :ACL_TARGET_OBJECT, 1
2122
+ value :ACL_TARGET_ALL_IN_SCHEMA, 2
2123
+ value :ACL_TARGET_DEFAULTS, 3
2124
+ end
2125
+ add_enum "pg_query.VariableSetKind" do
2126
+ value :VARIABLE_SET_KIND_UNDEFINED, 0
2127
+ value :VAR_SET_VALUE, 1
2128
+ value :VAR_SET_DEFAULT, 2
2129
+ value :VAR_SET_CURRENT, 3
2130
+ value :VAR_SET_MULTI, 4
2131
+ value :VAR_RESET, 5
2132
+ value :VAR_RESET_ALL, 6
2133
+ end
2134
+ add_enum "pg_query.ConstrType" do
2135
+ value :CONSTR_TYPE_UNDEFINED, 0
2136
+ value :CONSTR_NULL, 1
2137
+ value :CONSTR_NOTNULL, 2
2138
+ value :CONSTR_DEFAULT, 3
2139
+ value :CONSTR_IDENTITY, 4
2140
+ value :CONSTR_GENERATED, 5
2141
+ value :CONSTR_CHECK, 6
2142
+ value :CONSTR_PRIMARY, 7
2143
+ value :CONSTR_UNIQUE, 8
2144
+ value :CONSTR_EXCLUSION, 9
2145
+ value :CONSTR_FOREIGN, 10
2146
+ value :CONSTR_ATTR_DEFERRABLE, 11
2147
+ value :CONSTR_ATTR_NOT_DEFERRABLE, 12
2148
+ value :CONSTR_ATTR_DEFERRED, 13
2149
+ value :CONSTR_ATTR_IMMEDIATE, 14
2150
+ end
2151
+ add_enum "pg_query.ImportForeignSchemaType" do
2152
+ value :IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED, 0
2153
+ value :FDW_IMPORT_SCHEMA_ALL, 1
2154
+ value :FDW_IMPORT_SCHEMA_LIMIT_TO, 2
2155
+ value :FDW_IMPORT_SCHEMA_EXCEPT, 3
2156
+ end
2157
+ add_enum "pg_query.RoleStmtType" do
2158
+ value :ROLE_STMT_TYPE_UNDEFINED, 0
2159
+ value :ROLESTMT_ROLE, 1
2160
+ value :ROLESTMT_USER, 2
2161
+ value :ROLESTMT_GROUP, 3
2162
+ end
2163
+ add_enum "pg_query.FetchDirection" do
2164
+ value :FETCH_DIRECTION_UNDEFINED, 0
2165
+ value :FETCH_FORWARD, 1
2166
+ value :FETCH_BACKWARD, 2
2167
+ value :FETCH_ABSOLUTE, 3
2168
+ value :FETCH_RELATIVE, 4
2169
+ end
2170
+ add_enum "pg_query.FunctionParameterMode" do
2171
+ value :FUNCTION_PARAMETER_MODE_UNDEFINED, 0
2172
+ value :FUNC_PARAM_IN, 1
2173
+ value :FUNC_PARAM_OUT, 2
2174
+ value :FUNC_PARAM_INOUT, 3
2175
+ value :FUNC_PARAM_VARIADIC, 4
2176
+ value :FUNC_PARAM_TABLE, 5
2177
+ end
2178
+ add_enum "pg_query.TransactionStmtKind" do
2179
+ value :TRANSACTION_STMT_KIND_UNDEFINED, 0
2180
+ value :TRANS_STMT_BEGIN, 1
2181
+ value :TRANS_STMT_START, 2
2182
+ value :TRANS_STMT_COMMIT, 3
2183
+ value :TRANS_STMT_ROLLBACK, 4
2184
+ value :TRANS_STMT_SAVEPOINT, 5
2185
+ value :TRANS_STMT_RELEASE, 6
2186
+ value :TRANS_STMT_ROLLBACK_TO, 7
2187
+ value :TRANS_STMT_PREPARE, 8
2188
+ value :TRANS_STMT_COMMIT_PREPARED, 9
2189
+ value :TRANS_STMT_ROLLBACK_PREPARED, 10
2190
+ end
2191
+ add_enum "pg_query.ViewCheckOption" do
2192
+ value :VIEW_CHECK_OPTION_UNDEFINED, 0
2193
+ value :NO_CHECK_OPTION, 1
2194
+ value :LOCAL_CHECK_OPTION, 2
2195
+ value :CASCADED_CHECK_OPTION, 3
2196
+ 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
+ add_enum "pg_query.DiscardMode" do
2203
+ value :DISCARD_MODE_UNDEFINED, 0
2204
+ value :DISCARD_ALL, 1
2205
+ value :DISCARD_PLANS, 2
2206
+ value :DISCARD_SEQUENCES, 3
2207
+ value :DISCARD_TEMP, 4
2208
+ end
2209
+ add_enum "pg_query.ReindexObjectType" do
2210
+ value :REINDEX_OBJECT_TYPE_UNDEFINED, 0
2211
+ value :REINDEX_OBJECT_INDEX, 1
2212
+ value :REINDEX_OBJECT_TABLE, 2
2213
+ value :REINDEX_OBJECT_SCHEMA, 3
2214
+ value :REINDEX_OBJECT_SYSTEM, 4
2215
+ value :REINDEX_OBJECT_DATABASE, 5
2216
+ end
2217
+ add_enum "pg_query.AlterTSConfigType" do
2218
+ value :ALTER_TSCONFIG_TYPE_UNDEFINED, 0
2219
+ value :ALTER_TSCONFIG_ADD_MAPPING, 1
2220
+ value :ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN, 2
2221
+ value :ALTER_TSCONFIG_REPLACE_DICT, 3
2222
+ value :ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN, 4
2223
+ value :ALTER_TSCONFIG_DROP_MAPPING, 5
2224
+ end
2225
+ add_enum "pg_query.AlterSubscriptionType" do
2226
+ value :ALTER_SUBSCRIPTION_TYPE_UNDEFINED, 0
2227
+ value :ALTER_SUBSCRIPTION_OPTIONS, 1
2228
+ value :ALTER_SUBSCRIPTION_CONNECTION, 2
2229
+ value :ALTER_SUBSCRIPTION_PUBLICATION, 3
2230
+ value :ALTER_SUBSCRIPTION_REFRESH, 4
2231
+ value :ALTER_SUBSCRIPTION_ENABLED, 5
2232
+ end
2233
+ add_enum "pg_query.OnCommitAction" do
2234
+ value :ON_COMMIT_ACTION_UNDEFINED, 0
2235
+ value :ONCOMMIT_NOOP, 1
2236
+ value :ONCOMMIT_PRESERVE_ROWS, 2
2237
+ value :ONCOMMIT_DELETE_ROWS, 3
2238
+ value :ONCOMMIT_DROP, 4
2239
+ end
2240
+ add_enum "pg_query.ParamKind" do
2241
+ value :PARAM_KIND_UNDEFINED, 0
2242
+ value :PARAM_EXTERN, 1
2243
+ value :PARAM_EXEC, 2
2244
+ value :PARAM_SUBLINK, 3
2245
+ value :PARAM_MULTIEXPR, 4
2246
+ end
2247
+ add_enum "pg_query.CoercionContext" do
2248
+ value :COERCION_CONTEXT_UNDEFINED, 0
2249
+ value :COERCION_IMPLICIT, 1
2250
+ value :COERCION_ASSIGNMENT, 2
2251
+ value :COERCION_EXPLICIT, 3
2252
+ end
2253
+ add_enum "pg_query.CoercionForm" do
2254
+ value :COERCION_FORM_UNDEFINED, 0
2255
+ value :COERCE_EXPLICIT_CALL, 1
2256
+ value :COERCE_EXPLICIT_CAST, 2
2257
+ value :COERCE_IMPLICIT_CAST, 3
2258
+ end
2259
+ add_enum "pg_query.BoolExprType" do
2260
+ value :BOOL_EXPR_TYPE_UNDEFINED, 0
2261
+ value :AND_EXPR, 1
2262
+ value :OR_EXPR, 2
2263
+ value :NOT_EXPR, 3
2264
+ end
2265
+ add_enum "pg_query.SubLinkType" do
2266
+ value :SUB_LINK_TYPE_UNDEFINED, 0
2267
+ value :EXISTS_SUBLINK, 1
2268
+ value :ALL_SUBLINK, 2
2269
+ value :ANY_SUBLINK, 3
2270
+ value :ROWCOMPARE_SUBLINK, 4
2271
+ value :EXPR_SUBLINK, 5
2272
+ value :MULTIEXPR_SUBLINK, 6
2273
+ value :ARRAY_SUBLINK, 7
2274
+ value :CTE_SUBLINK, 8
2275
+ end
2276
+ add_enum "pg_query.RowCompareType" do
2277
+ value :ROW_COMPARE_TYPE_UNDEFINED, 0
2278
+ value :ROWCOMPARE_LT, 1
2279
+ value :ROWCOMPARE_LE, 2
2280
+ value :ROWCOMPARE_EQ, 3
2281
+ value :ROWCOMPARE_GE, 4
2282
+ value :ROWCOMPARE_GT, 5
2283
+ value :ROWCOMPARE_NE, 6
2284
+ end
2285
+ add_enum "pg_query.MinMaxOp" do
2286
+ value :MIN_MAX_OP_UNDEFINED, 0
2287
+ value :IS_GREATEST, 1
2288
+ value :IS_LEAST, 2
2289
+ end
2290
+ add_enum "pg_query.SQLValueFunctionOp" do
2291
+ value :SQLVALUE_FUNCTION_OP_UNDEFINED, 0
2292
+ value :SVFOP_CURRENT_DATE, 1
2293
+ value :SVFOP_CURRENT_TIME, 2
2294
+ value :SVFOP_CURRENT_TIME_N, 3
2295
+ value :SVFOP_CURRENT_TIMESTAMP, 4
2296
+ value :SVFOP_CURRENT_TIMESTAMP_N, 5
2297
+ value :SVFOP_LOCALTIME, 6
2298
+ value :SVFOP_LOCALTIME_N, 7
2299
+ value :SVFOP_LOCALTIMESTAMP, 8
2300
+ value :SVFOP_LOCALTIMESTAMP_N, 9
2301
+ value :SVFOP_CURRENT_ROLE, 10
2302
+ value :SVFOP_CURRENT_USER, 11
2303
+ value :SVFOP_USER, 12
2304
+ value :SVFOP_SESSION_USER, 13
2305
+ value :SVFOP_CURRENT_CATALOG, 14
2306
+ value :SVFOP_CURRENT_SCHEMA, 15
2307
+ end
2308
+ add_enum "pg_query.XmlExprOp" do
2309
+ value :XML_EXPR_OP_UNDEFINED, 0
2310
+ value :IS_XMLCONCAT, 1
2311
+ value :IS_XMLELEMENT, 2
2312
+ value :IS_XMLFOREST, 3
2313
+ value :IS_XMLPARSE, 4
2314
+ value :IS_XMLPI, 5
2315
+ value :IS_XMLROOT, 6
2316
+ value :IS_XMLSERIALIZE, 7
2317
+ value :IS_DOCUMENT, 8
2318
+ end
2319
+ add_enum "pg_query.XmlOptionType" do
2320
+ value :XML_OPTION_TYPE_UNDEFINED, 0
2321
+ value :XMLOPTION_DOCUMENT, 1
2322
+ value :XMLOPTION_CONTENT, 2
2323
+ end
2324
+ add_enum "pg_query.NullTestType" do
2325
+ value :NULL_TEST_TYPE_UNDEFINED, 0
2326
+ value :IS_NULL, 1
2327
+ value :IS_NOT_NULL, 2
2328
+ end
2329
+ add_enum "pg_query.BoolTestType" do
2330
+ value :BOOL_TEST_TYPE_UNDEFINED, 0
2331
+ value :IS_TRUE, 1
2332
+ value :IS_NOT_TRUE, 2
2333
+ value :IS_FALSE, 3
2334
+ value :IS_NOT_FALSE, 4
2335
+ value :IS_UNKNOWN, 5
2336
+ value :IS_NOT_UNKNOWN, 6
2337
+ end
2338
+ add_enum "pg_query.CmdType" do
2339
+ value :CMD_TYPE_UNDEFINED, 0
2340
+ value :CMD_UNKNOWN, 1
2341
+ value :CMD_SELECT, 2
2342
+ value :CMD_UPDATE, 3
2343
+ value :CMD_INSERT, 4
2344
+ value :CMD_DELETE, 5
2345
+ value :CMD_UTILITY, 6
2346
+ value :CMD_NOTHING, 7
2347
+ end
2348
+ add_enum "pg_query.JoinType" do
2349
+ value :JOIN_TYPE_UNDEFINED, 0
2350
+ value :JOIN_INNER, 1
2351
+ value :JOIN_LEFT, 2
2352
+ value :JOIN_FULL, 3
2353
+ value :JOIN_RIGHT, 4
2354
+ value :JOIN_SEMI, 5
2355
+ value :JOIN_ANTI, 6
2356
+ value :JOIN_UNIQUE_OUTER, 7
2357
+ value :JOIN_UNIQUE_INNER, 8
2358
+ end
2359
+ add_enum "pg_query.AggStrategy" do
2360
+ value :AGG_STRATEGY_UNDEFINED, 0
2361
+ value :AGG_PLAIN, 1
2362
+ value :AGG_SORTED, 2
2363
+ value :AGG_HASHED, 3
2364
+ value :AGG_MIXED, 4
2365
+ end
2366
+ add_enum "pg_query.AggSplit" do
2367
+ value :AGG_SPLIT_UNDEFINED, 0
2368
+ value :AGGSPLIT_SIMPLE, 1
2369
+ value :AGGSPLIT_INITIAL_SERIAL, 2
2370
+ value :AGGSPLIT_FINAL_DESERIAL, 3
2371
+ end
2372
+ add_enum "pg_query.SetOpCmd" do
2373
+ value :SET_OP_CMD_UNDEFINED, 0
2374
+ value :SETOPCMD_INTERSECT, 1
2375
+ value :SETOPCMD_INTERSECT_ALL, 2
2376
+ value :SETOPCMD_EXCEPT, 3
2377
+ value :SETOPCMD_EXCEPT_ALL, 4
2378
+ end
2379
+ add_enum "pg_query.SetOpStrategy" do
2380
+ value :SET_OP_STRATEGY_UNDEFINED, 0
2381
+ value :SETOP_SORTED, 1
2382
+ value :SETOP_HASHED, 2
2383
+ end
2384
+ add_enum "pg_query.OnConflictAction" do
2385
+ value :ON_CONFLICT_ACTION_UNDEFINED, 0
2386
+ value :ONCONFLICT_NONE, 1
2387
+ value :ONCONFLICT_NOTHING, 2
2388
+ value :ONCONFLICT_UPDATE, 3
2389
+ end
2390
+ add_enum "pg_query.LimitOption" do
2391
+ value :LIMIT_OPTION_UNDEFINED, 0
2392
+ value :LIMIT_OPTION_DEFAULT, 1
2393
+ value :LIMIT_OPTION_COUNT, 2
2394
+ value :LIMIT_OPTION_WITH_TIES, 3
2395
+ end
2396
+ add_enum "pg_query.LockClauseStrength" do
2397
+ value :LOCK_CLAUSE_STRENGTH_UNDEFINED, 0
2398
+ value :LCS_NONE, 1
2399
+ value :LCS_FORKEYSHARE, 2
2400
+ value :LCS_FORSHARE, 3
2401
+ value :LCS_FORNOKEYUPDATE, 4
2402
+ value :LCS_FORUPDATE, 5
2403
+ end
2404
+ add_enum "pg_query.LockWaitPolicy" do
2405
+ value :LOCK_WAIT_POLICY_UNDEFINED, 0
2406
+ value :LockWaitBlock, 1
2407
+ value :LockWaitSkip, 2
2408
+ value :LockWaitError, 3
2409
+ end
2410
+ add_enum "pg_query.LockTupleMode" do
2411
+ value :LOCK_TUPLE_MODE_UNDEFINED, 0
2412
+ value :LockTupleKeyShare, 1
2413
+ value :LockTupleShare, 2
2414
+ value :LockTupleNoKeyExclusive, 3
2415
+ value :LockTupleExclusive, 4
2416
+ end
2417
+ add_enum "pg_query.KeywordKind" do
2418
+ value :NO_KEYWORD, 0
2419
+ value :UNRESERVED_KEYWORD, 1
2420
+ value :COL_NAME_KEYWORD, 2
2421
+ value :TYPE_FUNC_NAME_KEYWORD, 3
2422
+ value :RESERVED_KEYWORD, 4
2423
+ end
2424
+ add_enum "pg_query.Token" do
2425
+ value :NUL, 0
2426
+ value :ASCII_37, 37
2427
+ value :ASCII_40, 40
2428
+ value :ASCII_41, 41
2429
+ value :ASCII_42, 42
2430
+ value :ASCII_43, 43
2431
+ value :ASCII_44, 44
2432
+ value :ASCII_45, 45
2433
+ value :ASCII_46, 46
2434
+ value :ASCII_47, 47
2435
+ value :ASCII_58, 58
2436
+ value :ASCII_59, 59
2437
+ value :ASCII_60, 60
2438
+ value :ASCII_61, 61
2439
+ value :ASCII_62, 62
2440
+ value :ASCII_63, 63
2441
+ value :ASCII_91, 91
2442
+ value :ASCII_92, 92
2443
+ value :ASCII_93, 93
2444
+ value :ASCII_94, 94
2445
+ value :IDENT, 258
2446
+ value :UIDENT, 259
2447
+ value :FCONST, 260
2448
+ value :SCONST, 261
2449
+ value :USCONST, 262
2450
+ value :BCONST, 263
2451
+ value :XCONST, 264
2452
+ value :Op, 265
2453
+ value :ICONST, 266
2454
+ value :PARAM, 267
2455
+ value :TYPECAST, 268
2456
+ value :DOT_DOT, 269
2457
+ value :COLON_EQUALS, 270
2458
+ value :EQUALS_GREATER, 271
2459
+ value :LESS_EQUALS, 272
2460
+ value :GREATER_EQUALS, 273
2461
+ value :NOT_EQUALS, 274
2462
+ value :SQL_COMMENT, 275
2463
+ value :C_COMMENT, 276
2464
+ value :ABORT_P, 277
2465
+ value :ABSOLUTE_P, 278
2466
+ value :ACCESS, 279
2467
+ value :ACTION, 280
2468
+ value :ADD_P, 281
2469
+ value :ADMIN, 282
2470
+ value :AFTER, 283
2471
+ value :AGGREGATE, 284
2472
+ value :ALL, 285
2473
+ value :ALSO, 286
2474
+ value :ALTER, 287
2475
+ value :ALWAYS, 288
2476
+ value :ANALYSE, 289
2477
+ value :ANALYZE, 290
2478
+ value :AND, 291
2479
+ value :ANY, 292
2480
+ value :ARRAY, 293
2481
+ value :AS, 294
2482
+ 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
2919
+ end
2920
+ end
2921
+ end
2922
+
2923
+ module PgQuery
2924
+ ParseResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParseResult").msgclass
2925
+ ScanResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScanResult").msgclass
2926
+ Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Node").msgclass
2927
+ Integer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Integer").msgclass
2928
+ Float = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Float").msgclass
2929
+ String = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.String").msgclass
2930
+ BitString = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BitString").msgclass
2931
+ Null = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Null").msgclass
2932
+ List = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.List").msgclass
2933
+ OidList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OidList").msgclass
2934
+ IntList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IntList").msgclass
2935
+ Alias = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Alias").msgclass
2936
+ RangeVar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeVar").msgclass
2937
+ TableFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableFunc").msgclass
2938
+ Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Expr").msgclass
2939
+ Var = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Var").msgclass
2940
+ Param = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Param").msgclass
2941
+ Aggref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Aggref").msgclass
2942
+ GroupingFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GroupingFunc").msgclass
2943
+ WindowFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WindowFunc").msgclass
2944
+ SubscriptingRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubscriptingRef").msgclass
2945
+ FuncExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FuncExpr").msgclass
2946
+ NamedArgExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NamedArgExpr").msgclass
2947
+ OpExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OpExpr").msgclass
2948
+ DistinctExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DistinctExpr").msgclass
2949
+ NullIfExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NullIfExpr").msgclass
2950
+ ScalarArrayOpExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScalarArrayOpExpr").msgclass
2951
+ BoolExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BoolExpr").msgclass
2952
+ SubLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubLink").msgclass
2953
+ SubPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubPlan").msgclass
2954
+ AlternativeSubPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlternativeSubPlan").msgclass
2955
+ FieldSelect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FieldSelect").msgclass
2956
+ FieldStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FieldStore").msgclass
2957
+ RelabelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RelabelType").msgclass
2958
+ CoerceViaIO = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoerceViaIO").msgclass
2959
+ ArrayCoerceExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ArrayCoerceExpr").msgclass
2960
+ ConvertRowtypeExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ConvertRowtypeExpr").msgclass
2961
+ CollateExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CollateExpr").msgclass
2962
+ CaseExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CaseExpr").msgclass
2963
+ CaseWhen = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CaseWhen").msgclass
2964
+ CaseTestExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CaseTestExpr").msgclass
2965
+ ArrayExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ArrayExpr").msgclass
2966
+ RowExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowExpr").msgclass
2967
+ RowCompareExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowCompareExpr").msgclass
2968
+ CoalesceExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoalesceExpr").msgclass
2969
+ MinMaxExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MinMaxExpr").msgclass
2970
+ SQLValueFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SQLValueFunction").msgclass
2971
+ XmlExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlExpr").msgclass
2972
+ NullTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NullTest").msgclass
2973
+ BooleanTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BooleanTest").msgclass
2974
+ CoerceToDomain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoerceToDomain").msgclass
2975
+ CoerceToDomainValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoerceToDomainValue").msgclass
2976
+ SetToDefault = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetToDefault").msgclass
2977
+ CurrentOfExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CurrentOfExpr").msgclass
2978
+ NextValueExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NextValueExpr").msgclass
2979
+ InferenceElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InferenceElem").msgclass
2980
+ TargetEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TargetEntry").msgclass
2981
+ RangeTblRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblRef").msgclass
2982
+ JoinExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.JoinExpr").msgclass
2983
+ FromExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FromExpr").msgclass
2984
+ OnConflictExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictExpr").msgclass
2985
+ IntoClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IntoClause").msgclass
2986
+ RawStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RawStmt").msgclass
2987
+ Query = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Query").msgclass
2988
+ InsertStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InsertStmt").msgclass
2989
+ DeleteStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeleteStmt").msgclass
2990
+ UpdateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.UpdateStmt").msgclass
2991
+ SelectStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SelectStmt").msgclass
2992
+ AlterTableStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableStmt").msgclass
2993
+ AlterTableCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableCmd").msgclass
2994
+ AlterDomainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDomainStmt").msgclass
2995
+ SetOperationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOperationStmt").msgclass
2996
+ GrantStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GrantStmt").msgclass
2997
+ GrantRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GrantRoleStmt").msgclass
2998
+ AlterDefaultPrivilegesStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDefaultPrivilegesStmt").msgclass
2999
+ ClosePortalStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClosePortalStmt").msgclass
3000
+ ClusterStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClusterStmt").msgclass
3001
+ CopyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CopyStmt").msgclass
3002
+ CreateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateStmt").msgclass
3003
+ DefineStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefineStmt").msgclass
3004
+ DropStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropStmt").msgclass
3005
+ TruncateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TruncateStmt").msgclass
3006
+ CommentStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CommentStmt").msgclass
3007
+ FetchStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FetchStmt").msgclass
3008
+ IndexStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IndexStmt").msgclass
3009
+ CreateFunctionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateFunctionStmt").msgclass
3010
+ AlterFunctionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterFunctionStmt").msgclass
3011
+ DoStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DoStmt").msgclass
3012
+ RenameStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RenameStmt").msgclass
3013
+ RuleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RuleStmt").msgclass
3014
+ NotifyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NotifyStmt").msgclass
3015
+ ListenStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ListenStmt").msgclass
3016
+ UnlistenStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.UnlistenStmt").msgclass
3017
+ TransactionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TransactionStmt").msgclass
3018
+ ViewStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ViewStmt").msgclass
3019
+ LoadStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LoadStmt").msgclass
3020
+ CreateDomainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateDomainStmt").msgclass
3021
+ CreatedbStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatedbStmt").msgclass
3022
+ DropdbStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropdbStmt").msgclass
3023
+ VacuumStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VacuumStmt").msgclass
3024
+ ExplainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ExplainStmt").msgclass
3025
+ CreateTableAsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTableAsStmt").msgclass
3026
+ CreateSeqStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSeqStmt").msgclass
3027
+ AlterSeqStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSeqStmt").msgclass
3028
+ VariableSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VariableSetStmt").msgclass
3029
+ VariableShowStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VariableShowStmt").msgclass
3030
+ DiscardStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DiscardStmt").msgclass
3031
+ CreateTrigStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTrigStmt").msgclass
3032
+ CreatePLangStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatePLangStmt").msgclass
3033
+ CreateRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateRoleStmt").msgclass
3034
+ AlterRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterRoleStmt").msgclass
3035
+ DropRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropRoleStmt").msgclass
3036
+ LockStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockStmt").msgclass
3037
+ ConstraintsSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ConstraintsSetStmt").msgclass
3038
+ ReindexStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReindexStmt").msgclass
3039
+ CheckPointStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CheckPointStmt").msgclass
3040
+ CreateSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSchemaStmt").msgclass
3041
+ AlterDatabaseStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseStmt").msgclass
3042
+ AlterDatabaseSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseSetStmt").msgclass
3043
+ AlterRoleSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterRoleSetStmt").msgclass
3044
+ CreateConversionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateConversionStmt").msgclass
3045
+ CreateCastStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateCastStmt").msgclass
3046
+ CreateOpClassStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateOpClassStmt").msgclass
3047
+ CreateOpFamilyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateOpFamilyStmt").msgclass
3048
+ AlterOpFamilyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterOpFamilyStmt").msgclass
3049
+ PrepareStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PrepareStmt").msgclass
3050
+ ExecuteStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ExecuteStmt").msgclass
3051
+ DeallocateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeallocateStmt").msgclass
3052
+ DeclareCursorStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeclareCursorStmt").msgclass
3053
+ CreateTableSpaceStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTableSpaceStmt").msgclass
3054
+ DropTableSpaceStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropTableSpaceStmt").msgclass
3055
+ AlterObjectDependsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterObjectDependsStmt").msgclass
3056
+ AlterObjectSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterObjectSchemaStmt").msgclass
3057
+ AlterOwnerStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterOwnerStmt").msgclass
3058
+ AlterOperatorStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterOperatorStmt").msgclass
3059
+ AlterTypeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTypeStmt").msgclass
3060
+ DropOwnedStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropOwnedStmt").msgclass
3061
+ ReassignOwnedStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReassignOwnedStmt").msgclass
3062
+ CompositeTypeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CompositeTypeStmt").msgclass
3063
+ CreateEnumStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateEnumStmt").msgclass
3064
+ CreateRangeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateRangeStmt").msgclass
3065
+ AlterEnumStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterEnumStmt").msgclass
3066
+ AlterTSDictionaryStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTSDictionaryStmt").msgclass
3067
+ AlterTSConfigurationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTSConfigurationStmt").msgclass
3068
+ CreateFdwStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateFdwStmt").msgclass
3069
+ AlterFdwStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterFdwStmt").msgclass
3070
+ CreateForeignServerStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateForeignServerStmt").msgclass
3071
+ AlterForeignServerStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterForeignServerStmt").msgclass
3072
+ CreateUserMappingStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateUserMappingStmt").msgclass
3073
+ AlterUserMappingStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterUserMappingStmt").msgclass
3074
+ DropUserMappingStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropUserMappingStmt").msgclass
3075
+ AlterTableSpaceOptionsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableSpaceOptionsStmt").msgclass
3076
+ AlterTableMoveAllStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableMoveAllStmt").msgclass
3077
+ SecLabelStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SecLabelStmt").msgclass
3078
+ CreateForeignTableStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateForeignTableStmt").msgclass
3079
+ ImportForeignSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ImportForeignSchemaStmt").msgclass
3080
+ CreateExtensionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateExtensionStmt").msgclass
3081
+ AlterExtensionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterExtensionStmt").msgclass
3082
+ AlterExtensionContentsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterExtensionContentsStmt").msgclass
3083
+ CreateEventTrigStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateEventTrigStmt").msgclass
3084
+ AlterEventTrigStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterEventTrigStmt").msgclass
3085
+ RefreshMatViewStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RefreshMatViewStmt").msgclass
3086
+ ReplicaIdentityStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReplicaIdentityStmt").msgclass
3087
+ AlterSystemStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSystemStmt").msgclass
3088
+ CreatePolicyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatePolicyStmt").msgclass
3089
+ AlterPolicyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterPolicyStmt").msgclass
3090
+ CreateTransformStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTransformStmt").msgclass
3091
+ CreateAmStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateAmStmt").msgclass
3092
+ CreatePublicationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatePublicationStmt").msgclass
3093
+ AlterPublicationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterPublicationStmt").msgclass
3094
+ CreateSubscriptionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSubscriptionStmt").msgclass
3095
+ AlterSubscriptionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSubscriptionStmt").msgclass
3096
+ DropSubscriptionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropSubscriptionStmt").msgclass
3097
+ CreateStatsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateStatsStmt").msgclass
3098
+ AlterCollationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterCollationStmt").msgclass
3099
+ CallStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CallStmt").msgclass
3100
+ AlterStatsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterStatsStmt").msgclass
3101
+ A_Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr").msgclass
3102
+ ColumnRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnRef").msgclass
3103
+ 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
+ FuncCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FuncCall").msgclass
3106
+ A_Star = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Star").msgclass
3107
+ A_Indices = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Indices").msgclass
3108
+ A_Indirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Indirection").msgclass
3109
+ A_ArrayExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_ArrayExpr").msgclass
3110
+ ResTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ResTarget").msgclass
3111
+ MultiAssignRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MultiAssignRef").msgclass
3112
+ TypeCast = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TypeCast").msgclass
3113
+ CollateClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CollateClause").msgclass
3114
+ SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortBy").msgclass
3115
+ WindowDef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WindowDef").msgclass
3116
+ RangeSubselect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeSubselect").msgclass
3117
+ RangeFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeFunction").msgclass
3118
+ RangeTableSample = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTableSample").msgclass
3119
+ RangeTableFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTableFunc").msgclass
3120
+ RangeTableFuncCol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTableFuncCol").msgclass
3121
+ TypeName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TypeName").msgclass
3122
+ ColumnDef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnDef").msgclass
3123
+ IndexElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IndexElem").msgclass
3124
+ Constraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Constraint").msgclass
3125
+ DefElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefElem").msgclass
3126
+ RangeTblEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblEntry").msgclass
3127
+ RangeTblFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblFunction").msgclass
3128
+ TableSampleClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableSampleClause").msgclass
3129
+ WithCheckOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WithCheckOption").msgclass
3130
+ SortGroupClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortGroupClause").msgclass
3131
+ GroupingSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GroupingSet").msgclass
3132
+ WindowClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WindowClause").msgclass
3133
+ ObjectWithArgs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ObjectWithArgs").msgclass
3134
+ AccessPriv = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AccessPriv").msgclass
3135
+ CreateOpClassItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateOpClassItem").msgclass
3136
+ TableLikeClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableLikeClause").msgclass
3137
+ FunctionParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FunctionParameter").msgclass
3138
+ LockingClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockingClause").msgclass
3139
+ RowMarkClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowMarkClause").msgclass
3140
+ XmlSerialize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlSerialize").msgclass
3141
+ WithClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WithClause").msgclass
3142
+ InferClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InferClause").msgclass
3143
+ OnConflictClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictClause").msgclass
3144
+ CommonTableExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CommonTableExpr").msgclass
3145
+ RoleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpec").msgclass
3146
+ TriggerTransition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TriggerTransition").msgclass
3147
+ PartitionElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionElem").msgclass
3148
+ PartitionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionSpec").msgclass
3149
+ PartitionBoundSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionBoundSpec").msgclass
3150
+ PartitionRangeDatum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionRangeDatum").msgclass
3151
+ PartitionCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionCmd").msgclass
3152
+ VacuumRelation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VacuumRelation").msgclass
3153
+ InlineCodeBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InlineCodeBlock").msgclass
3154
+ CallContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CallContext").msgclass
3155
+ ScanToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScanToken").msgclass
3156
+ OverridingKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OverridingKind").enummodule
3157
+ QuerySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.QuerySource").enummodule
3158
+ SortByDir = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByDir").enummodule
3159
+ SortByNulls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByNulls").enummodule
3160
+ A_Expr_Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr_Kind").enummodule
3161
+ RoleSpecType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpecType").enummodule
3162
+ TableLikeOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableLikeOption").enummodule
3163
+ DefElemAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefElemAction").enummodule
3164
+ PartitionRangeDatumKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionRangeDatumKind").enummodule
3165
+ RTEKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RTEKind").enummodule
3166
+ WCOKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WCOKind").enummodule
3167
+ GroupingSetKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GroupingSetKind").enummodule
3168
+ CTEMaterialize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CTEMaterialize").enummodule
3169
+ SetOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOperation").enummodule
3170
+ ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ObjectType").enummodule
3171
+ DropBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropBehavior").enummodule
3172
+ AlterTableType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableType").enummodule
3173
+ GrantTargetType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GrantTargetType").enummodule
3174
+ VariableSetKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VariableSetKind").enummodule
3175
+ ConstrType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ConstrType").enummodule
3176
+ ImportForeignSchemaType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ImportForeignSchemaType").enummodule
3177
+ RoleStmtType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleStmtType").enummodule
3178
+ FetchDirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FetchDirection").enummodule
3179
+ FunctionParameterMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FunctionParameterMode").enummodule
3180
+ TransactionStmtKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TransactionStmtKind").enummodule
3181
+ ViewCheckOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ViewCheckOption").enummodule
3182
+ ClusterOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClusterOption").enummodule
3183
+ DiscardMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DiscardMode").enummodule
3184
+ ReindexObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReindexObjectType").enummodule
3185
+ AlterTSConfigType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTSConfigType").enummodule
3186
+ AlterSubscriptionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSubscriptionType").enummodule
3187
+ OnCommitAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnCommitAction").enummodule
3188
+ ParamKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParamKind").enummodule
3189
+ CoercionContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoercionContext").enummodule
3190
+ CoercionForm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoercionForm").enummodule
3191
+ BoolExprType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BoolExprType").enummodule
3192
+ SubLinkType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubLinkType").enummodule
3193
+ RowCompareType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowCompareType").enummodule
3194
+ MinMaxOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MinMaxOp").enummodule
3195
+ SQLValueFunctionOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SQLValueFunctionOp").enummodule
3196
+ XmlExprOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlExprOp").enummodule
3197
+ XmlOptionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlOptionType").enummodule
3198
+ NullTestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NullTestType").enummodule
3199
+ BoolTestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BoolTestType").enummodule
3200
+ CmdType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CmdType").enummodule
3201
+ JoinType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.JoinType").enummodule
3202
+ AggStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AggStrategy").enummodule
3203
+ AggSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AggSplit").enummodule
3204
+ SetOpCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOpCmd").enummodule
3205
+ SetOpStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOpStrategy").enummodule
3206
+ OnConflictAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictAction").enummodule
3207
+ LimitOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LimitOption").enummodule
3208
+ LockClauseStrength = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockClauseStrength").enummodule
3209
+ LockWaitPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockWaitPolicy").enummodule
3210
+ LockTupleMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockTupleMode").enummodule
3211
+ KeywordKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.KeywordKind").enummodule
3212
+ Token = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Token").enummodule
3213
+ end