pg_query 1.1.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +163 -52
  3. data/README.md +80 -69
  4. data/Rakefile +82 -1
  5. data/ext/pg_query/extconf.rb +3 -31
  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 +1322 -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 +614 -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 +2520 -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 +249 -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 +988 -0
  204. data/ext/pg_query/include/pg_config_ext.h +8 -0
  205. data/ext/pg_query/include/pg_config_manual.h +350 -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 +2437 -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 +2878 -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 +1106 -0
  252. data/ext/pg_query/include/protobuf-c/protobuf-c.h +1106 -0
  253. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +10846 -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 +458 -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 +197 -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 +37628 -0
  380. data/ext/pg_query/pg_query_deparse.c +9953 -0
  381. data/ext/pg_query/pg_query_fingerprint.c +292 -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 +437 -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 +3660 -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 +1006 -0
  432. data/ext/pg_query/src_common_encnames.c +158 -0
  433. data/ext/pg_query/src_common_keywords.c +39 -0
  434. data/ext/pg_query/src_common_kwlist_d.h +1081 -0
  435. data/ext/pg_query/src_common_kwlookup.c +91 -0
  436. data/ext/pg_query/src_common_psprintf.c +158 -0
  437. data/ext/pg_query/src_common_string.c +86 -0
  438. data/ext/pg_query/src_common_stringinfo.c +336 -0
  439. data/ext/pg_query/src_common_wchar.c +1651 -0
  440. data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +1133 -0
  441. data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +877 -0
  442. data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +6533 -0
  443. data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +107 -0
  444. data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +123 -0
  445. data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +671 -0
  446. data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +255 -0
  447. data/ext/pg_query/src_port_erand48.c +127 -0
  448. data/ext/pg_query/src_port_pg_bitutils.c +246 -0
  449. data/ext/pg_query/src_port_pgsleep.c +69 -0
  450. data/ext/pg_query/src_port_pgstrcasecmp.c +83 -0
  451. data/ext/pg_query/src_port_qsort.c +240 -0
  452. data/ext/pg_query/src_port_random.c +31 -0
  453. data/ext/pg_query/src_port_snprintf.c +1449 -0
  454. data/ext/pg_query/src_port_strerror.c +324 -0
  455. data/ext/pg_query/src_port_strnlen.c +39 -0
  456. data/ext/pg_query/xxhash.c +43 -0
  457. data/lib/pg_query.rb +7 -4
  458. data/lib/pg_query/constants.rb +21 -0
  459. data/lib/pg_query/deparse.rb +16 -1117
  460. data/lib/pg_query/filter_columns.rb +86 -85
  461. data/lib/pg_query/fingerprint.rb +122 -87
  462. data/lib/pg_query/json_field_names.rb +1402 -0
  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 +220 -200
  466. data/lib/pg_query/parse_error.rb +1 -1
  467. data/lib/pg_query/pg_query_pb.rb +3211 -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 +64 -43
  471. data/lib/pg_query/version.rb +2 -2
  472. metadata +473 -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/legacy_parsetree.rb +0 -109
  478. data/lib/pg_query/node_types.rb +0 -284
@@ -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,3211 @@
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"
19
+ optional :range_var, :message, 2, "pg_query.RangeVar"
20
+ optional :table_func, :message, 3, "pg_query.TableFunc"
21
+ optional :expr, :message, 4, "pg_query.Expr"
22
+ optional :var, :message, 5, "pg_query.Var"
23
+ optional :param, :message, 6, "pg_query.Param"
24
+ optional :aggref, :message, 7, "pg_query.Aggref"
25
+ optional :grouping_func, :message, 8, "pg_query.GroupingFunc"
26
+ optional :window_func, :message, 9, "pg_query.WindowFunc"
27
+ optional :subscripting_ref, :message, 10, "pg_query.SubscriptingRef"
28
+ optional :func_expr, :message, 11, "pg_query.FuncExpr"
29
+ optional :named_arg_expr, :message, 12, "pg_query.NamedArgExpr"
30
+ optional :op_expr, :message, 13, "pg_query.OpExpr"
31
+ optional :distinct_expr, :message, 14, "pg_query.DistinctExpr"
32
+ optional :null_if_expr, :message, 15, "pg_query.NullIfExpr"
33
+ optional :scalar_array_op_expr, :message, 16, "pg_query.ScalarArrayOpExpr"
34
+ optional :bool_expr, :message, 17, "pg_query.BoolExpr"
35
+ optional :sub_link, :message, 18, "pg_query.SubLink"
36
+ optional :sub_plan, :message, 19, "pg_query.SubPlan"
37
+ optional :alternative_sub_plan, :message, 20, "pg_query.AlternativeSubPlan"
38
+ optional :field_select, :message, 21, "pg_query.FieldSelect"
39
+ optional :field_store, :message, 22, "pg_query.FieldStore"
40
+ optional :relabel_type, :message, 23, "pg_query.RelabelType"
41
+ optional :coerce_via_io, :message, 24, "pg_query.CoerceViaIO"
42
+ optional :array_coerce_expr, :message, 25, "pg_query.ArrayCoerceExpr"
43
+ optional :convert_rowtype_expr, :message, 26, "pg_query.ConvertRowtypeExpr"
44
+ optional :collate_expr, :message, 27, "pg_query.CollateExpr"
45
+ optional :case_expr, :message, 28, "pg_query.CaseExpr"
46
+ optional :case_when, :message, 29, "pg_query.CaseWhen"
47
+ optional :case_test_expr, :message, 30, "pg_query.CaseTestExpr"
48
+ optional :array_expr, :message, 31, "pg_query.ArrayExpr"
49
+ optional :row_expr, :message, 32, "pg_query.RowExpr"
50
+ optional :row_compare_expr, :message, 33, "pg_query.RowCompareExpr"
51
+ optional :coalesce_expr, :message, 34, "pg_query.CoalesceExpr"
52
+ optional :min_max_expr, :message, 35, "pg_query.MinMaxExpr"
53
+ optional :sqlvalue_function, :message, 36, "pg_query.SQLValueFunction"
54
+ optional :xml_expr, :message, 37, "pg_query.XmlExpr"
55
+ optional :null_test, :message, 38, "pg_query.NullTest"
56
+ optional :boolean_test, :message, 39, "pg_query.BooleanTest"
57
+ optional :coerce_to_domain, :message, 40, "pg_query.CoerceToDomain"
58
+ optional :coerce_to_domain_value, :message, 41, "pg_query.CoerceToDomainValue"
59
+ optional :set_to_default, :message, 42, "pg_query.SetToDefault"
60
+ optional :current_of_expr, :message, 43, "pg_query.CurrentOfExpr"
61
+ optional :next_value_expr, :message, 44, "pg_query.NextValueExpr"
62
+ optional :inference_elem, :message, 45, "pg_query.InferenceElem"
63
+ optional :target_entry, :message, 46, "pg_query.TargetEntry"
64
+ optional :range_tbl_ref, :message, 47, "pg_query.RangeTblRef"
65
+ optional :join_expr, :message, 48, "pg_query.JoinExpr"
66
+ optional :from_expr, :message, 49, "pg_query.FromExpr"
67
+ optional :on_conflict_expr, :message, 50, "pg_query.OnConflictExpr"
68
+ optional :into_clause, :message, 51, "pg_query.IntoClause"
69
+ optional :raw_stmt, :message, 52, "pg_query.RawStmt"
70
+ optional :query, :message, 53, "pg_query.Query"
71
+ optional :insert_stmt, :message, 54, "pg_query.InsertStmt"
72
+ optional :delete_stmt, :message, 55, "pg_query.DeleteStmt"
73
+ optional :update_stmt, :message, 56, "pg_query.UpdateStmt"
74
+ optional :select_stmt, :message, 57, "pg_query.SelectStmt"
75
+ optional :alter_table_stmt, :message, 58, "pg_query.AlterTableStmt"
76
+ optional :alter_table_cmd, :message, 59, "pg_query.AlterTableCmd"
77
+ optional :alter_domain_stmt, :message, 60, "pg_query.AlterDomainStmt"
78
+ optional :set_operation_stmt, :message, 61, "pg_query.SetOperationStmt"
79
+ optional :grant_stmt, :message, 62, "pg_query.GrantStmt"
80
+ optional :grant_role_stmt, :message, 63, "pg_query.GrantRoleStmt"
81
+ optional :alter_default_privileges_stmt, :message, 64, "pg_query.AlterDefaultPrivilegesStmt"
82
+ optional :close_portal_stmt, :message, 65, "pg_query.ClosePortalStmt"
83
+ optional :cluster_stmt, :message, 66, "pg_query.ClusterStmt"
84
+ optional :copy_stmt, :message, 67, "pg_query.CopyStmt"
85
+ optional :create_stmt, :message, 68, "pg_query.CreateStmt"
86
+ optional :define_stmt, :message, 69, "pg_query.DefineStmt"
87
+ optional :drop_stmt, :message, 70, "pg_query.DropStmt"
88
+ optional :truncate_stmt, :message, 71, "pg_query.TruncateStmt"
89
+ optional :comment_stmt, :message, 72, "pg_query.CommentStmt"
90
+ optional :fetch_stmt, :message, 73, "pg_query.FetchStmt"
91
+ optional :index_stmt, :message, 74, "pg_query.IndexStmt"
92
+ optional :create_function_stmt, :message, 75, "pg_query.CreateFunctionStmt"
93
+ optional :alter_function_stmt, :message, 76, "pg_query.AlterFunctionStmt"
94
+ optional :do_stmt, :message, 77, "pg_query.DoStmt"
95
+ optional :rename_stmt, :message, 78, "pg_query.RenameStmt"
96
+ optional :rule_stmt, :message, 79, "pg_query.RuleStmt"
97
+ optional :notify_stmt, :message, 80, "pg_query.NotifyStmt"
98
+ optional :listen_stmt, :message, 81, "pg_query.ListenStmt"
99
+ optional :unlisten_stmt, :message, 82, "pg_query.UnlistenStmt"
100
+ optional :transaction_stmt, :message, 83, "pg_query.TransactionStmt"
101
+ optional :view_stmt, :message, 84, "pg_query.ViewStmt"
102
+ optional :load_stmt, :message, 85, "pg_query.LoadStmt"
103
+ optional :create_domain_stmt, :message, 86, "pg_query.CreateDomainStmt"
104
+ optional :createdb_stmt, :message, 87, "pg_query.CreatedbStmt"
105
+ optional :dropdb_stmt, :message, 88, "pg_query.DropdbStmt"
106
+ optional :vacuum_stmt, :message, 89, "pg_query.VacuumStmt"
107
+ optional :explain_stmt, :message, 90, "pg_query.ExplainStmt"
108
+ optional :create_table_as_stmt, :message, 91, "pg_query.CreateTableAsStmt"
109
+ optional :create_seq_stmt, :message, 92, "pg_query.CreateSeqStmt"
110
+ optional :alter_seq_stmt, :message, 93, "pg_query.AlterSeqStmt"
111
+ optional :variable_set_stmt, :message, 94, "pg_query.VariableSetStmt"
112
+ optional :variable_show_stmt, :message, 95, "pg_query.VariableShowStmt"
113
+ optional :discard_stmt, :message, 96, "pg_query.DiscardStmt"
114
+ optional :create_trig_stmt, :message, 97, "pg_query.CreateTrigStmt"
115
+ optional :create_plang_stmt, :message, 98, "pg_query.CreatePLangStmt"
116
+ optional :create_role_stmt, :message, 99, "pg_query.CreateRoleStmt"
117
+ optional :alter_role_stmt, :message, 100, "pg_query.AlterRoleStmt"
118
+ optional :drop_role_stmt, :message, 101, "pg_query.DropRoleStmt"
119
+ optional :lock_stmt, :message, 102, "pg_query.LockStmt"
120
+ optional :constraints_set_stmt, :message, 103, "pg_query.ConstraintsSetStmt"
121
+ optional :reindex_stmt, :message, 104, "pg_query.ReindexStmt"
122
+ optional :check_point_stmt, :message, 105, "pg_query.CheckPointStmt"
123
+ optional :create_schema_stmt, :message, 106, "pg_query.CreateSchemaStmt"
124
+ optional :alter_database_stmt, :message, 107, "pg_query.AlterDatabaseStmt"
125
+ optional :alter_database_set_stmt, :message, 108, "pg_query.AlterDatabaseSetStmt"
126
+ optional :alter_role_set_stmt, :message, 109, "pg_query.AlterRoleSetStmt"
127
+ optional :create_conversion_stmt, :message, 110, "pg_query.CreateConversionStmt"
128
+ optional :create_cast_stmt, :message, 111, "pg_query.CreateCastStmt"
129
+ optional :create_op_class_stmt, :message, 112, "pg_query.CreateOpClassStmt"
130
+ optional :create_op_family_stmt, :message, 113, "pg_query.CreateOpFamilyStmt"
131
+ optional :alter_op_family_stmt, :message, 114, "pg_query.AlterOpFamilyStmt"
132
+ optional :prepare_stmt, :message, 115, "pg_query.PrepareStmt"
133
+ optional :execute_stmt, :message, 116, "pg_query.ExecuteStmt"
134
+ optional :deallocate_stmt, :message, 117, "pg_query.DeallocateStmt"
135
+ optional :declare_cursor_stmt, :message, 118, "pg_query.DeclareCursorStmt"
136
+ optional :create_table_space_stmt, :message, 119, "pg_query.CreateTableSpaceStmt"
137
+ optional :drop_table_space_stmt, :message, 120, "pg_query.DropTableSpaceStmt"
138
+ optional :alter_object_depends_stmt, :message, 121, "pg_query.AlterObjectDependsStmt"
139
+ optional :alter_object_schema_stmt, :message, 122, "pg_query.AlterObjectSchemaStmt"
140
+ optional :alter_owner_stmt, :message, 123, "pg_query.AlterOwnerStmt"
141
+ optional :alter_operator_stmt, :message, 124, "pg_query.AlterOperatorStmt"
142
+ optional :alter_type_stmt, :message, 125, "pg_query.AlterTypeStmt"
143
+ optional :drop_owned_stmt, :message, 126, "pg_query.DropOwnedStmt"
144
+ optional :reassign_owned_stmt, :message, 127, "pg_query.ReassignOwnedStmt"
145
+ optional :composite_type_stmt, :message, 128, "pg_query.CompositeTypeStmt"
146
+ optional :create_enum_stmt, :message, 129, "pg_query.CreateEnumStmt"
147
+ optional :create_range_stmt, :message, 130, "pg_query.CreateRangeStmt"
148
+ optional :alter_enum_stmt, :message, 131, "pg_query.AlterEnumStmt"
149
+ optional :alter_tsdictionary_stmt, :message, 132, "pg_query.AlterTSDictionaryStmt"
150
+ optional :alter_tsconfiguration_stmt, :message, 133, "pg_query.AlterTSConfigurationStmt"
151
+ optional :create_fdw_stmt, :message, 134, "pg_query.CreateFdwStmt"
152
+ optional :alter_fdw_stmt, :message, 135, "pg_query.AlterFdwStmt"
153
+ optional :create_foreign_server_stmt, :message, 136, "pg_query.CreateForeignServerStmt"
154
+ optional :alter_foreign_server_stmt, :message, 137, "pg_query.AlterForeignServerStmt"
155
+ optional :create_user_mapping_stmt, :message, 138, "pg_query.CreateUserMappingStmt"
156
+ optional :alter_user_mapping_stmt, :message, 139, "pg_query.AlterUserMappingStmt"
157
+ optional :drop_user_mapping_stmt, :message, 140, "pg_query.DropUserMappingStmt"
158
+ optional :alter_table_space_options_stmt, :message, 141, "pg_query.AlterTableSpaceOptionsStmt"
159
+ optional :alter_table_move_all_stmt, :message, 142, "pg_query.AlterTableMoveAllStmt"
160
+ optional :sec_label_stmt, :message, 143, "pg_query.SecLabelStmt"
161
+ optional :create_foreign_table_stmt, :message, 144, "pg_query.CreateForeignTableStmt"
162
+ optional :import_foreign_schema_stmt, :message, 145, "pg_query.ImportForeignSchemaStmt"
163
+ optional :create_extension_stmt, :message, 146, "pg_query.CreateExtensionStmt"
164
+ optional :alter_extension_stmt, :message, 147, "pg_query.AlterExtensionStmt"
165
+ optional :alter_extension_contents_stmt, :message, 148, "pg_query.AlterExtensionContentsStmt"
166
+ optional :create_event_trig_stmt, :message, 149, "pg_query.CreateEventTrigStmt"
167
+ optional :alter_event_trig_stmt, :message, 150, "pg_query.AlterEventTrigStmt"
168
+ optional :refresh_mat_view_stmt, :message, 151, "pg_query.RefreshMatViewStmt"
169
+ optional :replica_identity_stmt, :message, 152, "pg_query.ReplicaIdentityStmt"
170
+ optional :alter_system_stmt, :message, 153, "pg_query.AlterSystemStmt"
171
+ optional :create_policy_stmt, :message, 154, "pg_query.CreatePolicyStmt"
172
+ optional :alter_policy_stmt, :message, 155, "pg_query.AlterPolicyStmt"
173
+ optional :create_transform_stmt, :message, 156, "pg_query.CreateTransformStmt"
174
+ optional :create_am_stmt, :message, 157, "pg_query.CreateAmStmt"
175
+ optional :create_publication_stmt, :message, 158, "pg_query.CreatePublicationStmt"
176
+ optional :alter_publication_stmt, :message, 159, "pg_query.AlterPublicationStmt"
177
+ optional :create_subscription_stmt, :message, 160, "pg_query.CreateSubscriptionStmt"
178
+ optional :alter_subscription_stmt, :message, 161, "pg_query.AlterSubscriptionStmt"
179
+ optional :drop_subscription_stmt, :message, 162, "pg_query.DropSubscriptionStmt"
180
+ optional :create_stats_stmt, :message, 163, "pg_query.CreateStatsStmt"
181
+ optional :alter_collation_stmt, :message, 164, "pg_query.AlterCollationStmt"
182
+ optional :call_stmt, :message, 165, "pg_query.CallStmt"
183
+ optional :alter_stats_stmt, :message, 166, "pg_query.AlterStatsStmt"
184
+ optional :a_expr, :message, 167, "pg_query.A_Expr"
185
+ optional :column_ref, :message, 168, "pg_query.ColumnRef"
186
+ optional :param_ref, :message, 169, "pg_query.ParamRef"
187
+ optional :a_const, :message, 170, "pg_query.A_Const"
188
+ optional :func_call, :message, 171, "pg_query.FuncCall"
189
+ optional :a_star, :message, 172, "pg_query.A_Star"
190
+ optional :a_indices, :message, 173, "pg_query.A_Indices"
191
+ optional :a_indirection, :message, 174, "pg_query.A_Indirection"
192
+ optional :a_array_expr, :message, 175, "pg_query.A_ArrayExpr"
193
+ optional :res_target, :message, 176, "pg_query.ResTarget"
194
+ optional :multi_assign_ref, :message, 177, "pg_query.MultiAssignRef"
195
+ optional :type_cast, :message, 178, "pg_query.TypeCast"
196
+ optional :collate_clause, :message, 179, "pg_query.CollateClause"
197
+ optional :sort_by, :message, 180, "pg_query.SortBy"
198
+ optional :window_def, :message, 181, "pg_query.WindowDef"
199
+ optional :range_subselect, :message, 182, "pg_query.RangeSubselect"
200
+ optional :range_function, :message, 183, "pg_query.RangeFunction"
201
+ optional :range_table_sample, :message, 184, "pg_query.RangeTableSample"
202
+ optional :range_table_func, :message, 185, "pg_query.RangeTableFunc"
203
+ optional :range_table_func_col, :message, 186, "pg_query.RangeTableFuncCol"
204
+ optional :type_name, :message, 187, "pg_query.TypeName"
205
+ optional :column_def, :message, 188, "pg_query.ColumnDef"
206
+ optional :index_elem, :message, 189, "pg_query.IndexElem"
207
+ optional :constraint, :message, 190, "pg_query.Constraint"
208
+ optional :def_elem, :message, 191, "pg_query.DefElem"
209
+ optional :range_tbl_entry, :message, 192, "pg_query.RangeTblEntry"
210
+ optional :range_tbl_function, :message, 193, "pg_query.RangeTblFunction"
211
+ optional :table_sample_clause, :message, 194, "pg_query.TableSampleClause"
212
+ optional :with_check_option, :message, 195, "pg_query.WithCheckOption"
213
+ optional :sort_group_clause, :message, 196, "pg_query.SortGroupClause"
214
+ optional :grouping_set, :message, 197, "pg_query.GroupingSet"
215
+ optional :window_clause, :message, 198, "pg_query.WindowClause"
216
+ optional :object_with_args, :message, 199, "pg_query.ObjectWithArgs"
217
+ optional :access_priv, :message, 200, "pg_query.AccessPriv"
218
+ optional :create_op_class_item, :message, 201, "pg_query.CreateOpClassItem"
219
+ optional :table_like_clause, :message, 202, "pg_query.TableLikeClause"
220
+ optional :function_parameter, :message, 203, "pg_query.FunctionParameter"
221
+ optional :locking_clause, :message, 204, "pg_query.LockingClause"
222
+ optional :row_mark_clause, :message, 205, "pg_query.RowMarkClause"
223
+ optional :xml_serialize, :message, 206, "pg_query.XmlSerialize"
224
+ optional :with_clause, :message, 207, "pg_query.WithClause"
225
+ optional :infer_clause, :message, 208, "pg_query.InferClause"
226
+ optional :on_conflict_clause, :message, 209, "pg_query.OnConflictClause"
227
+ optional :common_table_expr, :message, 210, "pg_query.CommonTableExpr"
228
+ optional :role_spec, :message, 211, "pg_query.RoleSpec"
229
+ optional :trigger_transition, :message, 212, "pg_query.TriggerTransition"
230
+ optional :partition_elem, :message, 213, "pg_query.PartitionElem"
231
+ optional :partition_spec, :message, 214, "pg_query.PartitionSpec"
232
+ optional :partition_bound_spec, :message, 215, "pg_query.PartitionBoundSpec"
233
+ optional :partition_range_datum, :message, 216, "pg_query.PartitionRangeDatum"
234
+ optional :partition_cmd, :message, 217, "pg_query.PartitionCmd"
235
+ optional :vacuum_relation, :message, 218, "pg_query.VacuumRelation"
236
+ optional :inline_code_block, :message, 219, "pg_query.InlineCodeBlock"
237
+ optional :call_context, :message, 220, "pg_query.CallContext"
238
+ optional :integer, :message, 221, "pg_query.Integer"
239
+ optional :float, :message, 222, "pg_query.Float"
240
+ optional :string, :message, 223, "pg_query.String"
241
+ optional :bit_string, :message, 224, "pg_query.BitString"
242
+ optional :null, :message, 225, "pg_query.Null"
243
+ optional :list, :message, 226, "pg_query.List"
244
+ optional :int_list, :message, 227, "pg_query.IntList"
245
+ optional :oid_list, :message, 228, "pg_query.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
273
+ repeated :colnames, :message, 2, "pg_query.Node"
274
+ end
275
+ add_message "pg_query.RangeVar" do
276
+ optional :catalogname, :string, 1
277
+ optional :schemaname, :string, 2
278
+ optional :relname, :string, 3
279
+ optional :inh, :bool, 4
280
+ optional :relpersistence, :string, 5
281
+ optional :alias, :message, 6, "pg_query.Alias"
282
+ optional :location, :int32, 7
283
+ end
284
+ add_message "pg_query.TableFunc" do
285
+ repeated :ns_uris, :message, 1, "pg_query.Node"
286
+ repeated :ns_names, :message, 2, "pg_query.Node"
287
+ optional :docexpr, :message, 3, "pg_query.Node"
288
+ optional :rowexpr, :message, 4, "pg_query.Node"
289
+ repeated :colnames, :message, 5, "pg_query.Node"
290
+ repeated :coltypes, :message, 6, "pg_query.Node"
291
+ repeated :coltypmods, :message, 7, "pg_query.Node"
292
+ repeated :colcollations, :message, 8, "pg_query.Node"
293
+ repeated :colexprs, :message, 9, "pg_query.Node"
294
+ repeated :coldefexprs, :message, 10, "pg_query.Node"
295
+ repeated :notnulls, :uint64, 11
296
+ optional :ordinalitycol, :int32, 12
297
+ optional :location, :int32, 13
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"
303
+ optional :varno, :uint32, 2
304
+ optional :varattno, :int32, 3
305
+ optional :vartype, :uint32, 4
306
+ optional :vartypmod, :int32, 5
307
+ optional :varcollid, :uint32, 6
308
+ optional :varlevelsup, :uint32, 7
309
+ optional :varnosyn, :uint32, 8
310
+ optional :varattnosyn, :int32, 9
311
+ optional :location, :int32, 10
312
+ end
313
+ add_message "pg_query.Param" do
314
+ optional :xpr, :message, 1, "pg_query.Node"
315
+ optional :paramkind, :enum, 2, "pg_query.ParamKind"
316
+ optional :paramid, :int32, 3
317
+ optional :paramtype, :uint32, 4
318
+ optional :paramtypmod, :int32, 5
319
+ optional :paramcollid, :uint32, 6
320
+ optional :location, :int32, 7
321
+ end
322
+ add_message "pg_query.Aggref" do
323
+ optional :xpr, :message, 1, "pg_query.Node"
324
+ optional :aggfnoid, :uint32, 2
325
+ optional :aggtype, :uint32, 3
326
+ optional :aggcollid, :uint32, 4
327
+ optional :inputcollid, :uint32, 5
328
+ optional :aggtranstype, :uint32, 6
329
+ repeated :aggargtypes, :message, 7, "pg_query.Node"
330
+ repeated :aggdirectargs, :message, 8, "pg_query.Node"
331
+ repeated :args, :message, 9, "pg_query.Node"
332
+ repeated :aggorder, :message, 10, "pg_query.Node"
333
+ repeated :aggdistinct, :message, 11, "pg_query.Node"
334
+ optional :aggfilter, :message, 12, "pg_query.Node"
335
+ optional :aggstar, :bool, 13
336
+ optional :aggvariadic, :bool, 14
337
+ optional :aggkind, :string, 15
338
+ optional :agglevelsup, :uint32, 16
339
+ optional :aggsplit, :enum, 17, "pg_query.AggSplit"
340
+ optional :location, :int32, 18
341
+ end
342
+ add_message "pg_query.GroupingFunc" do
343
+ optional :xpr, :message, 1, "pg_query.Node"
344
+ repeated :args, :message, 2, "pg_query.Node"
345
+ repeated :refs, :message, 3, "pg_query.Node"
346
+ repeated :cols, :message, 4, "pg_query.Node"
347
+ optional :agglevelsup, :uint32, 5
348
+ optional :location, :int32, 6
349
+ end
350
+ add_message "pg_query.WindowFunc" do
351
+ optional :xpr, :message, 1, "pg_query.Node"
352
+ optional :winfnoid, :uint32, 2
353
+ optional :wintype, :uint32, 3
354
+ optional :wincollid, :uint32, 4
355
+ optional :inputcollid, :uint32, 5
356
+ repeated :args, :message, 6, "pg_query.Node"
357
+ optional :aggfilter, :message, 7, "pg_query.Node"
358
+ optional :winref, :uint32, 8
359
+ optional :winstar, :bool, 9
360
+ optional :winagg, :bool, 10
361
+ optional :location, :int32, 11
362
+ end
363
+ add_message "pg_query.SubscriptingRef" do
364
+ optional :xpr, :message, 1, "pg_query.Node"
365
+ optional :refcontainertype, :uint32, 2
366
+ optional :refelemtype, :uint32, 3
367
+ optional :reftypmod, :int32, 4
368
+ optional :refcollid, :uint32, 5
369
+ repeated :refupperindexpr, :message, 6, "pg_query.Node"
370
+ repeated :reflowerindexpr, :message, 7, "pg_query.Node"
371
+ optional :refexpr, :message, 8, "pg_query.Node"
372
+ optional :refassgnexpr, :message, 9, "pg_query.Node"
373
+ end
374
+ add_message "pg_query.FuncExpr" do
375
+ optional :xpr, :message, 1, "pg_query.Node"
376
+ optional :funcid, :uint32, 2
377
+ optional :funcresulttype, :uint32, 3
378
+ optional :funcretset, :bool, 4
379
+ optional :funcvariadic, :bool, 5
380
+ optional :funcformat, :enum, 6, "pg_query.CoercionForm"
381
+ optional :funccollid, :uint32, 7
382
+ optional :inputcollid, :uint32, 8
383
+ repeated :args, :message, 9, "pg_query.Node"
384
+ optional :location, :int32, 10
385
+ end
386
+ add_message "pg_query.NamedArgExpr" do
387
+ optional :xpr, :message, 1, "pg_query.Node"
388
+ optional :arg, :message, 2, "pg_query.Node"
389
+ optional :name, :string, 3
390
+ optional :argnumber, :int32, 4
391
+ optional :location, :int32, 5
392
+ end
393
+ add_message "pg_query.OpExpr" do
394
+ optional :xpr, :message, 1, "pg_query.Node"
395
+ optional :opno, :uint32, 2
396
+ optional :opfuncid, :uint32, 3
397
+ optional :opresulttype, :uint32, 4
398
+ optional :opretset, :bool, 5
399
+ optional :opcollid, :uint32, 6
400
+ optional :inputcollid, :uint32, 7
401
+ repeated :args, :message, 8, "pg_query.Node"
402
+ optional :location, :int32, 9
403
+ end
404
+ add_message "pg_query.DistinctExpr" do
405
+ optional :xpr, :message, 1, "pg_query.Node"
406
+ optional :opno, :uint32, 2
407
+ optional :opfuncid, :uint32, 3
408
+ optional :opresulttype, :uint32, 4
409
+ optional :opretset, :bool, 5
410
+ optional :opcollid, :uint32, 6
411
+ optional :inputcollid, :uint32, 7
412
+ repeated :args, :message, 8, "pg_query.Node"
413
+ optional :location, :int32, 9
414
+ end
415
+ add_message "pg_query.NullIfExpr" do
416
+ optional :xpr, :message, 1, "pg_query.Node"
417
+ optional :opno, :uint32, 2
418
+ optional :opfuncid, :uint32, 3
419
+ optional :opresulttype, :uint32, 4
420
+ optional :opretset, :bool, 5
421
+ optional :opcollid, :uint32, 6
422
+ optional :inputcollid, :uint32, 7
423
+ repeated :args, :message, 8, "pg_query.Node"
424
+ optional :location, :int32, 9
425
+ end
426
+ add_message "pg_query.ScalarArrayOpExpr" do
427
+ optional :xpr, :message, 1, "pg_query.Node"
428
+ optional :opno, :uint32, 2
429
+ optional :opfuncid, :uint32, 3
430
+ optional :use_or, :bool, 4
431
+ optional :inputcollid, :uint32, 5
432
+ repeated :args, :message, 6, "pg_query.Node"
433
+ optional :location, :int32, 7
434
+ end
435
+ add_message "pg_query.BoolExpr" do
436
+ optional :xpr, :message, 1, "pg_query.Node"
437
+ optional :boolop, :enum, 2, "pg_query.BoolExprType"
438
+ repeated :args, :message, 3, "pg_query.Node"
439
+ optional :location, :int32, 4
440
+ end
441
+ add_message "pg_query.SubLink" do
442
+ optional :xpr, :message, 1, "pg_query.Node"
443
+ optional :sub_link_type, :enum, 2, "pg_query.SubLinkType"
444
+ optional :sub_link_id, :int32, 3
445
+ optional :testexpr, :message, 4, "pg_query.Node"
446
+ repeated :oper_name, :message, 5, "pg_query.Node"
447
+ optional :subselect, :message, 6, "pg_query.Node"
448
+ optional :location, :int32, 7
449
+ end
450
+ add_message "pg_query.SubPlan" do
451
+ optional :xpr, :message, 1, "pg_query.Node"
452
+ optional :sub_link_type, :enum, 2, "pg_query.SubLinkType"
453
+ optional :testexpr, :message, 3, "pg_query.Node"
454
+ repeated :param_ids, :message, 4, "pg_query.Node"
455
+ optional :plan_id, :int32, 5
456
+ optional :plan_name, :string, 6
457
+ optional :first_col_type, :uint32, 7
458
+ optional :first_col_typmod, :int32, 8
459
+ optional :first_col_collation, :uint32, 9
460
+ optional :use_hash_table, :bool, 10
461
+ optional :unknown_eq_false, :bool, 11
462
+ optional :parallel_safe, :bool, 12
463
+ repeated :set_param, :message, 13, "pg_query.Node"
464
+ repeated :par_param, :message, 14, "pg_query.Node"
465
+ repeated :args, :message, 15, "pg_query.Node"
466
+ optional :startup_cost, :double, 16
467
+ optional :per_call_cost, :double, 17
468
+ end
469
+ add_message "pg_query.AlternativeSubPlan" do
470
+ optional :xpr, :message, 1, "pg_query.Node"
471
+ repeated :subplans, :message, 2, "pg_query.Node"
472
+ end
473
+ add_message "pg_query.FieldSelect" do
474
+ optional :xpr, :message, 1, "pg_query.Node"
475
+ optional :arg, :message, 2, "pg_query.Node"
476
+ optional :fieldnum, :int32, 3
477
+ optional :resulttype, :uint32, 4
478
+ optional :resulttypmod, :int32, 5
479
+ optional :resultcollid, :uint32, 6
480
+ end
481
+ add_message "pg_query.FieldStore" do
482
+ optional :xpr, :message, 1, "pg_query.Node"
483
+ optional :arg, :message, 2, "pg_query.Node"
484
+ repeated :newvals, :message, 3, "pg_query.Node"
485
+ repeated :fieldnums, :message, 4, "pg_query.Node"
486
+ optional :resulttype, :uint32, 5
487
+ end
488
+ add_message "pg_query.RelabelType" do
489
+ optional :xpr, :message, 1, "pg_query.Node"
490
+ optional :arg, :message, 2, "pg_query.Node"
491
+ optional :resulttype, :uint32, 3
492
+ optional :resulttypmod, :int32, 4
493
+ optional :resultcollid, :uint32, 5
494
+ optional :relabelformat, :enum, 6, "pg_query.CoercionForm"
495
+ optional :location, :int32, 7
496
+ end
497
+ add_message "pg_query.CoerceViaIO" do
498
+ optional :xpr, :message, 1, "pg_query.Node"
499
+ optional :arg, :message, 2, "pg_query.Node"
500
+ optional :resulttype, :uint32, 3
501
+ optional :resultcollid, :uint32, 4
502
+ optional :coerceformat, :enum, 5, "pg_query.CoercionForm"
503
+ optional :location, :int32, 6
504
+ end
505
+ add_message "pg_query.ArrayCoerceExpr" do
506
+ optional :xpr, :message, 1, "pg_query.Node"
507
+ optional :arg, :message, 2, "pg_query.Node"
508
+ optional :elemexpr, :message, 3, "pg_query.Node"
509
+ optional :resulttype, :uint32, 4
510
+ optional :resulttypmod, :int32, 5
511
+ optional :resultcollid, :uint32, 6
512
+ optional :coerceformat, :enum, 7, "pg_query.CoercionForm"
513
+ optional :location, :int32, 8
514
+ end
515
+ add_message "pg_query.ConvertRowtypeExpr" do
516
+ optional :xpr, :message, 1, "pg_query.Node"
517
+ optional :arg, :message, 2, "pg_query.Node"
518
+ optional :resulttype, :uint32, 3
519
+ optional :convertformat, :enum, 4, "pg_query.CoercionForm"
520
+ optional :location, :int32, 5
521
+ end
522
+ add_message "pg_query.CollateExpr" do
523
+ optional :xpr, :message, 1, "pg_query.Node"
524
+ optional :arg, :message, 2, "pg_query.Node"
525
+ optional :coll_oid, :uint32, 3
526
+ optional :location, :int32, 4
527
+ end
528
+ add_message "pg_query.CaseExpr" do
529
+ optional :xpr, :message, 1, "pg_query.Node"
530
+ optional :casetype, :uint32, 2
531
+ optional :casecollid, :uint32, 3
532
+ optional :arg, :message, 4, "pg_query.Node"
533
+ repeated :args, :message, 5, "pg_query.Node"
534
+ optional :defresult, :message, 6, "pg_query.Node"
535
+ optional :location, :int32, 7
536
+ end
537
+ add_message "pg_query.CaseWhen" do
538
+ optional :xpr, :message, 1, "pg_query.Node"
539
+ optional :expr, :message, 2, "pg_query.Node"
540
+ optional :result, :message, 3, "pg_query.Node"
541
+ optional :location, :int32, 4
542
+ end
543
+ add_message "pg_query.CaseTestExpr" do
544
+ optional :xpr, :message, 1, "pg_query.Node"
545
+ optional :type_id, :uint32, 2
546
+ optional :type_mod, :int32, 3
547
+ optional :collation, :uint32, 4
548
+ end
549
+ add_message "pg_query.ArrayExpr" do
550
+ optional :xpr, :message, 1, "pg_query.Node"
551
+ optional :array_typeid, :uint32, 2
552
+ optional :array_collid, :uint32, 3
553
+ optional :element_typeid, :uint32, 4
554
+ repeated :elements, :message, 5, "pg_query.Node"
555
+ optional :multidims, :bool, 6
556
+ optional :location, :int32, 7
557
+ end
558
+ add_message "pg_query.RowExpr" do
559
+ optional :xpr, :message, 1, "pg_query.Node"
560
+ repeated :args, :message, 2, "pg_query.Node"
561
+ optional :row_typeid, :uint32, 3
562
+ optional :row_format, :enum, 4, "pg_query.CoercionForm"
563
+ repeated :colnames, :message, 5, "pg_query.Node"
564
+ optional :location, :int32, 6
565
+ end
566
+ add_message "pg_query.RowCompareExpr" do
567
+ optional :xpr, :message, 1, "pg_query.Node"
568
+ optional :rctype, :enum, 2, "pg_query.RowCompareType"
569
+ repeated :opnos, :message, 3, "pg_query.Node"
570
+ repeated :opfamilies, :message, 4, "pg_query.Node"
571
+ repeated :inputcollids, :message, 5, "pg_query.Node"
572
+ repeated :largs, :message, 6, "pg_query.Node"
573
+ repeated :rargs, :message, 7, "pg_query.Node"
574
+ end
575
+ add_message "pg_query.CoalesceExpr" do
576
+ optional :xpr, :message, 1, "pg_query.Node"
577
+ optional :coalescetype, :uint32, 2
578
+ optional :coalescecollid, :uint32, 3
579
+ repeated :args, :message, 4, "pg_query.Node"
580
+ optional :location, :int32, 5
581
+ end
582
+ add_message "pg_query.MinMaxExpr" do
583
+ optional :xpr, :message, 1, "pg_query.Node"
584
+ optional :minmaxtype, :uint32, 2
585
+ optional :minmaxcollid, :uint32, 3
586
+ optional :inputcollid, :uint32, 4
587
+ optional :op, :enum, 5, "pg_query.MinMaxOp"
588
+ repeated :args, :message, 6, "pg_query.Node"
589
+ optional :location, :int32, 7
590
+ end
591
+ add_message "pg_query.SQLValueFunction" do
592
+ optional :xpr, :message, 1, "pg_query.Node"
593
+ optional :op, :enum, 2, "pg_query.SQLValueFunctionOp"
594
+ optional :type, :uint32, 3
595
+ optional :typmod, :int32, 4
596
+ optional :location, :int32, 5
597
+ end
598
+ add_message "pg_query.XmlExpr" do
599
+ optional :xpr, :message, 1, "pg_query.Node"
600
+ optional :op, :enum, 2, "pg_query.XmlExprOp"
601
+ optional :name, :string, 3
602
+ repeated :named_args, :message, 4, "pg_query.Node"
603
+ repeated :arg_names, :message, 5, "pg_query.Node"
604
+ repeated :args, :message, 6, "pg_query.Node"
605
+ optional :xmloption, :enum, 7, "pg_query.XmlOptionType"
606
+ optional :type, :uint32, 8
607
+ optional :typmod, :int32, 9
608
+ optional :location, :int32, 10
609
+ end
610
+ add_message "pg_query.NullTest" do
611
+ optional :xpr, :message, 1, "pg_query.Node"
612
+ optional :arg, :message, 2, "pg_query.Node"
613
+ optional :nulltesttype, :enum, 3, "pg_query.NullTestType"
614
+ optional :argisrow, :bool, 4
615
+ optional :location, :int32, 5
616
+ end
617
+ add_message "pg_query.BooleanTest" do
618
+ optional :xpr, :message, 1, "pg_query.Node"
619
+ optional :arg, :message, 2, "pg_query.Node"
620
+ optional :booltesttype, :enum, 3, "pg_query.BoolTestType"
621
+ optional :location, :int32, 4
622
+ end
623
+ add_message "pg_query.CoerceToDomain" do
624
+ optional :xpr, :message, 1, "pg_query.Node"
625
+ optional :arg, :message, 2, "pg_query.Node"
626
+ optional :resulttype, :uint32, 3
627
+ optional :resulttypmod, :int32, 4
628
+ optional :resultcollid, :uint32, 5
629
+ optional :coercionformat, :enum, 6, "pg_query.CoercionForm"
630
+ optional :location, :int32, 7
631
+ end
632
+ add_message "pg_query.CoerceToDomainValue" do
633
+ optional :xpr, :message, 1, "pg_query.Node"
634
+ optional :type_id, :uint32, 2
635
+ optional :type_mod, :int32, 3
636
+ optional :collation, :uint32, 4
637
+ optional :location, :int32, 5
638
+ end
639
+ add_message "pg_query.SetToDefault" do
640
+ optional :xpr, :message, 1, "pg_query.Node"
641
+ optional :type_id, :uint32, 2
642
+ optional :type_mod, :int32, 3
643
+ optional :collation, :uint32, 4
644
+ optional :location, :int32, 5
645
+ end
646
+ add_message "pg_query.CurrentOfExpr" do
647
+ optional :xpr, :message, 1, "pg_query.Node"
648
+ optional :cvarno, :uint32, 2
649
+ optional :cursor_name, :string, 3
650
+ optional :cursor_param, :int32, 4
651
+ end
652
+ add_message "pg_query.NextValueExpr" do
653
+ optional :xpr, :message, 1, "pg_query.Node"
654
+ optional :seqid, :uint32, 2
655
+ optional :type_id, :uint32, 3
656
+ end
657
+ add_message "pg_query.InferenceElem" do
658
+ optional :xpr, :message, 1, "pg_query.Node"
659
+ optional :expr, :message, 2, "pg_query.Node"
660
+ optional :infercollid, :uint32, 3
661
+ optional :inferopclass, :uint32, 4
662
+ end
663
+ add_message "pg_query.TargetEntry" do
664
+ optional :xpr, :message, 1, "pg_query.Node"
665
+ optional :expr, :message, 2, "pg_query.Node"
666
+ optional :resno, :int32, 3
667
+ optional :resname, :string, 4
668
+ optional :ressortgroupref, :uint32, 5
669
+ optional :resorigtbl, :uint32, 6
670
+ optional :resorigcol, :int32, 7
671
+ optional :resjunk, :bool, 8
672
+ end
673
+ add_message "pg_query.RangeTblRef" do
674
+ optional :rtindex, :int32, 1
675
+ end
676
+ add_message "pg_query.JoinExpr" do
677
+ optional :jointype, :enum, 1, "pg_query.JoinType"
678
+ optional :is_natural, :bool, 2
679
+ optional :larg, :message, 3, "pg_query.Node"
680
+ optional :rarg, :message, 4, "pg_query.Node"
681
+ repeated :using_clause, :message, 5, "pg_query.Node"
682
+ optional :quals, :message, 6, "pg_query.Node"
683
+ optional :alias, :message, 7, "pg_query.Alias"
684
+ optional :rtindex, :int32, 8
685
+ end
686
+ add_message "pg_query.FromExpr" do
687
+ repeated :fromlist, :message, 1, "pg_query.Node"
688
+ optional :quals, :message, 2, "pg_query.Node"
689
+ end
690
+ add_message "pg_query.OnConflictExpr" do
691
+ optional :action, :enum, 1, "pg_query.OnConflictAction"
692
+ repeated :arbiter_elems, :message, 2, "pg_query.Node"
693
+ optional :arbiter_where, :message, 3, "pg_query.Node"
694
+ optional :constraint, :uint32, 4
695
+ repeated :on_conflict_set, :message, 5, "pg_query.Node"
696
+ optional :on_conflict_where, :message, 6, "pg_query.Node"
697
+ optional :excl_rel_index, :int32, 7
698
+ repeated :excl_rel_tlist, :message, 8, "pg_query.Node"
699
+ end
700
+ add_message "pg_query.IntoClause" do
701
+ optional :rel, :message, 1, "pg_query.RangeVar"
702
+ repeated :col_names, :message, 2, "pg_query.Node"
703
+ optional :access_method, :string, 3
704
+ repeated :options, :message, 4, "pg_query.Node"
705
+ optional :on_commit, :enum, 5, "pg_query.OnCommitAction"
706
+ optional :table_space_name, :string, 6
707
+ optional :view_query, :message, 7, "pg_query.Node"
708
+ optional :skip_data, :bool, 8
709
+ end
710
+ add_message "pg_query.RawStmt" do
711
+ optional :stmt, :message, 1, "pg_query.Node"
712
+ optional :stmt_location, :int32, 2
713
+ optional :stmt_len, :int32, 3
714
+ end
715
+ add_message "pg_query.Query" do
716
+ optional :command_type, :enum, 1, "pg_query.CmdType"
717
+ optional :query_source, :enum, 2, "pg_query.QuerySource"
718
+ optional :can_set_tag, :bool, 3
719
+ optional :utility_stmt, :message, 4, "pg_query.Node"
720
+ optional :result_relation, :int32, 5
721
+ optional :has_aggs, :bool, 6
722
+ optional :has_window_funcs, :bool, 7
723
+ optional :has_target_srfs, :bool, 8
724
+ optional :has_sub_links, :bool, 9
725
+ optional :has_distinct_on, :bool, 10
726
+ optional :has_recursive, :bool, 11
727
+ optional :has_modifying_cte, :bool, 12
728
+ optional :has_for_update, :bool, 13
729
+ optional :has_row_security, :bool, 14
730
+ repeated :cte_list, :message, 15, "pg_query.Node"
731
+ repeated :rtable, :message, 16, "pg_query.Node"
732
+ optional :jointree, :message, 17, "pg_query.FromExpr"
733
+ repeated :target_list, :message, 18, "pg_query.Node"
734
+ optional :override, :enum, 19, "pg_query.OverridingKind"
735
+ optional :on_conflict, :message, 20, "pg_query.OnConflictExpr"
736
+ repeated :returning_list, :message, 21, "pg_query.Node"
737
+ repeated :group_clause, :message, 22, "pg_query.Node"
738
+ repeated :grouping_sets, :message, 23, "pg_query.Node"
739
+ optional :having_qual, :message, 24, "pg_query.Node"
740
+ repeated :window_clause, :message, 25, "pg_query.Node"
741
+ repeated :distinct_clause, :message, 26, "pg_query.Node"
742
+ repeated :sort_clause, :message, 27, "pg_query.Node"
743
+ optional :limit_offset, :message, 28, "pg_query.Node"
744
+ optional :limit_count, :message, 29, "pg_query.Node"
745
+ optional :limit_option, :enum, 30, "pg_query.LimitOption"
746
+ repeated :row_marks, :message, 31, "pg_query.Node"
747
+ optional :set_operations, :message, 32, "pg_query.Node"
748
+ repeated :constraint_deps, :message, 33, "pg_query.Node"
749
+ repeated :with_check_options, :message, 34, "pg_query.Node"
750
+ optional :stmt_location, :int32, 35
751
+ optional :stmt_len, :int32, 36
752
+ end
753
+ add_message "pg_query.InsertStmt" do
754
+ optional :relation, :message, 1, "pg_query.RangeVar"
755
+ repeated :cols, :message, 2, "pg_query.Node"
756
+ optional :select_stmt, :message, 3, "pg_query.Node"
757
+ optional :on_conflict_clause, :message, 4, "pg_query.OnConflictClause"
758
+ repeated :returning_list, :message, 5, "pg_query.Node"
759
+ optional :with_clause, :message, 6, "pg_query.WithClause"
760
+ optional :override, :enum, 7, "pg_query.OverridingKind"
761
+ end
762
+ add_message "pg_query.DeleteStmt" do
763
+ optional :relation, :message, 1, "pg_query.RangeVar"
764
+ repeated :using_clause, :message, 2, "pg_query.Node"
765
+ optional :where_clause, :message, 3, "pg_query.Node"
766
+ repeated :returning_list, :message, 4, "pg_query.Node"
767
+ optional :with_clause, :message, 5, "pg_query.WithClause"
768
+ end
769
+ add_message "pg_query.UpdateStmt" do
770
+ optional :relation, :message, 1, "pg_query.RangeVar"
771
+ repeated :target_list, :message, 2, "pg_query.Node"
772
+ optional :where_clause, :message, 3, "pg_query.Node"
773
+ repeated :from_clause, :message, 4, "pg_query.Node"
774
+ repeated :returning_list, :message, 5, "pg_query.Node"
775
+ optional :with_clause, :message, 6, "pg_query.WithClause"
776
+ end
777
+ add_message "pg_query.SelectStmt" do
778
+ repeated :distinct_clause, :message, 1, "pg_query.Node"
779
+ optional :into_clause, :message, 2, "pg_query.IntoClause"
780
+ repeated :target_list, :message, 3, "pg_query.Node"
781
+ repeated :from_clause, :message, 4, "pg_query.Node"
782
+ optional :where_clause, :message, 5, "pg_query.Node"
783
+ repeated :group_clause, :message, 6, "pg_query.Node"
784
+ optional :having_clause, :message, 7, "pg_query.Node"
785
+ repeated :window_clause, :message, 8, "pg_query.Node"
786
+ repeated :values_lists, :message, 9, "pg_query.Node"
787
+ repeated :sort_clause, :message, 10, "pg_query.Node"
788
+ optional :limit_offset, :message, 11, "pg_query.Node"
789
+ optional :limit_count, :message, 12, "pg_query.Node"
790
+ optional :limit_option, :enum, 13, "pg_query.LimitOption"
791
+ repeated :locking_clause, :message, 14, "pg_query.Node"
792
+ optional :with_clause, :message, 15, "pg_query.WithClause"
793
+ optional :op, :enum, 16, "pg_query.SetOperation"
794
+ optional :all, :bool, 17
795
+ optional :larg, :message, 18, "pg_query.SelectStmt"
796
+ optional :rarg, :message, 19, "pg_query.SelectStmt"
797
+ end
798
+ add_message "pg_query.AlterTableStmt" do
799
+ optional :relation, :message, 1, "pg_query.RangeVar"
800
+ repeated :cmds, :message, 2, "pg_query.Node"
801
+ optional :relkind, :enum, 3, "pg_query.ObjectType"
802
+ optional :missing_ok, :bool, 4
803
+ end
804
+ add_message "pg_query.AlterTableCmd" do
805
+ optional :subtype, :enum, 1, "pg_query.AlterTableType"
806
+ optional :name, :string, 2
807
+ optional :num, :int32, 3
808
+ optional :newowner, :message, 4, "pg_query.RoleSpec"
809
+ optional :def, :message, 5, "pg_query.Node"
810
+ optional :behavior, :enum, 6, "pg_query.DropBehavior"
811
+ optional :missing_ok, :bool, 7
812
+ end
813
+ add_message "pg_query.AlterDomainStmt" do
814
+ optional :subtype, :string, 1
815
+ repeated :type_name, :message, 2, "pg_query.Node"
816
+ optional :name, :string, 3
817
+ optional :def, :message, 4, "pg_query.Node"
818
+ optional :behavior, :enum, 5, "pg_query.DropBehavior"
819
+ optional :missing_ok, :bool, 6
820
+ end
821
+ add_message "pg_query.SetOperationStmt" do
822
+ optional :op, :enum, 1, "pg_query.SetOperation"
823
+ optional :all, :bool, 2
824
+ optional :larg, :message, 3, "pg_query.Node"
825
+ optional :rarg, :message, 4, "pg_query.Node"
826
+ repeated :col_types, :message, 5, "pg_query.Node"
827
+ repeated :col_typmods, :message, 6, "pg_query.Node"
828
+ repeated :col_collations, :message, 7, "pg_query.Node"
829
+ repeated :group_clauses, :message, 8, "pg_query.Node"
830
+ end
831
+ add_message "pg_query.GrantStmt" do
832
+ optional :is_grant, :bool, 1
833
+ optional :targtype, :enum, 2, "pg_query.GrantTargetType"
834
+ optional :objtype, :enum, 3, "pg_query.ObjectType"
835
+ repeated :objects, :message, 4, "pg_query.Node"
836
+ repeated :privileges, :message, 5, "pg_query.Node"
837
+ repeated :grantees, :message, 6, "pg_query.Node"
838
+ optional :grant_option, :bool, 7
839
+ optional :behavior, :enum, 8, "pg_query.DropBehavior"
840
+ end
841
+ add_message "pg_query.GrantRoleStmt" do
842
+ repeated :granted_roles, :message, 1, "pg_query.Node"
843
+ repeated :grantee_roles, :message, 2, "pg_query.Node"
844
+ optional :is_grant, :bool, 3
845
+ optional :admin_opt, :bool, 4
846
+ optional :grantor, :message, 5, "pg_query.RoleSpec"
847
+ optional :behavior, :enum, 6, "pg_query.DropBehavior"
848
+ end
849
+ add_message "pg_query.AlterDefaultPrivilegesStmt" do
850
+ repeated :options, :message, 1, "pg_query.Node"
851
+ optional :action, :message, 2, "pg_query.GrantStmt"
852
+ end
853
+ add_message "pg_query.ClosePortalStmt" do
854
+ optional :portalname, :string, 1
855
+ end
856
+ add_message "pg_query.ClusterStmt" do
857
+ optional :relation, :message, 1, "pg_query.RangeVar"
858
+ optional :indexname, :string, 2
859
+ optional :options, :int32, 3
860
+ end
861
+ add_message "pg_query.CopyStmt" do
862
+ optional :relation, :message, 1, "pg_query.RangeVar"
863
+ optional :query, :message, 2, "pg_query.Node"
864
+ repeated :attlist, :message, 3, "pg_query.Node"
865
+ optional :is_from, :bool, 4
866
+ optional :is_program, :bool, 5
867
+ optional :filename, :string, 6
868
+ repeated :options, :message, 7, "pg_query.Node"
869
+ optional :where_clause, :message, 8, "pg_query.Node"
870
+ end
871
+ add_message "pg_query.CreateStmt" do
872
+ optional :relation, :message, 1, "pg_query.RangeVar"
873
+ repeated :table_elts, :message, 2, "pg_query.Node"
874
+ repeated :inh_relations, :message, 3, "pg_query.Node"
875
+ optional :partbound, :message, 4, "pg_query.PartitionBoundSpec"
876
+ optional :partspec, :message, 5, "pg_query.PartitionSpec"
877
+ optional :of_typename, :message, 6, "pg_query.TypeName"
878
+ repeated :constraints, :message, 7, "pg_query.Node"
879
+ repeated :options, :message, 8, "pg_query.Node"
880
+ optional :oncommit, :enum, 9, "pg_query.OnCommitAction"
881
+ optional :tablespacename, :string, 10
882
+ optional :access_method, :string, 11
883
+ optional :if_not_exists, :bool, 12
884
+ end
885
+ add_message "pg_query.DefineStmt" do
886
+ optional :kind, :enum, 1, "pg_query.ObjectType"
887
+ optional :oldstyle, :bool, 2
888
+ repeated :defnames, :message, 3, "pg_query.Node"
889
+ repeated :args, :message, 4, "pg_query.Node"
890
+ repeated :definition, :message, 5, "pg_query.Node"
891
+ optional :if_not_exists, :bool, 6
892
+ optional :replace, :bool, 7
893
+ end
894
+ add_message "pg_query.DropStmt" do
895
+ repeated :objects, :message, 1, "pg_query.Node"
896
+ optional :remove_type, :enum, 2, "pg_query.ObjectType"
897
+ optional :behavior, :enum, 3, "pg_query.DropBehavior"
898
+ optional :missing_ok, :bool, 4
899
+ optional :concurrent, :bool, 5
900
+ end
901
+ add_message "pg_query.TruncateStmt" do
902
+ repeated :relations, :message, 1, "pg_query.Node"
903
+ optional :restart_seqs, :bool, 2
904
+ optional :behavior, :enum, 3, "pg_query.DropBehavior"
905
+ end
906
+ add_message "pg_query.CommentStmt" do
907
+ optional :objtype, :enum, 1, "pg_query.ObjectType"
908
+ optional :object, :message, 2, "pg_query.Node"
909
+ optional :comment, :string, 3
910
+ end
911
+ add_message "pg_query.FetchStmt" do
912
+ optional :direction, :enum, 1, "pg_query.FetchDirection"
913
+ optional :how_many, :int64, 2
914
+ optional :portalname, :string, 3
915
+ optional :ismove, :bool, 4
916
+ end
917
+ add_message "pg_query.IndexStmt" do
918
+ optional :idxname, :string, 1
919
+ optional :relation, :message, 2, "pg_query.RangeVar"
920
+ optional :access_method, :string, 3
921
+ optional :table_space, :string, 4
922
+ repeated :index_params, :message, 5, "pg_query.Node"
923
+ repeated :index_including_params, :message, 6, "pg_query.Node"
924
+ repeated :options, :message, 7, "pg_query.Node"
925
+ optional :where_clause, :message, 8, "pg_query.Node"
926
+ repeated :exclude_op_names, :message, 9, "pg_query.Node"
927
+ optional :idxcomment, :string, 10
928
+ optional :index_oid, :uint32, 11
929
+ optional :old_node, :uint32, 12
930
+ optional :old_create_subid, :uint32, 13
931
+ optional :old_first_relfilenode_subid, :uint32, 14
932
+ optional :unique, :bool, 15
933
+ optional :primary, :bool, 16
934
+ optional :isconstraint, :bool, 17
935
+ optional :deferrable, :bool, 18
936
+ optional :initdeferred, :bool, 19
937
+ optional :transformed, :bool, 20
938
+ optional :concurrent, :bool, 21
939
+ optional :if_not_exists, :bool, 22
940
+ optional :reset_default_tblspc, :bool, 23
941
+ end
942
+ add_message "pg_query.CreateFunctionStmt" do
943
+ optional :is_procedure, :bool, 1
944
+ optional :replace, :bool, 2
945
+ repeated :funcname, :message, 3, "pg_query.Node"
946
+ repeated :parameters, :message, 4, "pg_query.Node"
947
+ optional :return_type, :message, 5, "pg_query.TypeName"
948
+ repeated :options, :message, 6, "pg_query.Node"
949
+ end
950
+ add_message "pg_query.AlterFunctionStmt" do
951
+ optional :objtype, :enum, 1, "pg_query.ObjectType"
952
+ optional :func, :message, 2, "pg_query.ObjectWithArgs"
953
+ repeated :actions, :message, 3, "pg_query.Node"
954
+ end
955
+ add_message "pg_query.DoStmt" do
956
+ repeated :args, :message, 1, "pg_query.Node"
957
+ end
958
+ add_message "pg_query.RenameStmt" do
959
+ optional :rename_type, :enum, 1, "pg_query.ObjectType"
960
+ optional :relation_type, :enum, 2, "pg_query.ObjectType"
961
+ optional :relation, :message, 3, "pg_query.RangeVar"
962
+ optional :object, :message, 4, "pg_query.Node"
963
+ optional :subname, :string, 5
964
+ optional :newname, :string, 6
965
+ optional :behavior, :enum, 7, "pg_query.DropBehavior"
966
+ optional :missing_ok, :bool, 8
967
+ end
968
+ add_message "pg_query.RuleStmt" do
969
+ optional :relation, :message, 1, "pg_query.RangeVar"
970
+ optional :rulename, :string, 2
971
+ optional :where_clause, :message, 3, "pg_query.Node"
972
+ optional :event, :enum, 4, "pg_query.CmdType"
973
+ optional :instead, :bool, 5
974
+ repeated :actions, :message, 6, "pg_query.Node"
975
+ optional :replace, :bool, 7
976
+ end
977
+ add_message "pg_query.NotifyStmt" do
978
+ optional :conditionname, :string, 1
979
+ optional :payload, :string, 2
980
+ end
981
+ add_message "pg_query.ListenStmt" do
982
+ optional :conditionname, :string, 1
983
+ end
984
+ add_message "pg_query.UnlistenStmt" do
985
+ optional :conditionname, :string, 1
986
+ end
987
+ add_message "pg_query.TransactionStmt" do
988
+ optional :kind, :enum, 1, "pg_query.TransactionStmtKind"
989
+ repeated :options, :message, 2, "pg_query.Node"
990
+ optional :savepoint_name, :string, 3
991
+ optional :gid, :string, 4
992
+ optional :chain, :bool, 5
993
+ end
994
+ add_message "pg_query.ViewStmt" do
995
+ optional :view, :message, 1, "pg_query.RangeVar"
996
+ repeated :aliases, :message, 2, "pg_query.Node"
997
+ optional :query, :message, 3, "pg_query.Node"
998
+ optional :replace, :bool, 4
999
+ repeated :options, :message, 5, "pg_query.Node"
1000
+ optional :with_check_option, :enum, 6, "pg_query.ViewCheckOption"
1001
+ end
1002
+ add_message "pg_query.LoadStmt" do
1003
+ optional :filename, :string, 1
1004
+ end
1005
+ add_message "pg_query.CreateDomainStmt" do
1006
+ repeated :domainname, :message, 1, "pg_query.Node"
1007
+ optional :type_name, :message, 2, "pg_query.TypeName"
1008
+ optional :coll_clause, :message, 3, "pg_query.CollateClause"
1009
+ repeated :constraints, :message, 4, "pg_query.Node"
1010
+ end
1011
+ add_message "pg_query.CreatedbStmt" do
1012
+ optional :dbname, :string, 1
1013
+ repeated :options, :message, 2, "pg_query.Node"
1014
+ end
1015
+ add_message "pg_query.DropdbStmt" do
1016
+ optional :dbname, :string, 1
1017
+ optional :missing_ok, :bool, 2
1018
+ repeated :options, :message, 3, "pg_query.Node"
1019
+ end
1020
+ add_message "pg_query.VacuumStmt" do
1021
+ repeated :options, :message, 1, "pg_query.Node"
1022
+ repeated :rels, :message, 2, "pg_query.Node"
1023
+ optional :is_vacuumcmd, :bool, 3
1024
+ end
1025
+ add_message "pg_query.ExplainStmt" do
1026
+ optional :query, :message, 1, "pg_query.Node"
1027
+ repeated :options, :message, 2, "pg_query.Node"
1028
+ end
1029
+ add_message "pg_query.CreateTableAsStmt" do
1030
+ optional :query, :message, 1, "pg_query.Node"
1031
+ optional :into, :message, 2, "pg_query.IntoClause"
1032
+ optional :relkind, :enum, 3, "pg_query.ObjectType"
1033
+ optional :is_select_into, :bool, 4
1034
+ optional :if_not_exists, :bool, 5
1035
+ end
1036
+ add_message "pg_query.CreateSeqStmt" do
1037
+ optional :sequence, :message, 1, "pg_query.RangeVar"
1038
+ repeated :options, :message, 2, "pg_query.Node"
1039
+ optional :owner_id, :uint32, 3
1040
+ optional :for_identity, :bool, 4
1041
+ optional :if_not_exists, :bool, 5
1042
+ end
1043
+ add_message "pg_query.AlterSeqStmt" do
1044
+ optional :sequence, :message, 1, "pg_query.RangeVar"
1045
+ repeated :options, :message, 2, "pg_query.Node"
1046
+ optional :for_identity, :bool, 3
1047
+ optional :missing_ok, :bool, 4
1048
+ end
1049
+ add_message "pg_query.VariableSetStmt" do
1050
+ optional :kind, :enum, 1, "pg_query.VariableSetKind"
1051
+ optional :name, :string, 2
1052
+ repeated :args, :message, 3, "pg_query.Node"
1053
+ optional :is_local, :bool, 4
1054
+ end
1055
+ add_message "pg_query.VariableShowStmt" do
1056
+ optional :name, :string, 1
1057
+ end
1058
+ add_message "pg_query.DiscardStmt" do
1059
+ optional :target, :enum, 1, "pg_query.DiscardMode"
1060
+ end
1061
+ add_message "pg_query.CreateTrigStmt" do
1062
+ optional :trigname, :string, 1
1063
+ optional :relation, :message, 2, "pg_query.RangeVar"
1064
+ repeated :funcname, :message, 3, "pg_query.Node"
1065
+ repeated :args, :message, 4, "pg_query.Node"
1066
+ optional :row, :bool, 5
1067
+ optional :timing, :int32, 6
1068
+ optional :events, :int32, 7
1069
+ repeated :columns, :message, 8, "pg_query.Node"
1070
+ optional :when_clause, :message, 9, "pg_query.Node"
1071
+ optional :isconstraint, :bool, 10
1072
+ repeated :transition_rels, :message, 11, "pg_query.Node"
1073
+ optional :deferrable, :bool, 12
1074
+ optional :initdeferred, :bool, 13
1075
+ optional :constrrel, :message, 14, "pg_query.RangeVar"
1076
+ end
1077
+ add_message "pg_query.CreatePLangStmt" do
1078
+ optional :replace, :bool, 1
1079
+ optional :plname, :string, 2
1080
+ repeated :plhandler, :message, 3, "pg_query.Node"
1081
+ repeated :plinline, :message, 4, "pg_query.Node"
1082
+ repeated :plvalidator, :message, 5, "pg_query.Node"
1083
+ optional :pltrusted, :bool, 6
1084
+ end
1085
+ add_message "pg_query.CreateRoleStmt" do
1086
+ optional :stmt_type, :enum, 1, "pg_query.RoleStmtType"
1087
+ optional :role, :string, 2
1088
+ repeated :options, :message, 3, "pg_query.Node"
1089
+ end
1090
+ add_message "pg_query.AlterRoleStmt" do
1091
+ optional :role, :message, 1, "pg_query.RoleSpec"
1092
+ repeated :options, :message, 2, "pg_query.Node"
1093
+ optional :action, :int32, 3
1094
+ end
1095
+ add_message "pg_query.DropRoleStmt" do
1096
+ repeated :roles, :message, 1, "pg_query.Node"
1097
+ optional :missing_ok, :bool, 2
1098
+ end
1099
+ add_message "pg_query.LockStmt" do
1100
+ repeated :relations, :message, 1, "pg_query.Node"
1101
+ optional :mode, :int32, 2
1102
+ optional :nowait, :bool, 3
1103
+ end
1104
+ add_message "pg_query.ConstraintsSetStmt" do
1105
+ repeated :constraints, :message, 1, "pg_query.Node"
1106
+ optional :deferred, :bool, 2
1107
+ end
1108
+ add_message "pg_query.ReindexStmt" do
1109
+ optional :kind, :enum, 1, "pg_query.ReindexObjectType"
1110
+ optional :relation, :message, 2, "pg_query.RangeVar"
1111
+ optional :name, :string, 3
1112
+ optional :options, :int32, 4
1113
+ optional :concurrent, :bool, 5
1114
+ end
1115
+ add_message "pg_query.CheckPointStmt" do
1116
+ end
1117
+ add_message "pg_query.CreateSchemaStmt" do
1118
+ optional :schemaname, :string, 1
1119
+ optional :authrole, :message, 2, "pg_query.RoleSpec"
1120
+ repeated :schema_elts, :message, 3, "pg_query.Node"
1121
+ optional :if_not_exists, :bool, 4
1122
+ end
1123
+ add_message "pg_query.AlterDatabaseStmt" do
1124
+ optional :dbname, :string, 1
1125
+ repeated :options, :message, 2, "pg_query.Node"
1126
+ end
1127
+ add_message "pg_query.AlterDatabaseSetStmt" do
1128
+ optional :dbname, :string, 1
1129
+ optional :setstmt, :message, 2, "pg_query.VariableSetStmt"
1130
+ end
1131
+ add_message "pg_query.AlterRoleSetStmt" do
1132
+ optional :role, :message, 1, "pg_query.RoleSpec"
1133
+ optional :database, :string, 2
1134
+ optional :setstmt, :message, 3, "pg_query.VariableSetStmt"
1135
+ end
1136
+ add_message "pg_query.CreateConversionStmt" do
1137
+ repeated :conversion_name, :message, 1, "pg_query.Node"
1138
+ optional :for_encoding_name, :string, 2
1139
+ optional :to_encoding_name, :string, 3
1140
+ repeated :func_name, :message, 4, "pg_query.Node"
1141
+ optional :def, :bool, 5
1142
+ end
1143
+ add_message "pg_query.CreateCastStmt" do
1144
+ optional :sourcetype, :message, 1, "pg_query.TypeName"
1145
+ optional :targettype, :message, 2, "pg_query.TypeName"
1146
+ optional :func, :message, 3, "pg_query.ObjectWithArgs"
1147
+ optional :context, :enum, 4, "pg_query.CoercionContext"
1148
+ optional :inout, :bool, 5
1149
+ end
1150
+ add_message "pg_query.CreateOpClassStmt" do
1151
+ repeated :opclassname, :message, 1, "pg_query.Node"
1152
+ repeated :opfamilyname, :message, 2, "pg_query.Node"
1153
+ optional :amname, :string, 3
1154
+ optional :datatype, :message, 4, "pg_query.TypeName"
1155
+ repeated :items, :message, 5, "pg_query.Node"
1156
+ optional :is_default, :bool, 6
1157
+ end
1158
+ add_message "pg_query.CreateOpFamilyStmt" do
1159
+ repeated :opfamilyname, :message, 1, "pg_query.Node"
1160
+ optional :amname, :string, 2
1161
+ end
1162
+ add_message "pg_query.AlterOpFamilyStmt" do
1163
+ repeated :opfamilyname, :message, 1, "pg_query.Node"
1164
+ optional :amname, :string, 2
1165
+ optional :is_drop, :bool, 3
1166
+ repeated :items, :message, 4, "pg_query.Node"
1167
+ end
1168
+ add_message "pg_query.PrepareStmt" do
1169
+ optional :name, :string, 1
1170
+ repeated :argtypes, :message, 2, "pg_query.Node"
1171
+ optional :query, :message, 3, "pg_query.Node"
1172
+ end
1173
+ add_message "pg_query.ExecuteStmt" do
1174
+ optional :name, :string, 1
1175
+ repeated :params, :message, 2, "pg_query.Node"
1176
+ end
1177
+ add_message "pg_query.DeallocateStmt" do
1178
+ optional :name, :string, 1
1179
+ end
1180
+ add_message "pg_query.DeclareCursorStmt" do
1181
+ optional :portalname, :string, 1
1182
+ optional :options, :int32, 2
1183
+ optional :query, :message, 3, "pg_query.Node"
1184
+ end
1185
+ add_message "pg_query.CreateTableSpaceStmt" do
1186
+ optional :tablespacename, :string, 1
1187
+ optional :owner, :message, 2, "pg_query.RoleSpec"
1188
+ optional :location, :string, 3
1189
+ repeated :options, :message, 4, "pg_query.Node"
1190
+ end
1191
+ add_message "pg_query.DropTableSpaceStmt" do
1192
+ optional :tablespacename, :string, 1
1193
+ optional :missing_ok, :bool, 2
1194
+ end
1195
+ add_message "pg_query.AlterObjectDependsStmt" do
1196
+ optional :object_type, :enum, 1, "pg_query.ObjectType"
1197
+ optional :relation, :message, 2, "pg_query.RangeVar"
1198
+ optional :object, :message, 3, "pg_query.Node"
1199
+ optional :extname, :message, 4, "pg_query.Node"
1200
+ optional :remove, :bool, 5
1201
+ end
1202
+ add_message "pg_query.AlterObjectSchemaStmt" do
1203
+ optional :object_type, :enum, 1, "pg_query.ObjectType"
1204
+ optional :relation, :message, 2, "pg_query.RangeVar"
1205
+ optional :object, :message, 3, "pg_query.Node"
1206
+ optional :newschema, :string, 4
1207
+ optional :missing_ok, :bool, 5
1208
+ end
1209
+ add_message "pg_query.AlterOwnerStmt" do
1210
+ optional :object_type, :enum, 1, "pg_query.ObjectType"
1211
+ optional :relation, :message, 2, "pg_query.RangeVar"
1212
+ optional :object, :message, 3, "pg_query.Node"
1213
+ optional :newowner, :message, 4, "pg_query.RoleSpec"
1214
+ end
1215
+ add_message "pg_query.AlterOperatorStmt" do
1216
+ optional :opername, :message, 1, "pg_query.ObjectWithArgs"
1217
+ repeated :options, :message, 2, "pg_query.Node"
1218
+ end
1219
+ add_message "pg_query.AlterTypeStmt" do
1220
+ repeated :type_name, :message, 1, "pg_query.Node"
1221
+ repeated :options, :message, 2, "pg_query.Node"
1222
+ end
1223
+ add_message "pg_query.DropOwnedStmt" do
1224
+ repeated :roles, :message, 1, "pg_query.Node"
1225
+ optional :behavior, :enum, 2, "pg_query.DropBehavior"
1226
+ end
1227
+ add_message "pg_query.ReassignOwnedStmt" do
1228
+ repeated :roles, :message, 1, "pg_query.Node"
1229
+ optional :newrole, :message, 2, "pg_query.RoleSpec"
1230
+ end
1231
+ add_message "pg_query.CompositeTypeStmt" do
1232
+ optional :typevar, :message, 1, "pg_query.RangeVar"
1233
+ repeated :coldeflist, :message, 2, "pg_query.Node"
1234
+ end
1235
+ add_message "pg_query.CreateEnumStmt" do
1236
+ repeated :type_name, :message, 1, "pg_query.Node"
1237
+ repeated :vals, :message, 2, "pg_query.Node"
1238
+ end
1239
+ add_message "pg_query.CreateRangeStmt" do
1240
+ repeated :type_name, :message, 1, "pg_query.Node"
1241
+ repeated :params, :message, 2, "pg_query.Node"
1242
+ end
1243
+ add_message "pg_query.AlterEnumStmt" do
1244
+ repeated :type_name, :message, 1, "pg_query.Node"
1245
+ optional :old_val, :string, 2
1246
+ optional :new_val, :string, 3
1247
+ optional :new_val_neighbor, :string, 4
1248
+ optional :new_val_is_after, :bool, 5
1249
+ optional :skip_if_new_val_exists, :bool, 6
1250
+ end
1251
+ add_message "pg_query.AlterTSDictionaryStmt" do
1252
+ repeated :dictname, :message, 1, "pg_query.Node"
1253
+ repeated :options, :message, 2, "pg_query.Node"
1254
+ end
1255
+ add_message "pg_query.AlterTSConfigurationStmt" do
1256
+ optional :kind, :enum, 1, "pg_query.AlterTSConfigType"
1257
+ repeated :cfgname, :message, 2, "pg_query.Node"
1258
+ repeated :tokentype, :message, 3, "pg_query.Node"
1259
+ repeated :dicts, :message, 4, "pg_query.Node"
1260
+ optional :override, :bool, 5
1261
+ optional :replace, :bool, 6
1262
+ optional :missing_ok, :bool, 7
1263
+ end
1264
+ add_message "pg_query.CreateFdwStmt" do
1265
+ optional :fdwname, :string, 1
1266
+ repeated :func_options, :message, 2, "pg_query.Node"
1267
+ repeated :options, :message, 3, "pg_query.Node"
1268
+ end
1269
+ add_message "pg_query.AlterFdwStmt" do
1270
+ optional :fdwname, :string, 1
1271
+ repeated :func_options, :message, 2, "pg_query.Node"
1272
+ repeated :options, :message, 3, "pg_query.Node"
1273
+ end
1274
+ add_message "pg_query.CreateForeignServerStmt" do
1275
+ optional :servername, :string, 1
1276
+ optional :servertype, :string, 2
1277
+ optional :version, :string, 3
1278
+ optional :fdwname, :string, 4
1279
+ optional :if_not_exists, :bool, 5
1280
+ repeated :options, :message, 6, "pg_query.Node"
1281
+ end
1282
+ add_message "pg_query.AlterForeignServerStmt" do
1283
+ optional :servername, :string, 1
1284
+ optional :version, :string, 2
1285
+ repeated :options, :message, 3, "pg_query.Node"
1286
+ optional :has_version, :bool, 4
1287
+ end
1288
+ add_message "pg_query.CreateUserMappingStmt" do
1289
+ optional :user, :message, 1, "pg_query.RoleSpec"
1290
+ optional :servername, :string, 2
1291
+ optional :if_not_exists, :bool, 3
1292
+ repeated :options, :message, 4, "pg_query.Node"
1293
+ end
1294
+ add_message "pg_query.AlterUserMappingStmt" do
1295
+ optional :user, :message, 1, "pg_query.RoleSpec"
1296
+ optional :servername, :string, 2
1297
+ repeated :options, :message, 3, "pg_query.Node"
1298
+ end
1299
+ add_message "pg_query.DropUserMappingStmt" do
1300
+ optional :user, :message, 1, "pg_query.RoleSpec"
1301
+ optional :servername, :string, 2
1302
+ optional :missing_ok, :bool, 3
1303
+ end
1304
+ add_message "pg_query.AlterTableSpaceOptionsStmt" do
1305
+ optional :tablespacename, :string, 1
1306
+ repeated :options, :message, 2, "pg_query.Node"
1307
+ optional :is_reset, :bool, 3
1308
+ end
1309
+ add_message "pg_query.AlterTableMoveAllStmt" do
1310
+ optional :orig_tablespacename, :string, 1
1311
+ optional :objtype, :enum, 2, "pg_query.ObjectType"
1312
+ repeated :roles, :message, 3, "pg_query.Node"
1313
+ optional :new_tablespacename, :string, 4
1314
+ optional :nowait, :bool, 5
1315
+ end
1316
+ add_message "pg_query.SecLabelStmt" do
1317
+ optional :objtype, :enum, 1, "pg_query.ObjectType"
1318
+ optional :object, :message, 2, "pg_query.Node"
1319
+ optional :provider, :string, 3
1320
+ optional :label, :string, 4
1321
+ end
1322
+ add_message "pg_query.CreateForeignTableStmt" do
1323
+ optional :base_stmt, :message, 1, "pg_query.CreateStmt"
1324
+ optional :servername, :string, 2
1325
+ repeated :options, :message, 3, "pg_query.Node"
1326
+ end
1327
+ add_message "pg_query.ImportForeignSchemaStmt" do
1328
+ optional :server_name, :string, 1
1329
+ optional :remote_schema, :string, 2
1330
+ optional :local_schema, :string, 3
1331
+ optional :list_type, :enum, 4, "pg_query.ImportForeignSchemaType"
1332
+ repeated :table_list, :message, 5, "pg_query.Node"
1333
+ repeated :options, :message, 6, "pg_query.Node"
1334
+ end
1335
+ add_message "pg_query.CreateExtensionStmt" do
1336
+ optional :extname, :string, 1
1337
+ optional :if_not_exists, :bool, 2
1338
+ repeated :options, :message, 3, "pg_query.Node"
1339
+ end
1340
+ add_message "pg_query.AlterExtensionStmt" do
1341
+ optional :extname, :string, 1
1342
+ repeated :options, :message, 2, "pg_query.Node"
1343
+ end
1344
+ add_message "pg_query.AlterExtensionContentsStmt" do
1345
+ optional :extname, :string, 1
1346
+ optional :action, :int32, 2
1347
+ optional :objtype, :enum, 3, "pg_query.ObjectType"
1348
+ optional :object, :message, 4, "pg_query.Node"
1349
+ end
1350
+ add_message "pg_query.CreateEventTrigStmt" do
1351
+ optional :trigname, :string, 1
1352
+ optional :eventname, :string, 2
1353
+ repeated :whenclause, :message, 3, "pg_query.Node"
1354
+ repeated :funcname, :message, 4, "pg_query.Node"
1355
+ end
1356
+ add_message "pg_query.AlterEventTrigStmt" do
1357
+ optional :trigname, :string, 1
1358
+ optional :tgenabled, :string, 2
1359
+ end
1360
+ add_message "pg_query.RefreshMatViewStmt" do
1361
+ optional :concurrent, :bool, 1
1362
+ optional :skip_data, :bool, 2
1363
+ optional :relation, :message, 3, "pg_query.RangeVar"
1364
+ end
1365
+ add_message "pg_query.ReplicaIdentityStmt" do
1366
+ optional :identity_type, :string, 1
1367
+ optional :name, :string, 2
1368
+ end
1369
+ add_message "pg_query.AlterSystemStmt" do
1370
+ optional :setstmt, :message, 1, "pg_query.VariableSetStmt"
1371
+ end
1372
+ add_message "pg_query.CreatePolicyStmt" do
1373
+ optional :policy_name, :string, 1
1374
+ optional :table, :message, 2, "pg_query.RangeVar"
1375
+ optional :cmd_name, :string, 3
1376
+ optional :permissive, :bool, 4
1377
+ repeated :roles, :message, 5, "pg_query.Node"
1378
+ optional :qual, :message, 6, "pg_query.Node"
1379
+ optional :with_check, :message, 7, "pg_query.Node"
1380
+ end
1381
+ add_message "pg_query.AlterPolicyStmt" do
1382
+ optional :policy_name, :string, 1
1383
+ optional :table, :message, 2, "pg_query.RangeVar"
1384
+ repeated :roles, :message, 3, "pg_query.Node"
1385
+ optional :qual, :message, 4, "pg_query.Node"
1386
+ optional :with_check, :message, 5, "pg_query.Node"
1387
+ end
1388
+ add_message "pg_query.CreateTransformStmt" do
1389
+ optional :replace, :bool, 1
1390
+ optional :type_name, :message, 2, "pg_query.TypeName"
1391
+ optional :lang, :string, 3
1392
+ optional :fromsql, :message, 4, "pg_query.ObjectWithArgs"
1393
+ optional :tosql, :message, 5, "pg_query.ObjectWithArgs"
1394
+ end
1395
+ add_message "pg_query.CreateAmStmt" do
1396
+ optional :amname, :string, 1
1397
+ repeated :handler_name, :message, 2, "pg_query.Node"
1398
+ optional :amtype, :string, 3
1399
+ end
1400
+ add_message "pg_query.CreatePublicationStmt" do
1401
+ optional :pubname, :string, 1
1402
+ repeated :options, :message, 2, "pg_query.Node"
1403
+ repeated :tables, :message, 3, "pg_query.Node"
1404
+ optional :for_all_tables, :bool, 4
1405
+ end
1406
+ add_message "pg_query.AlterPublicationStmt" do
1407
+ optional :pubname, :string, 1
1408
+ repeated :options, :message, 2, "pg_query.Node"
1409
+ repeated :tables, :message, 3, "pg_query.Node"
1410
+ optional :for_all_tables, :bool, 4
1411
+ optional :table_action, :enum, 5, "pg_query.DefElemAction"
1412
+ end
1413
+ add_message "pg_query.CreateSubscriptionStmt" do
1414
+ optional :subname, :string, 1
1415
+ optional :conninfo, :string, 2
1416
+ repeated :publication, :message, 3, "pg_query.Node"
1417
+ repeated :options, :message, 4, "pg_query.Node"
1418
+ end
1419
+ add_message "pg_query.AlterSubscriptionStmt" do
1420
+ optional :kind, :enum, 1, "pg_query.AlterSubscriptionType"
1421
+ optional :subname, :string, 2
1422
+ optional :conninfo, :string, 3
1423
+ repeated :publication, :message, 4, "pg_query.Node"
1424
+ repeated :options, :message, 5, "pg_query.Node"
1425
+ end
1426
+ add_message "pg_query.DropSubscriptionStmt" do
1427
+ optional :subname, :string, 1
1428
+ optional :missing_ok, :bool, 2
1429
+ optional :behavior, :enum, 3, "pg_query.DropBehavior"
1430
+ end
1431
+ add_message "pg_query.CreateStatsStmt" do
1432
+ repeated :defnames, :message, 1, "pg_query.Node"
1433
+ repeated :stat_types, :message, 2, "pg_query.Node"
1434
+ repeated :exprs, :message, 3, "pg_query.Node"
1435
+ repeated :relations, :message, 4, "pg_query.Node"
1436
+ optional :stxcomment, :string, 5
1437
+ optional :if_not_exists, :bool, 6
1438
+ end
1439
+ add_message "pg_query.AlterCollationStmt" do
1440
+ repeated :collname, :message, 1, "pg_query.Node"
1441
+ end
1442
+ add_message "pg_query.CallStmt" do
1443
+ optional :funccall, :message, 1, "pg_query.FuncCall"
1444
+ optional :funcexpr, :message, 2, "pg_query.FuncExpr"
1445
+ end
1446
+ add_message "pg_query.AlterStatsStmt" do
1447
+ repeated :defnames, :message, 1, "pg_query.Node"
1448
+ optional :stxstattarget, :int32, 2
1449
+ optional :missing_ok, :bool, 3
1450
+ end
1451
+ add_message "pg_query.A_Expr" do
1452
+ optional :kind, :enum, 1, "pg_query.A_Expr_Kind"
1453
+ repeated :name, :message, 2, "pg_query.Node"
1454
+ optional :lexpr, :message, 3, "pg_query.Node"
1455
+ optional :rexpr, :message, 4, "pg_query.Node"
1456
+ optional :location, :int32, 5
1457
+ end
1458
+ add_message "pg_query.ColumnRef" do
1459
+ repeated :fields, :message, 1, "pg_query.Node"
1460
+ optional :location, :int32, 2
1461
+ end
1462
+ add_message "pg_query.ParamRef" do
1463
+ optional :number, :int32, 1
1464
+ optional :location, :int32, 2
1465
+ end
1466
+ add_message "pg_query.A_Const" do
1467
+ optional :val, :message, 1, "pg_query.Node"
1468
+ optional :location, :int32, 2
1469
+ end
1470
+ add_message "pg_query.FuncCall" do
1471
+ repeated :funcname, :message, 1, "pg_query.Node"
1472
+ repeated :args, :message, 2, "pg_query.Node"
1473
+ repeated :agg_order, :message, 3, "pg_query.Node"
1474
+ optional :agg_filter, :message, 4, "pg_query.Node"
1475
+ optional :agg_within_group, :bool, 5
1476
+ optional :agg_star, :bool, 6
1477
+ optional :agg_distinct, :bool, 7
1478
+ optional :func_variadic, :bool, 8
1479
+ optional :over, :message, 9, "pg_query.WindowDef"
1480
+ optional :location, :int32, 10
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
1486
+ optional :lidx, :message, 2, "pg_query.Node"
1487
+ optional :uidx, :message, 3, "pg_query.Node"
1488
+ end
1489
+ add_message "pg_query.A_Indirection" do
1490
+ optional :arg, :message, 1, "pg_query.Node"
1491
+ repeated :indirection, :message, 2, "pg_query.Node"
1492
+ end
1493
+ add_message "pg_query.A_ArrayExpr" do
1494
+ repeated :elements, :message, 1, "pg_query.Node"
1495
+ optional :location, :int32, 2
1496
+ end
1497
+ add_message "pg_query.ResTarget" do
1498
+ optional :name, :string, 1
1499
+ repeated :indirection, :message, 2, "pg_query.Node"
1500
+ optional :val, :message, 3, "pg_query.Node"
1501
+ optional :location, :int32, 4
1502
+ end
1503
+ add_message "pg_query.MultiAssignRef" do
1504
+ optional :source, :message, 1, "pg_query.Node"
1505
+ optional :colno, :int32, 2
1506
+ optional :ncolumns, :int32, 3
1507
+ end
1508
+ add_message "pg_query.TypeCast" do
1509
+ optional :arg, :message, 1, "pg_query.Node"
1510
+ optional :type_name, :message, 2, "pg_query.TypeName"
1511
+ optional :location, :int32, 3
1512
+ end
1513
+ add_message "pg_query.CollateClause" do
1514
+ optional :arg, :message, 1, "pg_query.Node"
1515
+ repeated :collname, :message, 2, "pg_query.Node"
1516
+ optional :location, :int32, 3
1517
+ end
1518
+ add_message "pg_query.SortBy" do
1519
+ optional :node, :message, 1, "pg_query.Node"
1520
+ optional :sortby_dir, :enum, 2, "pg_query.SortByDir"
1521
+ optional :sortby_nulls, :enum, 3, "pg_query.SortByNulls"
1522
+ repeated :use_op, :message, 4, "pg_query.Node"
1523
+ optional :location, :int32, 5
1524
+ end
1525
+ add_message "pg_query.WindowDef" do
1526
+ optional :name, :string, 1
1527
+ optional :refname, :string, 2
1528
+ repeated :partition_clause, :message, 3, "pg_query.Node"
1529
+ repeated :order_clause, :message, 4, "pg_query.Node"
1530
+ optional :frame_options, :int32, 5
1531
+ optional :start_offset, :message, 6, "pg_query.Node"
1532
+ optional :end_offset, :message, 7, "pg_query.Node"
1533
+ optional :location, :int32, 8
1534
+ end
1535
+ add_message "pg_query.RangeSubselect" do
1536
+ optional :lateral, :bool, 1
1537
+ optional :subquery, :message, 2, "pg_query.Node"
1538
+ optional :alias, :message, 3, "pg_query.Alias"
1539
+ end
1540
+ add_message "pg_query.RangeFunction" do
1541
+ optional :lateral, :bool, 1
1542
+ optional :ordinality, :bool, 2
1543
+ optional :is_rowsfrom, :bool, 3
1544
+ repeated :functions, :message, 4, "pg_query.Node"
1545
+ optional :alias, :message, 5, "pg_query.Alias"
1546
+ repeated :coldeflist, :message, 6, "pg_query.Node"
1547
+ end
1548
+ add_message "pg_query.RangeTableSample" do
1549
+ optional :relation, :message, 1, "pg_query.Node"
1550
+ repeated :method, :message, 2, "pg_query.Node"
1551
+ repeated :args, :message, 3, "pg_query.Node"
1552
+ optional :repeatable, :message, 4, "pg_query.Node"
1553
+ optional :location, :int32, 5
1554
+ end
1555
+ add_message "pg_query.RangeTableFunc" do
1556
+ optional :lateral, :bool, 1
1557
+ optional :docexpr, :message, 2, "pg_query.Node"
1558
+ optional :rowexpr, :message, 3, "pg_query.Node"
1559
+ repeated :namespaces, :message, 4, "pg_query.Node"
1560
+ repeated :columns, :message, 5, "pg_query.Node"
1561
+ optional :alias, :message, 6, "pg_query.Alias"
1562
+ optional :location, :int32, 7
1563
+ end
1564
+ add_message "pg_query.RangeTableFuncCol" do
1565
+ optional :colname, :string, 1
1566
+ optional :type_name, :message, 2, "pg_query.TypeName"
1567
+ optional :for_ordinality, :bool, 3
1568
+ optional :is_not_null, :bool, 4
1569
+ optional :colexpr, :message, 5, "pg_query.Node"
1570
+ optional :coldefexpr, :message, 6, "pg_query.Node"
1571
+ optional :location, :int32, 7
1572
+ end
1573
+ add_message "pg_query.TypeName" do
1574
+ repeated :names, :message, 1, "pg_query.Node"
1575
+ optional :type_oid, :uint32, 2
1576
+ optional :setof, :bool, 3
1577
+ optional :pct_type, :bool, 4
1578
+ repeated :typmods, :message, 5, "pg_query.Node"
1579
+ optional :typemod, :int32, 6
1580
+ repeated :array_bounds, :message, 7, "pg_query.Node"
1581
+ optional :location, :int32, 8
1582
+ end
1583
+ add_message "pg_query.ColumnDef" do
1584
+ optional :colname, :string, 1
1585
+ optional :type_name, :message, 2, "pg_query.TypeName"
1586
+ optional :inhcount, :int32, 3
1587
+ optional :is_local, :bool, 4
1588
+ optional :is_not_null, :bool, 5
1589
+ optional :is_from_type, :bool, 6
1590
+ optional :storage, :string, 7
1591
+ optional :raw_default, :message, 8, "pg_query.Node"
1592
+ optional :cooked_default, :message, 9, "pg_query.Node"
1593
+ optional :identity, :string, 10
1594
+ optional :identity_sequence, :message, 11, "pg_query.RangeVar"
1595
+ optional :generated, :string, 12
1596
+ optional :coll_clause, :message, 13, "pg_query.CollateClause"
1597
+ optional :coll_oid, :uint32, 14
1598
+ repeated :constraints, :message, 15, "pg_query.Node"
1599
+ repeated :fdwoptions, :message, 16, "pg_query.Node"
1600
+ optional :location, :int32, 17
1601
+ end
1602
+ add_message "pg_query.IndexElem" do
1603
+ optional :name, :string, 1
1604
+ optional :expr, :message, 2, "pg_query.Node"
1605
+ optional :indexcolname, :string, 3
1606
+ repeated :collation, :message, 4, "pg_query.Node"
1607
+ repeated :opclass, :message, 5, "pg_query.Node"
1608
+ repeated :opclassopts, :message, 6, "pg_query.Node"
1609
+ optional :ordering, :enum, 7, "pg_query.SortByDir"
1610
+ optional :nulls_ordering, :enum, 8, "pg_query.SortByNulls"
1611
+ end
1612
+ add_message "pg_query.Constraint" do
1613
+ optional :contype, :enum, 1, "pg_query.ConstrType"
1614
+ optional :conname, :string, 2
1615
+ optional :deferrable, :bool, 3
1616
+ optional :initdeferred, :bool, 4
1617
+ optional :location, :int32, 5
1618
+ optional :is_no_inherit, :bool, 6
1619
+ optional :raw_expr, :message, 7, "pg_query.Node"
1620
+ optional :cooked_expr, :string, 8
1621
+ optional :generated_when, :string, 9
1622
+ repeated :keys, :message, 10, "pg_query.Node"
1623
+ repeated :including, :message, 11, "pg_query.Node"
1624
+ repeated :exclusions, :message, 12, "pg_query.Node"
1625
+ repeated :options, :message, 13, "pg_query.Node"
1626
+ optional :indexname, :string, 14
1627
+ optional :indexspace, :string, 15
1628
+ optional :reset_default_tblspc, :bool, 16
1629
+ optional :access_method, :string, 17
1630
+ optional :where_clause, :message, 18, "pg_query.Node"
1631
+ optional :pktable, :message, 19, "pg_query.RangeVar"
1632
+ repeated :fk_attrs, :message, 20, "pg_query.Node"
1633
+ repeated :pk_attrs, :message, 21, "pg_query.Node"
1634
+ optional :fk_matchtype, :string, 22
1635
+ optional :fk_upd_action, :string, 23
1636
+ optional :fk_del_action, :string, 24
1637
+ repeated :old_conpfeqop, :message, 25, "pg_query.Node"
1638
+ optional :old_pktable_oid, :uint32, 26
1639
+ optional :skip_validation, :bool, 27
1640
+ optional :initially_valid, :bool, 28
1641
+ end
1642
+ add_message "pg_query.DefElem" do
1643
+ optional :defnamespace, :string, 1
1644
+ optional :defname, :string, 2
1645
+ optional :arg, :message, 3, "pg_query.Node"
1646
+ optional :defaction, :enum, 4, "pg_query.DefElemAction"
1647
+ optional :location, :int32, 5
1648
+ end
1649
+ add_message "pg_query.RangeTblEntry" do
1650
+ optional :rtekind, :enum, 1, "pg_query.RTEKind"
1651
+ optional :relid, :uint32, 2
1652
+ optional :relkind, :string, 3
1653
+ optional :rellockmode, :int32, 4
1654
+ optional :tablesample, :message, 5, "pg_query.TableSampleClause"
1655
+ optional :subquery, :message, 6, "pg_query.Query"
1656
+ optional :security_barrier, :bool, 7
1657
+ optional :jointype, :enum, 8, "pg_query.JoinType"
1658
+ optional :joinmergedcols, :int32, 9
1659
+ repeated :joinaliasvars, :message, 10, "pg_query.Node"
1660
+ repeated :joinleftcols, :message, 11, "pg_query.Node"
1661
+ repeated :joinrightcols, :message, 12, "pg_query.Node"
1662
+ repeated :functions, :message, 13, "pg_query.Node"
1663
+ optional :funcordinality, :bool, 14
1664
+ optional :tablefunc, :message, 15, "pg_query.TableFunc"
1665
+ repeated :values_lists, :message, 16, "pg_query.Node"
1666
+ optional :ctename, :string, 17
1667
+ optional :ctelevelsup, :uint32, 18
1668
+ optional :self_reference, :bool, 19
1669
+ repeated :coltypes, :message, 20, "pg_query.Node"
1670
+ repeated :coltypmods, :message, 21, "pg_query.Node"
1671
+ repeated :colcollations, :message, 22, "pg_query.Node"
1672
+ optional :enrname, :string, 23
1673
+ optional :enrtuples, :double, 24
1674
+ optional :alias, :message, 25, "pg_query.Alias"
1675
+ optional :eref, :message, 26, "pg_query.Alias"
1676
+ optional :lateral, :bool, 27
1677
+ optional :inh, :bool, 28
1678
+ optional :in_from_cl, :bool, 29
1679
+ optional :required_perms, :uint32, 30
1680
+ optional :check_as_user, :uint32, 31
1681
+ repeated :selected_cols, :uint64, 32
1682
+ repeated :inserted_cols, :uint64, 33
1683
+ repeated :updated_cols, :uint64, 34
1684
+ repeated :extra_updated_cols, :uint64, 35
1685
+ repeated :security_quals, :message, 36, "pg_query.Node"
1686
+ end
1687
+ add_message "pg_query.RangeTblFunction" do
1688
+ optional :funcexpr, :message, 1, "pg_query.Node"
1689
+ optional :funccolcount, :int32, 2
1690
+ repeated :funccolnames, :message, 3, "pg_query.Node"
1691
+ repeated :funccoltypes, :message, 4, "pg_query.Node"
1692
+ repeated :funccoltypmods, :message, 5, "pg_query.Node"
1693
+ repeated :funccolcollations, :message, 6, "pg_query.Node"
1694
+ repeated :funcparams, :uint64, 7
1695
+ end
1696
+ add_message "pg_query.TableSampleClause" do
1697
+ optional :tsmhandler, :uint32, 1
1698
+ repeated :args, :message, 2, "pg_query.Node"
1699
+ optional :repeatable, :message, 3, "pg_query.Node"
1700
+ end
1701
+ add_message "pg_query.WithCheckOption" do
1702
+ optional :kind, :enum, 1, "pg_query.WCOKind"
1703
+ optional :relname, :string, 2
1704
+ optional :polname, :string, 3
1705
+ optional :qual, :message, 4, "pg_query.Node"
1706
+ optional :cascaded, :bool, 5
1707
+ end
1708
+ add_message "pg_query.SortGroupClause" do
1709
+ optional :tle_sort_group_ref, :uint32, 1
1710
+ optional :eqop, :uint32, 2
1711
+ optional :sortop, :uint32, 3
1712
+ optional :nulls_first, :bool, 4
1713
+ optional :hashable, :bool, 5
1714
+ end
1715
+ add_message "pg_query.GroupingSet" do
1716
+ optional :kind, :enum, 1, "pg_query.GroupingSetKind"
1717
+ repeated :content, :message, 2, "pg_query.Node"
1718
+ optional :location, :int32, 3
1719
+ end
1720
+ add_message "pg_query.WindowClause" do
1721
+ optional :name, :string, 1
1722
+ optional :refname, :string, 2
1723
+ repeated :partition_clause, :message, 3, "pg_query.Node"
1724
+ repeated :order_clause, :message, 4, "pg_query.Node"
1725
+ optional :frame_options, :int32, 5
1726
+ optional :start_offset, :message, 6, "pg_query.Node"
1727
+ optional :end_offset, :message, 7, "pg_query.Node"
1728
+ optional :start_in_range_func, :uint32, 8
1729
+ optional :end_in_range_func, :uint32, 9
1730
+ optional :in_range_coll, :uint32, 10
1731
+ optional :in_range_asc, :bool, 11
1732
+ optional :in_range_nulls_first, :bool, 12
1733
+ optional :winref, :uint32, 13
1734
+ optional :copied_order, :bool, 14
1735
+ end
1736
+ add_message "pg_query.ObjectWithArgs" do
1737
+ repeated :objname, :message, 1, "pg_query.Node"
1738
+ repeated :objargs, :message, 2, "pg_query.Node"
1739
+ optional :args_unspecified, :bool, 3
1740
+ end
1741
+ add_message "pg_query.AccessPriv" do
1742
+ optional :priv_name, :string, 1
1743
+ repeated :cols, :message, 2, "pg_query.Node"
1744
+ end
1745
+ add_message "pg_query.CreateOpClassItem" do
1746
+ optional :itemtype, :int32, 1
1747
+ optional :name, :message, 2, "pg_query.ObjectWithArgs"
1748
+ optional :number, :int32, 3
1749
+ repeated :order_family, :message, 4, "pg_query.Node"
1750
+ repeated :class_args, :message, 5, "pg_query.Node"
1751
+ optional :storedtype, :message, 6, "pg_query.TypeName"
1752
+ end
1753
+ add_message "pg_query.TableLikeClause" do
1754
+ optional :relation, :message, 1, "pg_query.RangeVar"
1755
+ optional :options, :uint32, 2
1756
+ end
1757
+ add_message "pg_query.FunctionParameter" do
1758
+ optional :name, :string, 1
1759
+ optional :arg_type, :message, 2, "pg_query.TypeName"
1760
+ optional :mode, :enum, 3, "pg_query.FunctionParameterMode"
1761
+ optional :defexpr, :message, 4, "pg_query.Node"
1762
+ end
1763
+ add_message "pg_query.LockingClause" do
1764
+ repeated :locked_rels, :message, 1, "pg_query.Node"
1765
+ optional :strength, :enum, 2, "pg_query.LockClauseStrength"
1766
+ optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy"
1767
+ end
1768
+ add_message "pg_query.RowMarkClause" do
1769
+ optional :rti, :uint32, 1
1770
+ optional :strength, :enum, 2, "pg_query.LockClauseStrength"
1771
+ optional :wait_policy, :enum, 3, "pg_query.LockWaitPolicy"
1772
+ optional :pushed_down, :bool, 4
1773
+ end
1774
+ add_message "pg_query.XmlSerialize" do
1775
+ optional :xmloption, :enum, 1, "pg_query.XmlOptionType"
1776
+ optional :expr, :message, 2, "pg_query.Node"
1777
+ optional :type_name, :message, 3, "pg_query.TypeName"
1778
+ optional :location, :int32, 4
1779
+ end
1780
+ add_message "pg_query.WithClause" do
1781
+ repeated :ctes, :message, 1, "pg_query.Node"
1782
+ optional :recursive, :bool, 2
1783
+ optional :location, :int32, 3
1784
+ end
1785
+ add_message "pg_query.InferClause" do
1786
+ repeated :index_elems, :message, 1, "pg_query.Node"
1787
+ optional :where_clause, :message, 2, "pg_query.Node"
1788
+ optional :conname, :string, 3
1789
+ optional :location, :int32, 4
1790
+ end
1791
+ add_message "pg_query.OnConflictClause" do
1792
+ optional :action, :enum, 1, "pg_query.OnConflictAction"
1793
+ optional :infer, :message, 2, "pg_query.InferClause"
1794
+ repeated :target_list, :message, 3, "pg_query.Node"
1795
+ optional :where_clause, :message, 4, "pg_query.Node"
1796
+ optional :location, :int32, 5
1797
+ end
1798
+ add_message "pg_query.CommonTableExpr" do
1799
+ optional :ctename, :string, 1
1800
+ repeated :aliascolnames, :message, 2, "pg_query.Node"
1801
+ optional :ctematerialized, :enum, 3, "pg_query.CTEMaterialize"
1802
+ optional :ctequery, :message, 4, "pg_query.Node"
1803
+ optional :location, :int32, 5
1804
+ optional :cterecursive, :bool, 6
1805
+ optional :cterefcount, :int32, 7
1806
+ repeated :ctecolnames, :message, 8, "pg_query.Node"
1807
+ repeated :ctecoltypes, :message, 9, "pg_query.Node"
1808
+ repeated :ctecoltypmods, :message, 10, "pg_query.Node"
1809
+ repeated :ctecolcollations, :message, 11, "pg_query.Node"
1810
+ end
1811
+ add_message "pg_query.RoleSpec" do
1812
+ optional :roletype, :enum, 1, "pg_query.RoleSpecType"
1813
+ optional :rolename, :string, 2
1814
+ optional :location, :int32, 3
1815
+ end
1816
+ add_message "pg_query.TriggerTransition" do
1817
+ optional :name, :string, 1
1818
+ optional :is_new, :bool, 2
1819
+ optional :is_table, :bool, 3
1820
+ end
1821
+ add_message "pg_query.PartitionElem" do
1822
+ optional :name, :string, 1
1823
+ optional :expr, :message, 2, "pg_query.Node"
1824
+ repeated :collation, :message, 3, "pg_query.Node"
1825
+ repeated :opclass, :message, 4, "pg_query.Node"
1826
+ optional :location, :int32, 5
1827
+ end
1828
+ add_message "pg_query.PartitionSpec" do
1829
+ optional :strategy, :string, 1
1830
+ repeated :part_params, :message, 2, "pg_query.Node"
1831
+ optional :location, :int32, 3
1832
+ end
1833
+ add_message "pg_query.PartitionBoundSpec" do
1834
+ optional :strategy, :string, 1
1835
+ optional :is_default, :bool, 2
1836
+ optional :modulus, :int32, 3
1837
+ optional :remainder, :int32, 4
1838
+ repeated :listdatums, :message, 5, "pg_query.Node"
1839
+ repeated :lowerdatums, :message, 6, "pg_query.Node"
1840
+ repeated :upperdatums, :message, 7, "pg_query.Node"
1841
+ optional :location, :int32, 8
1842
+ end
1843
+ add_message "pg_query.PartitionRangeDatum" do
1844
+ optional :kind, :enum, 1, "pg_query.PartitionRangeDatumKind"
1845
+ optional :value, :message, 2, "pg_query.Node"
1846
+ optional :location, :int32, 3
1847
+ end
1848
+ add_message "pg_query.PartitionCmd" do
1849
+ optional :name, :message, 1, "pg_query.RangeVar"
1850
+ optional :bound, :message, 2, "pg_query.PartitionBoundSpec"
1851
+ end
1852
+ add_message "pg_query.VacuumRelation" do
1853
+ optional :relation, :message, 1, "pg_query.RangeVar"
1854
+ optional :oid, :uint32, 2
1855
+ repeated :va_cols, :message, 3, "pg_query.Node"
1856
+ end
1857
+ add_message "pg_query.InlineCodeBlock" do
1858
+ optional :source_text, :string, 1
1859
+ optional :lang_oid, :uint32, 2
1860
+ optional :lang_is_trusted, :bool, 3
1861
+ optional :atomic, :bool, 4
1862
+ end
1863
+ add_message "pg_query.CallContext" do
1864
+ optional :atomic, :bool, 1
1865
+ end
1866
+ add_message "pg_query.ScanToken" do
1867
+ optional :start, :int32, 1
1868
+ optional :end, :int32, 2
1869
+ optional :token, :enum, 4, "pg_query.Token"
1870
+ optional :keyword_kind, :enum, 5, "pg_query.KeywordKind"
1871
+ end
1872
+ add_enum "pg_query.OverridingKind" do
1873
+ value :OVERRIDING_KIND_UNDEFINED, 0
1874
+ value :OVERRIDING_NOT_SET, 1
1875
+ value :OVERRIDING_USER_VALUE, 2
1876
+ value :OVERRIDING_SYSTEM_VALUE, 3
1877
+ end
1878
+ add_enum "pg_query.QuerySource" do
1879
+ value :QUERY_SOURCE_UNDEFINED, 0
1880
+ value :QSRC_ORIGINAL, 1
1881
+ value :QSRC_PARSER, 2
1882
+ value :QSRC_INSTEAD_RULE, 3
1883
+ value :QSRC_QUAL_INSTEAD_RULE, 4
1884
+ value :QSRC_NON_INSTEAD_RULE, 5
1885
+ end
1886
+ add_enum "pg_query.SortByDir" do
1887
+ value :SORT_BY_DIR_UNDEFINED, 0
1888
+ value :SORTBY_DEFAULT, 1
1889
+ value :SORTBY_ASC, 2
1890
+ value :SORTBY_DESC, 3
1891
+ value :SORTBY_USING, 4
1892
+ end
1893
+ add_enum "pg_query.SortByNulls" do
1894
+ value :SORT_BY_NULLS_UNDEFINED, 0
1895
+ value :SORTBY_NULLS_DEFAULT, 1
1896
+ value :SORTBY_NULLS_FIRST, 2
1897
+ value :SORTBY_NULLS_LAST, 3
1898
+ end
1899
+ add_enum "pg_query.A_Expr_Kind" do
1900
+ value :A_EXPR_KIND_UNDEFINED, 0
1901
+ value :AEXPR_OP, 1
1902
+ value :AEXPR_OP_ANY, 2
1903
+ value :AEXPR_OP_ALL, 3
1904
+ value :AEXPR_DISTINCT, 4
1905
+ value :AEXPR_NOT_DISTINCT, 5
1906
+ value :AEXPR_NULLIF, 6
1907
+ value :AEXPR_OF, 7
1908
+ value :AEXPR_IN, 8
1909
+ value :AEXPR_LIKE, 9
1910
+ value :AEXPR_ILIKE, 10
1911
+ value :AEXPR_SIMILAR, 11
1912
+ value :AEXPR_BETWEEN, 12
1913
+ value :AEXPR_NOT_BETWEEN, 13
1914
+ value :AEXPR_BETWEEN_SYM, 14
1915
+ value :AEXPR_NOT_BETWEEN_SYM, 15
1916
+ value :AEXPR_PAREN, 16
1917
+ end
1918
+ add_enum "pg_query.RoleSpecType" do
1919
+ value :ROLE_SPEC_TYPE_UNDEFINED, 0
1920
+ value :ROLESPEC_CSTRING, 1
1921
+ value :ROLESPEC_CURRENT_USER, 2
1922
+ value :ROLESPEC_SESSION_USER, 3
1923
+ value :ROLESPEC_PUBLIC, 4
1924
+ end
1925
+ add_enum "pg_query.TableLikeOption" do
1926
+ value :TABLE_LIKE_OPTION_UNDEFINED, 0
1927
+ value :CREATE_TABLE_LIKE_COMMENTS, 1
1928
+ value :CREATE_TABLE_LIKE_CONSTRAINTS, 2
1929
+ value :CREATE_TABLE_LIKE_DEFAULTS, 3
1930
+ value :CREATE_TABLE_LIKE_GENERATED, 4
1931
+ value :CREATE_TABLE_LIKE_IDENTITY, 5
1932
+ value :CREATE_TABLE_LIKE_INDEXES, 6
1933
+ value :CREATE_TABLE_LIKE_STATISTICS, 7
1934
+ value :CREATE_TABLE_LIKE_STORAGE, 8
1935
+ value :CREATE_TABLE_LIKE_ALL, 9
1936
+ end
1937
+ add_enum "pg_query.DefElemAction" do
1938
+ value :DEF_ELEM_ACTION_UNDEFINED, 0
1939
+ value :DEFELEM_UNSPEC, 1
1940
+ value :DEFELEM_SET, 2
1941
+ value :DEFELEM_ADD, 3
1942
+ value :DEFELEM_DROP, 4
1943
+ end
1944
+ add_enum "pg_query.PartitionRangeDatumKind" do
1945
+ value :PARTITION_RANGE_DATUM_KIND_UNDEFINED, 0
1946
+ value :PARTITION_RANGE_DATUM_MINVALUE, 1
1947
+ value :PARTITION_RANGE_DATUM_VALUE, 2
1948
+ value :PARTITION_RANGE_DATUM_MAXVALUE, 3
1949
+ end
1950
+ add_enum "pg_query.RTEKind" do
1951
+ value :RTEKIND_UNDEFINED, 0
1952
+ value :RTE_RELATION, 1
1953
+ value :RTE_SUBQUERY, 2
1954
+ value :RTE_JOIN, 3
1955
+ value :RTE_FUNCTION, 4
1956
+ value :RTE_TABLEFUNC, 5
1957
+ value :RTE_VALUES, 6
1958
+ value :RTE_CTE, 7
1959
+ value :RTE_NAMEDTUPLESTORE, 8
1960
+ value :RTE_RESULT, 9
1961
+ end
1962
+ add_enum "pg_query.WCOKind" do
1963
+ value :WCOKIND_UNDEFINED, 0
1964
+ value :WCO_VIEW_CHECK, 1
1965
+ value :WCO_RLS_INSERT_CHECK, 2
1966
+ value :WCO_RLS_UPDATE_CHECK, 3
1967
+ value :WCO_RLS_CONFLICT_CHECK, 4
1968
+ end
1969
+ add_enum "pg_query.GroupingSetKind" do
1970
+ value :GROUPING_SET_KIND_UNDEFINED, 0
1971
+ value :GROUPING_SET_EMPTY, 1
1972
+ value :GROUPING_SET_SIMPLE, 2
1973
+ value :GROUPING_SET_ROLLUP, 3
1974
+ value :GROUPING_SET_CUBE, 4
1975
+ value :GROUPING_SET_SETS, 5
1976
+ end
1977
+ add_enum "pg_query.CTEMaterialize" do
1978
+ value :CTEMATERIALIZE_UNDEFINED, 0
1979
+ value :CTEMaterializeDefault, 1
1980
+ value :CTEMaterializeAlways, 2
1981
+ value :CTEMaterializeNever, 3
1982
+ end
1983
+ add_enum "pg_query.SetOperation" do
1984
+ value :SET_OPERATION_UNDEFINED, 0
1985
+ value :SETOP_NONE, 1
1986
+ value :SETOP_UNION, 2
1987
+ value :SETOP_INTERSECT, 3
1988
+ value :SETOP_EXCEPT, 4
1989
+ end
1990
+ add_enum "pg_query.ObjectType" do
1991
+ value :OBJECT_TYPE_UNDEFINED, 0
1992
+ value :OBJECT_ACCESS_METHOD, 1
1993
+ value :OBJECT_AGGREGATE, 2
1994
+ value :OBJECT_AMOP, 3
1995
+ value :OBJECT_AMPROC, 4
1996
+ value :OBJECT_ATTRIBUTE, 5
1997
+ value :OBJECT_CAST, 6
1998
+ value :OBJECT_COLUMN, 7
1999
+ value :OBJECT_COLLATION, 8
2000
+ value :OBJECT_CONVERSION, 9
2001
+ value :OBJECT_DATABASE, 10
2002
+ value :OBJECT_DEFAULT, 11
2003
+ value :OBJECT_DEFACL, 12
2004
+ value :OBJECT_DOMAIN, 13
2005
+ value :OBJECT_DOMCONSTRAINT, 14
2006
+ value :OBJECT_EVENT_TRIGGER, 15
2007
+ value :OBJECT_EXTENSION, 16
2008
+ value :OBJECT_FDW, 17
2009
+ value :OBJECT_FOREIGN_SERVER, 18
2010
+ value :OBJECT_FOREIGN_TABLE, 19
2011
+ value :OBJECT_FUNCTION, 20
2012
+ value :OBJECT_INDEX, 21
2013
+ value :OBJECT_LANGUAGE, 22
2014
+ value :OBJECT_LARGEOBJECT, 23
2015
+ value :OBJECT_MATVIEW, 24
2016
+ value :OBJECT_OPCLASS, 25
2017
+ value :OBJECT_OPERATOR, 26
2018
+ value :OBJECT_OPFAMILY, 27
2019
+ value :OBJECT_POLICY, 28
2020
+ value :OBJECT_PROCEDURE, 29
2021
+ value :OBJECT_PUBLICATION, 30
2022
+ value :OBJECT_PUBLICATION_REL, 31
2023
+ value :OBJECT_ROLE, 32
2024
+ value :OBJECT_ROUTINE, 33
2025
+ value :OBJECT_RULE, 34
2026
+ value :OBJECT_SCHEMA, 35
2027
+ value :OBJECT_SEQUENCE, 36
2028
+ value :OBJECT_SUBSCRIPTION, 37
2029
+ value :OBJECT_STATISTIC_EXT, 38
2030
+ value :OBJECT_TABCONSTRAINT, 39
2031
+ value :OBJECT_TABLE, 40
2032
+ value :OBJECT_TABLESPACE, 41
2033
+ value :OBJECT_TRANSFORM, 42
2034
+ value :OBJECT_TRIGGER, 43
2035
+ value :OBJECT_TSCONFIGURATION, 44
2036
+ value :OBJECT_TSDICTIONARY, 45
2037
+ value :OBJECT_TSPARSER, 46
2038
+ value :OBJECT_TSTEMPLATE, 47
2039
+ value :OBJECT_TYPE, 48
2040
+ value :OBJECT_USER_MAPPING, 49
2041
+ value :OBJECT_VIEW, 50
2042
+ end
2043
+ add_enum "pg_query.DropBehavior" do
2044
+ value :DROP_BEHAVIOR_UNDEFINED, 0
2045
+ value :DROP_RESTRICT, 1
2046
+ value :DROP_CASCADE, 2
2047
+ end
2048
+ add_enum "pg_query.AlterTableType" do
2049
+ value :ALTER_TABLE_TYPE_UNDEFINED, 0
2050
+ value :AT_AddColumn, 1
2051
+ value :AT_AddColumnRecurse, 2
2052
+ value :AT_AddColumnToView, 3
2053
+ value :AT_ColumnDefault, 4
2054
+ value :AT_CookedColumnDefault, 5
2055
+ value :AT_DropNotNull, 6
2056
+ value :AT_SetNotNull, 7
2057
+ value :AT_DropExpression, 8
2058
+ value :AT_CheckNotNull, 9
2059
+ value :AT_SetStatistics, 10
2060
+ value :AT_SetOptions, 11
2061
+ value :AT_ResetOptions, 12
2062
+ value :AT_SetStorage, 13
2063
+ value :AT_DropColumn, 14
2064
+ value :AT_DropColumnRecurse, 15
2065
+ value :AT_AddIndex, 16
2066
+ value :AT_ReAddIndex, 17
2067
+ value :AT_AddConstraint, 18
2068
+ value :AT_AddConstraintRecurse, 19
2069
+ value :AT_ReAddConstraint, 20
2070
+ value :AT_ReAddDomainConstraint, 21
2071
+ value :AT_AlterConstraint, 22
2072
+ value :AT_ValidateConstraint, 23
2073
+ value :AT_ValidateConstraintRecurse, 24
2074
+ value :AT_AddIndexConstraint, 25
2075
+ value :AT_DropConstraint, 26
2076
+ value :AT_DropConstraintRecurse, 27
2077
+ value :AT_ReAddComment, 28
2078
+ value :AT_AlterColumnType, 29
2079
+ value :AT_AlterColumnGenericOptions, 30
2080
+ value :AT_ChangeOwner, 31
2081
+ value :AT_ClusterOn, 32
2082
+ value :AT_DropCluster, 33
2083
+ value :AT_SetLogged, 34
2084
+ value :AT_SetUnLogged, 35
2085
+ value :AT_DropOids, 36
2086
+ value :AT_SetTableSpace, 37
2087
+ value :AT_SetRelOptions, 38
2088
+ value :AT_ResetRelOptions, 39
2089
+ value :AT_ReplaceRelOptions, 40
2090
+ value :AT_EnableTrig, 41
2091
+ value :AT_EnableAlwaysTrig, 42
2092
+ value :AT_EnableReplicaTrig, 43
2093
+ value :AT_DisableTrig, 44
2094
+ value :AT_EnableTrigAll, 45
2095
+ value :AT_DisableTrigAll, 46
2096
+ value :AT_EnableTrigUser, 47
2097
+ value :AT_DisableTrigUser, 48
2098
+ value :AT_EnableRule, 49
2099
+ value :AT_EnableAlwaysRule, 50
2100
+ value :AT_EnableReplicaRule, 51
2101
+ value :AT_DisableRule, 52
2102
+ value :AT_AddInherit, 53
2103
+ value :AT_DropInherit, 54
2104
+ value :AT_AddOf, 55
2105
+ value :AT_DropOf, 56
2106
+ value :AT_ReplicaIdentity, 57
2107
+ value :AT_EnableRowSecurity, 58
2108
+ value :AT_DisableRowSecurity, 59
2109
+ value :AT_ForceRowSecurity, 60
2110
+ value :AT_NoForceRowSecurity, 61
2111
+ value :AT_GenericOptions, 62
2112
+ value :AT_AttachPartition, 63
2113
+ value :AT_DetachPartition, 64
2114
+ value :AT_AddIdentity, 65
2115
+ value :AT_SetIdentity, 66
2116
+ value :AT_DropIdentity, 67
2117
+ end
2118
+ add_enum "pg_query.GrantTargetType" do
2119
+ value :GRANT_TARGET_TYPE_UNDEFINED, 0
2120
+ value :ACL_TARGET_OBJECT, 1
2121
+ value :ACL_TARGET_ALL_IN_SCHEMA, 2
2122
+ value :ACL_TARGET_DEFAULTS, 3
2123
+ end
2124
+ add_enum "pg_query.VariableSetKind" do
2125
+ value :VARIABLE_SET_KIND_UNDEFINED, 0
2126
+ value :VAR_SET_VALUE, 1
2127
+ value :VAR_SET_DEFAULT, 2
2128
+ value :VAR_SET_CURRENT, 3
2129
+ value :VAR_SET_MULTI, 4
2130
+ value :VAR_RESET, 5
2131
+ value :VAR_RESET_ALL, 6
2132
+ end
2133
+ add_enum "pg_query.ConstrType" do
2134
+ value :CONSTR_TYPE_UNDEFINED, 0
2135
+ value :CONSTR_NULL, 1
2136
+ value :CONSTR_NOTNULL, 2
2137
+ value :CONSTR_DEFAULT, 3
2138
+ value :CONSTR_IDENTITY, 4
2139
+ value :CONSTR_GENERATED, 5
2140
+ value :CONSTR_CHECK, 6
2141
+ value :CONSTR_PRIMARY, 7
2142
+ value :CONSTR_UNIQUE, 8
2143
+ value :CONSTR_EXCLUSION, 9
2144
+ value :CONSTR_FOREIGN, 10
2145
+ value :CONSTR_ATTR_DEFERRABLE, 11
2146
+ value :CONSTR_ATTR_NOT_DEFERRABLE, 12
2147
+ value :CONSTR_ATTR_DEFERRED, 13
2148
+ value :CONSTR_ATTR_IMMEDIATE, 14
2149
+ end
2150
+ add_enum "pg_query.ImportForeignSchemaType" do
2151
+ value :IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED, 0
2152
+ value :FDW_IMPORT_SCHEMA_ALL, 1
2153
+ value :FDW_IMPORT_SCHEMA_LIMIT_TO, 2
2154
+ value :FDW_IMPORT_SCHEMA_EXCEPT, 3
2155
+ end
2156
+ add_enum "pg_query.RoleStmtType" do
2157
+ value :ROLE_STMT_TYPE_UNDEFINED, 0
2158
+ value :ROLESTMT_ROLE, 1
2159
+ value :ROLESTMT_USER, 2
2160
+ value :ROLESTMT_GROUP, 3
2161
+ end
2162
+ add_enum "pg_query.FetchDirection" do
2163
+ value :FETCH_DIRECTION_UNDEFINED, 0
2164
+ value :FETCH_FORWARD, 1
2165
+ value :FETCH_BACKWARD, 2
2166
+ value :FETCH_ABSOLUTE, 3
2167
+ value :FETCH_RELATIVE, 4
2168
+ end
2169
+ add_enum "pg_query.FunctionParameterMode" do
2170
+ value :FUNCTION_PARAMETER_MODE_UNDEFINED, 0
2171
+ value :FUNC_PARAM_IN, 1
2172
+ value :FUNC_PARAM_OUT, 2
2173
+ value :FUNC_PARAM_INOUT, 3
2174
+ value :FUNC_PARAM_VARIADIC, 4
2175
+ value :FUNC_PARAM_TABLE, 5
2176
+ end
2177
+ add_enum "pg_query.TransactionStmtKind" do
2178
+ value :TRANSACTION_STMT_KIND_UNDEFINED, 0
2179
+ value :TRANS_STMT_BEGIN, 1
2180
+ value :TRANS_STMT_START, 2
2181
+ value :TRANS_STMT_COMMIT, 3
2182
+ value :TRANS_STMT_ROLLBACK, 4
2183
+ value :TRANS_STMT_SAVEPOINT, 5
2184
+ value :TRANS_STMT_RELEASE, 6
2185
+ value :TRANS_STMT_ROLLBACK_TO, 7
2186
+ value :TRANS_STMT_PREPARE, 8
2187
+ value :TRANS_STMT_COMMIT_PREPARED, 9
2188
+ value :TRANS_STMT_ROLLBACK_PREPARED, 10
2189
+ end
2190
+ add_enum "pg_query.ViewCheckOption" do
2191
+ value :VIEW_CHECK_OPTION_UNDEFINED, 0
2192
+ value :NO_CHECK_OPTION, 1
2193
+ value :LOCAL_CHECK_OPTION, 2
2194
+ value :CASCADED_CHECK_OPTION, 3
2195
+ end
2196
+ add_enum "pg_query.ClusterOption" do
2197
+ value :CLUSTER_OPTION_UNDEFINED, 0
2198
+ value :CLUOPT_RECHECK, 1
2199
+ value :CLUOPT_VERBOSE, 2
2200
+ end
2201
+ add_enum "pg_query.DiscardMode" do
2202
+ value :DISCARD_MODE_UNDEFINED, 0
2203
+ value :DISCARD_ALL, 1
2204
+ value :DISCARD_PLANS, 2
2205
+ value :DISCARD_SEQUENCES, 3
2206
+ value :DISCARD_TEMP, 4
2207
+ end
2208
+ add_enum "pg_query.ReindexObjectType" do
2209
+ value :REINDEX_OBJECT_TYPE_UNDEFINED, 0
2210
+ value :REINDEX_OBJECT_INDEX, 1
2211
+ value :REINDEX_OBJECT_TABLE, 2
2212
+ value :REINDEX_OBJECT_SCHEMA, 3
2213
+ value :REINDEX_OBJECT_SYSTEM, 4
2214
+ value :REINDEX_OBJECT_DATABASE, 5
2215
+ end
2216
+ add_enum "pg_query.AlterTSConfigType" do
2217
+ value :ALTER_TSCONFIG_TYPE_UNDEFINED, 0
2218
+ value :ALTER_TSCONFIG_ADD_MAPPING, 1
2219
+ value :ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN, 2
2220
+ value :ALTER_TSCONFIG_REPLACE_DICT, 3
2221
+ value :ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN, 4
2222
+ value :ALTER_TSCONFIG_DROP_MAPPING, 5
2223
+ end
2224
+ add_enum "pg_query.AlterSubscriptionType" do
2225
+ value :ALTER_SUBSCRIPTION_TYPE_UNDEFINED, 0
2226
+ value :ALTER_SUBSCRIPTION_OPTIONS, 1
2227
+ value :ALTER_SUBSCRIPTION_CONNECTION, 2
2228
+ value :ALTER_SUBSCRIPTION_PUBLICATION, 3
2229
+ value :ALTER_SUBSCRIPTION_REFRESH, 4
2230
+ value :ALTER_SUBSCRIPTION_ENABLED, 5
2231
+ end
2232
+ add_enum "pg_query.OnCommitAction" do
2233
+ value :ON_COMMIT_ACTION_UNDEFINED, 0
2234
+ value :ONCOMMIT_NOOP, 1
2235
+ value :ONCOMMIT_PRESERVE_ROWS, 2
2236
+ value :ONCOMMIT_DELETE_ROWS, 3
2237
+ value :ONCOMMIT_DROP, 4
2238
+ end
2239
+ add_enum "pg_query.ParamKind" do
2240
+ value :PARAM_KIND_UNDEFINED, 0
2241
+ value :PARAM_EXTERN, 1
2242
+ value :PARAM_EXEC, 2
2243
+ value :PARAM_SUBLINK, 3
2244
+ value :PARAM_MULTIEXPR, 4
2245
+ end
2246
+ add_enum "pg_query.CoercionContext" do
2247
+ value :COERCION_CONTEXT_UNDEFINED, 0
2248
+ value :COERCION_IMPLICIT, 1
2249
+ value :COERCION_ASSIGNMENT, 2
2250
+ value :COERCION_EXPLICIT, 3
2251
+ end
2252
+ add_enum "pg_query.CoercionForm" do
2253
+ value :COERCION_FORM_UNDEFINED, 0
2254
+ value :COERCE_EXPLICIT_CALL, 1
2255
+ value :COERCE_EXPLICIT_CAST, 2
2256
+ value :COERCE_IMPLICIT_CAST, 3
2257
+ end
2258
+ add_enum "pg_query.BoolExprType" do
2259
+ value :BOOL_EXPR_TYPE_UNDEFINED, 0
2260
+ value :AND_EXPR, 1
2261
+ value :OR_EXPR, 2
2262
+ value :NOT_EXPR, 3
2263
+ end
2264
+ add_enum "pg_query.SubLinkType" do
2265
+ value :SUB_LINK_TYPE_UNDEFINED, 0
2266
+ value :EXISTS_SUBLINK, 1
2267
+ value :ALL_SUBLINK, 2
2268
+ value :ANY_SUBLINK, 3
2269
+ value :ROWCOMPARE_SUBLINK, 4
2270
+ value :EXPR_SUBLINK, 5
2271
+ value :MULTIEXPR_SUBLINK, 6
2272
+ value :ARRAY_SUBLINK, 7
2273
+ value :CTE_SUBLINK, 8
2274
+ end
2275
+ add_enum "pg_query.RowCompareType" do
2276
+ value :ROW_COMPARE_TYPE_UNDEFINED, 0
2277
+ value :ROWCOMPARE_LT, 1
2278
+ value :ROWCOMPARE_LE, 2
2279
+ value :ROWCOMPARE_EQ, 3
2280
+ value :ROWCOMPARE_GE, 4
2281
+ value :ROWCOMPARE_GT, 5
2282
+ value :ROWCOMPARE_NE, 6
2283
+ end
2284
+ add_enum "pg_query.MinMaxOp" do
2285
+ value :MIN_MAX_OP_UNDEFINED, 0
2286
+ value :IS_GREATEST, 1
2287
+ value :IS_LEAST, 2
2288
+ end
2289
+ add_enum "pg_query.SQLValueFunctionOp" do
2290
+ value :SQLVALUE_FUNCTION_OP_UNDEFINED, 0
2291
+ value :SVFOP_CURRENT_DATE, 1
2292
+ value :SVFOP_CURRENT_TIME, 2
2293
+ value :SVFOP_CURRENT_TIME_N, 3
2294
+ value :SVFOP_CURRENT_TIMESTAMP, 4
2295
+ value :SVFOP_CURRENT_TIMESTAMP_N, 5
2296
+ value :SVFOP_LOCALTIME, 6
2297
+ value :SVFOP_LOCALTIME_N, 7
2298
+ value :SVFOP_LOCALTIMESTAMP, 8
2299
+ value :SVFOP_LOCALTIMESTAMP_N, 9
2300
+ value :SVFOP_CURRENT_ROLE, 10
2301
+ value :SVFOP_CURRENT_USER, 11
2302
+ value :SVFOP_USER, 12
2303
+ value :SVFOP_SESSION_USER, 13
2304
+ value :SVFOP_CURRENT_CATALOG, 14
2305
+ value :SVFOP_CURRENT_SCHEMA, 15
2306
+ end
2307
+ add_enum "pg_query.XmlExprOp" do
2308
+ value :XML_EXPR_OP_UNDEFINED, 0
2309
+ value :IS_XMLCONCAT, 1
2310
+ value :IS_XMLELEMENT, 2
2311
+ value :IS_XMLFOREST, 3
2312
+ value :IS_XMLPARSE, 4
2313
+ value :IS_XMLPI, 5
2314
+ value :IS_XMLROOT, 6
2315
+ value :IS_XMLSERIALIZE, 7
2316
+ value :IS_DOCUMENT, 8
2317
+ end
2318
+ add_enum "pg_query.XmlOptionType" do
2319
+ value :XML_OPTION_TYPE_UNDEFINED, 0
2320
+ value :XMLOPTION_DOCUMENT, 1
2321
+ value :XMLOPTION_CONTENT, 2
2322
+ end
2323
+ add_enum "pg_query.NullTestType" do
2324
+ value :NULL_TEST_TYPE_UNDEFINED, 0
2325
+ value :IS_NULL, 1
2326
+ value :IS_NOT_NULL, 2
2327
+ end
2328
+ add_enum "pg_query.BoolTestType" do
2329
+ value :BOOL_TEST_TYPE_UNDEFINED, 0
2330
+ value :IS_TRUE, 1
2331
+ value :IS_NOT_TRUE, 2
2332
+ value :IS_FALSE, 3
2333
+ value :IS_NOT_FALSE, 4
2334
+ value :IS_UNKNOWN, 5
2335
+ value :IS_NOT_UNKNOWN, 6
2336
+ end
2337
+ add_enum "pg_query.CmdType" do
2338
+ value :CMD_TYPE_UNDEFINED, 0
2339
+ value :CMD_UNKNOWN, 1
2340
+ value :CMD_SELECT, 2
2341
+ value :CMD_UPDATE, 3
2342
+ value :CMD_INSERT, 4
2343
+ value :CMD_DELETE, 5
2344
+ value :CMD_UTILITY, 6
2345
+ value :CMD_NOTHING, 7
2346
+ end
2347
+ add_enum "pg_query.JoinType" do
2348
+ value :JOIN_TYPE_UNDEFINED, 0
2349
+ value :JOIN_INNER, 1
2350
+ value :JOIN_LEFT, 2
2351
+ value :JOIN_FULL, 3
2352
+ value :JOIN_RIGHT, 4
2353
+ value :JOIN_SEMI, 5
2354
+ value :JOIN_ANTI, 6
2355
+ value :JOIN_UNIQUE_OUTER, 7
2356
+ value :JOIN_UNIQUE_INNER, 8
2357
+ end
2358
+ add_enum "pg_query.AggStrategy" do
2359
+ value :AGG_STRATEGY_UNDEFINED, 0
2360
+ value :AGG_PLAIN, 1
2361
+ value :AGG_SORTED, 2
2362
+ value :AGG_HASHED, 3
2363
+ value :AGG_MIXED, 4
2364
+ end
2365
+ add_enum "pg_query.AggSplit" do
2366
+ value :AGG_SPLIT_UNDEFINED, 0
2367
+ value :AGGSPLIT_SIMPLE, 1
2368
+ value :AGGSPLIT_INITIAL_SERIAL, 2
2369
+ value :AGGSPLIT_FINAL_DESERIAL, 3
2370
+ end
2371
+ add_enum "pg_query.SetOpCmd" do
2372
+ value :SET_OP_CMD_UNDEFINED, 0
2373
+ value :SETOPCMD_INTERSECT, 1
2374
+ value :SETOPCMD_INTERSECT_ALL, 2
2375
+ value :SETOPCMD_EXCEPT, 3
2376
+ value :SETOPCMD_EXCEPT_ALL, 4
2377
+ end
2378
+ add_enum "pg_query.SetOpStrategy" do
2379
+ value :SET_OP_STRATEGY_UNDEFINED, 0
2380
+ value :SETOP_SORTED, 1
2381
+ value :SETOP_HASHED, 2
2382
+ end
2383
+ add_enum "pg_query.OnConflictAction" do
2384
+ value :ON_CONFLICT_ACTION_UNDEFINED, 0
2385
+ value :ONCONFLICT_NONE, 1
2386
+ value :ONCONFLICT_NOTHING, 2
2387
+ value :ONCONFLICT_UPDATE, 3
2388
+ end
2389
+ add_enum "pg_query.LimitOption" do
2390
+ value :LIMIT_OPTION_UNDEFINED, 0
2391
+ value :LIMIT_OPTION_DEFAULT, 1
2392
+ value :LIMIT_OPTION_COUNT, 2
2393
+ value :LIMIT_OPTION_WITH_TIES, 3
2394
+ end
2395
+ add_enum "pg_query.LockClauseStrength" do
2396
+ value :LOCK_CLAUSE_STRENGTH_UNDEFINED, 0
2397
+ value :LCS_NONE, 1
2398
+ value :LCS_FORKEYSHARE, 2
2399
+ value :LCS_FORSHARE, 3
2400
+ value :LCS_FORNOKEYUPDATE, 4
2401
+ value :LCS_FORUPDATE, 5
2402
+ end
2403
+ add_enum "pg_query.LockWaitPolicy" do
2404
+ value :LOCK_WAIT_POLICY_UNDEFINED, 0
2405
+ value :LockWaitBlock, 1
2406
+ value :LockWaitSkip, 2
2407
+ value :LockWaitError, 3
2408
+ end
2409
+ add_enum "pg_query.LockTupleMode" do
2410
+ value :LOCK_TUPLE_MODE_UNDEFINED, 0
2411
+ value :LockTupleKeyShare, 1
2412
+ value :LockTupleShare, 2
2413
+ value :LockTupleNoKeyExclusive, 3
2414
+ value :LockTupleExclusive, 4
2415
+ end
2416
+ add_enum "pg_query.KeywordKind" do
2417
+ value :NO_KEYWORD, 0
2418
+ value :UNRESERVED_KEYWORD, 1
2419
+ value :COL_NAME_KEYWORD, 2
2420
+ value :TYPE_FUNC_NAME_KEYWORD, 3
2421
+ value :RESERVED_KEYWORD, 4
2422
+ end
2423
+ add_enum "pg_query.Token" do
2424
+ value :NUL, 0
2425
+ value :ASCII_37, 37
2426
+ value :ASCII_40, 40
2427
+ value :ASCII_41, 41
2428
+ value :ASCII_42, 42
2429
+ value :ASCII_43, 43
2430
+ value :ASCII_44, 44
2431
+ value :ASCII_45, 45
2432
+ value :ASCII_46, 46
2433
+ value :ASCII_47, 47
2434
+ value :ASCII_58, 58
2435
+ value :ASCII_59, 59
2436
+ value :ASCII_60, 60
2437
+ value :ASCII_61, 61
2438
+ value :ASCII_62, 62
2439
+ value :ASCII_63, 63
2440
+ value :ASCII_91, 91
2441
+ value :ASCII_93, 93
2442
+ value :ASCII_94, 94
2443
+ value :IDENT, 258
2444
+ value :UIDENT, 259
2445
+ value :FCONST, 260
2446
+ value :SCONST, 261
2447
+ value :USCONST, 262
2448
+ value :BCONST, 263
2449
+ value :XCONST, 264
2450
+ value :Op, 265
2451
+ value :ICONST, 266
2452
+ value :PARAM, 267
2453
+ value :TYPECAST, 268
2454
+ value :DOT_DOT, 269
2455
+ value :COLON_EQUALS, 270
2456
+ value :EQUALS_GREATER, 271
2457
+ value :LESS_EQUALS, 272
2458
+ value :GREATER_EQUALS, 273
2459
+ value :NOT_EQUALS, 274
2460
+ value :SQL_COMMENT, 275
2461
+ value :C_COMMENT, 276
2462
+ value :ABORT_P, 277
2463
+ value :ABSOLUTE_P, 278
2464
+ value :ACCESS, 279
2465
+ value :ACTION, 280
2466
+ value :ADD_P, 281
2467
+ value :ADMIN, 282
2468
+ value :AFTER, 283
2469
+ value :AGGREGATE, 284
2470
+ value :ALL, 285
2471
+ value :ALSO, 286
2472
+ value :ALTER, 287
2473
+ value :ALWAYS, 288
2474
+ value :ANALYSE, 289
2475
+ value :ANALYZE, 290
2476
+ value :AND, 291
2477
+ value :ANY, 292
2478
+ value :ARRAY, 293
2479
+ value :AS, 294
2480
+ value :ASC, 295
2481
+ value :ASSERTION, 296
2482
+ value :ASSIGNMENT, 297
2483
+ value :ASYMMETRIC, 298
2484
+ value :AT, 299
2485
+ value :ATTACH, 300
2486
+ value :ATTRIBUTE, 301
2487
+ value :AUTHORIZATION, 302
2488
+ value :BACKWARD, 303
2489
+ value :BEFORE, 304
2490
+ value :BEGIN_P, 305
2491
+ value :BETWEEN, 306
2492
+ value :BIGINT, 307
2493
+ value :BINARY, 308
2494
+ value :BIT, 309
2495
+ value :BOOLEAN_P, 310
2496
+ value :BOTH, 311
2497
+ value :BY, 312
2498
+ value :CACHE, 313
2499
+ value :CALL, 314
2500
+ value :CALLED, 315
2501
+ value :CASCADE, 316
2502
+ value :CASCADED, 317
2503
+ value :CASE, 318
2504
+ value :CAST, 319
2505
+ value :CATALOG_P, 320
2506
+ value :CHAIN, 321
2507
+ value :CHAR_P, 322
2508
+ value :CHARACTER, 323
2509
+ value :CHARACTERISTICS, 324
2510
+ value :CHECK, 325
2511
+ value :CHECKPOINT, 326
2512
+ value :CLASS, 327
2513
+ value :CLOSE, 328
2514
+ value :CLUSTER, 329
2515
+ value :COALESCE, 330
2516
+ value :COLLATE, 331
2517
+ value :COLLATION, 332
2518
+ value :COLUMN, 333
2519
+ value :COLUMNS, 334
2520
+ value :COMMENT, 335
2521
+ value :COMMENTS, 336
2522
+ value :COMMIT, 337
2523
+ value :COMMITTED, 338
2524
+ value :CONCURRENTLY, 339
2525
+ value :CONFIGURATION, 340
2526
+ value :CONFLICT, 341
2527
+ value :CONNECTION, 342
2528
+ value :CONSTRAINT, 343
2529
+ value :CONSTRAINTS, 344
2530
+ value :CONTENT_P, 345
2531
+ value :CONTINUE_P, 346
2532
+ value :CONVERSION_P, 347
2533
+ value :COPY, 348
2534
+ value :COST, 349
2535
+ value :CREATE, 350
2536
+ value :CROSS, 351
2537
+ value :CSV, 352
2538
+ value :CUBE, 353
2539
+ value :CURRENT_P, 354
2540
+ value :CURRENT_CATALOG, 355
2541
+ value :CURRENT_DATE, 356
2542
+ value :CURRENT_ROLE, 357
2543
+ value :CURRENT_SCHEMA, 358
2544
+ value :CURRENT_TIME, 359
2545
+ value :CURRENT_TIMESTAMP, 360
2546
+ value :CURRENT_USER, 361
2547
+ value :CURSOR, 362
2548
+ value :CYCLE, 363
2549
+ value :DATA_P, 364
2550
+ value :DATABASE, 365
2551
+ value :DAY_P, 366
2552
+ value :DEALLOCATE, 367
2553
+ value :DEC, 368
2554
+ value :DECIMAL_P, 369
2555
+ value :DECLARE, 370
2556
+ value :DEFAULT, 371
2557
+ value :DEFAULTS, 372
2558
+ value :DEFERRABLE, 373
2559
+ value :DEFERRED, 374
2560
+ value :DEFINER, 375
2561
+ value :DELETE_P, 376
2562
+ value :DELIMITER, 377
2563
+ value :DELIMITERS, 378
2564
+ value :DEPENDS, 379
2565
+ value :DESC, 380
2566
+ value :DETACH, 381
2567
+ value :DICTIONARY, 382
2568
+ value :DISABLE_P, 383
2569
+ value :DISCARD, 384
2570
+ value :DISTINCT, 385
2571
+ value :DO, 386
2572
+ value :DOCUMENT_P, 387
2573
+ value :DOMAIN_P, 388
2574
+ value :DOUBLE_P, 389
2575
+ value :DROP, 390
2576
+ value :EACH, 391
2577
+ value :ELSE, 392
2578
+ value :ENABLE_P, 393
2579
+ value :ENCODING, 394
2580
+ value :ENCRYPTED, 395
2581
+ value :END_P, 396
2582
+ value :ENUM_P, 397
2583
+ value :ESCAPE, 398
2584
+ value :EVENT, 399
2585
+ value :EXCEPT, 400
2586
+ value :EXCLUDE, 401
2587
+ value :EXCLUDING, 402
2588
+ value :EXCLUSIVE, 403
2589
+ value :EXECUTE, 404
2590
+ value :EXISTS, 405
2591
+ value :EXPLAIN, 406
2592
+ value :EXPRESSION, 407
2593
+ value :EXTENSION, 408
2594
+ value :EXTERNAL, 409
2595
+ value :EXTRACT, 410
2596
+ value :FALSE_P, 411
2597
+ value :FAMILY, 412
2598
+ value :FETCH, 413
2599
+ value :FILTER, 414
2600
+ value :FIRST_P, 415
2601
+ value :FLOAT_P, 416
2602
+ value :FOLLOWING, 417
2603
+ value :FOR, 418
2604
+ value :FORCE, 419
2605
+ value :FOREIGN, 420
2606
+ value :FORWARD, 421
2607
+ value :FREEZE, 422
2608
+ value :FROM, 423
2609
+ value :FULL, 424
2610
+ value :FUNCTION, 425
2611
+ value :FUNCTIONS, 426
2612
+ value :GENERATED, 427
2613
+ value :GLOBAL, 428
2614
+ value :GRANT, 429
2615
+ value :GRANTED, 430
2616
+ value :GREATEST, 431
2617
+ value :GROUP_P, 432
2618
+ value :GROUPING, 433
2619
+ value :GROUPS, 434
2620
+ value :HANDLER, 435
2621
+ value :HAVING, 436
2622
+ value :HEADER_P, 437
2623
+ value :HOLD, 438
2624
+ value :HOUR_P, 439
2625
+ value :IDENTITY_P, 440
2626
+ value :IF_P, 441
2627
+ value :ILIKE, 442
2628
+ value :IMMEDIATE, 443
2629
+ value :IMMUTABLE, 444
2630
+ value :IMPLICIT_P, 445
2631
+ value :IMPORT_P, 446
2632
+ value :IN_P, 447
2633
+ value :INCLUDE, 448
2634
+ value :INCLUDING, 449
2635
+ value :INCREMENT, 450
2636
+ value :INDEX, 451
2637
+ value :INDEXES, 452
2638
+ value :INHERIT, 453
2639
+ value :INHERITS, 454
2640
+ value :INITIALLY, 455
2641
+ value :INLINE_P, 456
2642
+ value :INNER_P, 457
2643
+ value :INOUT, 458
2644
+ value :INPUT_P, 459
2645
+ value :INSENSITIVE, 460
2646
+ value :INSERT, 461
2647
+ value :INSTEAD, 462
2648
+ value :INT_P, 463
2649
+ value :INTEGER, 464
2650
+ value :INTERSECT, 465
2651
+ value :INTERVAL, 466
2652
+ value :INTO, 467
2653
+ value :INVOKER, 468
2654
+ value :IS, 469
2655
+ value :ISNULL, 470
2656
+ value :ISOLATION, 471
2657
+ value :JOIN, 472
2658
+ value :KEY, 473
2659
+ value :LABEL, 474
2660
+ value :LANGUAGE, 475
2661
+ value :LARGE_P, 476
2662
+ value :LAST_P, 477
2663
+ value :LATERAL_P, 478
2664
+ value :LEADING, 479
2665
+ value :LEAKPROOF, 480
2666
+ value :LEAST, 481
2667
+ value :LEFT, 482
2668
+ value :LEVEL, 483
2669
+ value :LIKE, 484
2670
+ value :LIMIT, 485
2671
+ value :LISTEN, 486
2672
+ value :LOAD, 487
2673
+ value :LOCAL, 488
2674
+ value :LOCALTIME, 489
2675
+ value :LOCALTIMESTAMP, 490
2676
+ value :LOCATION, 491
2677
+ value :LOCK_P, 492
2678
+ value :LOCKED, 493
2679
+ value :LOGGED, 494
2680
+ value :MAPPING, 495
2681
+ value :MATCH, 496
2682
+ value :MATERIALIZED, 497
2683
+ value :MAXVALUE, 498
2684
+ value :METHOD, 499
2685
+ value :MINUTE_P, 500
2686
+ value :MINVALUE, 501
2687
+ value :MODE, 502
2688
+ value :MONTH_P, 503
2689
+ value :MOVE, 504
2690
+ value :NAME_P, 505
2691
+ value :NAMES, 506
2692
+ value :NATIONAL, 507
2693
+ value :NATURAL, 508
2694
+ value :NCHAR, 509
2695
+ value :NEW, 510
2696
+ value :NEXT, 511
2697
+ value :NFC, 512
2698
+ value :NFD, 513
2699
+ value :NFKC, 514
2700
+ value :NFKD, 515
2701
+ value :NO, 516
2702
+ value :NONE, 517
2703
+ value :NORMALIZE, 518
2704
+ value :NORMALIZED, 519
2705
+ value :NOT, 520
2706
+ value :NOTHING, 521
2707
+ value :NOTIFY, 522
2708
+ value :NOTNULL, 523
2709
+ value :NOWAIT, 524
2710
+ value :NULL_P, 525
2711
+ value :NULLIF, 526
2712
+ value :NULLS_P, 527
2713
+ value :NUMERIC, 528
2714
+ value :OBJECT_P, 529
2715
+ value :OF, 530
2716
+ value :OFF, 531
2717
+ value :OFFSET, 532
2718
+ value :OIDS, 533
2719
+ value :OLD, 534
2720
+ value :ON, 535
2721
+ value :ONLY, 536
2722
+ value :OPERATOR, 537
2723
+ value :OPTION, 538
2724
+ value :OPTIONS, 539
2725
+ value :OR, 540
2726
+ value :ORDER, 541
2727
+ value :ORDINALITY, 542
2728
+ value :OTHERS, 543
2729
+ value :OUT_P, 544
2730
+ value :OUTER_P, 545
2731
+ value :OVER, 546
2732
+ value :OVERLAPS, 547
2733
+ value :OVERLAY, 548
2734
+ value :OVERRIDING, 549
2735
+ value :OWNED, 550
2736
+ value :OWNER, 551
2737
+ value :PARALLEL, 552
2738
+ value :PARSER, 553
2739
+ value :PARTIAL, 554
2740
+ value :PARTITION, 555
2741
+ value :PASSING, 556
2742
+ value :PASSWORD, 557
2743
+ value :PLACING, 558
2744
+ value :PLANS, 559
2745
+ value :POLICY, 560
2746
+ value :POSITION, 561
2747
+ value :PRECEDING, 562
2748
+ value :PRECISION, 563
2749
+ value :PRESERVE, 564
2750
+ value :PREPARE, 565
2751
+ value :PREPARED, 566
2752
+ value :PRIMARY, 567
2753
+ value :PRIOR, 568
2754
+ value :PRIVILEGES, 569
2755
+ value :PROCEDURAL, 570
2756
+ value :PROCEDURE, 571
2757
+ value :PROCEDURES, 572
2758
+ value :PROGRAM, 573
2759
+ value :PUBLICATION, 574
2760
+ value :QUOTE, 575
2761
+ value :RANGE, 576
2762
+ value :READ, 577
2763
+ value :REAL, 578
2764
+ value :REASSIGN, 579
2765
+ value :RECHECK, 580
2766
+ value :RECURSIVE, 581
2767
+ value :REF, 582
2768
+ value :REFERENCES, 583
2769
+ value :REFERENCING, 584
2770
+ value :REFRESH, 585
2771
+ value :REINDEX, 586
2772
+ value :RELATIVE_P, 587
2773
+ value :RELEASE, 588
2774
+ value :RENAME, 589
2775
+ value :REPEATABLE, 590
2776
+ value :REPLACE, 591
2777
+ value :REPLICA, 592
2778
+ value :RESET, 593
2779
+ value :RESTART, 594
2780
+ value :RESTRICT, 595
2781
+ value :RETURNING, 596
2782
+ value :RETURNS, 597
2783
+ value :REVOKE, 598
2784
+ value :RIGHT, 599
2785
+ value :ROLE, 600
2786
+ value :ROLLBACK, 601
2787
+ value :ROLLUP, 602
2788
+ value :ROUTINE, 603
2789
+ value :ROUTINES, 604
2790
+ value :ROW, 605
2791
+ value :ROWS, 606
2792
+ value :RULE, 607
2793
+ value :SAVEPOINT, 608
2794
+ value :SCHEMA, 609
2795
+ value :SCHEMAS, 610
2796
+ value :SCROLL, 611
2797
+ value :SEARCH, 612
2798
+ value :SECOND_P, 613
2799
+ value :SECURITY, 614
2800
+ value :SELECT, 615
2801
+ value :SEQUENCE, 616
2802
+ value :SEQUENCES, 617
2803
+ value :SERIALIZABLE, 618
2804
+ value :SERVER, 619
2805
+ value :SESSION, 620
2806
+ value :SESSION_USER, 621
2807
+ value :SET, 622
2808
+ value :SETS, 623
2809
+ value :SETOF, 624
2810
+ value :SHARE, 625
2811
+ value :SHOW, 626
2812
+ value :SIMILAR, 627
2813
+ value :SIMPLE, 628
2814
+ value :SKIP, 629
2815
+ value :SMALLINT, 630
2816
+ value :SNAPSHOT, 631
2817
+ value :SOME, 632
2818
+ value :SQL_P, 633
2819
+ value :STABLE, 634
2820
+ value :STANDALONE_P, 635
2821
+ value :START, 636
2822
+ value :STATEMENT, 637
2823
+ value :STATISTICS, 638
2824
+ value :STDIN, 639
2825
+ value :STDOUT, 640
2826
+ value :STORAGE, 641
2827
+ value :STORED, 642
2828
+ value :STRICT_P, 643
2829
+ value :STRIP_P, 644
2830
+ value :SUBSCRIPTION, 645
2831
+ value :SUBSTRING, 646
2832
+ value :SUPPORT, 647
2833
+ value :SYMMETRIC, 648
2834
+ value :SYSID, 649
2835
+ value :SYSTEM_P, 650
2836
+ value :TABLE, 651
2837
+ value :TABLES, 652
2838
+ value :TABLESAMPLE, 653
2839
+ value :TABLESPACE, 654
2840
+ value :TEMP, 655
2841
+ value :TEMPLATE, 656
2842
+ value :TEMPORARY, 657
2843
+ value :TEXT_P, 658
2844
+ value :THEN, 659
2845
+ value :TIES, 660
2846
+ value :TIME, 661
2847
+ value :TIMESTAMP, 662
2848
+ value :TO, 663
2849
+ value :TRAILING, 664
2850
+ value :TRANSACTION, 665
2851
+ value :TRANSFORM, 666
2852
+ value :TREAT, 667
2853
+ value :TRIGGER, 668
2854
+ value :TRIM, 669
2855
+ value :TRUE_P, 670
2856
+ value :TRUNCATE, 671
2857
+ value :TRUSTED, 672
2858
+ value :TYPE_P, 673
2859
+ value :TYPES_P, 674
2860
+ value :UESCAPE, 675
2861
+ value :UNBOUNDED, 676
2862
+ value :UNCOMMITTED, 677
2863
+ value :UNENCRYPTED, 678
2864
+ value :UNION, 679
2865
+ value :UNIQUE, 680
2866
+ value :UNKNOWN, 681
2867
+ value :UNLISTEN, 682
2868
+ value :UNLOGGED, 683
2869
+ value :UNTIL, 684
2870
+ value :UPDATE, 685
2871
+ value :USER, 686
2872
+ value :USING, 687
2873
+ value :VACUUM, 688
2874
+ value :VALID, 689
2875
+ value :VALIDATE, 690
2876
+ value :VALIDATOR, 691
2877
+ value :VALUE_P, 692
2878
+ value :VALUES, 693
2879
+ value :VARCHAR, 694
2880
+ value :VARIADIC, 695
2881
+ value :VARYING, 696
2882
+ value :VERBOSE, 697
2883
+ value :VERSION_P, 698
2884
+ value :VIEW, 699
2885
+ value :VIEWS, 700
2886
+ value :VOLATILE, 701
2887
+ value :WHEN, 702
2888
+ value :WHERE, 703
2889
+ value :WHITESPACE_P, 704
2890
+ value :WINDOW, 705
2891
+ value :WITH, 706
2892
+ value :WITHIN, 707
2893
+ value :WITHOUT, 708
2894
+ value :WORK, 709
2895
+ value :WRAPPER, 710
2896
+ value :WRITE, 711
2897
+ value :XML_P, 712
2898
+ value :XMLATTRIBUTES, 713
2899
+ value :XMLCONCAT, 714
2900
+ value :XMLELEMENT, 715
2901
+ value :XMLEXISTS, 716
2902
+ value :XMLFOREST, 717
2903
+ value :XMLNAMESPACES, 718
2904
+ value :XMLPARSE, 719
2905
+ value :XMLPI, 720
2906
+ value :XMLROOT, 721
2907
+ value :XMLSERIALIZE, 722
2908
+ value :XMLTABLE, 723
2909
+ value :YEAR_P, 724
2910
+ value :YES_P, 725
2911
+ value :ZONE, 726
2912
+ value :NOT_LA, 727
2913
+ value :NULLS_LA, 728
2914
+ value :WITH_LA, 729
2915
+ value :POSTFIXOP, 730
2916
+ value :UMINUS, 731
2917
+ end
2918
+ end
2919
+ end
2920
+
2921
+ module PgQuery
2922
+ ParseResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParseResult").msgclass
2923
+ ScanResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScanResult").msgclass
2924
+ Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Node").msgclass
2925
+ Integer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Integer").msgclass
2926
+ Float = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Float").msgclass
2927
+ String = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.String").msgclass
2928
+ BitString = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BitString").msgclass
2929
+ Null = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Null").msgclass
2930
+ List = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.List").msgclass
2931
+ OidList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OidList").msgclass
2932
+ IntList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IntList").msgclass
2933
+ Alias = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Alias").msgclass
2934
+ RangeVar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeVar").msgclass
2935
+ TableFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableFunc").msgclass
2936
+ Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Expr").msgclass
2937
+ Var = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Var").msgclass
2938
+ Param = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Param").msgclass
2939
+ Aggref = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Aggref").msgclass
2940
+ GroupingFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GroupingFunc").msgclass
2941
+ WindowFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WindowFunc").msgclass
2942
+ SubscriptingRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubscriptingRef").msgclass
2943
+ FuncExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FuncExpr").msgclass
2944
+ NamedArgExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NamedArgExpr").msgclass
2945
+ OpExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OpExpr").msgclass
2946
+ DistinctExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DistinctExpr").msgclass
2947
+ NullIfExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NullIfExpr").msgclass
2948
+ ScalarArrayOpExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScalarArrayOpExpr").msgclass
2949
+ BoolExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BoolExpr").msgclass
2950
+ SubLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubLink").msgclass
2951
+ SubPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubPlan").msgclass
2952
+ AlternativeSubPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlternativeSubPlan").msgclass
2953
+ FieldSelect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FieldSelect").msgclass
2954
+ FieldStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FieldStore").msgclass
2955
+ RelabelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RelabelType").msgclass
2956
+ CoerceViaIO = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoerceViaIO").msgclass
2957
+ ArrayCoerceExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ArrayCoerceExpr").msgclass
2958
+ ConvertRowtypeExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ConvertRowtypeExpr").msgclass
2959
+ CollateExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CollateExpr").msgclass
2960
+ CaseExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CaseExpr").msgclass
2961
+ CaseWhen = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CaseWhen").msgclass
2962
+ CaseTestExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CaseTestExpr").msgclass
2963
+ ArrayExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ArrayExpr").msgclass
2964
+ RowExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowExpr").msgclass
2965
+ RowCompareExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowCompareExpr").msgclass
2966
+ CoalesceExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoalesceExpr").msgclass
2967
+ MinMaxExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MinMaxExpr").msgclass
2968
+ SQLValueFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SQLValueFunction").msgclass
2969
+ XmlExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlExpr").msgclass
2970
+ NullTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NullTest").msgclass
2971
+ BooleanTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BooleanTest").msgclass
2972
+ CoerceToDomain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoerceToDomain").msgclass
2973
+ CoerceToDomainValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoerceToDomainValue").msgclass
2974
+ SetToDefault = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetToDefault").msgclass
2975
+ CurrentOfExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CurrentOfExpr").msgclass
2976
+ NextValueExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NextValueExpr").msgclass
2977
+ InferenceElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InferenceElem").msgclass
2978
+ TargetEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TargetEntry").msgclass
2979
+ RangeTblRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblRef").msgclass
2980
+ JoinExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.JoinExpr").msgclass
2981
+ FromExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FromExpr").msgclass
2982
+ OnConflictExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictExpr").msgclass
2983
+ IntoClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IntoClause").msgclass
2984
+ RawStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RawStmt").msgclass
2985
+ Query = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Query").msgclass
2986
+ InsertStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InsertStmt").msgclass
2987
+ DeleteStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeleteStmt").msgclass
2988
+ UpdateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.UpdateStmt").msgclass
2989
+ SelectStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SelectStmt").msgclass
2990
+ AlterTableStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableStmt").msgclass
2991
+ AlterTableCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableCmd").msgclass
2992
+ AlterDomainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDomainStmt").msgclass
2993
+ SetOperationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOperationStmt").msgclass
2994
+ GrantStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GrantStmt").msgclass
2995
+ GrantRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GrantRoleStmt").msgclass
2996
+ AlterDefaultPrivilegesStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDefaultPrivilegesStmt").msgclass
2997
+ ClosePortalStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClosePortalStmt").msgclass
2998
+ ClusterStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClusterStmt").msgclass
2999
+ CopyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CopyStmt").msgclass
3000
+ CreateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateStmt").msgclass
3001
+ DefineStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefineStmt").msgclass
3002
+ DropStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropStmt").msgclass
3003
+ TruncateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TruncateStmt").msgclass
3004
+ CommentStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CommentStmt").msgclass
3005
+ FetchStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FetchStmt").msgclass
3006
+ IndexStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IndexStmt").msgclass
3007
+ CreateFunctionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateFunctionStmt").msgclass
3008
+ AlterFunctionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterFunctionStmt").msgclass
3009
+ DoStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DoStmt").msgclass
3010
+ RenameStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RenameStmt").msgclass
3011
+ RuleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RuleStmt").msgclass
3012
+ NotifyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NotifyStmt").msgclass
3013
+ ListenStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ListenStmt").msgclass
3014
+ UnlistenStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.UnlistenStmt").msgclass
3015
+ TransactionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TransactionStmt").msgclass
3016
+ ViewStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ViewStmt").msgclass
3017
+ LoadStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LoadStmt").msgclass
3018
+ CreateDomainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateDomainStmt").msgclass
3019
+ CreatedbStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatedbStmt").msgclass
3020
+ DropdbStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropdbStmt").msgclass
3021
+ VacuumStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VacuumStmt").msgclass
3022
+ ExplainStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ExplainStmt").msgclass
3023
+ CreateTableAsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTableAsStmt").msgclass
3024
+ CreateSeqStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSeqStmt").msgclass
3025
+ AlterSeqStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSeqStmt").msgclass
3026
+ VariableSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VariableSetStmt").msgclass
3027
+ VariableShowStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VariableShowStmt").msgclass
3028
+ DiscardStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DiscardStmt").msgclass
3029
+ CreateTrigStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTrigStmt").msgclass
3030
+ CreatePLangStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatePLangStmt").msgclass
3031
+ CreateRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateRoleStmt").msgclass
3032
+ AlterRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterRoleStmt").msgclass
3033
+ DropRoleStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropRoleStmt").msgclass
3034
+ LockStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockStmt").msgclass
3035
+ ConstraintsSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ConstraintsSetStmt").msgclass
3036
+ ReindexStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReindexStmt").msgclass
3037
+ CheckPointStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CheckPointStmt").msgclass
3038
+ CreateSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSchemaStmt").msgclass
3039
+ AlterDatabaseStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseStmt").msgclass
3040
+ AlterDatabaseSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterDatabaseSetStmt").msgclass
3041
+ AlterRoleSetStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterRoleSetStmt").msgclass
3042
+ CreateConversionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateConversionStmt").msgclass
3043
+ CreateCastStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateCastStmt").msgclass
3044
+ CreateOpClassStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateOpClassStmt").msgclass
3045
+ CreateOpFamilyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateOpFamilyStmt").msgclass
3046
+ AlterOpFamilyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterOpFamilyStmt").msgclass
3047
+ PrepareStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PrepareStmt").msgclass
3048
+ ExecuteStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ExecuteStmt").msgclass
3049
+ DeallocateStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeallocateStmt").msgclass
3050
+ DeclareCursorStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DeclareCursorStmt").msgclass
3051
+ CreateTableSpaceStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTableSpaceStmt").msgclass
3052
+ DropTableSpaceStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropTableSpaceStmt").msgclass
3053
+ AlterObjectDependsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterObjectDependsStmt").msgclass
3054
+ AlterObjectSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterObjectSchemaStmt").msgclass
3055
+ AlterOwnerStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterOwnerStmt").msgclass
3056
+ AlterOperatorStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterOperatorStmt").msgclass
3057
+ AlterTypeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTypeStmt").msgclass
3058
+ DropOwnedStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropOwnedStmt").msgclass
3059
+ ReassignOwnedStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReassignOwnedStmt").msgclass
3060
+ CompositeTypeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CompositeTypeStmt").msgclass
3061
+ CreateEnumStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateEnumStmt").msgclass
3062
+ CreateRangeStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateRangeStmt").msgclass
3063
+ AlterEnumStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterEnumStmt").msgclass
3064
+ AlterTSDictionaryStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTSDictionaryStmt").msgclass
3065
+ AlterTSConfigurationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTSConfigurationStmt").msgclass
3066
+ CreateFdwStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateFdwStmt").msgclass
3067
+ AlterFdwStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterFdwStmt").msgclass
3068
+ CreateForeignServerStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateForeignServerStmt").msgclass
3069
+ AlterForeignServerStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterForeignServerStmt").msgclass
3070
+ CreateUserMappingStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateUserMappingStmt").msgclass
3071
+ AlterUserMappingStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterUserMappingStmt").msgclass
3072
+ DropUserMappingStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropUserMappingStmt").msgclass
3073
+ AlterTableSpaceOptionsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableSpaceOptionsStmt").msgclass
3074
+ AlterTableMoveAllStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableMoveAllStmt").msgclass
3075
+ SecLabelStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SecLabelStmt").msgclass
3076
+ CreateForeignTableStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateForeignTableStmt").msgclass
3077
+ ImportForeignSchemaStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ImportForeignSchemaStmt").msgclass
3078
+ CreateExtensionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateExtensionStmt").msgclass
3079
+ AlterExtensionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterExtensionStmt").msgclass
3080
+ AlterExtensionContentsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterExtensionContentsStmt").msgclass
3081
+ CreateEventTrigStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateEventTrigStmt").msgclass
3082
+ AlterEventTrigStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterEventTrigStmt").msgclass
3083
+ RefreshMatViewStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RefreshMatViewStmt").msgclass
3084
+ ReplicaIdentityStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReplicaIdentityStmt").msgclass
3085
+ AlterSystemStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSystemStmt").msgclass
3086
+ CreatePolicyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatePolicyStmt").msgclass
3087
+ AlterPolicyStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterPolicyStmt").msgclass
3088
+ CreateTransformStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateTransformStmt").msgclass
3089
+ CreateAmStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateAmStmt").msgclass
3090
+ CreatePublicationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreatePublicationStmt").msgclass
3091
+ AlterPublicationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterPublicationStmt").msgclass
3092
+ CreateSubscriptionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateSubscriptionStmt").msgclass
3093
+ AlterSubscriptionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSubscriptionStmt").msgclass
3094
+ DropSubscriptionStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropSubscriptionStmt").msgclass
3095
+ CreateStatsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateStatsStmt").msgclass
3096
+ AlterCollationStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterCollationStmt").msgclass
3097
+ CallStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CallStmt").msgclass
3098
+ AlterStatsStmt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterStatsStmt").msgclass
3099
+ A_Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr").msgclass
3100
+ ColumnRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnRef").msgclass
3101
+ ParamRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParamRef").msgclass
3102
+ A_Const = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Const").msgclass
3103
+ FuncCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FuncCall").msgclass
3104
+ A_Star = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Star").msgclass
3105
+ A_Indices = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Indices").msgclass
3106
+ A_Indirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Indirection").msgclass
3107
+ A_ArrayExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_ArrayExpr").msgclass
3108
+ ResTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ResTarget").msgclass
3109
+ MultiAssignRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MultiAssignRef").msgclass
3110
+ TypeCast = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TypeCast").msgclass
3111
+ CollateClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CollateClause").msgclass
3112
+ SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortBy").msgclass
3113
+ WindowDef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WindowDef").msgclass
3114
+ RangeSubselect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeSubselect").msgclass
3115
+ RangeFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeFunction").msgclass
3116
+ RangeTableSample = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTableSample").msgclass
3117
+ RangeTableFunc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTableFunc").msgclass
3118
+ RangeTableFuncCol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTableFuncCol").msgclass
3119
+ TypeName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TypeName").msgclass
3120
+ ColumnDef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ColumnDef").msgclass
3121
+ IndexElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.IndexElem").msgclass
3122
+ Constraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Constraint").msgclass
3123
+ DefElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefElem").msgclass
3124
+ RangeTblEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblEntry").msgclass
3125
+ RangeTblFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RangeTblFunction").msgclass
3126
+ TableSampleClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableSampleClause").msgclass
3127
+ WithCheckOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WithCheckOption").msgclass
3128
+ SortGroupClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortGroupClause").msgclass
3129
+ GroupingSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GroupingSet").msgclass
3130
+ WindowClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WindowClause").msgclass
3131
+ ObjectWithArgs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ObjectWithArgs").msgclass
3132
+ AccessPriv = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AccessPriv").msgclass
3133
+ CreateOpClassItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CreateOpClassItem").msgclass
3134
+ TableLikeClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableLikeClause").msgclass
3135
+ FunctionParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FunctionParameter").msgclass
3136
+ LockingClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockingClause").msgclass
3137
+ RowMarkClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowMarkClause").msgclass
3138
+ XmlSerialize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlSerialize").msgclass
3139
+ WithClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WithClause").msgclass
3140
+ InferClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InferClause").msgclass
3141
+ OnConflictClause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictClause").msgclass
3142
+ CommonTableExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CommonTableExpr").msgclass
3143
+ RoleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpec").msgclass
3144
+ TriggerTransition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TriggerTransition").msgclass
3145
+ PartitionElem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionElem").msgclass
3146
+ PartitionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionSpec").msgclass
3147
+ PartitionBoundSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionBoundSpec").msgclass
3148
+ PartitionRangeDatum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionRangeDatum").msgclass
3149
+ PartitionCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionCmd").msgclass
3150
+ VacuumRelation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VacuumRelation").msgclass
3151
+ InlineCodeBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.InlineCodeBlock").msgclass
3152
+ CallContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CallContext").msgclass
3153
+ ScanToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ScanToken").msgclass
3154
+ OverridingKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OverridingKind").enummodule
3155
+ QuerySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.QuerySource").enummodule
3156
+ SortByDir = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByDir").enummodule
3157
+ SortByNulls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SortByNulls").enummodule
3158
+ A_Expr_Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.A_Expr_Kind").enummodule
3159
+ RoleSpecType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleSpecType").enummodule
3160
+ TableLikeOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TableLikeOption").enummodule
3161
+ DefElemAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DefElemAction").enummodule
3162
+ PartitionRangeDatumKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.PartitionRangeDatumKind").enummodule
3163
+ RTEKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RTEKind").enummodule
3164
+ WCOKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.WCOKind").enummodule
3165
+ GroupingSetKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GroupingSetKind").enummodule
3166
+ CTEMaterialize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CTEMaterialize").enummodule
3167
+ SetOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOperation").enummodule
3168
+ ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ObjectType").enummodule
3169
+ DropBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DropBehavior").enummodule
3170
+ AlterTableType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTableType").enummodule
3171
+ GrantTargetType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.GrantTargetType").enummodule
3172
+ VariableSetKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.VariableSetKind").enummodule
3173
+ ConstrType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ConstrType").enummodule
3174
+ ImportForeignSchemaType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ImportForeignSchemaType").enummodule
3175
+ RoleStmtType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RoleStmtType").enummodule
3176
+ FetchDirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FetchDirection").enummodule
3177
+ FunctionParameterMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.FunctionParameterMode").enummodule
3178
+ TransactionStmtKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.TransactionStmtKind").enummodule
3179
+ ViewCheckOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ViewCheckOption").enummodule
3180
+ ClusterOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ClusterOption").enummodule
3181
+ DiscardMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.DiscardMode").enummodule
3182
+ ReindexObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ReindexObjectType").enummodule
3183
+ AlterTSConfigType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterTSConfigType").enummodule
3184
+ AlterSubscriptionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AlterSubscriptionType").enummodule
3185
+ OnCommitAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnCommitAction").enummodule
3186
+ ParamKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.ParamKind").enummodule
3187
+ CoercionContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoercionContext").enummodule
3188
+ CoercionForm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CoercionForm").enummodule
3189
+ BoolExprType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BoolExprType").enummodule
3190
+ SubLinkType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SubLinkType").enummodule
3191
+ RowCompareType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.RowCompareType").enummodule
3192
+ MinMaxOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.MinMaxOp").enummodule
3193
+ SQLValueFunctionOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SQLValueFunctionOp").enummodule
3194
+ XmlExprOp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlExprOp").enummodule
3195
+ XmlOptionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.XmlOptionType").enummodule
3196
+ NullTestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.NullTestType").enummodule
3197
+ BoolTestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.BoolTestType").enummodule
3198
+ CmdType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.CmdType").enummodule
3199
+ JoinType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.JoinType").enummodule
3200
+ AggStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AggStrategy").enummodule
3201
+ AggSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.AggSplit").enummodule
3202
+ SetOpCmd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOpCmd").enummodule
3203
+ SetOpStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.SetOpStrategy").enummodule
3204
+ OnConflictAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.OnConflictAction").enummodule
3205
+ LimitOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LimitOption").enummodule
3206
+ LockClauseStrength = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockClauseStrength").enummodule
3207
+ LockWaitPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockWaitPolicy").enummodule
3208
+ LockTupleMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.LockTupleMode").enummodule
3209
+ KeywordKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.KeywordKind").enummodule
3210
+ Token = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("pg_query.Token").enummodule
3211
+ end