pg_query 5.1.0 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/ext/pg_query/include/pg_query.h +4 -3
- data/ext/pg_query/include/pg_query_enum_defs.c +424 -154
- data/ext/pg_query/include/pg_query_fingerprint_conds.c +68 -4
- data/ext/pg_query/include/pg_query_fingerprint_defs.c +2952 -1845
- data/ext/pg_query/include/pg_query_outfuncs_conds.c +51 -3
- data/ext/pg_query/include/pg_query_outfuncs_defs.c +210 -23
- data/ext/pg_query/include/pg_query_readfuncs_conds.c +17 -1
- data/ext/pg_query/include/pg_query_readfuncs_defs.c +271 -52
- data/ext/pg_query/include/postgres/access/amapi.h +10 -3
- data/ext/pg_query/include/postgres/access/attmap.h +1 -1
- data/ext/pg_query/include/postgres/access/attnum.h +1 -1
- data/ext/pg_query/include/postgres/access/brin_internal.h +116 -0
- data/ext/pg_query/include/postgres/access/brin_tuple.h +112 -0
- data/ext/pg_query/include/postgres/access/clog.h +2 -3
- data/ext/pg_query/include/postgres/access/commit_ts.h +2 -3
- data/ext/pg_query/include/postgres/access/detoast.h +1 -1
- data/ext/pg_query/include/postgres/access/genam.h +8 -4
- data/ext/pg_query/include/postgres/access/gin.h +1 -1
- data/ext/pg_query/include/postgres/access/htup.h +1 -1
- data/ext/pg_query/include/postgres/access/htup_details.h +11 -11
- data/ext/pg_query/include/postgres/access/itup.h +3 -3
- data/ext/pg_query/include/postgres/access/parallel.h +1 -2
- data/ext/pg_query/include/postgres/access/printtup.h +1 -1
- data/ext/pg_query/include/postgres/access/relation.h +1 -1
- data/ext/pg_query/include/postgres/access/relscan.h +1 -1
- data/ext/pg_query/include/postgres/access/rmgrlist.h +1 -1
- data/ext/pg_query/include/postgres/access/sdir.h +1 -1
- data/ext/pg_query/include/postgres/access/skey.h +1 -1
- data/ext/pg_query/include/postgres/access/slru.h +221 -0
- data/ext/pg_query/include/postgres/access/stratnum.h +1 -1
- data/ext/pg_query/include/postgres/access/sysattr.h +1 -1
- data/ext/pg_query/include/postgres/access/table.h +1 -1
- data/ext/pg_query/include/postgres/access/tableam.h +33 -24
- data/ext/pg_query/include/postgres/access/tidstore.h +50 -0
- data/ext/pg_query/include/postgres/access/toast_compression.h +2 -2
- data/ext/pg_query/include/postgres/access/transam.h +7 -7
- data/ext/pg_query/include/postgres/access/tsmapi.h +1 -1
- data/ext/pg_query/include/postgres/access/tupconvert.h +1 -1
- data/ext/pg_query/include/postgres/access/tupdesc.h +5 -5
- data/ext/pg_query/include/postgres/access/tupmacs.h +1 -1
- data/ext/pg_query/include/postgres/access/twophase.h +2 -2
- data/ext/pg_query/include/postgres/access/xact.h +5 -5
- data/ext/pg_query/include/postgres/access/xlog.h +20 -12
- data/ext/pg_query/include/postgres/access/xlog_internal.h +4 -3
- data/ext/pg_query/include/postgres/access/xlogbackup.h +3 -1
- data/ext/pg_query/include/postgres/access/xlogdefs.h +5 -5
- data/ext/pg_query/include/postgres/access/xlogprefetcher.h +2 -2
- data/ext/pg_query/include/postgres/access/xlogreader.h +2 -2
- data/ext/pg_query/include/postgres/access/xlogrecord.h +3 -3
- data/ext/pg_query/include/postgres/access/xlogrecovery.h +4 -4
- data/ext/pg_query/include/postgres/archive/archive_module.h +9 -1
- data/ext/pg_query/include/postgres/c.h +31 -36
- data/ext/pg_query/include/postgres/catalog/catalog.h +3 -1
- data/ext/pg_query/include/postgres/catalog/catversion.h +2 -2
- data/ext/pg_query/include/postgres/catalog/dependency.h +17 -59
- data/ext/pg_query/include/postgres/catalog/genbki.h +12 -6
- data/ext/pg_query/include/postgres/catalog/index.h +22 -18
- data/ext/pg_query/include/postgres/catalog/indexing.h +1 -1
- data/ext/pg_query/include/postgres/catalog/namespace.h +18 -19
- data/ext/pg_query/include/postgres/catalog/objectaccess.h +2 -2
- data/ext/pg_query/include/postgres/catalog/objectaddress.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_aggregate.h +4 -2
- data/ext/pg_query/include/postgres/catalog/pg_aggregate_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_am.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_am_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_attribute.h +31 -14
- data/ext/pg_query/include/postgres/catalog/pg_attribute_d.h +3 -3
- data/ext/pg_query/include/postgres/catalog/pg_authid.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_authid_d.h +2 -1
- data/ext/pg_query/include/postgres/catalog/pg_class.h +10 -5
- data/ext/pg_query/include/postgres/catalog/pg_class_d.h +4 -2
- data/ext/pg_query/include/postgres/catalog/pg_collation.h +11 -5
- data/ext/pg_query/include/postgres/catalog/pg_collation_d.h +5 -2
- data/ext/pg_query/include/postgres/catalog/pg_constraint.h +15 -10
- data/ext/pg_query/include/postgres/catalog/pg_constraint_d.h +2 -1
- data/ext/pg_query/include/postgres/catalog/pg_control.h +5 -3
- data/ext/pg_query/include/postgres/catalog/pg_conversion.h +8 -4
- data/ext/pg_query/include/postgres/catalog/pg_conversion_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_database.h +9 -4
- data/ext/pg_query/include/postgres/catalog/pg_database_d.h +13 -12
- data/ext/pg_query/include/postgres/catalog/pg_depend.h +3 -3
- data/ext/pg_query/include/postgres/catalog/pg_depend_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_event_trigger.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_event_trigger_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_index.h +5 -3
- data/ext/pg_query/include/postgres/catalog/pg_index_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_language.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_language_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_namespace.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_namespace_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_opclass.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_opclass_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_operator.h +20 -3
- data/ext/pg_query/include/postgres/catalog/pg_operator_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_opfamily.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_opfamily_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_partitioned_table.h +4 -2
- data/ext/pg_query/include/postgres/catalog/pg_partitioned_table_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_proc.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_proc_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_publication.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_publication_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_replication_origin.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_replication_origin_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_statistic.h +10 -4
- data/ext/pg_query/include/postgres/catalog/pg_statistic_d.h +7 -3
- data/ext/pg_query/include/postgres/catalog/pg_statistic_ext.h +10 -7
- data/ext/pg_query/include/postgres/catalog/pg_statistic_ext_d.h +3 -3
- data/ext/pg_query/include/postgres/catalog/pg_transform.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_transform_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_trigger.h +4 -4
- data/ext/pg_query/include/postgres/catalog/pg_trigger_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_config.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_config_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_dict.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_dict_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_parser.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_parser_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_template.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_template_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_type.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_type_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/storage.h +1 -1
- data/ext/pg_query/include/postgres/catalog/syscache_ids.h +104 -0
- data/ext/pg_query/include/postgres/commands/async.h +2 -6
- data/ext/pg_query/include/postgres/commands/dbcommands.h +1 -1
- data/ext/pg_query/include/postgres/commands/defrem.h +6 -6
- data/ext/pg_query/include/postgres/commands/event_trigger.h +5 -2
- data/ext/pg_query/include/postgres/commands/explain.h +19 -3
- data/ext/pg_query/include/postgres/commands/prepare.h +1 -1
- data/ext/pg_query/include/postgres/commands/tablespace.h +1 -1
- data/ext/pg_query/include/postgres/commands/trigger.h +1 -1
- data/ext/pg_query/include/postgres/commands/vacuum.h +28 -26
- data/ext/pg_query/include/postgres/common/cryptohash.h +2 -2
- data/ext/pg_query/include/postgres/common/file_perm.h +1 -1
- data/ext/pg_query/include/postgres/common/file_utils.h +65 -0
- data/ext/pg_query/include/postgres/common/hashfn.h +16 -1
- data/ext/pg_query/include/postgres/common/hashfn_unstable.h +453 -0
- data/ext/pg_query/include/postgres/common/int.h +79 -4
- data/ext/pg_query/include/postgres/common/keywords.h +1 -1
- data/ext/pg_query/include/postgres/common/kwlookup.h +1 -1
- data/ext/pg_query/include/postgres/common/pg_prng.h +2 -1
- data/ext/pg_query/include/postgres/common/relpath.h +4 -4
- data/ext/pg_query/include/postgres/common/scram-common.h +1 -1
- data/ext/pg_query/include/postgres/common/sha2.h +1 -1
- data/ext/pg_query/include/postgres/common/string.h +1 -1
- data/ext/pg_query/include/postgres/common/unicode_east_asian_fw_table.h +2 -3
- data/ext/pg_query/include/postgres/copyfuncs.funcs.c +278 -30
- data/ext/pg_query/include/postgres/copyfuncs.switch.c +55 -4
- data/ext/pg_query/include/postgres/datatype/timestamp.h +28 -2
- data/ext/pg_query/include/postgres/equalfuncs.funcs.c +239 -26
- data/ext/pg_query/include/postgres/equalfuncs.switch.c +55 -4
- data/ext/pg_query/include/postgres/executor/execdesc.h +1 -1
- data/ext/pg_query/include/postgres/executor/executor.h +6 -5
- data/ext/pg_query/include/postgres/executor/functions.h +2 -1
- data/ext/pg_query/include/postgres/executor/instrument.h +5 -3
- data/ext/pg_query/include/postgres/executor/spi.h +2 -8
- data/ext/pg_query/include/postgres/executor/tablefunc.h +1 -1
- data/ext/pg_query/include/postgres/executor/tuptable.h +31 -2
- data/ext/pg_query/include/postgres/fmgr.h +2 -2
- data/ext/pg_query/include/postgres/foreign/fdwapi.h +1 -1
- data/ext/pg_query/include/postgres/funcapi.h +2 -2
- data/ext/pg_query/include/postgres/gram.h +871 -830
- data/ext/pg_query/include/postgres/gramparse.h +1 -1
- data/ext/pg_query/include/postgres/jit/jit.h +4 -3
- data/ext/pg_query/include/postgres/kwlist_d.h +511 -466
- data/ext/pg_query/include/postgres/lib/dshash.h +25 -10
- data/ext/pg_query/include/postgres/lib/ilist.h +1 -1
- data/ext/pg_query/include/postgres/lib/pairingheap.h +1 -1
- data/ext/pg_query/include/postgres/lib/simplehash.h +40 -18
- data/ext/pg_query/include/postgres/lib/sort_template.h +14 -1
- data/ext/pg_query/include/postgres/lib/stringinfo.h +93 -11
- data/ext/pg_query/include/postgres/libpq/auth.h +1 -1
- data/ext/pg_query/include/postgres/libpq/crypt.h +2 -2
- data/ext/pg_query/include/postgres/libpq/hba.h +4 -4
- data/ext/pg_query/include/postgres/libpq/libpq-be.h +29 -25
- data/ext/pg_query/include/postgres/libpq/libpq.h +6 -7
- data/ext/pg_query/include/postgres/libpq/pqcomm.h +26 -20
- data/ext/pg_query/include/postgres/libpq/pqformat.h +2 -3
- data/ext/pg_query/include/postgres/libpq/pqsignal.h +1 -1
- data/ext/pg_query/include/postgres/libpq/protocol.h +89 -0
- data/ext/pg_query/include/postgres/libpq/sasl.h +1 -1
- data/ext/pg_query/include/postgres/libpq/scram.h +1 -1
- data/ext/pg_query/include/postgres/mb/pg_wchar.h +102 -82
- data/ext/pg_query/include/postgres/mb/stringinfo_mb.h +1 -1
- data/ext/pg_query/include/postgres/miscadmin.h +64 -52
- data/ext/pg_query/include/postgres/nodes/bitmapset.h +17 -3
- data/ext/pg_query/include/postgres/nodes/execnodes.h +109 -25
- data/ext/pg_query/include/postgres/nodes/extensible.h +1 -1
- data/ext/pg_query/include/postgres/nodes/lockoptions.h +4 -4
- data/ext/pg_query/include/postgres/nodes/makefuncs.h +8 -2
- data/ext/pg_query/include/postgres/nodes/memnodes.h +43 -4
- data/ext/pg_query/include/postgres/nodes/miscnodes.h +1 -1
- data/ext/pg_query/include/postgres/nodes/nodeFuncs.h +1 -1
- data/ext/pg_query/include/postgres/nodes/nodes.h +30 -41
- data/ext/pg_query/include/postgres/nodes/nodetags.h +464 -444
- data/ext/pg_query/include/postgres/nodes/params.h +1 -1
- data/ext/pg_query/include/postgres/nodes/parsenodes.h +358 -175
- data/ext/pg_query/include/postgres/nodes/pathnodes.h +60 -9
- data/ext/pg_query/include/postgres/nodes/pg_list.h +62 -11
- data/ext/pg_query/include/postgres/nodes/plannodes.h +11 -10
- data/ext/pg_query/include/postgres/nodes/primnodes.h +344 -50
- data/ext/pg_query/include/postgres/nodes/print.h +1 -1
- data/ext/pg_query/include/postgres/nodes/queryjumble.h +2 -2
- data/ext/pg_query/include/postgres/nodes/replnodes.h +23 -2
- data/ext/pg_query/include/postgres/nodes/supportnodes.h +1 -1
- data/ext/pg_query/include/postgres/nodes/tidbitmap.h +1 -1
- data/ext/pg_query/include/postgres/nodes/value.h +1 -1
- data/ext/pg_query/include/postgres/optimizer/cost.h +5 -4
- data/ext/pg_query/include/postgres/optimizer/geqo.h +1 -1
- data/ext/pg_query/include/postgres/optimizer/geqo_gene.h +1 -1
- data/ext/pg_query/include/postgres/optimizer/optimizer.h +5 -2
- data/ext/pg_query/include/postgres/optimizer/paths.h +13 -8
- data/ext/pg_query/include/postgres/optimizer/planmain.h +7 -1
- data/ext/pg_query/include/postgres/parser/analyze.h +3 -1
- data/ext/pg_query/include/postgres/parser/kwlist.h +22 -2
- data/ext/pg_query/include/postgres/parser/parse_agg.h +1 -1
- data/ext/pg_query/include/postgres/parser/parse_coerce.h +2 -2
- data/ext/pg_query/include/postgres/parser/parse_expr.h +1 -1
- data/ext/pg_query/include/postgres/parser/parse_func.h +2 -2
- data/ext/pg_query/include/postgres/parser/parse_node.h +3 -2
- data/ext/pg_query/include/postgres/parser/parse_oper.h +4 -1
- data/ext/pg_query/include/postgres/parser/parse_relation.h +1 -1
- data/ext/pg_query/include/postgres/parser/parse_type.h +2 -2
- data/ext/pg_query/include/postgres/parser/parser.h +3 -3
- data/ext/pg_query/include/postgres/parser/parsetree.h +1 -1
- data/ext/pg_query/include/postgres/parser/scanner.h +1 -1
- data/ext/pg_query/include/postgres/parser/scansup.h +1 -1
- data/ext/pg_query/include/postgres/partitioning/partdefs.h +1 -1
- data/ext/pg_query/include/postgres/pg_config.h +34 -34
- data/ext/pg_query/include/postgres/pg_config_manual.h +21 -8
- data/ext/pg_query/include/postgres/pg_getopt.h +1 -1
- data/ext/pg_query/include/postgres/pg_trace.h +1 -1
- data/ext/pg_query/include/postgres/pgstat.h +13 -11
- data/ext/pg_query/include/postgres/pgtime.h +1 -1
- data/ext/pg_query/include/postgres/pl_reserved_kwlist.h +1 -1
- data/ext/pg_query/include/postgres/pl_reserved_kwlist_d.h +1 -1
- data/ext/pg_query/include/postgres/pl_unreserved_kwlist.h +1 -1
- data/ext/pg_query/include/postgres/pl_unreserved_kwlist_d.h +1 -1
- data/ext/pg_query/include/postgres/plerrcodes.h +4 -4
- data/ext/pg_query/include/postgres/plpgsql.h +15 -13
- data/ext/pg_query/include/postgres/port/atomics/arch-arm.h +1 -1
- data/ext/pg_query/include/postgres/port/atomics/arch-hppa.h +1 -1
- data/ext/pg_query/include/postgres/port/atomics/arch-ppc.h +3 -1
- data/ext/pg_query/include/postgres/port/atomics/arch-x86.h +3 -1
- data/ext/pg_query/include/postgres/port/atomics/fallback.h +1 -1
- data/ext/pg_query/include/postgres/port/atomics/generic-gcc.h +38 -1
- data/ext/pg_query/include/postgres/port/atomics/generic-msvc.h +19 -1
- data/ext/pg_query/include/postgres/port/atomics/generic-sunpro.h +16 -1
- data/ext/pg_query/include/postgres/port/atomics/generic.h +38 -2
- data/ext/pg_query/include/postgres/port/atomics.h +93 -6
- data/ext/pg_query/include/postgres/port/pg_bitutils.h +91 -9
- data/ext/pg_query/include/postgres/port/pg_bswap.h +1 -1
- data/ext/pg_query/include/postgres/port/pg_crc32c.h +10 -1
- data/ext/pg_query/include/postgres/port/pg_iovec.h +117 -0
- data/ext/pg_query/include/postgres/port/simd.h +48 -1
- data/ext/pg_query/include/postgres/port/win32/sys/socket.h +8 -0
- data/ext/pg_query/include/postgres/port/win32_port.h +1 -11
- data/ext/pg_query/include/postgres/port.h +7 -3
- data/ext/pg_query/include/postgres/portability/instr_time.h +1 -1
- data/ext/pg_query/include/postgres/postgres.h +1 -1
- data/ext/pg_query/include/postgres/postmaster/autovacuum.h +5 -16
- data/ext/pg_query/include/postgres/postmaster/bgworker.h +8 -6
- data/ext/pg_query/include/postgres/postmaster/bgworker_internals.h +3 -7
- data/ext/pg_query/include/postgres/postmaster/bgwriter.h +3 -3
- data/ext/pg_query/include/postgres/postmaster/interrupt.h +1 -1
- data/ext/pg_query/include/postgres/postmaster/pgarch.h +2 -2
- data/ext/pg_query/include/postgres/postmaster/postmaster.h +25 -5
- data/ext/pg_query/include/postgres/postmaster/startup.h +2 -2
- data/ext/pg_query/include/postgres/postmaster/syslogger.h +2 -4
- data/ext/pg_query/include/postgres/postmaster/walsummarizer.h +35 -0
- data/ext/pg_query/include/postgres/postmaster/walwriter.h +2 -2
- data/ext/pg_query/include/postgres/regex/regex.h +92 -9
- data/ext/pg_query/include/postgres/replication/logicallauncher.h +1 -1
- data/ext/pg_query/include/postgres/replication/logicalproto.h +2 -2
- data/ext/pg_query/include/postgres/replication/logicalworker.h +2 -1
- data/ext/pg_query/include/postgres/replication/origin.h +1 -1
- data/ext/pg_query/include/postgres/replication/reorderbuffer.h +18 -28
- data/ext/pg_query/include/postgres/replication/slot.h +41 -5
- data/ext/pg_query/include/postgres/replication/slotsync.h +38 -0
- data/ext/pg_query/include/postgres/replication/syncrep.h +1 -1
- data/ext/pg_query/include/postgres/replication/walreceiver.h +37 -11
- data/ext/pg_query/include/postgres/replication/walsender.h +5 -3
- data/ext/pg_query/include/postgres/rewrite/prs2lock.h +1 -1
- data/ext/pg_query/include/postgres/rewrite/rewriteHandler.h +7 -1
- data/ext/pg_query/include/postgres/rewrite/rewriteManip.h +2 -2
- data/ext/pg_query/include/postgres/rewrite/rewriteSupport.h +1 -1
- data/ext/pg_query/include/postgres/storage/block.h +1 -1
- data/ext/pg_query/include/postgres/storage/buf.h +1 -1
- data/ext/pg_query/include/postgres/storage/bufmgr.h +59 -41
- data/ext/pg_query/include/postgres/storage/bufpage.h +1 -1
- data/ext/pg_query/include/postgres/storage/condition_variable.h +1 -1
- data/ext/pg_query/include/postgres/storage/dsm.h +1 -1
- data/ext/pg_query/include/postgres/storage/dsm_impl.h +2 -2
- data/ext/pg_query/include/postgres/storage/fd.h +30 -13
- data/ext/pg_query/include/postgres/storage/fileset.h +1 -1
- data/ext/pg_query/include/postgres/storage/ipc.h +4 -1
- data/ext/pg_query/include/postgres/storage/item.h +1 -1
- data/ext/pg_query/include/postgres/storage/itemid.h +1 -1
- data/ext/pg_query/include/postgres/storage/itemptr.h +1 -1
- data/ext/pg_query/include/postgres/storage/large_object.h +1 -1
- data/ext/pg_query/include/postgres/storage/latch.h +4 -2
- data/ext/pg_query/include/postgres/storage/lmgr.h +8 -2
- data/ext/pg_query/include/postgres/storage/lock.h +19 -19
- data/ext/pg_query/include/postgres/storage/lockdefs.h +1 -1
- data/ext/pg_query/include/postgres/storage/lwlock.h +17 -9
- data/ext/pg_query/include/postgres/storage/lwlocknames.h +7 -10
- data/ext/pg_query/include/postgres/storage/off.h +1 -1
- data/ext/pg_query/include/postgres/storage/pg_sema.h +1 -1
- data/ext/pg_query/include/postgres/storage/pg_shmem.h +5 -4
- data/ext/pg_query/include/postgres/storage/pmsignal.h +2 -2
- data/ext/pg_query/include/postgres/storage/predicate.h +1 -5
- data/ext/pg_query/include/postgres/storage/proc.h +48 -23
- data/ext/pg_query/include/postgres/storage/procarray.h +5 -1
- data/ext/pg_query/include/postgres/storage/proclist_types.h +11 -9
- data/ext/pg_query/include/postgres/storage/procnumber.h +43 -0
- data/ext/pg_query/include/postgres/storage/procsignal.h +8 -6
- data/ext/pg_query/include/postgres/storage/read_stream.h +65 -0
- data/ext/pg_query/include/postgres/storage/relfilelocator.h +16 -15
- data/ext/pg_query/include/postgres/storage/s_lock.h +7 -27
- data/ext/pg_query/include/postgres/storage/sharedfileset.h +1 -1
- data/ext/pg_query/include/postgres/storage/shm_mq.h +2 -2
- data/ext/pg_query/include/postgres/storage/shm_toc.h +1 -1
- data/ext/pg_query/include/postgres/storage/shmem.h +1 -1
- data/ext/pg_query/include/postgres/storage/sinval.h +3 -3
- data/ext/pg_query/include/postgres/storage/smgr.h +41 -27
- data/ext/pg_query/include/postgres/storage/spin.h +1 -1
- data/ext/pg_query/include/postgres/storage/standby.h +13 -3
- data/ext/pg_query/include/postgres/storage/standbydefs.h +2 -2
- data/ext/pg_query/include/postgres/storage/sync.h +4 -4
- data/ext/pg_query/include/postgres/tcop/cmdtag.h +1 -2
- data/ext/pg_query/include/postgres/tcop/cmdtaglist.h +3 -2
- data/ext/pg_query/include/postgres/tcop/deparse_utility.h +2 -2
- data/ext/pg_query/include/postgres/tcop/dest.h +3 -2
- data/ext/pg_query/include/postgres/tcop/fastpath.h +1 -1
- data/ext/pg_query/include/postgres/tcop/pquery.h +1 -1
- data/ext/pg_query/include/postgres/tcop/tcopprot.h +9 -5
- data/ext/pg_query/include/postgres/tcop/utility.h +2 -2
- data/ext/pg_query/include/postgres/tsearch/ts_cache.h +1 -1
- data/ext/pg_query/include/postgres/utils/acl.h +19 -7
- data/ext/pg_query/include/postgres/utils/aclchk_internal.h +1 -1
- data/ext/pg_query/include/postgres/utils/array.h +1 -2
- data/ext/pg_query/include/postgres/utils/ascii.h +84 -0
- data/ext/pg_query/include/postgres/utils/backend_progress.h +3 -2
- data/ext/pg_query/include/postgres/utils/backend_status.h +8 -10
- data/ext/pg_query/include/postgres/utils/builtins.h +4 -1
- data/ext/pg_query/include/postgres/utils/bytea.h +2 -2
- data/ext/pg_query/include/postgres/utils/catcache.h +5 -6
- data/ext/pg_query/include/postgres/utils/date.h +1 -1
- data/ext/pg_query/include/postgres/utils/datetime.h +4 -1
- data/ext/pg_query/include/postgres/utils/datum.h +1 -1
- data/ext/pg_query/include/postgres/utils/dsa.h +44 -5
- data/ext/pg_query/include/postgres/utils/elog.h +3 -8
- data/ext/pg_query/include/postgres/utils/errcodes.h +1 -3
- data/ext/pg_query/include/postgres/utils/expandeddatum.h +1 -1
- data/ext/pg_query/include/postgres/utils/expandedrecord.h +1 -1
- data/ext/pg_query/include/postgres/utils/float.h +1 -1
- data/ext/pg_query/include/postgres/utils/fmgroids.h +49 -16
- data/ext/pg_query/include/postgres/utils/fmgrprotos.h +47 -14
- data/ext/pg_query/include/postgres/utils/fmgrtab.h +1 -1
- data/ext/pg_query/include/postgres/utils/guc.h +20 -6
- data/ext/pg_query/include/postgres/utils/guc_hooks.h +23 -2
- data/ext/pg_query/include/postgres/utils/guc_tables.h +6 -5
- data/ext/pg_query/include/postgres/utils/hsearch.h +2 -2
- data/ext/pg_query/include/postgres/utils/injection_point.h +44 -0
- data/ext/pg_query/include/postgres/utils/inval.h +1 -1
- data/ext/pg_query/include/postgres/utils/logtape.h +5 -5
- data/ext/pg_query/include/postgres/utils/lsyscache.h +6 -3
- data/ext/pg_query/include/postgres/utils/memdebug.h +1 -1
- data/ext/pg_query/include/postgres/utils/memutils.h +12 -5
- data/ext/pg_query/include/postgres/utils/memutils_internal.h +53 -13
- data/ext/pg_query/include/postgres/utils/memutils_memorychunk.h +25 -9
- data/ext/pg_query/include/postgres/utils/numeric.h +6 -1
- data/ext/pg_query/include/postgres/utils/palloc.h +1 -15
- data/ext/pg_query/include/postgres/utils/partcache.h +1 -1
- data/ext/pg_query/include/postgres/utils/pg_locale.h +8 -7
- data/ext/pg_query/include/postgres/utils/pgstat_internal.h +11 -17
- data/ext/pg_query/include/postgres/utils/plancache.h +5 -3
- data/ext/pg_query/include/postgres/utils/portal.h +9 -9
- data/ext/pg_query/include/postgres/utils/queryenvironment.h +2 -2
- data/ext/pg_query/include/postgres/utils/regproc.h +1 -1
- data/ext/pg_query/include/postgres/utils/rel.h +14 -15
- data/ext/pg_query/include/postgres/utils/relcache.h +2 -5
- data/ext/pg_query/include/postgres/utils/reltrigger.h +1 -1
- data/ext/pg_query/include/postgres/utils/resowner.h +90 -9
- data/ext/pg_query/include/postgres/utils/ruleutils.h +1 -1
- data/ext/pg_query/include/postgres/utils/sharedtuplestore.h +1 -1
- data/ext/pg_query/include/postgres/utils/snapmgr.h +1 -52
- data/ext/pg_query/include/postgres/utils/snapshot.h +2 -2
- data/ext/pg_query/include/postgres/utils/sortsupport.h +1 -1
- data/ext/pg_query/include/postgres/utils/syscache.h +2 -98
- data/ext/pg_query/include/postgres/utils/timeout.h +3 -2
- data/ext/pg_query/include/postgres/utils/timestamp.h +1 -1
- data/ext/pg_query/include/postgres/utils/tuplesort.h +36 -9
- data/ext/pg_query/include/postgres/utils/tuplestore.h +2 -5
- data/ext/pg_query/include/postgres/utils/typcache.h +2 -1
- data/ext/pg_query/include/postgres/utils/varlena.h +1 -1
- data/ext/pg_query/include/postgres/utils/wait_event.h +28 -214
- data/ext/pg_query/include/postgres/utils/wait_event_types.h +218 -0
- data/ext/pg_query/include/postgres/utils/xml.h +4 -4
- data/ext/pg_query/include/postgres/varatt.h +1 -1
- data/ext/pg_query/include/protobuf/pg_query.pb-c.h +1546 -792
- data/ext/pg_query/include/protobuf/pg_query.pb.h +58365 -46595
- data/ext/pg_query/pg_query.pb-c.c +6598 -3739
- data/ext/pg_query/pg_query_normalize.c +42 -1
- data/ext/pg_query/pg_query_outfuncs_json.c +3 -1
- data/ext/pg_query/pg_query_parse_plpgsql.c +12 -13
- data/ext/pg_query/pg_query_readfuncs_protobuf.c +2 -2
- data/ext/pg_query/pg_query_ruby_freebsd.sym +0 -1
- data/ext/pg_query/pg_query_scan.c +1 -1
- data/ext/pg_query/postgres_deparse.c +409 -21
- data/ext/pg_query/src_backend_catalog_namespace.c +241 -66
- data/ext/pg_query/src_backend_catalog_pg_proc.c +1 -3
- data/ext/pg_query/src_backend_commands_define.c +2 -3
- data/ext/pg_query/src_backend_nodes_bitmapset.c +137 -94
- data/ext/pg_query/src_backend_nodes_copyfuncs.c +1 -1
- data/ext/pg_query/src_backend_nodes_equalfuncs.c +1 -1
- data/ext/pg_query/src_backend_nodes_extensible.c +1 -1
- data/ext/pg_query/src_backend_nodes_list.c +3 -7
- data/ext/pg_query/src_backend_nodes_makefuncs.c +59 -20
- data/ext/pg_query/src_backend_nodes_nodeFuncs.c +109 -2
- data/ext/pg_query/src_backend_nodes_value.c +1 -1
- data/ext/pg_query/src_backend_parser_gram.c +34490 -32135
- data/ext/pg_query/src_backend_parser_parser.c +8 -8
- data/ext/pg_query/src_backend_parser_scan.c +5637 -3028
- data/ext/pg_query/src_backend_parser_scansup.c +2 -1
- data/ext/pg_query/src_backend_storage_ipc_ipc.c +1 -1
- data/ext/pg_query/src_backend_tcop_postgres.c +34 -10
- data/ext/pg_query/src_backend_utils_activity_pgstat_database.c +2 -2
- data/ext/pg_query/src_backend_utils_adt_datum.c +8 -6
- data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +1 -1
- data/ext/pg_query/src_backend_utils_adt_format_type.c +1 -1
- data/ext/pg_query/src_backend_utils_adt_numutils.c +4 -5
- data/ext/pg_query/src_backend_utils_adt_ruleutils.c +101 -28
- data/ext/pg_query/src_backend_utils_error_assert.c +1 -1
- data/ext/pg_query/src_backend_utils_error_elog.c +47 -42
- data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +4 -2
- data/ext/pg_query/src_backend_utils_init_globals.c +15 -3
- data/ext/pg_query/src_backend_utils_mb_mbutils.c +11 -18
- data/ext/pg_query/src_backend_utils_misc_guc_tables.c +16 -6
- data/ext/pg_query/src_backend_utils_mmgr_alignedalloc.c +8 -5
- data/ext/pg_query/src_backend_utils_mmgr_aset.c +308 -238
- data/ext/pg_query/src_backend_utils_mmgr_bump.c +728 -0
- data/ext/pg_query/src_backend_utils_mmgr_generation.c +273 -197
- data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +270 -215
- data/ext/pg_query/src_backend_utils_mmgr_slab.c +154 -96
- data/ext/pg_query/src_common_encnames.c +43 -44
- data/ext/pg_query/src_common_hashfn.c +1 -1
- data/ext/pg_query/src_common_keywords.c +1 -1
- data/ext/pg_query/src_common_kwlist_d.h +511 -466
- data/ext/pg_query/src_common_kwlookup.c +1 -1
- data/ext/pg_query/src_common_psprintf.c +3 -3
- data/ext/pg_query/src_common_stringinfo.c +18 -1
- data/ext/pg_query/src_common_wchar.c +45 -108
- data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +99 -5
- data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +1 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +242 -143
- data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +1 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +1 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +19 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +1 -1
- data/ext/pg_query/src_port_pg_bitutils.c +173 -28
- data/ext/pg_query/src_port_pgstrcasecmp.c +29 -1
- data/ext/pg_query/src_port_snprintf.c +1 -1
- data/ext/pg_query/src_port_strerror.c +1 -3
- data/ext/pg_query/src_port_strlcpy.c +1 -1
- data/lib/pg_query/param_refs.rb +1 -1
- data/lib/pg_query/pg_query_pb.rb +26 -3
- data/lib/pg_query/treewalker.rb +38 -11
- data/lib/pg_query/truncate.rb +1 -1
- data/lib/pg_query/version.rb +1 -1
- metadata +25 -11
- data/ext/pg_query/include/postgres/storage/backendid.h +0 -37
- data/ext/pg_query/include/postgres/storage/sinvaladt.h +0 -45
- data/ext/pg_query/src_backend_nodes_nodes.c +0 -38
@@ -3,7 +3,7 @@
|
|
3
3
|
* nodetags.h
|
4
4
|
* Generated node infrastructure code
|
5
5
|
*
|
6
|
-
* Portions Copyright (c) 1996-
|
6
|
+
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
7
7
|
* Portions Copyright (c) 1994, Regents of the University of California
|
8
8
|
*
|
9
9
|
* NOTES
|
@@ -26,446 +26,466 @@
|
|
26
26
|
T_Aggref = 9,
|
27
27
|
T_GroupingFunc = 10,
|
28
28
|
T_WindowFunc = 11,
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
29
|
+
T_WindowFuncRunCondition = 12,
|
30
|
+
T_MergeSupportFunc = 13,
|
31
|
+
T_SubscriptingRef = 14,
|
32
|
+
T_FuncExpr = 15,
|
33
|
+
T_NamedArgExpr = 16,
|
34
|
+
T_OpExpr = 17,
|
35
|
+
T_DistinctExpr = 18,
|
36
|
+
T_NullIfExpr = 19,
|
37
|
+
T_ScalarArrayOpExpr = 20,
|
38
|
+
T_BoolExpr = 21,
|
39
|
+
T_SubLink = 22,
|
40
|
+
T_SubPlan = 23,
|
41
|
+
T_AlternativeSubPlan = 24,
|
42
|
+
T_FieldSelect = 25,
|
43
|
+
T_FieldStore = 26,
|
44
|
+
T_RelabelType = 27,
|
45
|
+
T_CoerceViaIO = 28,
|
46
|
+
T_ArrayCoerceExpr = 29,
|
47
|
+
T_ConvertRowtypeExpr = 30,
|
48
|
+
T_CollateExpr = 31,
|
49
|
+
T_CaseExpr = 32,
|
50
|
+
T_CaseWhen = 33,
|
51
|
+
T_CaseTestExpr = 34,
|
52
|
+
T_ArrayExpr = 35,
|
53
|
+
T_RowExpr = 36,
|
54
|
+
T_RowCompareExpr = 37,
|
55
|
+
T_CoalesceExpr = 38,
|
56
|
+
T_MinMaxExpr = 39,
|
57
|
+
T_SQLValueFunction = 40,
|
58
|
+
T_XmlExpr = 41,
|
59
|
+
T_JsonFormat = 42,
|
60
|
+
T_JsonReturning = 43,
|
61
|
+
T_JsonValueExpr = 44,
|
62
|
+
T_JsonConstructorExpr = 45,
|
63
|
+
T_JsonIsPredicate = 46,
|
64
|
+
T_JsonBehavior = 47,
|
65
|
+
T_JsonExpr = 48,
|
66
|
+
T_JsonTablePath = 49,
|
67
|
+
T_JsonTablePathScan = 50,
|
68
|
+
T_JsonTableSiblingJoin = 51,
|
69
|
+
T_NullTest = 52,
|
70
|
+
T_BooleanTest = 53,
|
71
|
+
T_MergeAction = 54,
|
72
|
+
T_CoerceToDomain = 55,
|
73
|
+
T_CoerceToDomainValue = 56,
|
74
|
+
T_SetToDefault = 57,
|
75
|
+
T_CurrentOfExpr = 58,
|
76
|
+
T_NextValueExpr = 59,
|
77
|
+
T_InferenceElem = 60,
|
78
|
+
T_TargetEntry = 61,
|
79
|
+
T_RangeTblRef = 62,
|
80
|
+
T_JoinExpr = 63,
|
81
|
+
T_FromExpr = 64,
|
82
|
+
T_OnConflictExpr = 65,
|
83
|
+
T_Query = 66,
|
84
|
+
T_TypeName = 67,
|
85
|
+
T_ColumnRef = 68,
|
86
|
+
T_ParamRef = 69,
|
87
|
+
T_A_Expr = 70,
|
88
|
+
T_A_Const = 71,
|
89
|
+
T_TypeCast = 72,
|
90
|
+
T_CollateClause = 73,
|
91
|
+
T_RoleSpec = 74,
|
92
|
+
T_FuncCall = 75,
|
93
|
+
T_A_Star = 76,
|
94
|
+
T_A_Indices = 77,
|
95
|
+
T_A_Indirection = 78,
|
96
|
+
T_A_ArrayExpr = 79,
|
97
|
+
T_ResTarget = 80,
|
98
|
+
T_MultiAssignRef = 81,
|
99
|
+
T_SortBy = 82,
|
100
|
+
T_WindowDef = 83,
|
101
|
+
T_RangeSubselect = 84,
|
102
|
+
T_RangeFunction = 85,
|
103
|
+
T_RangeTableFunc = 86,
|
104
|
+
T_RangeTableFuncCol = 87,
|
105
|
+
T_RangeTableSample = 88,
|
106
|
+
T_ColumnDef = 89,
|
107
|
+
T_TableLikeClause = 90,
|
108
|
+
T_IndexElem = 91,
|
109
|
+
T_DefElem = 92,
|
110
|
+
T_LockingClause = 93,
|
111
|
+
T_XmlSerialize = 94,
|
112
|
+
T_PartitionElem = 95,
|
113
|
+
T_PartitionSpec = 96,
|
114
|
+
T_PartitionBoundSpec = 97,
|
115
|
+
T_PartitionRangeDatum = 98,
|
116
|
+
T_SinglePartitionSpec = 99,
|
117
|
+
T_PartitionCmd = 100,
|
118
|
+
T_RangeTblEntry = 101,
|
119
|
+
T_RTEPermissionInfo = 102,
|
120
|
+
T_RangeTblFunction = 103,
|
121
|
+
T_TableSampleClause = 104,
|
122
|
+
T_WithCheckOption = 105,
|
123
|
+
T_SortGroupClause = 106,
|
124
|
+
T_GroupingSet = 107,
|
125
|
+
T_WindowClause = 108,
|
126
|
+
T_RowMarkClause = 109,
|
127
|
+
T_WithClause = 110,
|
128
|
+
T_InferClause = 111,
|
129
|
+
T_OnConflictClause = 112,
|
130
|
+
T_CTESearchClause = 113,
|
131
|
+
T_CTECycleClause = 114,
|
132
|
+
T_CommonTableExpr = 115,
|
133
|
+
T_MergeWhenClause = 116,
|
134
|
+
T_TriggerTransition = 117,
|
135
|
+
T_JsonOutput = 118,
|
136
|
+
T_JsonArgument = 119,
|
137
|
+
T_JsonFuncExpr = 120,
|
138
|
+
T_JsonTablePathSpec = 121,
|
139
|
+
T_JsonTable = 122,
|
140
|
+
T_JsonTableColumn = 123,
|
141
|
+
T_JsonKeyValue = 124,
|
142
|
+
T_JsonParseExpr = 125,
|
143
|
+
T_JsonScalarExpr = 126,
|
144
|
+
T_JsonSerializeExpr = 127,
|
145
|
+
T_JsonObjectConstructor = 128,
|
146
|
+
T_JsonArrayConstructor = 129,
|
147
|
+
T_JsonArrayQueryConstructor = 130,
|
148
|
+
T_JsonAggConstructor = 131,
|
149
|
+
T_JsonObjectAgg = 132,
|
150
|
+
T_JsonArrayAgg = 133,
|
151
|
+
T_RawStmt = 134,
|
152
|
+
T_InsertStmt = 135,
|
153
|
+
T_DeleteStmt = 136,
|
154
|
+
T_UpdateStmt = 137,
|
155
|
+
T_MergeStmt = 138,
|
156
|
+
T_SelectStmt = 139,
|
157
|
+
T_SetOperationStmt = 140,
|
158
|
+
T_ReturnStmt = 141,
|
159
|
+
T_PLAssignStmt = 142,
|
160
|
+
T_CreateSchemaStmt = 143,
|
161
|
+
T_AlterTableStmt = 144,
|
162
|
+
T_ReplicaIdentityStmt = 145,
|
163
|
+
T_AlterTableCmd = 146,
|
164
|
+
T_AlterCollationStmt = 147,
|
165
|
+
T_AlterDomainStmt = 148,
|
166
|
+
T_GrantStmt = 149,
|
167
|
+
T_ObjectWithArgs = 150,
|
168
|
+
T_AccessPriv = 151,
|
169
|
+
T_GrantRoleStmt = 152,
|
170
|
+
T_AlterDefaultPrivilegesStmt = 153,
|
171
|
+
T_CopyStmt = 154,
|
172
|
+
T_VariableSetStmt = 155,
|
173
|
+
T_VariableShowStmt = 156,
|
174
|
+
T_CreateStmt = 157,
|
175
|
+
T_Constraint = 158,
|
176
|
+
T_CreateTableSpaceStmt = 159,
|
177
|
+
T_DropTableSpaceStmt = 160,
|
178
|
+
T_AlterTableSpaceOptionsStmt = 161,
|
179
|
+
T_AlterTableMoveAllStmt = 162,
|
180
|
+
T_CreateExtensionStmt = 163,
|
181
|
+
T_AlterExtensionStmt = 164,
|
182
|
+
T_AlterExtensionContentsStmt = 165,
|
183
|
+
T_CreateFdwStmt = 166,
|
184
|
+
T_AlterFdwStmt = 167,
|
185
|
+
T_CreateForeignServerStmt = 168,
|
186
|
+
T_AlterForeignServerStmt = 169,
|
187
|
+
T_CreateForeignTableStmt = 170,
|
188
|
+
T_CreateUserMappingStmt = 171,
|
189
|
+
T_AlterUserMappingStmt = 172,
|
190
|
+
T_DropUserMappingStmt = 173,
|
191
|
+
T_ImportForeignSchemaStmt = 174,
|
192
|
+
T_CreatePolicyStmt = 175,
|
193
|
+
T_AlterPolicyStmt = 176,
|
194
|
+
T_CreateAmStmt = 177,
|
195
|
+
T_CreateTrigStmt = 178,
|
196
|
+
T_CreateEventTrigStmt = 179,
|
197
|
+
T_AlterEventTrigStmt = 180,
|
198
|
+
T_CreatePLangStmt = 181,
|
199
|
+
T_CreateRoleStmt = 182,
|
200
|
+
T_AlterRoleStmt = 183,
|
201
|
+
T_AlterRoleSetStmt = 184,
|
202
|
+
T_DropRoleStmt = 185,
|
203
|
+
T_CreateSeqStmt = 186,
|
204
|
+
T_AlterSeqStmt = 187,
|
205
|
+
T_DefineStmt = 188,
|
206
|
+
T_CreateDomainStmt = 189,
|
207
|
+
T_CreateOpClassStmt = 190,
|
208
|
+
T_CreateOpClassItem = 191,
|
209
|
+
T_CreateOpFamilyStmt = 192,
|
210
|
+
T_AlterOpFamilyStmt = 193,
|
211
|
+
T_DropStmt = 194,
|
212
|
+
T_TruncateStmt = 195,
|
213
|
+
T_CommentStmt = 196,
|
214
|
+
T_SecLabelStmt = 197,
|
215
|
+
T_DeclareCursorStmt = 198,
|
216
|
+
T_ClosePortalStmt = 199,
|
217
|
+
T_FetchStmt = 200,
|
218
|
+
T_IndexStmt = 201,
|
219
|
+
T_CreateStatsStmt = 202,
|
220
|
+
T_StatsElem = 203,
|
221
|
+
T_AlterStatsStmt = 204,
|
222
|
+
T_CreateFunctionStmt = 205,
|
223
|
+
T_FunctionParameter = 206,
|
224
|
+
T_AlterFunctionStmt = 207,
|
225
|
+
T_DoStmt = 208,
|
226
|
+
T_InlineCodeBlock = 209,
|
227
|
+
T_CallStmt = 210,
|
228
|
+
T_CallContext = 211,
|
229
|
+
T_RenameStmt = 212,
|
230
|
+
T_AlterObjectDependsStmt = 213,
|
231
|
+
T_AlterObjectSchemaStmt = 214,
|
232
|
+
T_AlterOwnerStmt = 215,
|
233
|
+
T_AlterOperatorStmt = 216,
|
234
|
+
T_AlterTypeStmt = 217,
|
235
|
+
T_RuleStmt = 218,
|
236
|
+
T_NotifyStmt = 219,
|
237
|
+
T_ListenStmt = 220,
|
238
|
+
T_UnlistenStmt = 221,
|
239
|
+
T_TransactionStmt = 222,
|
240
|
+
T_CompositeTypeStmt = 223,
|
241
|
+
T_CreateEnumStmt = 224,
|
242
|
+
T_CreateRangeStmt = 225,
|
243
|
+
T_AlterEnumStmt = 226,
|
244
|
+
T_ViewStmt = 227,
|
245
|
+
T_LoadStmt = 228,
|
246
|
+
T_CreatedbStmt = 229,
|
247
|
+
T_AlterDatabaseStmt = 230,
|
248
|
+
T_AlterDatabaseRefreshCollStmt = 231,
|
249
|
+
T_AlterDatabaseSetStmt = 232,
|
250
|
+
T_DropdbStmt = 233,
|
251
|
+
T_AlterSystemStmt = 234,
|
252
|
+
T_ClusterStmt = 235,
|
253
|
+
T_VacuumStmt = 236,
|
254
|
+
T_VacuumRelation = 237,
|
255
|
+
T_ExplainStmt = 238,
|
256
|
+
T_CreateTableAsStmt = 239,
|
257
|
+
T_RefreshMatViewStmt = 240,
|
258
|
+
T_CheckPointStmt = 241,
|
259
|
+
T_DiscardStmt = 242,
|
260
|
+
T_LockStmt = 243,
|
261
|
+
T_ConstraintsSetStmt = 244,
|
262
|
+
T_ReindexStmt = 245,
|
263
|
+
T_CreateConversionStmt = 246,
|
264
|
+
T_CreateCastStmt = 247,
|
265
|
+
T_CreateTransformStmt = 248,
|
266
|
+
T_PrepareStmt = 249,
|
267
|
+
T_ExecuteStmt = 250,
|
268
|
+
T_DeallocateStmt = 251,
|
269
|
+
T_DropOwnedStmt = 252,
|
270
|
+
T_ReassignOwnedStmt = 253,
|
271
|
+
T_AlterTSDictionaryStmt = 254,
|
272
|
+
T_AlterTSConfigurationStmt = 255,
|
273
|
+
T_PublicationTable = 256,
|
274
|
+
T_PublicationObjSpec = 257,
|
275
|
+
T_CreatePublicationStmt = 258,
|
276
|
+
T_AlterPublicationStmt = 259,
|
277
|
+
T_CreateSubscriptionStmt = 260,
|
278
|
+
T_AlterSubscriptionStmt = 261,
|
279
|
+
T_DropSubscriptionStmt = 262,
|
280
|
+
T_PlannerGlobal = 263,
|
281
|
+
T_PlannerInfo = 264,
|
282
|
+
T_RelOptInfo = 265,
|
283
|
+
T_IndexOptInfo = 266,
|
284
|
+
T_ForeignKeyOptInfo = 267,
|
285
|
+
T_StatisticExtInfo = 268,
|
286
|
+
T_JoinDomain = 269,
|
287
|
+
T_EquivalenceClass = 270,
|
288
|
+
T_EquivalenceMember = 271,
|
289
|
+
T_PathKey = 272,
|
290
|
+
T_GroupByOrdering = 273,
|
291
|
+
T_PathTarget = 274,
|
292
|
+
T_ParamPathInfo = 275,
|
293
|
+
T_Path = 276,
|
294
|
+
T_IndexPath = 277,
|
295
|
+
T_IndexClause = 278,
|
296
|
+
T_BitmapHeapPath = 279,
|
297
|
+
T_BitmapAndPath = 280,
|
298
|
+
T_BitmapOrPath = 281,
|
299
|
+
T_TidPath = 282,
|
300
|
+
T_TidRangePath = 283,
|
301
|
+
T_SubqueryScanPath = 284,
|
302
|
+
T_ForeignPath = 285,
|
303
|
+
T_CustomPath = 286,
|
304
|
+
T_AppendPath = 287,
|
305
|
+
T_MergeAppendPath = 288,
|
306
|
+
T_GroupResultPath = 289,
|
307
|
+
T_MaterialPath = 290,
|
308
|
+
T_MemoizePath = 291,
|
309
|
+
T_UniquePath = 292,
|
310
|
+
T_GatherPath = 293,
|
311
|
+
T_GatherMergePath = 294,
|
312
|
+
T_NestPath = 295,
|
313
|
+
T_MergePath = 296,
|
314
|
+
T_HashPath = 297,
|
315
|
+
T_ProjectionPath = 298,
|
316
|
+
T_ProjectSetPath = 299,
|
317
|
+
T_SortPath = 300,
|
318
|
+
T_IncrementalSortPath = 301,
|
319
|
+
T_GroupPath = 302,
|
320
|
+
T_UpperUniquePath = 303,
|
321
|
+
T_AggPath = 304,
|
322
|
+
T_GroupingSetData = 305,
|
323
|
+
T_RollupData = 306,
|
324
|
+
T_GroupingSetsPath = 307,
|
325
|
+
T_MinMaxAggPath = 308,
|
326
|
+
T_WindowAggPath = 309,
|
327
|
+
T_SetOpPath = 310,
|
328
|
+
T_RecursiveUnionPath = 311,
|
329
|
+
T_LockRowsPath = 312,
|
330
|
+
T_ModifyTablePath = 313,
|
331
|
+
T_LimitPath = 314,
|
332
|
+
T_RestrictInfo = 315,
|
333
|
+
T_PlaceHolderVar = 316,
|
334
|
+
T_SpecialJoinInfo = 317,
|
335
|
+
T_OuterJoinClauseInfo = 318,
|
336
|
+
T_AppendRelInfo = 319,
|
337
|
+
T_RowIdentityVarInfo = 320,
|
338
|
+
T_PlaceHolderInfo = 321,
|
339
|
+
T_MinMaxAggInfo = 322,
|
340
|
+
T_PlannerParamItem = 323,
|
341
|
+
T_AggInfo = 324,
|
342
|
+
T_AggTransInfo = 325,
|
343
|
+
T_PlannedStmt = 326,
|
344
|
+
T_Result = 327,
|
345
|
+
T_ProjectSet = 328,
|
346
|
+
T_ModifyTable = 329,
|
347
|
+
T_Append = 330,
|
348
|
+
T_MergeAppend = 331,
|
349
|
+
T_RecursiveUnion = 332,
|
350
|
+
T_BitmapAnd = 333,
|
351
|
+
T_BitmapOr = 334,
|
352
|
+
T_SeqScan = 335,
|
353
|
+
T_SampleScan = 336,
|
354
|
+
T_IndexScan = 337,
|
355
|
+
T_IndexOnlyScan = 338,
|
356
|
+
T_BitmapIndexScan = 339,
|
357
|
+
T_BitmapHeapScan = 340,
|
358
|
+
T_TidScan = 341,
|
359
|
+
T_TidRangeScan = 342,
|
360
|
+
T_SubqueryScan = 343,
|
361
|
+
T_FunctionScan = 344,
|
362
|
+
T_ValuesScan = 345,
|
363
|
+
T_TableFuncScan = 346,
|
364
|
+
T_CteScan = 347,
|
365
|
+
T_NamedTuplestoreScan = 348,
|
366
|
+
T_WorkTableScan = 349,
|
367
|
+
T_ForeignScan = 350,
|
368
|
+
T_CustomScan = 351,
|
369
|
+
T_NestLoop = 352,
|
370
|
+
T_NestLoopParam = 353,
|
371
|
+
T_MergeJoin = 354,
|
372
|
+
T_HashJoin = 355,
|
373
|
+
T_Material = 356,
|
374
|
+
T_Memoize = 357,
|
375
|
+
T_Sort = 358,
|
376
|
+
T_IncrementalSort = 359,
|
377
|
+
T_Group = 360,
|
378
|
+
T_Agg = 361,
|
379
|
+
T_WindowAgg = 362,
|
380
|
+
T_Unique = 363,
|
381
|
+
T_Gather = 364,
|
382
|
+
T_GatherMerge = 365,
|
383
|
+
T_Hash = 366,
|
384
|
+
T_SetOp = 367,
|
385
|
+
T_LockRows = 368,
|
386
|
+
T_Limit = 369,
|
387
|
+
T_PlanRowMark = 370,
|
388
|
+
T_PartitionPruneInfo = 371,
|
389
|
+
T_PartitionedRelPruneInfo = 372,
|
390
|
+
T_PartitionPruneStepOp = 373,
|
391
|
+
T_PartitionPruneStepCombine = 374,
|
392
|
+
T_PlanInvalItem = 375,
|
393
|
+
T_ExprState = 376,
|
394
|
+
T_IndexInfo = 377,
|
395
|
+
T_ExprContext = 378,
|
396
|
+
T_ReturnSetInfo = 379,
|
397
|
+
T_ProjectionInfo = 380,
|
398
|
+
T_JunkFilter = 381,
|
399
|
+
T_OnConflictSetState = 382,
|
400
|
+
T_MergeActionState = 383,
|
401
|
+
T_ResultRelInfo = 384,
|
402
|
+
T_EState = 385,
|
403
|
+
T_WindowFuncExprState = 386,
|
404
|
+
T_SetExprState = 387,
|
405
|
+
T_SubPlanState = 388,
|
406
|
+
T_DomainConstraintState = 389,
|
407
|
+
T_ResultState = 390,
|
408
|
+
T_ProjectSetState = 391,
|
409
|
+
T_ModifyTableState = 392,
|
410
|
+
T_AppendState = 393,
|
411
|
+
T_MergeAppendState = 394,
|
412
|
+
T_RecursiveUnionState = 395,
|
413
|
+
T_BitmapAndState = 396,
|
414
|
+
T_BitmapOrState = 397,
|
415
|
+
T_ScanState = 398,
|
416
|
+
T_SeqScanState = 399,
|
417
|
+
T_SampleScanState = 400,
|
418
|
+
T_IndexScanState = 401,
|
419
|
+
T_IndexOnlyScanState = 402,
|
420
|
+
T_BitmapIndexScanState = 403,
|
421
|
+
T_BitmapHeapScanState = 404,
|
422
|
+
T_TidScanState = 405,
|
423
|
+
T_TidRangeScanState = 406,
|
424
|
+
T_SubqueryScanState = 407,
|
425
|
+
T_FunctionScanState = 408,
|
426
|
+
T_ValuesScanState = 409,
|
427
|
+
T_TableFuncScanState = 410,
|
428
|
+
T_CteScanState = 411,
|
429
|
+
T_NamedTuplestoreScanState = 412,
|
430
|
+
T_WorkTableScanState = 413,
|
431
|
+
T_ForeignScanState = 414,
|
432
|
+
T_CustomScanState = 415,
|
433
|
+
T_JoinState = 416,
|
434
|
+
T_NestLoopState = 417,
|
435
|
+
T_MergeJoinState = 418,
|
436
|
+
T_HashJoinState = 419,
|
437
|
+
T_MaterialState = 420,
|
438
|
+
T_MemoizeState = 421,
|
439
|
+
T_SortState = 422,
|
440
|
+
T_IncrementalSortState = 423,
|
441
|
+
T_GroupState = 424,
|
442
|
+
T_AggState = 425,
|
443
|
+
T_WindowAggState = 426,
|
444
|
+
T_UniqueState = 427,
|
445
|
+
T_GatherState = 428,
|
446
|
+
T_GatherMergeState = 429,
|
447
|
+
T_HashState = 430,
|
448
|
+
T_SetOpState = 431,
|
449
|
+
T_LockRowsState = 432,
|
450
|
+
T_LimitState = 433,
|
451
|
+
T_IndexAmRoutine = 434,
|
452
|
+
T_TableAmRoutine = 435,
|
453
|
+
T_TsmRoutine = 436,
|
454
|
+
T_EventTriggerData = 437,
|
455
|
+
T_TriggerData = 438,
|
456
|
+
T_TupleTableSlot = 439,
|
457
|
+
T_FdwRoutine = 440,
|
458
|
+
T_Bitmapset = 441,
|
459
|
+
T_ExtensibleNode = 442,
|
460
|
+
T_ErrorSaveContext = 443,
|
461
|
+
T_IdentifySystemCmd = 444,
|
462
|
+
T_BaseBackupCmd = 445,
|
463
|
+
T_CreateReplicationSlotCmd = 446,
|
464
|
+
T_DropReplicationSlotCmd = 447,
|
465
|
+
T_AlterReplicationSlotCmd = 448,
|
466
|
+
T_StartReplicationCmd = 449,
|
467
|
+
T_ReadReplicationSlotCmd = 450,
|
468
|
+
T_TimeLineHistoryCmd = 451,
|
469
|
+
T_UploadManifestCmd = 452,
|
470
|
+
T_SupportRequestSimplify = 453,
|
471
|
+
T_SupportRequestSelectivity = 454,
|
472
|
+
T_SupportRequestCost = 455,
|
473
|
+
T_SupportRequestRows = 456,
|
474
|
+
T_SupportRequestIndexCondition = 457,
|
475
|
+
T_SupportRequestWFuncMonotonic = 458,
|
476
|
+
T_SupportRequestOptimizeWindowClause = 459,
|
477
|
+
T_Integer = 460,
|
478
|
+
T_Float = 461,
|
479
|
+
T_Boolean = 462,
|
480
|
+
T_String = 463,
|
481
|
+
T_BitString = 464,
|
482
|
+
T_ForeignKeyCacheInfo = 465,
|
483
|
+
T_IntList = 466,
|
484
|
+
T_OidList = 467,
|
485
|
+
T_XidList = 468,
|
486
|
+
T_AllocSetContext = 469,
|
487
|
+
T_GenerationContext = 470,
|
488
|
+
T_SlabContext = 471,
|
489
|
+
T_BumpContext = 472,
|
490
|
+
T_TIDBitmap = 473,
|
491
|
+
T_WindowObjectData = 474,
|