pg_query 2.2.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (895) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +86 -0
  3. data/README.md +57 -31
  4. data/Rakefile +5 -6
  5. data/ext/pg_query/ext_symbols_freebsd.sym +1 -0
  6. data/ext/pg_query/ext_symbols_freebsd_with_ruby_abi_version.sym +2 -0
  7. data/ext/pg_query/ext_symbols_openbsd.sym +1 -0
  8. data/ext/pg_query/ext_symbols_openbsd_with_ruby_abi_version.sym +2 -0
  9. data/ext/pg_query/ext_symbols_with_ruby_abi_version.sym +2 -0
  10. data/ext/pg_query/extconf.rb +33 -9
  11. data/ext/pg_query/include/pg_query.h +30 -4
  12. data/ext/pg_query/include/pg_query_enum_defs.c +839 -290
  13. data/ext/pg_query/include/pg_query_fingerprint_conds.c +638 -481
  14. data/ext/pg_query/include/pg_query_fingerprint_defs.c +6786 -4193
  15. data/ext/pg_query/include/pg_query_outfuncs_conds.c +450 -330
  16. data/ext/pg_query/include/pg_query_outfuncs_defs.c +1489 -1044
  17. data/ext/pg_query/include/pg_query_readfuncs_conds.c +157 -118
  18. data/ext/pg_query/include/pg_query_readfuncs_defs.c +1933 -1410
  19. data/ext/pg_query/include/postgres/access/amapi.h +303 -0
  20. data/ext/pg_query/include/postgres/access/attmap.h +54 -0
  21. data/ext/pg_query/include/postgres/access/attnum.h +64 -0
  22. data/ext/pg_query/include/postgres/access/brin_internal.h +116 -0
  23. data/ext/pg_query/include/postgres/access/brin_tuple.h +112 -0
  24. data/ext/pg_query/include/postgres/access/clog.h +62 -0
  25. data/ext/pg_query/include/postgres/access/commit_ts.h +73 -0
  26. data/ext/pg_query/include/postgres/access/detoast.h +82 -0
  27. data/ext/pg_query/include/postgres/access/genam.h +246 -0
  28. data/ext/pg_query/include/postgres/access/gin.h +91 -0
  29. data/ext/pg_query/include/postgres/access/htup.h +89 -0
  30. data/ext/pg_query/include/postgres/access/htup_details.h +811 -0
  31. data/ext/pg_query/include/postgres/access/itup.h +170 -0
  32. data/ext/pg_query/include/postgres/access/parallel.h +81 -0
  33. data/ext/pg_query/include/postgres/access/printtup.h +35 -0
  34. data/ext/pg_query/include/postgres/access/relation.h +28 -0
  35. data/ext/pg_query/include/postgres/access/relscan.h +191 -0
  36. data/ext/pg_query/include/postgres/access/rmgr.h +62 -0
  37. data/ext/pg_query/include/postgres/access/rmgrlist.h +49 -0
  38. data/ext/pg_query/include/postgres/access/sdir.h +67 -0
  39. data/ext/pg_query/include/postgres/access/skey.h +151 -0
  40. data/ext/pg_query/include/postgres/access/slru.h +218 -0
  41. data/ext/pg_query/include/postgres/access/stratnum.h +85 -0
  42. data/ext/pg_query/include/postgres/access/sysattr.h +29 -0
  43. data/ext/pg_query/include/postgres/access/table.h +28 -0
  44. data/ext/pg_query/include/postgres/access/tableam.h +2110 -0
  45. data/ext/pg_query/include/postgres/access/tidstore.h +50 -0
  46. data/ext/pg_query/include/postgres/access/toast_compression.h +73 -0
  47. data/ext/pg_query/include/postgres/access/transam.h +418 -0
  48. data/ext/pg_query/include/postgres/access/tsmapi.h +82 -0
  49. data/ext/pg_query/include/postgres/access/tupconvert.h +54 -0
  50. data/ext/pg_query/include/postgres/access/tupdesc.h +154 -0
  51. data/ext/pg_query/include/postgres/access/tupmacs.h +207 -0
  52. data/ext/pg_query/include/postgres/access/twophase.h +65 -0
  53. data/ext/pg_query/include/postgres/access/xact.h +530 -0
  54. data/ext/pg_query/include/postgres/access/xlog.h +310 -0
  55. data/ext/pg_query/include/postgres/access/xlog_internal.h +405 -0
  56. data/ext/pg_query/include/postgres/access/xlogbackup.h +43 -0
  57. data/ext/pg_query/include/postgres/access/xlogdefs.h +82 -0
  58. data/ext/pg_query/include/postgres/access/xlogprefetcher.h +55 -0
  59. data/ext/pg_query/include/postgres/access/xlogreader.h +444 -0
  60. data/ext/pg_query/include/postgres/access/xlogrecord.h +248 -0
  61. data/ext/pg_query/include/postgres/access/xlogrecovery.h +158 -0
  62. data/ext/pg_query/include/postgres/archive/archive_module.h +67 -0
  63. data/ext/pg_query/include/postgres/c.h +1374 -0
  64. data/ext/pg_query/include/postgres/catalog/catalog.h +47 -0
  65. data/ext/pg_query/include/postgres/catalog/catversion.h +62 -0
  66. data/ext/pg_query/include/postgres/catalog/dependency.h +228 -0
  67. data/ext/pg_query/include/postgres/catalog/genbki.h +149 -0
  68. data/ext/pg_query/include/postgres/catalog/index.h +218 -0
  69. data/ext/pg_query/include/postgres/catalog/indexing.h +54 -0
  70. data/ext/pg_query/include/postgres/catalog/namespace.h +189 -0
  71. data/ext/pg_query/include/postgres/catalog/objectaccess.h +267 -0
  72. data/ext/pg_query/include/postgres/catalog/objectaddress.h +93 -0
  73. data/ext/pg_query/include/postgres/catalog/pg_aggregate.h +182 -0
  74. data/ext/pg_query/include/postgres/catalog/pg_aggregate_d.h +78 -0
  75. data/ext/pg_query/include/postgres/catalog/pg_am.h +66 -0
  76. data/ext/pg_query/include/postgres/catalog/pg_am_d.h +47 -0
  77. data/ext/pg_query/include/postgres/catalog/pg_attribute.h +240 -0
  78. data/ext/pg_query/include/postgres/catalog/pg_attribute_d.h +62 -0
  79. data/ext/pg_query/include/postgres/catalog/pg_authid.h +66 -0
  80. data/ext/pg_query/include/postgres/catalog/pg_authid_d.h +60 -0
  81. data/ext/pg_query/include/postgres/catalog/pg_class.h +235 -0
  82. data/ext/pg_query/include/postgres/catalog/pg_class_d.h +134 -0
  83. data/ext/pg_query/include/postgres/catalog/pg_collation.h +106 -0
  84. data/ext/pg_query/include/postgres/catalog/pg_collation_d.h +66 -0
  85. data/ext/pg_query/include/postgres/catalog/pg_constraint.h +278 -0
  86. data/ext/pg_query/include/postgres/catalog/pg_constraint_d.h +74 -0
  87. data/ext/pg_query/include/postgres/catalog/pg_control.h +260 -0
  88. data/ext/pg_query/include/postgres/catalog/pg_conversion.h +79 -0
  89. data/ext/pg_query/include/postgres/catalog/pg_conversion_d.h +38 -0
  90. data/ext/pg_query/include/postgres/catalog/pg_database.h +129 -0
  91. data/ext/pg_query/include/postgres/catalog/pg_database_d.h +53 -0
  92. data/ext/pg_query/include/postgres/catalog/pg_depend.h +77 -0
  93. data/ext/pg_query/include/postgres/catalog/pg_depend_d.h +36 -0
  94. data/ext/pg_query/include/postgres/catalog/pg_event_trigger.h +60 -0
  95. data/ext/pg_query/include/postgres/catalog/pg_event_trigger_d.h +36 -0
  96. data/ext/pg_query/include/postgres/catalog/pg_index.h +92 -0
  97. data/ext/pg_query/include/postgres/catalog/pg_index_d.h +59 -0
  98. data/ext/pg_query/include/postgres/catalog/pg_language.h +75 -0
  99. data/ext/pg_query/include/postgres/catalog/pg_language_d.h +41 -0
  100. data/ext/pg_query/include/postgres/catalog/pg_namespace.h +67 -0
  101. data/ext/pg_query/include/postgres/catalog/pg_namespace_d.h +36 -0
  102. data/ext/pg_query/include/postgres/catalog/pg_opclass.h +91 -0
  103. data/ext/pg_query/include/postgres/catalog/pg_opclass_d.h +51 -0
  104. data/ext/pg_query/include/postgres/catalog/pg_operator.h +124 -0
  105. data/ext/pg_query/include/postgres/catalog/pg_operator_d.h +142 -0
  106. data/ext/pg_query/include/postgres/catalog/pg_opfamily.h +67 -0
  107. data/ext/pg_query/include/postgres/catalog/pg_opfamily_d.h +51 -0
  108. data/ext/pg_query/include/postgres/catalog/pg_partitioned_table.h +76 -0
  109. data/ext/pg_query/include/postgres/catalog/pg_partitioned_table_d.h +36 -0
  110. data/ext/pg_query/include/postgres/catalog/pg_proc.h +223 -0
  111. data/ext/pg_query/include/postgres/catalog/pg_proc_d.h +101 -0
  112. data/ext/pg_query/include/postgres/catalog/pg_publication.h +161 -0
  113. data/ext/pg_query/include/postgres/catalog/pg_publication_d.h +38 -0
  114. data/ext/pg_query/include/postgres/catalog/pg_replication_origin.h +65 -0
  115. data/ext/pg_query/include/postgres/catalog/pg_replication_origin_d.h +33 -0
  116. data/ext/pg_query/include/postgres/catalog/pg_statistic.h +288 -0
  117. data/ext/pg_query/include/postgres/catalog/pg_statistic_d.h +199 -0
  118. data/ext/pg_query/include/postgres/catalog/pg_statistic_ext.h +91 -0
  119. data/ext/pg_query/include/postgres/catalog/pg_statistic_ext_d.h +45 -0
  120. data/ext/pg_query/include/postgres/catalog/pg_transform.h +51 -0
  121. data/ext/pg_query/include/postgres/catalog/pg_transform_d.h +34 -0
  122. data/ext/pg_query/include/postgres/catalog/pg_trigger.h +153 -0
  123. data/ext/pg_query/include/postgres/catalog/pg_trigger_d.h +109 -0
  124. data/ext/pg_query/include/postgres/catalog/pg_ts_config.h +56 -0
  125. data/ext/pg_query/include/postgres/catalog/pg_ts_config_d.h +34 -0
  126. data/ext/pg_query/include/postgres/catalog/pg_ts_dict.h +62 -0
  127. data/ext/pg_query/include/postgres/catalog/pg_ts_dict_d.h +35 -0
  128. data/ext/pg_query/include/postgres/catalog/pg_ts_parser.h +63 -0
  129. data/ext/pg_query/include/postgres/catalog/pg_ts_parser_d.h +37 -0
  130. data/ext/pg_query/include/postgres/catalog/pg_ts_template.h +54 -0
  131. data/ext/pg_query/include/postgres/catalog/pg_ts_template_d.h +34 -0
  132. data/ext/pg_query/include/postgres/catalog/pg_type.h +407 -0
  133. data/ext/pg_query/include/postgres/catalog/pg_type_d.h +324 -0
  134. data/ext/pg_query/include/postgres/catalog/storage.h +50 -0
  135. data/ext/pg_query/include/postgres/catalog/syscache_ids.h +104 -0
  136. data/ext/pg_query/include/postgres/commands/async.h +49 -0
  137. data/ext/pg_query/include/postgres/commands/dbcommands.h +37 -0
  138. data/ext/pg_query/include/postgres/commands/defrem.h +161 -0
  139. data/ext/pg_query/include/postgres/commands/event_trigger.h +97 -0
  140. data/ext/pg_query/include/postgres/commands/explain.h +145 -0
  141. data/ext/pg_query/include/postgres/commands/prepare.h +61 -0
  142. data/ext/pg_query/include/postgres/commands/tablespace.h +69 -0
  143. data/ext/pg_query/include/postgres/commands/trigger.h +288 -0
  144. data/ext/pg_query/include/postgres/commands/user.h +43 -0
  145. data/ext/pg_query/include/postgres/commands/vacuum.h +388 -0
  146. data/ext/pg_query/include/postgres/common/cryptohash.h +39 -0
  147. data/ext/pg_query/include/postgres/common/file_perm.h +56 -0
  148. data/ext/pg_query/include/postgres/common/file_utils.h +65 -0
  149. data/ext/pg_query/include/postgres/common/hashfn.h +119 -0
  150. data/ext/pg_query/include/postgres/common/hashfn_unstable.h +407 -0
  151. data/ext/pg_query/include/postgres/common/int.h +512 -0
  152. data/ext/pg_query/include/postgres/common/keywords.h +29 -0
  153. data/ext/pg_query/include/postgres/common/kwlookup.h +44 -0
  154. data/ext/pg_query/include/postgres/common/pg_prng.h +62 -0
  155. data/ext/pg_query/include/postgres/common/relpath.h +97 -0
  156. data/ext/pg_query/include/postgres/common/scram-common.h +70 -0
  157. data/ext/pg_query/include/postgres/common/sha2.h +32 -0
  158. data/ext/pg_query/include/postgres/common/string.h +44 -0
  159. data/ext/pg_query/include/postgres/common/unicode_east_asian_fw_table.h +124 -0
  160. data/ext/pg_query/include/postgres/common/unicode_nonspacing_table.h +326 -0
  161. data/ext/pg_query/include/postgres/copyfuncs.funcs.c +5261 -0
  162. data/ext/pg_query/include/postgres/copyfuncs.switch.c +989 -0
  163. data/ext/pg_query/include/postgres/datatype/timestamp.h +269 -0
  164. data/ext/pg_query/include/postgres/equalfuncs.funcs.c +3310 -0
  165. data/ext/pg_query/include/postgres/equalfuncs.switch.c +836 -0
  166. data/ext/pg_query/include/postgres/executor/execdesc.h +70 -0
  167. data/ext/pg_query/include/postgres/executor/executor.h +681 -0
  168. data/ext/pg_query/include/postgres/executor/functions.h +56 -0
  169. data/ext/pg_query/include/postgres/executor/instrument.h +120 -0
  170. data/ext/pg_query/include/postgres/executor/spi.h +207 -0
  171. data/ext/pg_query/include/postgres/executor/tablefunc.h +67 -0
  172. data/ext/pg_query/include/postgres/executor/tuptable.h +523 -0
  173. data/ext/pg_query/include/postgres/fmgr.h +800 -0
  174. data/ext/pg_query/include/postgres/foreign/fdwapi.h +294 -0
  175. data/ext/pg_query/include/postgres/funcapi.h +360 -0
  176. data/ext/pg_query/include/postgres/gram.h +1168 -0
  177. data/ext/pg_query/include/postgres/gramparse.h +75 -0
  178. data/ext/pg_query/include/postgres/jit/jit.h +106 -0
  179. data/ext/pg_query/include/postgres/kwlist_d.h +1164 -0
  180. data/ext/pg_query/include/postgres/lib/dshash.h +130 -0
  181. data/ext/pg_query/include/postgres/lib/ilist.h +1159 -0
  182. data/ext/pg_query/include/postgres/lib/pairingheap.h +102 -0
  183. data/ext/pg_query/include/postgres/lib/simplehash.h +1206 -0
  184. data/ext/pg_query/include/postgres/lib/sort_template.h +445 -0
  185. data/ext/pg_query/include/postgres/lib/stringinfo.h +243 -0
  186. data/ext/pg_query/include/postgres/libpq/auth.h +37 -0
  187. data/ext/pg_query/include/postgres/libpq/crypt.h +47 -0
  188. data/ext/pg_query/include/postgres/libpq/hba.h +186 -0
  189. data/ext/pg_query/include/postgres/libpq/libpq-be.h +361 -0
  190. data/ext/pg_query/include/postgres/libpq/libpq.h +143 -0
  191. data/ext/pg_query/include/postgres/libpq/pqcomm.h +169 -0
  192. data/ext/pg_query/include/postgres/libpq/pqformat.h +209 -0
  193. data/ext/pg_query/include/postgres/libpq/pqsignal.h +54 -0
  194. data/ext/pg_query/include/postgres/libpq/protocol.h +89 -0
  195. data/ext/pg_query/include/postgres/libpq/sasl.h +136 -0
  196. data/ext/pg_query/include/postgres/libpq/scram.h +37 -0
  197. data/ext/pg_query/include/postgres/mb/pg_wchar.h +793 -0
  198. data/ext/pg_query/include/postgres/mb/stringinfo_mb.h +24 -0
  199. data/ext/pg_query/include/postgres/miscadmin.h +527 -0
  200. data/ext/pg_query/include/postgres/nodes/bitmapset.h +140 -0
  201. data/ext/pg_query/include/postgres/nodes/execnodes.h +2855 -0
  202. data/ext/pg_query/include/postgres/nodes/extensible.h +164 -0
  203. data/ext/pg_query/include/postgres/nodes/lockoptions.h +61 -0
  204. data/ext/pg_query/include/postgres/nodes/makefuncs.h +127 -0
  205. data/ext/pg_query/include/postgres/nodes/memnodes.h +152 -0
  206. data/ext/pg_query/include/postgres/nodes/miscnodes.h +56 -0
  207. data/ext/pg_query/include/postgres/nodes/nodeFuncs.h +222 -0
  208. data/ext/pg_query/include/postgres/nodes/nodes.h +435 -0
  209. data/ext/pg_query/include/postgres/nodes/nodetags.h +491 -0
  210. data/ext/pg_query/include/postgres/nodes/params.h +170 -0
  211. data/ext/pg_query/include/postgres/nodes/parsenodes.h +4233 -0
  212. data/ext/pg_query/include/postgres/nodes/pathnodes.h +3438 -0
  213. data/ext/pg_query/include/postgres/nodes/pg_list.h +686 -0
  214. data/ext/pg_query/include/postgres/nodes/plannodes.h +1593 -0
  215. data/ext/pg_query/include/postgres/nodes/primnodes.h +2339 -0
  216. data/ext/pg_query/include/postgres/nodes/print.h +34 -0
  217. data/ext/pg_query/include/postgres/nodes/queryjumble.h +86 -0
  218. data/ext/pg_query/include/postgres/nodes/replnodes.h +132 -0
  219. data/ext/pg_query/include/postgres/nodes/supportnodes.h +346 -0
  220. data/ext/pg_query/include/postgres/nodes/tidbitmap.h +75 -0
  221. data/ext/pg_query/include/postgres/nodes/value.h +90 -0
  222. data/ext/pg_query/include/postgres/optimizer/cost.h +216 -0
  223. data/ext/pg_query/include/postgres/optimizer/geqo.h +90 -0
  224. data/ext/pg_query/include/postgres/optimizer/geqo_gene.h +45 -0
  225. data/ext/pg_query/include/postgres/optimizer/optimizer.h +205 -0
  226. data/ext/pg_query/include/postgres/optimizer/paths.h +271 -0
  227. data/ext/pg_query/include/postgres/optimizer/planmain.h +123 -0
  228. data/ext/pg_query/include/postgres/parser/analyze.h +66 -0
  229. data/ext/pg_query/include/postgres/parser/kwlist.h +518 -0
  230. data/ext/pg_query/include/postgres/parser/parse_agg.h +65 -0
  231. data/ext/pg_query/include/postgres/parser/parse_coerce.h +105 -0
  232. data/ext/pg_query/include/postgres/parser/parse_expr.h +25 -0
  233. data/ext/pg_query/include/postgres/parser/parse_func.h +74 -0
  234. data/ext/pg_query/include/postgres/parser/parse_node.h +358 -0
  235. data/ext/pg_query/include/postgres/parser/parse_oper.h +68 -0
  236. data/ext/pg_query/include/postgres/parser/parse_relation.h +129 -0
  237. data/ext/pg_query/include/postgres/parser/parse_type.h +61 -0
  238. data/ext/pg_query/include/postgres/parser/parser.h +68 -0
  239. data/ext/pg_query/include/postgres/parser/parsetree.h +61 -0
  240. data/ext/pg_query/include/postgres/parser/scanner.h +152 -0
  241. data/ext/pg_query/include/postgres/parser/scansup.h +27 -0
  242. data/ext/pg_query/include/postgres/partitioning/partdefs.h +26 -0
  243. data/ext/pg_query/include/postgres/pg_config.h +985 -0
  244. data/ext/pg_query/include/postgres/pg_config_manual.h +385 -0
  245. data/ext/pg_query/include/postgres/pg_config_os.h +8 -0
  246. data/ext/pg_query/include/postgres/pg_getopt.h +56 -0
  247. data/ext/pg_query/include/postgres/pg_trace.h +17 -0
  248. data/ext/pg_query/include/postgres/pgstat.h +780 -0
  249. data/ext/pg_query/include/postgres/pgtime.h +94 -0
  250. data/ext/pg_query/include/postgres/pl_gram.h +385 -0
  251. data/ext/pg_query/include/postgres/pl_reserved_kwlist.h +52 -0
  252. data/ext/pg_query/include/postgres/pl_reserved_kwlist_d.h +114 -0
  253. data/ext/pg_query/include/postgres/pl_unreserved_kwlist.h +112 -0
  254. data/ext/pg_query/include/postgres/pl_unreserved_kwlist_d.h +246 -0
  255. data/ext/pg_query/include/postgres/plerrcodes.h +998 -0
  256. data/ext/pg_query/include/postgres/plpgsql.h +1342 -0
  257. data/ext/pg_query/include/postgres/port/atomics/arch-arm.h +32 -0
  258. data/ext/pg_query/include/postgres/port/atomics/arch-hppa.h +17 -0
  259. data/ext/pg_query/include/postgres/port/atomics/arch-ppc.h +256 -0
  260. data/ext/pg_query/include/postgres/port/atomics/arch-x86.h +254 -0
  261. data/ext/pg_query/include/postgres/port/atomics/fallback.h +170 -0
  262. data/ext/pg_query/include/postgres/port/atomics/generic-gcc.h +323 -0
  263. data/ext/pg_query/include/postgres/port/atomics/generic-msvc.h +119 -0
  264. data/ext/pg_query/include/postgres/port/atomics/generic-sunpro.h +121 -0
  265. data/ext/pg_query/include/postgres/port/atomics/generic.h +437 -0
  266. data/ext/pg_query/include/postgres/port/atomics.h +606 -0
  267. data/ext/pg_query/include/postgres/port/pg_bitutils.h +421 -0
  268. data/ext/pg_query/include/postgres/port/pg_bswap.h +161 -0
  269. data/ext/pg_query/include/postgres/port/pg_crc32c.h +110 -0
  270. data/ext/pg_query/include/postgres/port/pg_iovec.h +117 -0
  271. data/ext/pg_query/include/postgres/port/simd.h +422 -0
  272. data/ext/pg_query/include/postgres/port/win32/arpa/inet.h +3 -0
  273. data/ext/pg_query/include/postgres/port/win32/dlfcn.h +1 -0
  274. data/ext/pg_query/include/postgres/port/win32/grp.h +1 -0
  275. data/ext/pg_query/include/postgres/port/win32/netdb.h +7 -0
  276. data/ext/pg_query/include/postgres/port/win32/netinet/in.h +3 -0
  277. data/ext/pg_query/include/postgres/port/win32/netinet/tcp.h +7 -0
  278. data/ext/pg_query/include/postgres/port/win32/pwd.h +3 -0
  279. data/ext/pg_query/include/postgres/port/win32/sys/resource.h +20 -0
  280. data/ext/pg_query/include/postgres/port/win32/sys/select.h +3 -0
  281. data/ext/pg_query/include/postgres/port/win32/sys/socket.h +34 -0
  282. data/ext/pg_query/include/postgres/port/win32/sys/un.h +17 -0
  283. data/ext/pg_query/include/postgres/port/win32/sys/wait.h +3 -0
  284. data/ext/pg_query/include/postgres/port/win32.h +59 -0
  285. data/ext/pg_query/include/postgres/port/win32_msvc/dirent.h +34 -0
  286. data/ext/pg_query/include/postgres/port/win32_msvc/sys/file.h +1 -0
  287. data/ext/pg_query/include/postgres/port/win32_msvc/sys/param.h +1 -0
  288. data/ext/pg_query/include/postgres/port/win32_msvc/sys/time.h +1 -0
  289. data/ext/pg_query/include/postgres/port/win32_msvc/unistd.h +9 -0
  290. data/ext/pg_query/include/postgres/port/win32_msvc/utime.h +3 -0
  291. data/ext/pg_query/include/postgres/port/win32_port.h +582 -0
  292. data/ext/pg_query/include/postgres/port.h +555 -0
  293. data/ext/pg_query/include/postgres/portability/instr_time.h +197 -0
  294. data/ext/pg_query/include/postgres/postgres.h +579 -0
  295. data/ext/pg_query/include/postgres/postgres_ext.h +73 -0
  296. data/ext/pg_query/include/postgres/postmaster/autovacuum.h +69 -0
  297. data/ext/pg_query/include/postgres/postmaster/bgworker.h +164 -0
  298. data/ext/pg_query/include/postgres/postmaster/bgworker_internals.h +60 -0
  299. data/ext/pg_query/include/postgres/postmaster/bgwriter.h +45 -0
  300. data/ext/pg_query/include/postgres/postmaster/interrupt.h +32 -0
  301. data/ext/pg_query/include/postgres/postmaster/pgarch.h +36 -0
  302. data/ext/pg_query/include/postgres/postmaster/postmaster.h +101 -0
  303. data/ext/pg_query/include/postgres/postmaster/startup.h +41 -0
  304. data/ext/pg_query/include/postgres/postmaster/syslogger.h +101 -0
  305. data/ext/pg_query/include/postgres/postmaster/walsummarizer.h +35 -0
  306. data/ext/pg_query/include/postgres/postmaster/walwriter.h +23 -0
  307. data/ext/pg_query/include/postgres/regex/regex.h +272 -0
  308. data/ext/pg_query/include/postgres/replication/logicallauncher.h +34 -0
  309. data/ext/pg_query/include/postgres/replication/logicalproto.h +274 -0
  310. data/ext/pg_query/include/postgres/replication/logicalworker.h +33 -0
  311. data/ext/pg_query/include/postgres/replication/origin.h +73 -0
  312. data/ext/pg_query/include/postgres/replication/reorderbuffer.h +734 -0
  313. data/ext/pg_query/include/postgres/replication/slot.h +289 -0
  314. data/ext/pg_query/include/postgres/replication/slotsync.h +38 -0
  315. data/ext/pg_query/include/postgres/replication/syncrep.h +109 -0
  316. data/ext/pg_query/include/postgres/replication/walreceiver.h +504 -0
  317. data/ext/pg_query/include/postgres/replication/walsender.h +76 -0
  318. data/ext/pg_query/include/postgres/rewrite/prs2lock.h +46 -0
  319. data/ext/pg_query/include/postgres/rewrite/rewriteHandler.h +41 -0
  320. data/ext/pg_query/include/postgres/rewrite/rewriteManip.h +96 -0
  321. data/ext/pg_query/include/postgres/rewrite/rewriteSupport.h +26 -0
  322. data/ext/pg_query/include/postgres/storage/block.h +108 -0
  323. data/ext/pg_query/include/postgres/storage/buf.h +46 -0
  324. data/ext/pg_query/include/postgres/storage/bufmgr.h +411 -0
  325. data/ext/pg_query/include/postgres/storage/bufpage.h +510 -0
  326. data/ext/pg_query/include/postgres/storage/condition_variable.h +73 -0
  327. data/ext/pg_query/include/postgres/storage/dsm.h +61 -0
  328. data/ext/pg_query/include/postgres/storage/dsm_impl.h +79 -0
  329. data/ext/pg_query/include/postgres/storage/fd.h +219 -0
  330. data/ext/pg_query/include/postgres/storage/fileset.h +40 -0
  331. data/ext/pg_query/include/postgres/storage/ipc.h +87 -0
  332. data/ext/pg_query/include/postgres/storage/item.h +19 -0
  333. data/ext/pg_query/include/postgres/storage/itemid.h +184 -0
  334. data/ext/pg_query/include/postgres/storage/itemptr.h +245 -0
  335. data/ext/pg_query/include/postgres/storage/large_object.h +100 -0
  336. data/ext/pg_query/include/postgres/storage/latch.h +196 -0
  337. data/ext/pg_query/include/postgres/storage/lmgr.h +126 -0
  338. data/ext/pg_query/include/postgres/storage/lock.h +624 -0
  339. data/ext/pg_query/include/postgres/storage/lockdefs.h +61 -0
  340. data/ext/pg_query/include/postgres/storage/lwlock.h +228 -0
  341. data/ext/pg_query/include/postgres/storage/lwlocknames.h +47 -0
  342. data/ext/pg_query/include/postgres/storage/off.h +57 -0
  343. data/ext/pg_query/include/postgres/storage/pg_sema.h +61 -0
  344. data/ext/pg_query/include/postgres/storage/pg_shmem.h +93 -0
  345. data/ext/pg_query/include/postgres/storage/pmsignal.h +105 -0
  346. data/ext/pg_query/include/postgres/storage/predicate.h +83 -0
  347. data/ext/pg_query/include/postgres/storage/proc.h +488 -0
  348. data/ext/pg_query/include/postgres/storage/procarray.h +103 -0
  349. data/ext/pg_query/include/postgres/storage/proclist_types.h +53 -0
  350. data/ext/pg_query/include/postgres/storage/procnumber.h +43 -0
  351. data/ext/pg_query/include/postgres/storage/procsignal.h +75 -0
  352. data/ext/pg_query/include/postgres/storage/read_stream.h +65 -0
  353. data/ext/pg_query/include/postgres/storage/relfilelocator.h +100 -0
  354. data/ext/pg_query/include/postgres/storage/s_lock.h +847 -0
  355. data/ext/pg_query/include/postgres/storage/sharedfileset.h +37 -0
  356. data/ext/pg_query/include/postgres/storage/shm_mq.h +86 -0
  357. data/ext/pg_query/include/postgres/storage/shm_toc.h +58 -0
  358. data/ext/pg_query/include/postgres/storage/shmem.h +59 -0
  359. data/ext/pg_query/include/postgres/storage/sinval.h +153 -0
  360. data/ext/pg_query/include/postgres/storage/smgr.h +130 -0
  361. data/ext/pg_query/include/postgres/storage/spin.h +77 -0
  362. data/ext/pg_query/include/postgres/storage/standby.h +109 -0
  363. data/ext/pg_query/include/postgres/storage/standbydefs.h +74 -0
  364. data/ext/pg_query/include/postgres/storage/sync.h +66 -0
  365. data/ext/pg_query/include/postgres/tcop/cmdtag.h +62 -0
  366. data/ext/pg_query/include/postgres/tcop/cmdtaglist.h +219 -0
  367. data/ext/pg_query/include/postgres/tcop/deparse_utility.h +108 -0
  368. data/ext/pg_query/include/postgres/tcop/dest.h +148 -0
  369. data/ext/pg_query/include/postgres/tcop/fastpath.h +20 -0
  370. data/ext/pg_query/include/postgres/tcop/pquery.h +51 -0
  371. data/ext/pg_query/include/postgres/tcop/tcopprot.h +98 -0
  372. data/ext/pg_query/include/postgres/tcop/utility.h +112 -0
  373. data/ext/pg_query/include/postgres/tsearch/ts_cache.h +96 -0
  374. data/ext/pg_query/include/postgres/utils/acl.h +290 -0
  375. data/ext/pg_query/include/postgres/utils/aclchk_internal.h +45 -0
  376. data/ext/pg_query/include/postgres/utils/array.h +481 -0
  377. data/ext/pg_query/include/postgres/utils/ascii.h +84 -0
  378. data/ext/pg_query/include/postgres/utils/backend_progress.h +46 -0
  379. data/ext/pg_query/include/postgres/utils/backend_status.h +340 -0
  380. data/ext/pg_query/include/postgres/utils/builtins.h +139 -0
  381. data/ext/pg_query/include/postgres/utils/bytea.h +28 -0
  382. data/ext/pg_query/include/postgres/utils/catcache.h +231 -0
  383. data/ext/pg_query/include/postgres/utils/date.h +118 -0
  384. data/ext/pg_query/include/postgres/utils/datetime.h +367 -0
  385. data/ext/pg_query/include/postgres/utils/datum.h +76 -0
  386. data/ext/pg_query/include/postgres/utils/dsa.h +166 -0
  387. data/ext/pg_query/include/postgres/utils/elog.h +540 -0
  388. data/ext/pg_query/include/postgres/utils/errcodes.h +352 -0
  389. data/ext/pg_query/include/postgres/utils/expandeddatum.h +170 -0
  390. data/ext/pg_query/include/postgres/utils/expandedrecord.h +241 -0
  391. data/ext/pg_query/include/postgres/utils/float.h +357 -0
  392. data/ext/pg_query/include/postgres/utils/fmgroids.h +3347 -0
  393. data/ext/pg_query/include/postgres/utils/fmgrprotos.h +2904 -0
  394. data/ext/pg_query/include/postgres/utils/fmgrtab.h +49 -0
  395. data/ext/pg_query/include/postgres/utils/guc.h +456 -0
  396. data/ext/pg_query/include/postgres/utils/guc_hooks.h +184 -0
  397. data/ext/pg_query/include/postgres/utils/guc_tables.h +323 -0
  398. data/ext/pg_query/include/postgres/utils/hsearch.h +153 -0
  399. data/ext/pg_query/include/postgres/utils/injection_point.h +44 -0
  400. data/ext/pg_query/include/postgres/utils/inval.h +68 -0
  401. data/ext/pg_query/include/postgres/utils/logtape.h +77 -0
  402. data/ext/pg_query/include/postgres/utils/lsyscache.h +215 -0
  403. data/ext/pg_query/include/postgres/utils/memdebug.h +82 -0
  404. data/ext/pg_query/include/postgres/utils/memutils.h +193 -0
  405. data/ext/pg_query/include/postgres/utils/memutils_internal.h +176 -0
  406. data/ext/pg_query/include/postgres/utils/memutils_memorychunk.h +253 -0
  407. data/ext/pg_query/include/postgres/utils/numeric.h +110 -0
  408. data/ext/pg_query/include/postgres/utils/palloc.h +151 -0
  409. data/ext/pg_query/include/postgres/utils/partcache.h +103 -0
  410. data/ext/pg_query/include/postgres/utils/pg_locale.h +136 -0
  411. data/ext/pg_query/include/postgres/utils/pgstat_internal.h +827 -0
  412. data/ext/pg_query/include/postgres/utils/plancache.h +238 -0
  413. data/ext/pg_query/include/postgres/utils/portal.h +252 -0
  414. data/ext/pg_query/include/postgres/utils/probes.h +114 -0
  415. data/ext/pg_query/include/postgres/utils/ps_status.h +47 -0
  416. data/ext/pg_query/include/postgres/utils/queryenvironment.h +74 -0
  417. data/ext/pg_query/include/postgres/utils/regproc.h +39 -0
  418. data/ext/pg_query/include/postgres/utils/rel.h +711 -0
  419. data/ext/pg_query/include/postgres/utils/relcache.h +155 -0
  420. data/ext/pg_query/include/postgres/utils/reltrigger.h +81 -0
  421. data/ext/pg_query/include/postgres/utils/resowner.h +167 -0
  422. data/ext/pg_query/include/postgres/utils/ruleutils.h +52 -0
  423. data/ext/pg_query/include/postgres/utils/sharedtuplestore.h +61 -0
  424. data/ext/pg_query/include/postgres/utils/snapmgr.h +130 -0
  425. data/ext/pg_query/include/postgres/utils/snapshot.h +219 -0
  426. data/ext/pg_query/include/postgres/utils/sortsupport.h +391 -0
  427. data/ext/pg_query/include/postgres/utils/syscache.h +136 -0
  428. data/ext/pg_query/include/postgres/utils/timeout.h +96 -0
  429. data/ext/pg_query/include/postgres/utils/timestamp.h +147 -0
  430. data/ext/pg_query/include/postgres/utils/tuplesort.h +472 -0
  431. data/ext/pg_query/include/postgres/utils/tuplestore.h +88 -0
  432. data/ext/pg_query/include/postgres/utils/typcache.h +210 -0
  433. data/ext/pg_query/include/postgres/utils/varlena.h +53 -0
  434. data/ext/pg_query/include/postgres/utils/wait_event.h +108 -0
  435. data/ext/pg_query/include/postgres/utils/wait_event_types.h +218 -0
  436. data/ext/pg_query/include/postgres/utils/xml.h +94 -0
  437. data/ext/pg_query/include/postgres/varatt.h +358 -0
  438. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +8077 -6217
  439. data/ext/pg_query/include/protobuf/pg_query.pb.h +132024 -88124
  440. data/ext/pg_query/pg_query.c +10 -1
  441. data/ext/pg_query/pg_query.pb-c.c +24028 -17173
  442. data/ext/pg_query/pg_query_deparse.c +1 -9902
  443. data/ext/pg_query/pg_query_fingerprint.c +42 -18
  444. data/ext/pg_query/pg_query_fingerprint.h +1 -1
  445. data/ext/pg_query/pg_query_internal.h +1 -1
  446. data/ext/pg_query/pg_query_json_plpgsql.c +1 -25
  447. data/ext/pg_query/pg_query_normalize.c +44 -3
  448. data/ext/pg_query/pg_query_outfuncs_json.c +62 -16
  449. data/ext/pg_query/pg_query_outfuncs_protobuf.c +73 -12
  450. data/ext/pg_query/pg_query_parse.c +47 -5
  451. data/ext/pg_query/pg_query_parse_plpgsql.c +19 -18
  452. data/ext/pg_query/pg_query_readfuncs_protobuf.c +45 -10
  453. data/ext/pg_query/pg_query_ruby.c +5 -0
  454. data/ext/pg_query/pg_query_scan.c +4 -3
  455. data/ext/pg_query/pg_query_split.c +6 -5
  456. data/ext/pg_query/postgres_deparse.c +11496 -0
  457. data/ext/pg_query/postgres_deparse.h +9 -0
  458. data/ext/pg_query/src_backend_catalog_namespace.c +262 -71
  459. data/ext/pg_query/src_backend_catalog_pg_proc.c +3 -2
  460. data/ext/pg_query/src_backend_commands_define.c +12 -3
  461. data/ext/pg_query/src_backend_nodes_bitmapset.c +142 -156
  462. data/ext/pg_query/src_backend_nodes_copyfuncs.c +100 -5881
  463. data/ext/pg_query/src_backend_nodes_equalfuncs.c +102 -3831
  464. data/ext/pg_query/src_backend_nodes_extensible.c +6 -29
  465. data/ext/pg_query/src_backend_nodes_list.c +89 -18
  466. data/ext/pg_query/src_backend_nodes_makefuncs.c +138 -4
  467. data/ext/pg_query/src_backend_nodes_nodeFuncs.c +433 -132
  468. data/ext/pg_query/src_backend_nodes_value.c +28 -19
  469. data/ext/pg_query/src_backend_parser_gram.c +45255 -38885
  470. data/ext/pg_query/src_backend_parser_parser.c +53 -8
  471. data/ext/pg_query/src_backend_parser_scan.c +6999 -3438
  472. data/ext/pg_query/src_backend_parser_scansup.c +5 -28
  473. data/ext/pg_query/src_backend_storage_ipc_ipc.c +13 -4
  474. data/ext/pg_query/src_backend_tcop_postgres.c +156 -114
  475. data/ext/pg_query/src_backend_utils_activity_pgstat_database.c +140 -0
  476. data/ext/pg_query/src_backend_utils_adt_datum.c +14 -2
  477. data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +1 -1
  478. data/ext/pg_query/src_backend_utils_adt_format_type.c +6 -2
  479. data/ext/pg_query/src_backend_utils_adt_numutils.c +488 -0
  480. data/ext/pg_query/src_backend_utils_adt_ruleutils.c +247 -34
  481. data/ext/pg_query/src_backend_utils_error_assert.c +17 -18
  482. data/ext/pg_query/src_backend_utils_error_elog.c +543 -343
  483. data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +47 -18
  484. data/ext/pg_query/src_backend_utils_init_globals.c +22 -7
  485. data/ext/pg_query/src_backend_utils_mb_mbutils.c +84 -148
  486. data/ext/pg_query/src_backend_utils_misc_guc_tables.c +502 -0
  487. data/ext/pg_query/src_backend_utils_mmgr_alignedalloc.c +166 -0
  488. data/ext/pg_query/src_backend_utils_mmgr_aset.c +708 -499
  489. data/ext/pg_query/src_backend_utils_mmgr_bump.c +728 -0
  490. data/ext/pg_query/src_backend_utils_mmgr_generation.c +1115 -0
  491. data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +710 -218
  492. data/ext/pg_query/src_backend_utils_mmgr_slab.c +1079 -0
  493. data/ext/pg_query/src_common_encnames.c +46 -44
  494. data/ext/pg_query/src_common_hashfn.c +3 -3
  495. data/ext/pg_query/src_common_keywords.c +15 -2
  496. data/ext/pg_query/src_common_kwlist_d.h +602 -510
  497. data/ext/pg_query/src_common_kwlookup.c +1 -1
  498. data/ext/pg_query/src_common_psprintf.c +3 -3
  499. data/ext/pg_query/src_common_stringinfo.c +21 -4
  500. data/ext/pg_query/src_common_wchar.c +754 -178
  501. data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +143 -24
  502. data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +3 -18
  503. data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +1295 -1255
  504. data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +1 -1
  505. data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +10 -10
  506. data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +20 -2
  507. data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +60 -60
  508. data/ext/pg_query/src_port_pg_bitutils.c +283 -54
  509. data/ext/pg_query/src_port_pgstrcasecmp.c +57 -1
  510. data/ext/pg_query/src_port_qsort.c +12 -224
  511. data/ext/pg_query/src_port_snprintf.c +56 -39
  512. data/ext/pg_query/src_port_strerror.c +9 -21
  513. data/ext/pg_query/src_port_strlcpy.c +79 -0
  514. data/lib/pg_query/filter_columns.rb +1 -1
  515. data/lib/pg_query/fingerprint.rb +10 -9
  516. data/lib/pg_query/node.rb +18 -13
  517. data/lib/pg_query/param_refs.rb +3 -3
  518. data/lib/pg_query/parse.rb +25 -15
  519. data/lib/pg_query/parse_error.rb +1 -0
  520. data/lib/pg_query/pg_query_pb.rb +181 -3038
  521. data/lib/pg_query/scan.rb +1 -0
  522. data/lib/pg_query/treewalker.rb +55 -8
  523. data/lib/pg_query/truncate.rb +19 -21
  524. data/lib/pg_query/version.rb +1 -1
  525. metadata +447 -436
  526. data/ext/pg_query/guc-file.c +0 -0
  527. data/ext/pg_query/include/access/amapi.h +0 -246
  528. data/ext/pg_query/include/access/attmap.h +0 -52
  529. data/ext/pg_query/include/access/attnum.h +0 -64
  530. data/ext/pg_query/include/access/clog.h +0 -61
  531. data/ext/pg_query/include/access/commit_ts.h +0 -77
  532. data/ext/pg_query/include/access/detoast.h +0 -92
  533. data/ext/pg_query/include/access/genam.h +0 -228
  534. data/ext/pg_query/include/access/gin.h +0 -78
  535. data/ext/pg_query/include/access/htup.h +0 -89
  536. data/ext/pg_query/include/access/htup_details.h +0 -819
  537. data/ext/pg_query/include/access/itup.h +0 -161
  538. data/ext/pg_query/include/access/parallel.h +0 -82
  539. data/ext/pg_query/include/access/printtup.h +0 -35
  540. data/ext/pg_query/include/access/relation.h +0 -28
  541. data/ext/pg_query/include/access/relscan.h +0 -176
  542. data/ext/pg_query/include/access/rmgr.h +0 -35
  543. data/ext/pg_query/include/access/rmgrlist.h +0 -49
  544. data/ext/pg_query/include/access/sdir.h +0 -58
  545. data/ext/pg_query/include/access/skey.h +0 -151
  546. data/ext/pg_query/include/access/stratnum.h +0 -83
  547. data/ext/pg_query/include/access/sysattr.h +0 -29
  548. data/ext/pg_query/include/access/table.h +0 -27
  549. data/ext/pg_query/include/access/tableam.h +0 -1825
  550. data/ext/pg_query/include/access/transam.h +0 -265
  551. data/ext/pg_query/include/access/tupconvert.h +0 -51
  552. data/ext/pg_query/include/access/tupdesc.h +0 -154
  553. data/ext/pg_query/include/access/tupmacs.h +0 -247
  554. data/ext/pg_query/include/access/twophase.h +0 -63
  555. data/ext/pg_query/include/access/xact.h +0 -469
  556. data/ext/pg_query/include/access/xlog.h +0 -398
  557. data/ext/pg_query/include/access/xlog_internal.h +0 -339
  558. data/ext/pg_query/include/access/xlogdefs.h +0 -109
  559. data/ext/pg_query/include/access/xloginsert.h +0 -64
  560. data/ext/pg_query/include/access/xlogreader.h +0 -337
  561. data/ext/pg_query/include/access/xlogrecord.h +0 -227
  562. data/ext/pg_query/include/bootstrap/bootstrap.h +0 -62
  563. data/ext/pg_query/include/c.h +0 -1334
  564. data/ext/pg_query/include/catalog/catalog.h +0 -42
  565. data/ext/pg_query/include/catalog/catversion.h +0 -58
  566. data/ext/pg_query/include/catalog/dependency.h +0 -277
  567. data/ext/pg_query/include/catalog/genbki.h +0 -64
  568. data/ext/pg_query/include/catalog/index.h +0 -199
  569. data/ext/pg_query/include/catalog/indexing.h +0 -366
  570. data/ext/pg_query/include/catalog/namespace.h +0 -188
  571. data/ext/pg_query/include/catalog/objectaccess.h +0 -197
  572. data/ext/pg_query/include/catalog/objectaddress.h +0 -84
  573. data/ext/pg_query/include/catalog/pg_aggregate.h +0 -176
  574. data/ext/pg_query/include/catalog/pg_aggregate_d.h +0 -77
  575. data/ext/pg_query/include/catalog/pg_am.h +0 -60
  576. data/ext/pg_query/include/catalog/pg_am_d.h +0 -45
  577. data/ext/pg_query/include/catalog/pg_attribute.h +0 -204
  578. data/ext/pg_query/include/catalog/pg_attribute_d.h +0 -59
  579. data/ext/pg_query/include/catalog/pg_authid.h +0 -58
  580. data/ext/pg_query/include/catalog/pg_authid_d.h +0 -49
  581. data/ext/pg_query/include/catalog/pg_class.h +0 -200
  582. data/ext/pg_query/include/catalog/pg_class_d.h +0 -103
  583. data/ext/pg_query/include/catalog/pg_collation.h +0 -73
  584. data/ext/pg_query/include/catalog/pg_collation_d.h +0 -45
  585. data/ext/pg_query/include/catalog/pg_constraint.h +0 -247
  586. data/ext/pg_query/include/catalog/pg_constraint_d.h +0 -67
  587. data/ext/pg_query/include/catalog/pg_control.h +0 -252
  588. data/ext/pg_query/include/catalog/pg_conversion.h +0 -72
  589. data/ext/pg_query/include/catalog/pg_conversion_d.h +0 -35
  590. data/ext/pg_query/include/catalog/pg_depend.h +0 -73
  591. data/ext/pg_query/include/catalog/pg_depend_d.h +0 -34
  592. data/ext/pg_query/include/catalog/pg_event_trigger.h +0 -51
  593. data/ext/pg_query/include/catalog/pg_event_trigger_d.h +0 -34
  594. data/ext/pg_query/include/catalog/pg_index.h +0 -80
  595. data/ext/pg_query/include/catalog/pg_index_d.h +0 -56
  596. data/ext/pg_query/include/catalog/pg_language.h +0 -67
  597. data/ext/pg_query/include/catalog/pg_language_d.h +0 -39
  598. data/ext/pg_query/include/catalog/pg_namespace.h +0 -59
  599. data/ext/pg_query/include/catalog/pg_namespace_d.h +0 -34
  600. data/ext/pg_query/include/catalog/pg_opclass.h +0 -85
  601. data/ext/pg_query/include/catalog/pg_opclass_d.h +0 -49
  602. data/ext/pg_query/include/catalog/pg_operator.h +0 -104
  603. data/ext/pg_query/include/catalog/pg_operator_d.h +0 -106
  604. data/ext/pg_query/include/catalog/pg_opfamily.h +0 -60
  605. data/ext/pg_query/include/catalog/pg_opfamily_d.h +0 -47
  606. data/ext/pg_query/include/catalog/pg_partitioned_table.h +0 -63
  607. data/ext/pg_query/include/catalog/pg_partitioned_table_d.h +0 -35
  608. data/ext/pg_query/include/catalog/pg_proc.h +0 -211
  609. data/ext/pg_query/include/catalog/pg_proc_d.h +0 -99
  610. data/ext/pg_query/include/catalog/pg_publication.h +0 -118
  611. data/ext/pg_query/include/catalog/pg_publication_d.h +0 -36
  612. data/ext/pg_query/include/catalog/pg_replication_origin.h +0 -57
  613. data/ext/pg_query/include/catalog/pg_replication_origin_d.h +0 -29
  614. data/ext/pg_query/include/catalog/pg_statistic.h +0 -275
  615. data/ext/pg_query/include/catalog/pg_statistic_d.h +0 -194
  616. data/ext/pg_query/include/catalog/pg_statistic_ext.h +0 -74
  617. data/ext/pg_query/include/catalog/pg_statistic_ext_d.h +0 -40
  618. data/ext/pg_query/include/catalog/pg_transform.h +0 -45
  619. data/ext/pg_query/include/catalog/pg_transform_d.h +0 -32
  620. data/ext/pg_query/include/catalog/pg_trigger.h +0 -137
  621. data/ext/pg_query/include/catalog/pg_trigger_d.h +0 -106
  622. data/ext/pg_query/include/catalog/pg_ts_config.h +0 -50
  623. data/ext/pg_query/include/catalog/pg_ts_config_d.h +0 -32
  624. data/ext/pg_query/include/catalog/pg_ts_dict.h +0 -54
  625. data/ext/pg_query/include/catalog/pg_ts_dict_d.h +0 -33
  626. data/ext/pg_query/include/catalog/pg_ts_parser.h +0 -57
  627. data/ext/pg_query/include/catalog/pg_ts_parser_d.h +0 -35
  628. data/ext/pg_query/include/catalog/pg_ts_template.h +0 -48
  629. data/ext/pg_query/include/catalog/pg_ts_template_d.h +0 -32
  630. data/ext/pg_query/include/catalog/pg_type.h +0 -373
  631. data/ext/pg_query/include/catalog/pg_type_d.h +0 -285
  632. data/ext/pg_query/include/catalog/storage.h +0 -48
  633. data/ext/pg_query/include/commands/async.h +0 -54
  634. data/ext/pg_query/include/commands/dbcommands.h +0 -35
  635. data/ext/pg_query/include/commands/defrem.h +0 -173
  636. data/ext/pg_query/include/commands/event_trigger.h +0 -88
  637. data/ext/pg_query/include/commands/explain.h +0 -127
  638. data/ext/pg_query/include/commands/prepare.h +0 -61
  639. data/ext/pg_query/include/commands/tablespace.h +0 -69
  640. data/ext/pg_query/include/commands/trigger.h +0 -285
  641. data/ext/pg_query/include/commands/user.h +0 -37
  642. data/ext/pg_query/include/commands/vacuum.h +0 -293
  643. data/ext/pg_query/include/commands/variable.h +0 -38
  644. data/ext/pg_query/include/common/file_perm.h +0 -56
  645. data/ext/pg_query/include/common/hashfn.h +0 -104
  646. data/ext/pg_query/include/common/ip.h +0 -37
  647. data/ext/pg_query/include/common/keywords.h +0 -33
  648. data/ext/pg_query/include/common/kwlookup.h +0 -44
  649. data/ext/pg_query/include/common/relpath.h +0 -90
  650. data/ext/pg_query/include/common/string.h +0 -19
  651. data/ext/pg_query/include/common/unicode_combining_table.h +0 -196
  652. data/ext/pg_query/include/datatype/timestamp.h +0 -197
  653. data/ext/pg_query/include/executor/execdesc.h +0 -70
  654. data/ext/pg_query/include/executor/executor.h +0 -620
  655. data/ext/pg_query/include/executor/functions.h +0 -41
  656. data/ext/pg_query/include/executor/instrument.h +0 -101
  657. data/ext/pg_query/include/executor/spi.h +0 -175
  658. data/ext/pg_query/include/executor/tablefunc.h +0 -67
  659. data/ext/pg_query/include/executor/tuptable.h +0 -487
  660. data/ext/pg_query/include/fmgr.h +0 -775
  661. data/ext/pg_query/include/funcapi.h +0 -348
  662. data/ext/pg_query/include/getaddrinfo.h +0 -162
  663. data/ext/pg_query/include/jit/jit.h +0 -105
  664. data/ext/pg_query/include/kwlist_d.h +0 -1072
  665. data/ext/pg_query/include/lib/ilist.h +0 -727
  666. data/ext/pg_query/include/lib/pairingheap.h +0 -102
  667. data/ext/pg_query/include/lib/simplehash.h +0 -1059
  668. data/ext/pg_query/include/lib/stringinfo.h +0 -161
  669. data/ext/pg_query/include/libpq/auth.h +0 -29
  670. data/ext/pg_query/include/libpq/crypt.h +0 -46
  671. data/ext/pg_query/include/libpq/hba.h +0 -140
  672. data/ext/pg_query/include/libpq/libpq-be.h +0 -326
  673. data/ext/pg_query/include/libpq/libpq.h +0 -134
  674. data/ext/pg_query/include/libpq/pqcomm.h +0 -208
  675. data/ext/pg_query/include/libpq/pqformat.h +0 -210
  676. data/ext/pg_query/include/libpq/pqsignal.h +0 -42
  677. data/ext/pg_query/include/mb/pg_wchar.h +0 -673
  678. data/ext/pg_query/include/mb/stringinfo_mb.h +0 -24
  679. data/ext/pg_query/include/miscadmin.h +0 -489
  680. data/ext/pg_query/include/nodes/bitmapset.h +0 -122
  681. data/ext/pg_query/include/nodes/execnodes.h +0 -2523
  682. data/ext/pg_query/include/nodes/extensible.h +0 -160
  683. data/ext/pg_query/include/nodes/lockoptions.h +0 -61
  684. data/ext/pg_query/include/nodes/makefuncs.h +0 -108
  685. data/ext/pg_query/include/nodes/memnodes.h +0 -108
  686. data/ext/pg_query/include/nodes/nodeFuncs.h +0 -162
  687. data/ext/pg_query/include/nodes/nodes.h +0 -842
  688. data/ext/pg_query/include/nodes/params.h +0 -170
  689. data/ext/pg_query/include/nodes/parsenodes.h +0 -3580
  690. data/ext/pg_query/include/nodes/pathnodes.h +0 -2557
  691. data/ext/pg_query/include/nodes/pg_list.h +0 -606
  692. data/ext/pg_query/include/nodes/plannodes.h +0 -1266
  693. data/ext/pg_query/include/nodes/primnodes.h +0 -1541
  694. data/ext/pg_query/include/nodes/print.h +0 -34
  695. data/ext/pg_query/include/nodes/tidbitmap.h +0 -75
  696. data/ext/pg_query/include/nodes/value.h +0 -61
  697. data/ext/pg_query/include/optimizer/cost.h +0 -206
  698. data/ext/pg_query/include/optimizer/geqo.h +0 -88
  699. data/ext/pg_query/include/optimizer/geqo_gene.h +0 -45
  700. data/ext/pg_query/include/optimizer/optimizer.h +0 -194
  701. data/ext/pg_query/include/optimizer/paths.h +0 -257
  702. data/ext/pg_query/include/optimizer/planmain.h +0 -119
  703. data/ext/pg_query/include/parser/analyze.h +0 -49
  704. data/ext/pg_query/include/parser/gram.h +0 -1067
  705. data/ext/pg_query/include/parser/gramparse.h +0 -75
  706. data/ext/pg_query/include/parser/kwlist.h +0 -477
  707. data/ext/pg_query/include/parser/parse_agg.h +0 -68
  708. data/ext/pg_query/include/parser/parse_clause.h +0 -54
  709. data/ext/pg_query/include/parser/parse_coerce.h +0 -98
  710. data/ext/pg_query/include/parser/parse_collate.h +0 -27
  711. data/ext/pg_query/include/parser/parse_expr.h +0 -26
  712. data/ext/pg_query/include/parser/parse_func.h +0 -73
  713. data/ext/pg_query/include/parser/parse_node.h +0 -327
  714. data/ext/pg_query/include/parser/parse_oper.h +0 -67
  715. data/ext/pg_query/include/parser/parse_relation.h +0 -123
  716. data/ext/pg_query/include/parser/parse_target.h +0 -46
  717. data/ext/pg_query/include/parser/parse_type.h +0 -60
  718. data/ext/pg_query/include/parser/parser.h +0 -41
  719. data/ext/pg_query/include/parser/parsetree.h +0 -61
  720. data/ext/pg_query/include/parser/scanner.h +0 -152
  721. data/ext/pg_query/include/parser/scansup.h +0 -30
  722. data/ext/pg_query/include/partitioning/partdefs.h +0 -26
  723. data/ext/pg_query/include/pg_config.h +0 -995
  724. data/ext/pg_query/include/pg_config_manual.h +0 -357
  725. data/ext/pg_query/include/pg_config_os.h +0 -8
  726. data/ext/pg_query/include/pg_getopt.h +0 -56
  727. data/ext/pg_query/include/pg_trace.h +0 -17
  728. data/ext/pg_query/include/pgstat.h +0 -1488
  729. data/ext/pg_query/include/pgtime.h +0 -84
  730. data/ext/pg_query/include/pl_gram.h +0 -385
  731. data/ext/pg_query/include/pl_reserved_kwlist.h +0 -52
  732. data/ext/pg_query/include/pl_reserved_kwlist_d.h +0 -114
  733. data/ext/pg_query/include/pl_unreserved_kwlist.h +0 -112
  734. data/ext/pg_query/include/pl_unreserved_kwlist_d.h +0 -246
  735. data/ext/pg_query/include/plerrcodes.h +0 -990
  736. data/ext/pg_query/include/plpgsql.h +0 -1347
  737. data/ext/pg_query/include/port/atomics/arch-arm.h +0 -26
  738. data/ext/pg_query/include/port/atomics/arch-ppc.h +0 -254
  739. data/ext/pg_query/include/port/atomics/arch-x86.h +0 -252
  740. data/ext/pg_query/include/port/atomics/fallback.h +0 -170
  741. data/ext/pg_query/include/port/atomics/generic-gcc.h +0 -286
  742. data/ext/pg_query/include/port/atomics/generic.h +0 -401
  743. data/ext/pg_query/include/port/atomics.h +0 -524
  744. data/ext/pg_query/include/port/pg_bitutils.h +0 -272
  745. data/ext/pg_query/include/port/pg_bswap.h +0 -161
  746. data/ext/pg_query/include/port/pg_crc32c.h +0 -101
  747. data/ext/pg_query/include/port.h +0 -528
  748. data/ext/pg_query/include/portability/instr_time.h +0 -256
  749. data/ext/pg_query/include/postgres.h +0 -764
  750. data/ext/pg_query/include/postgres_ext.h +0 -74
  751. data/ext/pg_query/include/postmaster/autovacuum.h +0 -83
  752. data/ext/pg_query/include/postmaster/bgworker.h +0 -161
  753. data/ext/pg_query/include/postmaster/bgworker_internals.h +0 -64
  754. data/ext/pg_query/include/postmaster/bgwriter.h +0 -45
  755. data/ext/pg_query/include/postmaster/fork_process.h +0 -17
  756. data/ext/pg_query/include/postmaster/interrupt.h +0 -32
  757. data/ext/pg_query/include/postmaster/pgarch.h +0 -39
  758. data/ext/pg_query/include/postmaster/postmaster.h +0 -77
  759. data/ext/pg_query/include/postmaster/syslogger.h +0 -98
  760. data/ext/pg_query/include/postmaster/walwriter.h +0 -21
  761. data/ext/pg_query/include/regex/regex.h +0 -184
  762. data/ext/pg_query/include/replication/logicallauncher.h +0 -31
  763. data/ext/pg_query/include/replication/logicalproto.h +0 -110
  764. data/ext/pg_query/include/replication/logicalworker.h +0 -19
  765. data/ext/pg_query/include/replication/origin.h +0 -73
  766. data/ext/pg_query/include/replication/reorderbuffer.h +0 -468
  767. data/ext/pg_query/include/replication/slot.h +0 -219
  768. data/ext/pg_query/include/replication/syncrep.h +0 -115
  769. data/ext/pg_query/include/replication/walreceiver.h +0 -340
  770. data/ext/pg_query/include/replication/walsender.h +0 -74
  771. data/ext/pg_query/include/rewrite/prs2lock.h +0 -46
  772. data/ext/pg_query/include/rewrite/rewriteHandler.h +0 -40
  773. data/ext/pg_query/include/rewrite/rewriteManip.h +0 -87
  774. data/ext/pg_query/include/rewrite/rewriteSupport.h +0 -26
  775. data/ext/pg_query/include/storage/backendid.h +0 -37
  776. data/ext/pg_query/include/storage/block.h +0 -121
  777. data/ext/pg_query/include/storage/buf.h +0 -46
  778. data/ext/pg_query/include/storage/bufmgr.h +0 -292
  779. data/ext/pg_query/include/storage/bufpage.h +0 -459
  780. data/ext/pg_query/include/storage/condition_variable.h +0 -62
  781. data/ext/pg_query/include/storage/dsm.h +0 -61
  782. data/ext/pg_query/include/storage/dsm_impl.h +0 -75
  783. data/ext/pg_query/include/storage/fd.h +0 -168
  784. data/ext/pg_query/include/storage/ipc.h +0 -81
  785. data/ext/pg_query/include/storage/item.h +0 -19
  786. data/ext/pg_query/include/storage/itemid.h +0 -184
  787. data/ext/pg_query/include/storage/itemptr.h +0 -206
  788. data/ext/pg_query/include/storage/large_object.h +0 -100
  789. data/ext/pg_query/include/storage/latch.h +0 -190
  790. data/ext/pg_query/include/storage/lmgr.h +0 -114
  791. data/ext/pg_query/include/storage/lock.h +0 -613
  792. data/ext/pg_query/include/storage/lockdefs.h +0 -59
  793. data/ext/pg_query/include/storage/lwlock.h +0 -233
  794. data/ext/pg_query/include/storage/lwlocknames.h +0 -51
  795. data/ext/pg_query/include/storage/off.h +0 -57
  796. data/ext/pg_query/include/storage/pg_sema.h +0 -61
  797. data/ext/pg_query/include/storage/pg_shmem.h +0 -90
  798. data/ext/pg_query/include/storage/pmsignal.h +0 -94
  799. data/ext/pg_query/include/storage/predicate.h +0 -87
  800. data/ext/pg_query/include/storage/proc.h +0 -347
  801. data/ext/pg_query/include/storage/proclist_types.h +0 -51
  802. data/ext/pg_query/include/storage/procsignal.h +0 -75
  803. data/ext/pg_query/include/storage/relfilenode.h +0 -99
  804. data/ext/pg_query/include/storage/s_lock.h +0 -1071
  805. data/ext/pg_query/include/storage/sharedfileset.h +0 -45
  806. data/ext/pg_query/include/storage/shm_mq.h +0 -85
  807. data/ext/pg_query/include/storage/shm_toc.h +0 -58
  808. data/ext/pg_query/include/storage/shmem.h +0 -81
  809. data/ext/pg_query/include/storage/sinval.h +0 -153
  810. data/ext/pg_query/include/storage/sinvaladt.h +0 -43
  811. data/ext/pg_query/include/storage/smgr.h +0 -109
  812. data/ext/pg_query/include/storage/spin.h +0 -77
  813. data/ext/pg_query/include/storage/standby.h +0 -91
  814. data/ext/pg_query/include/storage/standbydefs.h +0 -74
  815. data/ext/pg_query/include/storage/sync.h +0 -62
  816. data/ext/pg_query/include/tcop/cmdtag.h +0 -58
  817. data/ext/pg_query/include/tcop/cmdtaglist.h +0 -217
  818. data/ext/pg_query/include/tcop/deparse_utility.h +0 -108
  819. data/ext/pg_query/include/tcop/dest.h +0 -149
  820. data/ext/pg_query/include/tcop/fastpath.h +0 -21
  821. data/ext/pg_query/include/tcop/pquery.h +0 -51
  822. data/ext/pg_query/include/tcop/tcopprot.h +0 -89
  823. data/ext/pg_query/include/tcop/utility.h +0 -108
  824. data/ext/pg_query/include/tsearch/ts_cache.h +0 -98
  825. data/ext/pg_query/include/utils/acl.h +0 -312
  826. data/ext/pg_query/include/utils/aclchk_internal.h +0 -45
  827. data/ext/pg_query/include/utils/array.h +0 -459
  828. data/ext/pg_query/include/utils/builtins.h +0 -128
  829. data/ext/pg_query/include/utils/bytea.h +0 -27
  830. data/ext/pg_query/include/utils/catcache.h +0 -231
  831. data/ext/pg_query/include/utils/date.h +0 -90
  832. data/ext/pg_query/include/utils/datetime.h +0 -343
  833. data/ext/pg_query/include/utils/datum.h +0 -68
  834. data/ext/pg_query/include/utils/dsa.h +0 -123
  835. data/ext/pg_query/include/utils/dynahash.h +0 -19
  836. data/ext/pg_query/include/utils/elog.h +0 -439
  837. data/ext/pg_query/include/utils/errcodes.h +0 -352
  838. data/ext/pg_query/include/utils/expandeddatum.h +0 -159
  839. data/ext/pg_query/include/utils/expandedrecord.h +0 -231
  840. data/ext/pg_query/include/utils/float.h +0 -356
  841. data/ext/pg_query/include/utils/fmgroids.h +0 -2657
  842. data/ext/pg_query/include/utils/fmgrprotos.h +0 -2646
  843. data/ext/pg_query/include/utils/fmgrtab.h +0 -48
  844. data/ext/pg_query/include/utils/guc.h +0 -443
  845. data/ext/pg_query/include/utils/guc_tables.h +0 -272
  846. data/ext/pg_query/include/utils/hsearch.h +0 -149
  847. data/ext/pg_query/include/utils/inval.h +0 -65
  848. data/ext/pg_query/include/utils/lsyscache.h +0 -198
  849. data/ext/pg_query/include/utils/memdebug.h +0 -82
  850. data/ext/pg_query/include/utils/memutils.h +0 -225
  851. data/ext/pg_query/include/utils/numeric.h +0 -76
  852. data/ext/pg_query/include/utils/palloc.h +0 -136
  853. data/ext/pg_query/include/utils/partcache.h +0 -102
  854. data/ext/pg_query/include/utils/pg_locale.h +0 -119
  855. data/ext/pg_query/include/utils/pg_lsn.h +0 -29
  856. data/ext/pg_query/include/utils/pidfile.h +0 -56
  857. data/ext/pg_query/include/utils/plancache.h +0 -235
  858. data/ext/pg_query/include/utils/portal.h +0 -254
  859. data/ext/pg_query/include/utils/probes.h +0 -114
  860. data/ext/pg_query/include/utils/ps_status.h +0 -25
  861. data/ext/pg_query/include/utils/queryenvironment.h +0 -74
  862. data/ext/pg_query/include/utils/regproc.h +0 -28
  863. data/ext/pg_query/include/utils/rel.h +0 -643
  864. data/ext/pg_query/include/utils/relcache.h +0 -150
  865. data/ext/pg_query/include/utils/reltrigger.h +0 -81
  866. data/ext/pg_query/include/utils/resowner.h +0 -86
  867. data/ext/pg_query/include/utils/rls.h +0 -50
  868. data/ext/pg_query/include/utils/ruleutils.h +0 -44
  869. data/ext/pg_query/include/utils/sharedtuplestore.h +0 -61
  870. data/ext/pg_query/include/utils/snapmgr.h +0 -159
  871. data/ext/pg_query/include/utils/snapshot.h +0 -206
  872. data/ext/pg_query/include/utils/sortsupport.h +0 -276
  873. data/ext/pg_query/include/utils/syscache.h +0 -219
  874. data/ext/pg_query/include/utils/timeout.h +0 -88
  875. data/ext/pg_query/include/utils/timestamp.h +0 -116
  876. data/ext/pg_query/include/utils/tuplesort.h +0 -277
  877. data/ext/pg_query/include/utils/tuplestore.h +0 -91
  878. data/ext/pg_query/include/utils/typcache.h +0 -202
  879. data/ext/pg_query/include/utils/tzparser.h +0 -39
  880. data/ext/pg_query/include/utils/varlena.h +0 -39
  881. data/ext/pg_query/include/utils/xml.h +0 -84
  882. data/ext/pg_query/pg_query_ruby_freebsd.sym +0 -2
  883. data/ext/pg_query/src_backend_libpq_pqcomm.c +0 -659
  884. data/ext/pg_query/src_backend_parser_parse_expr.c +0 -313
  885. data/ext/pg_query/src_backend_postmaster_postmaster.c +0 -2230
  886. data/ext/pg_query/src_backend_storage_lmgr_s_lock.c +0 -370
  887. data/ext/pg_query/src_backend_utils_hash_dynahash.c +0 -1086
  888. data/ext/pg_query/src_backend_utils_misc_guc.c +0 -1832
  889. data/ext/pg_query/src_common_string.c +0 -86
  890. data/ext/pg_query/src_port_erand48.c +0 -127
  891. data/ext/pg_query/src_port_pgsleep.c +0 -69
  892. data/ext/pg_query/src_port_random.c +0 -31
  893. data/ext/pg_query/src_port_strnlen.c +0 -39
  894. /data/ext/pg_query/{pg_query_ruby.sym → ext_symbols.sym} +0 -0
  895. /data/ext/pg_query/include/{pg_config_ext.h → postgres/pg_config_ext.h} +0 -0
@@ -12,7 +12,7 @@
12
12
  * kwlist_d.h
13
13
  * List of keywords represented as a ScanKeywordList.
14
14
  *
15
- * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
15
+ * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
16
16
  * Portions Copyright (c) 1994, Regents of the University of California
17
17
  *
18
18
  * NOTES
@@ -32,6 +32,7 @@
32
32
 
33
33
  static const char ScanKeywords_kw_string[] =
34
34
  "abort\0"
35
+ "absent\0"
35
36
  "absolute\0"
36
37
  "access\0"
37
38
  "action\0"
@@ -50,10 +51,12 @@ static const char ScanKeywords_kw_string[] =
50
51
  "array\0"
51
52
  "as\0"
52
53
  "asc\0"
54
+ "asensitive\0"
53
55
  "assertion\0"
54
56
  "assignment\0"
55
57
  "asymmetric\0"
56
58
  "at\0"
59
+ "atomic\0"
57
60
  "attach\0"
58
61
  "attribute\0"
59
62
  "authorization\0"
@@ -66,6 +69,7 @@ static const char ScanKeywords_kw_string[] =
66
69
  "bit\0"
67
70
  "boolean\0"
68
71
  "both\0"
72
+ "breadth\0"
69
73
  "by\0"
70
74
  "cache\0"
71
75
  "call\0"
@@ -93,7 +97,9 @@ static const char ScanKeywords_kw_string[] =
93
97
  "comments\0"
94
98
  "commit\0"
95
99
  "committed\0"
100
+ "compression\0"
96
101
  "concurrently\0"
102
+ "conditional\0"
97
103
  "configuration\0"
98
104
  "conflict\0"
99
105
  "connection\0"
@@ -134,6 +140,7 @@ static const char ScanKeywords_kw_string[] =
134
140
  "delimiter\0"
135
141
  "delimiters\0"
136
142
  "depends\0"
143
+ "depth\0"
137
144
  "desc\0"
138
145
  "detach\0"
139
146
  "dictionary\0"
@@ -147,11 +154,13 @@ static const char ScanKeywords_kw_string[] =
147
154
  "drop\0"
148
155
  "each\0"
149
156
  "else\0"
157
+ "empty\0"
150
158
  "enable\0"
151
159
  "encoding\0"
152
160
  "encrypted\0"
153
161
  "end\0"
154
162
  "enum\0"
163
+ "error\0"
155
164
  "escape\0"
156
165
  "event\0"
157
166
  "except\0"
@@ -169,12 +178,14 @@ static const char ScanKeywords_kw_string[] =
169
178
  "family\0"
170
179
  "fetch\0"
171
180
  "filter\0"
181
+ "finalize\0"
172
182
  "first\0"
173
183
  "float\0"
174
184
  "following\0"
175
185
  "for\0"
176
186
  "force\0"
177
187
  "foreign\0"
188
+ "format\0"
178
189
  "forward\0"
179
190
  "freeze\0"
180
191
  "from\0"
@@ -205,6 +216,7 @@ static const char ScanKeywords_kw_string[] =
205
216
  "include\0"
206
217
  "including\0"
207
218
  "increment\0"
219
+ "indent\0"
208
220
  "index\0"
209
221
  "indexes\0"
210
222
  "inherit\0"
@@ -227,7 +239,20 @@ static const char ScanKeywords_kw_string[] =
227
239
  "isnull\0"
228
240
  "isolation\0"
229
241
  "join\0"
242
+ "json\0"
243
+ "json_array\0"
244
+ "json_arrayagg\0"
245
+ "json_exists\0"
246
+ "json_object\0"
247
+ "json_objectagg\0"
248
+ "json_query\0"
249
+ "json_scalar\0"
250
+ "json_serialize\0"
251
+ "json_table\0"
252
+ "json_value\0"
253
+ "keep\0"
230
254
  "key\0"
255
+ "keys\0"
231
256
  "label\0"
232
257
  "language\0"
233
258
  "large\0"
@@ -251,8 +276,11 @@ static const char ScanKeywords_kw_string[] =
251
276
  "logged\0"
252
277
  "mapping\0"
253
278
  "match\0"
279
+ "matched\0"
254
280
  "materialized\0"
255
281
  "maxvalue\0"
282
+ "merge\0"
283
+ "merge_action\0"
256
284
  "method\0"
257
285
  "minute\0"
258
286
  "minvalue\0"
@@ -264,6 +292,7 @@ static const char ScanKeywords_kw_string[] =
264
292
  "national\0"
265
293
  "natural\0"
266
294
  "nchar\0"
295
+ "nested\0"
267
296
  "new\0"
268
297
  "next\0"
269
298
  "nfc\0"
@@ -289,6 +318,7 @@ static const char ScanKeywords_kw_string[] =
289
318
  "offset\0"
290
319
  "oids\0"
291
320
  "old\0"
321
+ "omit\0"
292
322
  "on\0"
293
323
  "only\0"
294
324
  "operator\0"
@@ -307,12 +337,15 @@ static const char ScanKeywords_kw_string[] =
307
337
  "owned\0"
308
338
  "owner\0"
309
339
  "parallel\0"
340
+ "parameter\0"
310
341
  "parser\0"
311
342
  "partial\0"
312
343
  "partition\0"
313
344
  "passing\0"
314
345
  "password\0"
346
+ "path\0"
315
347
  "placing\0"
348
+ "plan\0"
316
349
  "plans\0"
317
350
  "policy\0"
318
351
  "position\0"
@@ -330,6 +363,7 @@ static const char ScanKeywords_kw_string[] =
330
363
  "program\0"
331
364
  "publication\0"
332
365
  "quote\0"
366
+ "quotes\0"
333
367
  "range\0"
334
368
  "read\0"
335
369
  "real\0"
@@ -350,6 +384,7 @@ static const char ScanKeywords_kw_string[] =
350
384
  "reset\0"
351
385
  "restart\0"
352
386
  "restrict\0"
387
+ "return\0"
353
388
  "returning\0"
354
389
  "returns\0"
355
390
  "revoke\0"
@@ -363,6 +398,7 @@ static const char ScanKeywords_kw_string[] =
363
398
  "rows\0"
364
399
  "rule\0"
365
400
  "savepoint\0"
401
+ "scalar\0"
366
402
  "schema\0"
367
403
  "schemas\0"
368
404
  "scroll\0"
@@ -387,6 +423,7 @@ static const char ScanKeywords_kw_string[] =
387
423
  "smallint\0"
388
424
  "snapshot\0"
389
425
  "some\0"
426
+ "source\0"
390
427
  "sql\0"
391
428
  "stable\0"
392
429
  "standalone\0"
@@ -398,6 +435,7 @@ static const char ScanKeywords_kw_string[] =
398
435
  "storage\0"
399
436
  "stored\0"
400
437
  "strict\0"
438
+ "string\0"
401
439
  "strip\0"
402
440
  "subscription\0"
403
441
  "substring\0"
@@ -405,10 +443,12 @@ static const char ScanKeywords_kw_string[] =
405
443
  "symmetric\0"
406
444
  "sysid\0"
407
445
  "system\0"
446
+ "system_user\0"
408
447
  "table\0"
409
448
  "tables\0"
410
449
  "tablesample\0"
411
450
  "tablespace\0"
451
+ "target\0"
412
452
  "temp\0"
413
453
  "template\0"
414
454
  "temporary\0"
@@ -432,6 +472,7 @@ static const char ScanKeywords_kw_string[] =
432
472
  "uescape\0"
433
473
  "unbounded\0"
434
474
  "uncommitted\0"
475
+ "unconditional\0"
435
476
  "unencrypted\0"
436
477
  "union\0"
437
478
  "unique\0"
@@ -485,589 +526,640 @@ static const char ScanKeywords_kw_string[] =
485
526
  static const uint16 ScanKeywords_kw_offsets[] = {
486
527
  0,
487
528
  6,
488
- 15,
529
+ 13,
489
530
  22,
490
531
  29,
491
- 33,
492
- 39,
493
- 45,
494
- 55,
495
- 59,
496
- 64,
497
- 70,
532
+ 36,
533
+ 40,
534
+ 46,
535
+ 52,
536
+ 62,
537
+ 66,
538
+ 71,
498
539
  77,
499
- 85,
500
- 93,
501
- 97,
502
- 101,
503
- 107,
504
- 110,
540
+ 84,
541
+ 92,
542
+ 100,
543
+ 104,
544
+ 108,
505
545
  114,
506
- 124,
507
- 135,
508
- 146,
509
- 149,
510
- 156,
511
- 166,
512
- 180,
513
- 189,
514
- 196,
515
- 202,
516
- 210,
517
- 217,
518
- 224,
519
- 228,
520
- 236,
521
- 241,
522
- 244,
523
- 250,
524
- 255,
525
- 262,
526
- 270,
527
- 279,
528
- 284,
529
- 289,
530
- 297,
546
+ 117,
547
+ 121,
548
+ 132,
549
+ 142,
550
+ 153,
551
+ 164,
552
+ 167,
553
+ 174,
554
+ 181,
555
+ 191,
556
+ 205,
557
+ 214,
558
+ 221,
559
+ 227,
560
+ 235,
561
+ 242,
562
+ 249,
563
+ 253,
564
+ 261,
565
+ 266,
566
+ 274,
567
+ 277,
568
+ 283,
569
+ 288,
570
+ 295,
531
571
  303,
532
- 308,
533
- 318,
534
- 334,
535
- 340,
572
+ 312,
573
+ 317,
574
+ 322,
575
+ 330,
576
+ 336,
577
+ 341,
536
578
  351,
537
- 357,
538
- 363,
539
- 371,
540
- 380,
541
- 388,
542
- 398,
543
- 405,
579
+ 367,
580
+ 373,
581
+ 384,
582
+ 390,
583
+ 396,
584
+ 404,
544
585
  413,
545
586
  421,
546
- 430,
547
- 437,
548
- 447,
549
- 460,
550
- 474,
551
- 483,
552
- 494,
587
+ 431,
588
+ 438,
589
+ 446,
590
+ 454,
591
+ 463,
592
+ 470,
593
+ 480,
594
+ 492,
553
595
  505,
554
596
  517,
555
- 525,
556
- 534,
557
- 545,
558
- 550,
559
- 555,
597
+ 531,
598
+ 540,
599
+ 551,
560
600
  562,
561
- 568,
562
- 572,
563
- 577,
564
- 585,
565
- 601,
566
- 614,
567
- 627,
601
+ 574,
602
+ 582,
603
+ 591,
604
+ 602,
605
+ 607,
606
+ 612,
607
+ 619,
608
+ 625,
609
+ 629,
610
+ 634,
568
611
  642,
569
- 655,
570
- 673,
571
- 686,
572
- 693,
612
+ 658,
613
+ 671,
614
+ 684,
573
615
  699,
574
- 704,
575
- 713,
576
- 717,
577
- 728,
578
- 732,
579
- 740,
580
- 748,
616
+ 712,
617
+ 730,
618
+ 743,
619
+ 750,
581
620
  756,
582
- 765,
583
- 776,
621
+ 761,
622
+ 770,
623
+ 774,
584
624
  785,
585
- 793,
586
- 800,
587
- 810,
588
- 821,
589
- 829,
590
- 834,
591
- 841,
592
- 852,
593
- 860,
594
- 868,
595
- 877,
596
- 880,
597
- 889,
598
- 896,
599
- 903,
600
- 908,
601
- 913,
602
- 918,
603
- 925,
604
- 934,
605
- 944,
606
- 948,
607
- 953,
608
- 960,
625
+ 789,
626
+ 797,
627
+ 805,
628
+ 813,
629
+ 822,
630
+ 833,
631
+ 842,
632
+ 850,
633
+ 857,
634
+ 867,
635
+ 878,
636
+ 886,
637
+ 892,
638
+ 897,
639
+ 904,
640
+ 915,
641
+ 923,
642
+ 931,
643
+ 940,
644
+ 943,
645
+ 952,
646
+ 959,
609
647
  966,
610
- 973,
648
+ 971,
649
+ 976,
611
650
  981,
612
- 991,
613
- 1001,
614
- 1009,
615
- 1016,
616
- 1024,
651
+ 987,
652
+ 994,
653
+ 1003,
654
+ 1013,
655
+ 1017,
656
+ 1022,
657
+ 1028,
617
658
  1035,
618
- 1045,
619
- 1054,
620
- 1062,
621
- 1068,
622
- 1075,
623
- 1081,
624
- 1088,
625
- 1094,
626
- 1100,
659
+ 1041,
660
+ 1048,
661
+ 1056,
662
+ 1066,
663
+ 1076,
664
+ 1084,
665
+ 1091,
666
+ 1099,
627
667
  1110,
628
- 1114,
629
668
  1120,
630
- 1128,
631
- 1136,
669
+ 1129,
670
+ 1137,
632
671
  1143,
633
- 1148,
634
- 1153,
635
- 1162,
672
+ 1150,
673
+ 1156,
674
+ 1163,
636
675
  1172,
637
- 1182,
638
- 1189,
639
- 1195,
640
- 1203,
676
+ 1178,
677
+ 1184,
678
+ 1194,
679
+ 1198,
680
+ 1204,
641
681
  1212,
642
- 1218,
682
+ 1219,
643
683
  1227,
644
684
  1234,
645
- 1242,
646
- 1249,
647
- 1256,
648
- 1261,
649
- 1266,
650
- 1275,
651
- 1278,
652
- 1284,
685
+ 1239,
686
+ 1244,
687
+ 1253,
688
+ 1263,
689
+ 1273,
690
+ 1280,
691
+ 1286,
653
692
  1294,
654
- 1304,
655
- 1313,
656
- 1320,
657
- 1323,
658
- 1331,
659
- 1341,
660
- 1351,
693
+ 1303,
694
+ 1309,
695
+ 1318,
696
+ 1325,
697
+ 1333,
698
+ 1340,
699
+ 1347,
700
+ 1352,
661
701
  1357,
662
- 1365,
663
- 1373,
664
- 1382,
665
- 1392,
666
- 1399,
667
- 1405,
702
+ 1366,
703
+ 1369,
704
+ 1375,
705
+ 1385,
706
+ 1395,
707
+ 1404,
668
708
  1411,
669
- 1417,
670
- 1429,
671
- 1436,
672
- 1444,
673
- 1448,
674
- 1456,
675
- 1466,
676
- 1475,
709
+ 1414,
710
+ 1422,
711
+ 1432,
712
+ 1442,
713
+ 1449,
714
+ 1455,
715
+ 1463,
716
+ 1471,
677
717
  1480,
678
- 1488,
679
- 1491,
680
- 1498,
681
- 1508,
682
- 1513,
683
- 1517,
684
- 1523,
685
- 1532,
686
- 1538,
687
- 1543,
688
- 1551,
689
- 1559,
690
- 1569,
691
- 1575,
692
- 1580,
718
+ 1490,
719
+ 1497,
720
+ 1503,
721
+ 1509,
722
+ 1515,
723
+ 1527,
724
+ 1534,
725
+ 1542,
726
+ 1546,
727
+ 1554,
728
+ 1564,
729
+ 1573,
730
+ 1578,
693
731
  1586,
694
- 1591,
695
- 1597,
696
- 1604,
697
- 1609,
698
- 1615,
699
- 1625,
700
- 1640,
701
- 1649,
702
- 1654,
703
- 1661,
704
- 1668,
705
- 1676,
706
- 1682,
707
- 1695,
708
- 1704,
709
- 1711,
732
+ 1589,
733
+ 1596,
734
+ 1606,
735
+ 1611,
736
+ 1616,
737
+ 1627,
738
+ 1641,
739
+ 1653,
740
+ 1665,
741
+ 1680,
742
+ 1691,
743
+ 1703,
710
744
  1718,
711
- 1727,
712
- 1732,
713
- 1738,
714
- 1743,
715
- 1748,
745
+ 1729,
746
+ 1740,
747
+ 1745,
748
+ 1749,
716
749
  1754,
717
- 1763,
718
- 1771,
719
- 1777,
720
- 1781,
721
- 1786,
722
- 1790,
723
- 1794,
724
- 1799,
725
- 1804,
726
- 1807,
750
+ 1760,
751
+ 1769,
752
+ 1775,
753
+ 1780,
754
+ 1788,
755
+ 1796,
756
+ 1806,
727
757
  1812,
728
- 1822,
729
- 1833,
730
- 1837,
731
- 1845,
758
+ 1817,
759
+ 1823,
760
+ 1828,
761
+ 1834,
762
+ 1841,
763
+ 1846,
732
764
  1852,
733
- 1860,
734
- 1867,
735
- 1872,
736
- 1879,
737
- 1885,
738
- 1893,
739
- 1900,
740
- 1903,
741
- 1907,
742
- 1914,
765
+ 1862,
766
+ 1877,
767
+ 1886,
768
+ 1891,
769
+ 1898,
770
+ 1905,
771
+ 1913,
743
772
  1919,
744
- 1923,
745
- 1926,
746
- 1931,
773
+ 1927,
747
774
  1940,
748
- 1947,
775
+ 1949,
749
776
  1955,
750
- 1958,
751
- 1964,
777
+ 1968,
752
778
  1975,
753
779
  1982,
754
- 1986,
755
- 1992,
756
- 1997,
757
- 2006,
758
- 2014,
759
- 2025,
760
- 2031,
761
- 2037,
762
- 2046,
763
- 2053,
780
+ 1991,
781
+ 1996,
782
+ 2002,
783
+ 2007,
784
+ 2012,
785
+ 2018,
786
+ 2027,
787
+ 2035,
788
+ 2041,
789
+ 2048,
790
+ 2052,
791
+ 2057,
764
792
  2061,
765
- 2071,
766
- 2079,
767
- 2088,
768
- 2096,
769
- 2102,
770
- 2109,
771
- 2118,
772
- 2128,
793
+ 2065,
794
+ 2070,
795
+ 2075,
796
+ 2078,
797
+ 2083,
798
+ 2093,
799
+ 2104,
800
+ 2108,
801
+ 2116,
802
+ 2123,
803
+ 2131,
773
804
  2138,
774
- 2146,
775
- 2155,
805
+ 2143,
806
+ 2150,
807
+ 2156,
776
808
  2164,
777
- 2172,
809
+ 2171,
810
+ 2174,
778
811
  2178,
779
- 2189,
780
- 2200,
781
- 2210,
782
- 2221,
783
- 2229,
784
- 2241,
785
- 2247,
786
- 2253,
812
+ 2185,
813
+ 2190,
814
+ 2194,
815
+ 2199,
816
+ 2202,
817
+ 2207,
818
+ 2216,
819
+ 2223,
820
+ 2231,
821
+ 2234,
822
+ 2240,
823
+ 2251,
787
824
  2258,
788
- 2263,
789
- 2272,
790
- 2280,
825
+ 2262,
826
+ 2268,
827
+ 2273,
828
+ 2282,
791
829
  2290,
792
- 2294,
793
- 2305,
794
- 2317,
795
- 2325,
796
- 2333,
797
- 2342,
798
- 2350,
830
+ 2301,
831
+ 2307,
832
+ 2313,
833
+ 2322,
834
+ 2332,
835
+ 2339,
836
+ 2347,
799
837
  2357,
800
- 2368,
801
- 2376,
802
- 2384,
803
- 2390,
838
+ 2365,
839
+ 2374,
840
+ 2379,
841
+ 2387,
842
+ 2392,
804
843
  2398,
805
- 2407,
806
- 2417,
807
- 2425,
808
- 2432,
809
- 2438,
810
- 2443,
811
- 2452,
812
- 2459,
813
- 2467,
814
- 2476,
815
- 2480,
844
+ 2405,
845
+ 2414,
846
+ 2424,
847
+ 2434,
848
+ 2442,
849
+ 2451,
850
+ 2460,
851
+ 2468,
852
+ 2474,
816
853
  2485,
817
- 2490,
818
- 2500,
819
- 2507,
820
- 2515,
821
- 2522,
822
- 2529,
823
- 2536,
824
- 2545,
825
- 2552,
854
+ 2496,
855
+ 2506,
856
+ 2517,
857
+ 2525,
858
+ 2537,
859
+ 2543,
860
+ 2550,
861
+ 2556,
826
862
  2561,
827
- 2571,
828
- 2584,
829
- 2591,
830
- 2599,
831
- 2612,
832
- 2616,
833
- 2622,
834
- 2627,
835
- 2633,
836
- 2638,
837
- 2646,
863
+ 2566,
864
+ 2575,
865
+ 2583,
866
+ 2593,
867
+ 2597,
868
+ 2608,
869
+ 2620,
870
+ 2628,
871
+ 2636,
872
+ 2645,
838
873
  2653,
839
- 2658,
840
- 2667,
841
- 2676,
842
- 2681,
843
- 2685,
844
- 2692,
845
- 2703,
846
- 2709,
847
- 2719,
848
- 2730,
849
- 2736,
850
- 2743,
851
- 2751,
852
- 2758,
853
- 2765,
854
- 2771,
855
- 2784,
856
- 2794,
857
- 2802,
858
- 2812,
859
- 2818,
860
- 2825,
861
- 2831,
862
- 2838,
863
- 2850,
864
- 2861,
865
- 2866,
866
- 2875,
867
- 2885,
868
- 2890,
869
- 2895,
870
- 2900,
871
- 2905,
872
- 2915,
873
- 2918,
874
- 2927,
874
+ 2660,
875
+ 2671,
876
+ 2679,
877
+ 2687,
878
+ 2693,
879
+ 2701,
880
+ 2710,
881
+ 2717,
882
+ 2727,
883
+ 2735,
884
+ 2742,
885
+ 2748,
886
+ 2753,
887
+ 2762,
888
+ 2769,
889
+ 2777,
890
+ 2786,
891
+ 2790,
892
+ 2795,
893
+ 2800,
894
+ 2810,
895
+ 2817,
896
+ 2824,
897
+ 2832,
898
+ 2839,
899
+ 2846,
900
+ 2853,
901
+ 2862,
902
+ 2869,
903
+ 2878,
904
+ 2888,
905
+ 2901,
906
+ 2908,
907
+ 2916,
908
+ 2929,
909
+ 2933,
875
910
  2939,
876
- 2949,
911
+ 2944,
912
+ 2950,
877
913
  2955,
878
914
  2963,
879
- 2968,
880
- 2973,
881
- 2982,
882
- 2990,
883
- 2995,
884
- 3001,
915
+ 2970,
916
+ 2975,
917
+ 2984,
918
+ 2993,
919
+ 2998,
920
+ 3005,
885
921
  3009,
886
- 3019,
887
- 3031,
922
+ 3016,
923
+ 3027,
924
+ 3033,
888
925
  3043,
889
- 3049,
890
- 3056,
891
- 3064,
892
- 3073,
926
+ 3054,
927
+ 3060,
928
+ 3067,
929
+ 3075,
893
930
  3082,
894
- 3088,
895
- 3095,
896
- 3100,
897
- 3106,
898
- 3113,
899
- 3119,
900
- 3128,
901
- 3138,
902
- 3144,
903
- 3151,
904
- 3159,
931
+ 3089,
932
+ 3096,
933
+ 3102,
934
+ 3115,
935
+ 3125,
936
+ 3133,
937
+ 3143,
938
+ 3149,
939
+ 3156,
905
940
  3168,
906
- 3176,
907
- 3184,
908
- 3192,
909
- 3197,
910
- 3203,
911
- 3212,
912
- 3217,
913
- 3223,
914
- 3234,
915
- 3241,
916
- 3246,
917
- 3253,
918
- 3261,
919
- 3266,
920
- 3274,
921
- 3280,
922
- 3284,
923
- 3298,
924
- 3308,
925
- 3319,
926
- 3329,
927
- 3339,
928
- 3353,
929
- 3362,
930
- 3368,
931
- 3376,
932
- 3389,
933
- 3398,
934
- 3403,
941
+ 3174,
942
+ 3181,
943
+ 3193,
944
+ 3204,
945
+ 3211,
946
+ 3216,
947
+ 3225,
948
+ 3235,
949
+ 3240,
950
+ 3245,
951
+ 3250,
952
+ 3255,
953
+ 3265,
954
+ 3268,
955
+ 3277,
956
+ 3289,
957
+ 3299,
958
+ 3305,
959
+ 3313,
960
+ 3318,
961
+ 3323,
962
+ 3332,
963
+ 3340,
964
+ 3345,
965
+ 3351,
966
+ 3359,
967
+ 3369,
968
+ 3381,
969
+ 3395,
935
970
  3407,
971
+ 3413,
972
+ 3420,
973
+ 3428,
974
+ 3437,
975
+ 3446,
976
+ 3452,
977
+ 3459,
978
+ 3464,
979
+ 3470,
980
+ 3477,
981
+ 3483,
982
+ 3492,
983
+ 3502,
984
+ 3508,
985
+ 3515,
986
+ 3523,
987
+ 3532,
988
+ 3540,
989
+ 3548,
990
+ 3556,
991
+ 3561,
992
+ 3567,
993
+ 3576,
994
+ 3581,
995
+ 3587,
996
+ 3598,
997
+ 3605,
998
+ 3610,
999
+ 3617,
1000
+ 3625,
1001
+ 3630,
1002
+ 3638,
1003
+ 3644,
1004
+ 3648,
1005
+ 3662,
1006
+ 3672,
1007
+ 3683,
1008
+ 3693,
1009
+ 3703,
1010
+ 3717,
1011
+ 3726,
1012
+ 3732,
1013
+ 3740,
1014
+ 3753,
1015
+ 3762,
1016
+ 3767,
1017
+ 3771,
936
1018
  };
937
1019
 
938
- #define SCANKEYWORDS_NUM_KEYWORDS 450
1020
+ #define SCANKEYWORDS_NUM_KEYWORDS 491
939
1021
 
940
1022
  static int
941
1023
  ScanKeywords_hash_func(const void *key, size_t keylen)
942
1024
  {
943
- static const int16 h[901] = {
944
- -172, 32767, 32767, 32767, 0, 56, 362, 32767,
945
- 0, 90, -251, 332, 32767, 66, 298, 0,
946
- 32767, 88, 27, 22, -125, 317, 0, 32767,
947
- -35, 0, 32767, 32767, 32767, 52, 32767, 275,
948
- 32767, -277, 32767, 32767, 316, 177, 32767, 0,
949
- 398, 58, 272, -88, 0, -147, 242, 143,
950
- 401, 0, 32767, 0, 293, 355, 0, 0,
951
- 303, 32767, 225, 580, 0, 378, 0, 0,
952
- 32767, -25, -312, 32767, -210, 0, 32767, -19,
953
- 32767, 91, 307, 354, 32767, 32767, -18, 36,
954
- 32767, 32767, 402, 292, 165, 274, 0, 32767,
955
- 10, -20, 32767, 294, 32767, -622, 326, 32767,
956
- -128, 0, 33, 32767, 32767, 325, 32767, 276,
957
- 343, 32767, 96, 173, 32767, 32767, 32767, 0,
958
- 32767, 320, -128, 32767, 357, 24, -9, 427,
959
- 32767, 32767, 0, 32767, 0, 0, 32767, 32767,
960
- 405, 32767, 125, 32767, 0, 32767, -40, 32767,
961
- 0, 80, 0, 32767, 0, 95, -146, 0,
962
- 32767, 26, 165, 32767, 41, 32767, 418, 32767,
963
- 32767, 40, 32767, 147, 32767, 32767, 32767, 91,
964
- 110, 9, 305, -340, 32767, 103, 32767, 0,
965
- 329, 32767, 32767, 310, 32767, 32767, 147, -262,
966
- 422, 393, 382, 136, 32767, 177, 0, 32767,
967
- 32767, 102, 0, 32767, 83, 141, 28, 167,
968
- -421, 32767, 38, 111, 0, 479, 32767, 32767,
969
- 29, 439, 32767, 427, -6, 182, 32767, 74,
970
- 32767, 360, 236, 32767, 32767, 327, -63, 162,
971
- 154, 184, 90, 263, 115, 127, 539, 347,
972
- -72, 32767, -159, 32767, -249, 152, 32767, 357,
973
- 404, -110, 32767, 404, 345, 32767, 80, 352,
974
- 422, 61, 32767, 32767, 32767, 243, 126, 117,
975
- 32767, 0, 32767, 32767, 208, 32767, 32767, -20,
976
- 430, -195, 32767, 32767, 32767, 118, -62, 32767,
977
- 32767, 98, 136, 0, 0, 32767, 261, 32767,
978
- 0, 32767, 230, 37, 750, 154, 32767, -86,
979
- 87, 32767, 6, 61, 32767, 205, 32767, 517,
980
- 107, 66, 304, 32767, 0, 32767, 32767, 32767,
981
- 333, 32767, 357, 239, 32767, 32767, 437, -26,
982
- 32767, 210, 0, 20, 369, 10, 32767, -78,
983
- 616, 70, 0, 32767, 86, 32767, 0, 32767,
984
- 14, 60, 32, 32767, 373, 32767, -218, 320,
985
- 32767, 268, 32767, 32767, 425, -67, 0, 32767,
986
- 252, 32767, -93, 193, -362, -140, 32767, -328,
987
- 32767, 0, 319, 336, 32767, 121, 0, 32767,
988
- 207, 32767, 481, -176, 276, 47, 235, 32767,
989
- 0, 221, 32767, 228, 32767, 84, 32767, 32767,
990
- 32767, 32767, 32767, 32767, 290, 32767, 32767, 84,
991
- -170, 82, 246, -43, 201, 155, -7, 299,
992
- 32767, 32767, 241, 32767, -418, 32767, 32767, -303,
993
- 32767, 32767, -40, 308, 32767, 0, 178, -67,
994
- 32767, 273, 32767, 0, 32767, 69, 387, 32767,
995
- 341, 0, 0, -19, 324, -88, 166, 32767,
996
- 6, 20, 32767, 17, 22, 359, 32767, 32767,
997
- 172, 0, 32767, 0, 206, 88, 0, 32767,
998
- 35, 0, 275, 114, 339, 32767, 32767, 32767,
999
- 32767, 32767, 524, 0, -52, 191, -115, 9,
1000
- 200, 102, 0, 32767, 3, 0, 0, 0,
1001
- -288, 0, -132, 32767, 0, 32767, 300, 0,
1002
- 0, 0, 212, 32767, 260, 32767, -279, 104,
1003
- 506, 0, 640, 38, 268, 32767, 131, 32767,
1004
- 32767, 32767, 32767, 0, 0, 32767, 32767, 18,
1005
- 100, 44, 67, 270, 245, 283, 224, -66,
1006
- 32767, 32767, 32767, -67, 32767, 389, 32767, 0,
1007
- 125, 354, 32767, 32767, -21, 124, 0, 204,
1008
- 32767, 0, 99, 32767, 267, 32767, 0, 32767,
1009
- 32767, 231, 32767, -129, -113, 108, 23, 0,
1010
- 0, 32767, 32767, 0, 32767, 269, 32767, 32767,
1011
- -133, 32767, -384, 32767, 32767, 0, 32767, 32767,
1012
- 32767, 0, 32767, 32767, 32767, 0, 322, 424,
1013
- 117, -29, 32767, 32767, 145, 0, 0, 323,
1014
- 119, 32767, 32767, 32767, 392, -164, -143, -25,
1015
- -106, 0, 97, 32767, 32767, 235, 32767, 0,
1016
- 32767, 411, 363, 32767, 31, 32767, 443, 32767,
1017
- 76, 29, 32767, 323, 32767, 142, 32767, 0,
1018
- 244, 0, 32767, 28, 32767, 0, 377, -8,
1019
- -45, 32767, 37, 0, 350, 0, 32767, 32767,
1020
- 38, 416, 32767, 265, -78, -308, -51, 705,
1021
- 32767, 32767, 0, 66, 0, 32767, 32767, 32767,
1022
- 81, -250, 32767, 1, 421, 32767, 32767, 0,
1023
- 32767, 401, 198, 32767, 256, 290, 210, 32767,
1024
- 32767, 32767, 32767, 0, 444, 211, -99, 220,
1025
- 64, 32767, 32767, 32767, 32767, 190, 19, 0,
1026
- 216, 32767, 262, 32767, 404, 562, -222, 0,
1027
- 0, -162, 32767, 192, 65, 32767, 150, 191,
1028
- 0, 218, 267, 32767, 32767, 32767, 399, 189,
1029
- 356, 532, 0, 32767, 429, 32767, 32767, 54,
1030
- 279, 151, 0, 353, 394, 176, 215, 32767,
1031
- 15, 153, 137, 92, 420, 47, 253, 0,
1032
- 298, 32767, 32767, 32767, 234, 164, 241, 32767,
1033
- 0, 409, 0, 32767, 0, 32767, 0, 70,
1034
- 32767, 32767, 32767, 0, 32767, 32767, 32767, -138,
1035
- 32767, 32767, -46, 32767, 97, 32767, 0, -126,
1036
- 32767, 169, 322, 392, 32767, 0, 32767, 32767,
1037
- 0, 282, 296, 32767, 0, 403, 32767, -24,
1038
- 32767, -34, 32767, 32767, 32767, 418, 32767, 0,
1039
- 97, 238, 32767, 144, 428, 32767, 2, 32767,
1040
- 32767, 32767, 194, -182, 12, 32767, 391, 32767,
1041
- 880, 32767, 32767, 50, 331, 0, 0, 358,
1042
- 20, 32767, 32767, 222, 317, 32767, 0, 125,
1043
- 32767, 0, 32767, 284, 32767, 32767, 197, 0,
1044
- 63, 32767, 0, 188, 32767, 32767, 147, 190,
1045
- 344, 32767, -42, 32767, 0, 187, 32767, 32767,
1046
- 350, 32767, 0, 0, 127, 32767, 32767, 161,
1047
- 32767, 0, 0, 382, 32767, 32767, 316, 130,
1048
- 32767, 379, 32767, 383, 368, 93, -195, 0,
1049
- 233, 73, 32767, 100, 32767, 338, 90, 32767,
1050
- 258, 32767, 32767, 235, 175, 32767, 32767, 0,
1051
- -9, 0, 0, 32767, 32767, 111, 417, 330,
1052
- 0, 0, 225, 32767, 0, 0, 32767, 0,
1053
- 64, 32767, 32767, 16, 113, 29, 0, 32767,
1054
- 32767, 0, 43, 0, 365, -41, -284, 0,
1055
- 0, 0, 61, 314, 255, 0, 32767, 145,
1056
- 32767, -445, 32767, 32767, 154,
1025
+ static const int16 h[983] = {
1026
+ 283, 32767, 500, 226, 291, 32767, 32767, 32767,
1027
+ 467, 152, 66, 291, -300, 32767, -427, -45,
1028
+ 0, 219, 224, 189, 32767, 195, 0, -507,
1029
+ 324, 32767, 300, 32767, 0, 32767, 161, 32767,
1030
+ 32767, 32767, 32767, 131, 32767, 101, 32767, 391,
1031
+ 32767, 32767, 32767, 0, 2, 32767, 128, 418,
1032
+ -291, 32767, 32767, -631, 32767, 250, 219, -142,
1033
+ 133, 334, 32767, 0, 170, 32767, 516, 32767,
1034
+ 307, 288, 391, 32767, 216, 319, 0, 32767,
1035
+ 152, 32767, 375, 444, 433, 32767, 242, 32767,
1036
+ 4, -119, 481, -13, 32767, 32767, -94, 0,
1037
+ 290, -113, 32767, 137, 122, 120, 32767, 32767,
1038
+ 32767, 414, -397, -45, -267, -5, 605, 32767,
1039
+ 453, 514, 32767, 400, 32767, 32767, 32767, 32767,
1040
+ 361, 150, 32767, 107, 172, -32, 81, -232,
1041
+ -15, 830, -46, 32767, 32767, 32767, 543, -341,
1042
+ 0, 32767, 288, 488, 32767, 43, 410, -99,
1043
+ 32767, 384, 32767, 32767, 315, 32767, -419, -458,
1044
+ 0, -459, 0, 232, 32767, 32767, 333, -413,
1045
+ 32767, 584, -76, 0, -6, 125, 32767, 421,
1046
+ 32767, 32767, -88, 128, -1, 15, 55, 32767,
1047
+ 214, 32767, 0, 0, 166, 348, -337, 32767,
1048
+ 260, 319, 32767, 180, 158, 0, 32767, 0,
1049
+ -226, 0, 129, 0, 378, 517, -293, 671,
1050
+ 32767, 32767, 0, 167, 305, -61, -229, 97,
1051
+ 164, 88, 380, 50, 32767, 71, -637, 106,
1052
+ 32767, 79, 0, 415, 32767, 0, 32767, 317,
1053
+ 379, 28, 431, 0, 32767, 32767, 301, 185,
1054
+ 196, 37, 32767, 142, 200, 32767, -211, -223,
1055
+ -392, 99, 32767, -366, 32767, 287, 32767, 0,
1056
+ -309, 0, 32767, -963, 32767, 222, 432, 32767,
1057
+ 32767, 0, 32767, 32767, 266, 56, 0, 32767,
1058
+ 391, 606, 32767, 32767, 360, 0, 60, 32767,
1059
+ 32767, 0, 32767, 0, 325, 32767, 333, 32767,
1060
+ -54, 399, 0, 28, 237, -648, 32767, 108,
1061
+ 438, 32767, 221, 390, 32767, 32767, 223, 687,
1062
+ 452, 125, 32767, -913, 186, 0, 32767, 32767,
1063
+ 32767, 32767, 0, 0, 32767, 32767, 32767, -27,
1064
+ 1087, 464, -305, 427, 898, 32767, 0, 32767,
1065
+ 0, 32767, 104, 32767, 32767, 260, 1065, 0,
1066
+ 703, 32767, 0, 337, 350, 767, 32767, -330,
1067
+ 379, 32767, 32767, 32767, 32767, 32767, 32767, 228,
1068
+ 32767, 32767, 32767, 0, -87, -48, 32767, -541,
1069
+ 415, 32767, 306, 32767, 32767, 32767, -117, 15,
1070
+ 0, 0, 32767, 412, -645, 223, -558, 32767,
1071
+ 32767, 32767, 32767, 32767, -254, 162, -372, 0,
1072
+ 0, 32767, 353, 0, 199, 32767, 664, 32767,
1073
+ 32767, 0, 32767, -148, 32767, -98, 32767, 449,
1074
+ 0, 32767, 383, -495, -295, 208, 0, 32767,
1075
+ 511, 17, 32767, 32767, 0, 387, 32767, 32767,
1076
+ 32767, 0, 32767, 32767, 2, -2, -177, 32767,
1077
+ 0, 32767, 150, 32767, -471, 32767, -282, 32767,
1078
+ 240, 183, 357, 423, 32767, 435, 32767, 284,
1079
+ 32767, 358, 298, 195, 72, 0, 421, 535,
1080
+ 32767, 426, -206, 222, 32767, 0, 466, 36,
1081
+ 426, 32767, 32767, 0, 32767, 0, 32767, 70,
1082
+ 479, 32767, 514, 32767, 32767, 697, 436, 43,
1083
+ 155, 32767, 32767, 0, 32767, -155, 32767, 11,
1084
+ 649, -376, 32767, 0, -683, -330, 361, 0,
1085
+ 57, 263, -43, 32767, 383, 0, 32767, 217,
1086
+ 32767, 0, 478, 32767, 0, 32767, 463, 32767,
1087
+ 501, 32767, 237, 301, 545, 302, 67, 311,
1088
+ 1135, 152, 0, 342, 32767, 350, 418, 32767,
1089
+ 0, 428, 0, 0, -353, 381, 790, 32767,
1090
+ 32767, -259, 32767, 32767, 32767, 229, 417, 0,
1091
+ 232, 32767, 0, 980, 32767, 0, 0, 275,
1092
+ -314, 0, 0, 32767, 32767, 32767, 32767, 32767,
1093
+ 0, 0, -89, 292, 1049, 32767, 32767, -284,
1094
+ 18, 32767, 175, 0, 732, 111, 32767, 428,
1095
+ -167, 92, -59, 199, 0, 793, 702, -231,
1096
+ 32767, 32767, 32767, 32767, 187, 549, 32767, 32767,
1097
+ 32767, 32767, 69, 480, 0, 490, 430, 32767,
1098
+ 32767, 32767, 32767, -2, 32767, 240, 32767, 471,
1099
+ 275, 32767, 524, 17, 0, 32767, 144, 0,
1100
+ 310, 371, 328, 1016, -639, 32767, 51, 32767,
1101
+ -982, 32767, 0, -727, 32767, 32767, -117, -115,
1102
+ 249, 32767, 32767, -6, 32767, 183, -350, 32767,
1103
+ 14, 32767, 32767, 118, -137, -321, 32767, 793,
1104
+ 32767, 32767, 32767, 0, 32767, 77, 204, 71,
1105
+ 32767, -228, -516, 32767, 790, 389, -1, 112,
1106
+ 366, 245, 32767, 0, 32767, 0, -625, 154,
1107
+ -211, 32767, 32767, 105, -253, 214, 0, 203,
1108
+ 392, 0, 32767, 32767, 62, 102, 32767, 32767,
1109
+ 29, 0, 0, 306, 32767, 32767, -29, 194,
1110
+ 0, -120, 32767, 32767, 32767, 376, 32767, 27,
1111
+ 32767, 356, 32767, 0, 32767, 75, 174, 32767,
1112
+ 32767, 32767, -37, 32767, 255, 124, 845, 32767,
1113
+ 0, 32767, 64, 32767, -472, -648, 32767, 584,
1114
+ 0, 32767, 19, 201, 32767, 0, 32767, 32767,
1115
+ -414, -171, -621, 32767, -134, 0, 515, 0,
1116
+ 767, 32767, 32767, 414, 32767, -88, -236, 32767,
1117
+ -52, 298, -254, 32767, 39, 0, 65, 118,
1118
+ 32767, 182, 32767, 134, 0, 32767, 32767, 400,
1119
+ 0, 32767, 32767, 705, 0, 32767, 32767, 269,
1120
+ 32767, 32767, 296, 290, 32767, 0, 0, 32767,
1121
+ 61, 32767, 299, 32767, -227, 240, 32767, 0,
1122
+ 32767, 32767, 32767, 129, 32767, 0, 252, 32767,
1123
+ 0, -487, 32767, 0, -127, 32767, 32767, 132,
1124
+ 18, 0, 32767, 32767, -154, 0, 946, 401,
1125
+ 264, 378, 0, 326, 32767, 0, 465, 233,
1126
+ 87, 32767, 47, 0, -357, 32767, 32767, 0,
1127
+ 0, -245, 835, 887, 32767, 32767, 32767, 32767,
1128
+ 32767, 334, 0, -56, 32767, -196, 0, 32767,
1129
+ 32767, 32767, 154, 32767, 20, -175, 63, 537,
1130
+ 32767, 358, 32767, 121, 32767, 32767, 754, 0,
1131
+ 32767, 0, -113, 0, 0, 207, 0, -256,
1132
+ 32767, 241, 32767, 257, 32767, 194, -595, 23,
1133
+ 19, 268, 666, 231, 0, 211, 32767, 32767,
1134
+ 32767, 32767, 0, 115, 136, 0, 32767, 32767,
1135
+ 404, -252, -432, 0, 0, 341, 32767, 410,
1136
+ 32767, -125, 9, 32767, 482, 727, 0, 32767,
1137
+ 252, 0, 32767, 32767, 147, 124, 270, 10,
1138
+ -124, 47, 0, 300, 445, -246, 32767, 111,
1139
+ 32767, 32767, 32767, -356, 103, 81, 32767, 32767,
1140
+ 32767, 32767, 280, 306, 0, 32767, 695, 32767,
1141
+ -768, 32767, 32767, 0, 32767, 0, 32767, 145,
1142
+ 44, 32767, 32767, 32767, 432, 136, 32767, 0,
1143
+ -903, 251, 32767, -222, 370, 405, 99, 17,
1144
+ 32767, 564, 32767, 32767, 32767, 0, 32767, 32767,
1145
+ 32767, 141, 0, 0, 32767, 32767, 32767, 344,
1146
+ 0, 464, 0, 0, 32767, 32767, 32767, 0,
1147
+ 463, 32767, 32767, 329, 32767, 32767, 422, 32767,
1148
+ 220, 32767, 347, 32767, -17, 253, 18
1057
1149
  };
1058
1150
 
1059
1151
  const unsigned char *k = (const unsigned char *) key;
1060
1152
  uint32 a = 0;
1061
- uint32 b = 3;
1153
+ uint32 b = 0;
1062
1154
 
1063
1155
  while (keylen--)
1064
1156
  {
1065
1157
  unsigned char c = *k++ | 0x20;
1066
1158
 
1067
- a = a * 31 + c;
1068
- b = b * 127 + c;
1159
+ a = a * 257 + c;
1160
+ b = b * 31 + c;
1069
1161
  }
1070
- return h[a % 901] + h[b % 901];
1162
+ return h[a % 983] + h[b % 983];
1071
1163
  }
1072
1164
 
1073
1165
  const ScanKeywordList ScanKeywords = {