pg_query 4.2.1 → 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/README.md +7 -9
- data/Rakefile +5 -6
- data/ext/pg_query/ext_symbols_freebsd.sym +1 -0
- data/ext/pg_query/ext_symbols_freebsd_with_ruby_abi_version.sym +2 -0
- data/ext/pg_query/ext_symbols_openbsd.sym +1 -0
- data/ext/pg_query/ext_symbols_openbsd_with_ruby_abi_version.sym +2 -0
- data/ext/pg_query/ext_symbols_with_ruby_abi_version.sym +2 -0
- data/ext/pg_query/extconf.rb +33 -9
- data/ext/pg_query/include/pg_query.h +28 -3
- data/ext/pg_query/include/pg_query_enum_defs.c +599 -167
- data/ext/pg_query/include/pg_query_fingerprint_conds.c +640 -520
- data/ext/pg_query/include/pg_query_fingerprint_defs.c +6400 -4633
- data/ext/pg_query/include/pg_query_outfuncs_conds.c +433 -343
- data/ext/pg_query/include/pg_query_outfuncs_defs.c +1472 -1152
- data/ext/pg_query/include/pg_query_readfuncs_conds.c +154 -124
- data/ext/pg_query/include/pg_query_readfuncs_defs.c +1886 -1506
- data/ext/pg_query/include/postgres/access/amapi.h +303 -0
- data/ext/pg_query/include/postgres/access/attmap.h +54 -0
- data/ext/pg_query/include/postgres/access/attnum.h +64 -0
- 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 +62 -0
- data/ext/pg_query/include/postgres/access/commit_ts.h +73 -0
- data/ext/pg_query/include/postgres/access/detoast.h +82 -0
- data/ext/pg_query/include/postgres/access/genam.h +246 -0
- data/ext/pg_query/include/postgres/access/gin.h +91 -0
- data/ext/pg_query/include/postgres/access/htup.h +89 -0
- data/ext/pg_query/include/postgres/access/htup_details.h +811 -0
- data/ext/pg_query/include/postgres/access/itup.h +170 -0
- data/ext/pg_query/include/postgres/access/parallel.h +81 -0
- data/ext/pg_query/include/postgres/access/printtup.h +35 -0
- data/ext/pg_query/include/postgres/access/relation.h +28 -0
- data/ext/pg_query/include/postgres/access/relscan.h +191 -0
- data/ext/pg_query/include/postgres/access/rmgrlist.h +49 -0
- data/ext/pg_query/include/postgres/access/sdir.h +67 -0
- data/ext/pg_query/include/postgres/access/skey.h +151 -0
- data/ext/pg_query/include/postgres/access/slru.h +218 -0
- data/ext/pg_query/include/postgres/access/stratnum.h +85 -0
- data/ext/pg_query/include/postgres/access/sysattr.h +29 -0
- data/ext/pg_query/include/postgres/access/table.h +28 -0
- data/ext/pg_query/include/postgres/access/tableam.h +2110 -0
- data/ext/pg_query/include/postgres/access/tidstore.h +50 -0
- data/ext/pg_query/include/postgres/access/toast_compression.h +73 -0
- data/ext/pg_query/include/postgres/access/transam.h +418 -0
- data/ext/pg_query/include/postgres/access/tsmapi.h +82 -0
- data/ext/pg_query/include/postgres/access/tupconvert.h +54 -0
- data/ext/pg_query/include/postgres/access/tupdesc.h +154 -0
- data/ext/pg_query/include/postgres/access/tupmacs.h +207 -0
- data/ext/pg_query/include/postgres/access/twophase.h +65 -0
- data/ext/pg_query/include/postgres/access/xact.h +530 -0
- data/ext/pg_query/include/postgres/access/xlog.h +310 -0
- data/ext/pg_query/include/postgres/access/xlog_internal.h +405 -0
- data/ext/pg_query/include/postgres/access/xlogbackup.h +43 -0
- data/ext/pg_query/include/postgres/access/xlogdefs.h +82 -0
- data/ext/pg_query/include/postgres/access/xlogprefetcher.h +55 -0
- data/ext/pg_query/include/postgres/access/xlogreader.h +444 -0
- data/ext/pg_query/include/postgres/access/xlogrecord.h +248 -0
- data/ext/pg_query/include/postgres/access/xlogrecovery.h +158 -0
- data/ext/pg_query/include/postgres/archive/archive_module.h +67 -0
- data/ext/pg_query/include/postgres/c.h +1374 -0
- data/ext/pg_query/include/postgres/catalog/catalog.h +47 -0
- data/ext/pg_query/include/postgres/catalog/catversion.h +62 -0
- data/ext/pg_query/include/postgres/catalog/dependency.h +228 -0
- data/ext/pg_query/include/postgres/catalog/genbki.h +149 -0
- data/ext/pg_query/include/postgres/catalog/index.h +218 -0
- data/ext/pg_query/include/postgres/catalog/indexing.h +54 -0
- data/ext/pg_query/include/postgres/catalog/namespace.h +189 -0
- data/ext/pg_query/include/postgres/catalog/objectaccess.h +267 -0
- data/ext/pg_query/include/postgres/catalog/objectaddress.h +93 -0
- data/ext/pg_query/include/postgres/catalog/pg_aggregate.h +182 -0
- data/ext/pg_query/include/postgres/catalog/pg_aggregate_d.h +78 -0
- data/ext/pg_query/include/postgres/catalog/pg_am.h +66 -0
- data/ext/pg_query/include/postgres/catalog/pg_am_d.h +47 -0
- data/ext/pg_query/include/postgres/catalog/pg_attribute.h +240 -0
- data/ext/pg_query/include/postgres/catalog/pg_attribute_d.h +62 -0
- data/ext/pg_query/include/postgres/catalog/pg_authid.h +66 -0
- data/ext/pg_query/include/postgres/catalog/pg_authid_d.h +60 -0
- data/ext/pg_query/include/postgres/catalog/pg_class.h +235 -0
- data/ext/pg_query/include/postgres/catalog/pg_class_d.h +134 -0
- data/ext/pg_query/include/postgres/catalog/pg_collation.h +106 -0
- data/ext/pg_query/include/postgres/catalog/pg_collation_d.h +66 -0
- data/ext/pg_query/include/postgres/catalog/pg_constraint.h +278 -0
- data/ext/pg_query/include/postgres/catalog/pg_constraint_d.h +74 -0
- data/ext/pg_query/include/postgres/catalog/pg_control.h +260 -0
- data/ext/pg_query/include/postgres/catalog/pg_conversion.h +79 -0
- data/ext/pg_query/include/postgres/catalog/pg_conversion_d.h +38 -0
- data/ext/pg_query/include/postgres/catalog/pg_database.h +129 -0
- data/ext/pg_query/include/postgres/catalog/pg_database_d.h +53 -0
- data/ext/pg_query/include/postgres/catalog/pg_depend.h +77 -0
- data/ext/pg_query/include/postgres/catalog/pg_depend_d.h +36 -0
- data/ext/pg_query/include/postgres/catalog/pg_event_trigger.h +60 -0
- data/ext/pg_query/include/postgres/catalog/pg_event_trigger_d.h +36 -0
- data/ext/pg_query/include/postgres/catalog/pg_index.h +92 -0
- data/ext/pg_query/include/postgres/catalog/pg_index_d.h +59 -0
- data/ext/pg_query/include/postgres/catalog/pg_language.h +75 -0
- data/ext/pg_query/include/postgres/catalog/pg_language_d.h +41 -0
- data/ext/pg_query/include/postgres/catalog/pg_namespace.h +67 -0
- data/ext/pg_query/include/postgres/catalog/pg_namespace_d.h +36 -0
- data/ext/pg_query/include/postgres/catalog/pg_opclass.h +91 -0
- data/ext/pg_query/include/postgres/catalog/pg_opclass_d.h +51 -0
- data/ext/pg_query/include/postgres/catalog/pg_operator.h +124 -0
- data/ext/pg_query/include/postgres/catalog/pg_operator_d.h +142 -0
- data/ext/pg_query/include/postgres/catalog/pg_opfamily.h +67 -0
- data/ext/pg_query/include/postgres/catalog/pg_opfamily_d.h +51 -0
- data/ext/pg_query/include/postgres/catalog/pg_partitioned_table.h +76 -0
- data/ext/pg_query/include/postgres/catalog/pg_partitioned_table_d.h +36 -0
- data/ext/pg_query/include/postgres/catalog/pg_proc.h +223 -0
- data/ext/pg_query/include/postgres/catalog/pg_proc_d.h +101 -0
- data/ext/pg_query/include/postgres/catalog/pg_publication.h +161 -0
- data/ext/pg_query/include/postgres/catalog/pg_publication_d.h +38 -0
- data/ext/pg_query/include/postgres/catalog/pg_replication_origin.h +65 -0
- data/ext/pg_query/include/postgres/catalog/pg_replication_origin_d.h +33 -0
- data/ext/pg_query/include/postgres/catalog/pg_statistic.h +288 -0
- data/ext/pg_query/include/postgres/catalog/pg_statistic_d.h +199 -0
- data/ext/pg_query/include/postgres/catalog/pg_statistic_ext.h +91 -0
- data/ext/pg_query/include/postgres/catalog/pg_statistic_ext_d.h +45 -0
- data/ext/pg_query/include/postgres/catalog/pg_transform.h +51 -0
- data/ext/pg_query/include/postgres/catalog/pg_transform_d.h +34 -0
- data/ext/pg_query/include/postgres/catalog/pg_trigger.h +153 -0
- data/ext/pg_query/include/postgres/catalog/pg_trigger_d.h +109 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_config.h +56 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_config_d.h +34 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_dict.h +62 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_dict_d.h +35 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_parser.h +63 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_parser_d.h +37 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_template.h +54 -0
- data/ext/pg_query/include/postgres/catalog/pg_ts_template_d.h +34 -0
- data/ext/pg_query/include/postgres/catalog/pg_type.h +407 -0
- data/ext/pg_query/include/postgres/catalog/pg_type_d.h +324 -0
- data/ext/pg_query/include/postgres/catalog/storage.h +50 -0
- data/ext/pg_query/include/postgres/catalog/syscache_ids.h +104 -0
- data/ext/pg_query/include/postgres/commands/async.h +49 -0
- data/ext/pg_query/include/postgres/commands/dbcommands.h +37 -0
- data/ext/pg_query/include/postgres/commands/defrem.h +161 -0
- data/ext/pg_query/include/postgres/commands/event_trigger.h +97 -0
- data/ext/pg_query/include/postgres/commands/explain.h +145 -0
- data/ext/pg_query/include/postgres/commands/prepare.h +61 -0
- data/ext/pg_query/include/postgres/commands/tablespace.h +69 -0
- data/ext/pg_query/include/postgres/commands/trigger.h +288 -0
- data/ext/pg_query/include/postgres/commands/user.h +43 -0
- data/ext/pg_query/include/postgres/commands/vacuum.h +388 -0
- data/ext/pg_query/include/postgres/common/cryptohash.h +39 -0
- data/ext/pg_query/include/postgres/common/file_perm.h +56 -0
- data/ext/pg_query/include/postgres/common/file_utils.h +65 -0
- data/ext/pg_query/include/postgres/common/hashfn.h +119 -0
- data/ext/pg_query/include/postgres/common/hashfn_unstable.h +407 -0
- data/ext/pg_query/include/postgres/common/int.h +512 -0
- data/ext/pg_query/include/postgres/common/keywords.h +29 -0
- data/ext/pg_query/include/postgres/common/kwlookup.h +44 -0
- data/ext/pg_query/include/postgres/common/pg_prng.h +62 -0
- data/ext/pg_query/include/postgres/common/relpath.h +97 -0
- data/ext/pg_query/include/postgres/common/scram-common.h +70 -0
- data/ext/pg_query/include/postgres/common/sha2.h +32 -0
- data/ext/pg_query/include/postgres/common/string.h +44 -0
- data/ext/pg_query/include/postgres/common/unicode_east_asian_fw_table.h +124 -0
- data/ext/pg_query/include/postgres/common/unicode_nonspacing_table.h +326 -0
- data/ext/pg_query/include/postgres/copyfuncs.funcs.c +5261 -0
- data/ext/pg_query/include/postgres/copyfuncs.switch.c +989 -0
- data/ext/pg_query/include/postgres/datatype/timestamp.h +269 -0
- data/ext/pg_query/include/postgres/equalfuncs.funcs.c +3310 -0
- data/ext/pg_query/include/postgres/equalfuncs.switch.c +836 -0
- data/ext/pg_query/include/postgres/executor/execdesc.h +70 -0
- data/ext/pg_query/include/postgres/executor/executor.h +681 -0
- data/ext/pg_query/include/postgres/executor/functions.h +56 -0
- data/ext/pg_query/include/postgres/executor/instrument.h +120 -0
- data/ext/pg_query/include/postgres/executor/spi.h +207 -0
- data/ext/pg_query/include/postgres/executor/tablefunc.h +67 -0
- data/ext/pg_query/include/postgres/executor/tuptable.h +523 -0
- data/ext/pg_query/include/postgres/fmgr.h +800 -0
- data/ext/pg_query/include/postgres/foreign/fdwapi.h +294 -0
- data/ext/pg_query/include/postgres/funcapi.h +360 -0
- data/ext/pg_query/include/postgres/gram.h +1168 -0
- data/ext/pg_query/include/postgres/gramparse.h +75 -0
- data/ext/pg_query/include/postgres/jit/jit.h +106 -0
- data/ext/pg_query/include/postgres/kwlist_d.h +1164 -0
- data/ext/pg_query/include/postgres/lib/dshash.h +130 -0
- data/ext/pg_query/include/postgres/lib/ilist.h +1159 -0
- data/ext/pg_query/include/postgres/lib/pairingheap.h +102 -0
- data/ext/pg_query/include/postgres/lib/simplehash.h +1206 -0
- data/ext/pg_query/include/postgres/lib/sort_template.h +445 -0
- data/ext/pg_query/include/postgres/lib/stringinfo.h +243 -0
- data/ext/pg_query/include/postgres/libpq/auth.h +37 -0
- data/ext/pg_query/include/postgres/libpq/crypt.h +47 -0
- data/ext/pg_query/include/postgres/libpq/hba.h +186 -0
- data/ext/pg_query/include/postgres/libpq/libpq-be.h +361 -0
- data/ext/pg_query/include/postgres/libpq/libpq.h +143 -0
- data/ext/pg_query/include/postgres/libpq/pqcomm.h +169 -0
- data/ext/pg_query/include/postgres/libpq/pqformat.h +209 -0
- data/ext/pg_query/include/postgres/libpq/pqsignal.h +54 -0
- data/ext/pg_query/include/postgres/libpq/protocol.h +89 -0
- data/ext/pg_query/include/postgres/libpq/sasl.h +136 -0
- data/ext/pg_query/include/postgres/libpq/scram.h +37 -0
- data/ext/pg_query/include/postgres/mb/pg_wchar.h +793 -0
- data/ext/pg_query/include/postgres/mb/stringinfo_mb.h +24 -0
- data/ext/pg_query/include/postgres/miscadmin.h +527 -0
- data/ext/pg_query/include/postgres/nodes/bitmapset.h +140 -0
- data/ext/pg_query/include/postgres/nodes/execnodes.h +2855 -0
- data/ext/pg_query/include/postgres/nodes/extensible.h +164 -0
- data/ext/pg_query/include/postgres/nodes/lockoptions.h +61 -0
- data/ext/pg_query/include/postgres/nodes/makefuncs.h +127 -0
- data/ext/pg_query/include/postgres/nodes/memnodes.h +152 -0
- data/ext/pg_query/include/postgres/nodes/miscnodes.h +56 -0
- data/ext/pg_query/include/postgres/nodes/nodeFuncs.h +222 -0
- data/ext/pg_query/include/postgres/nodes/nodes.h +435 -0
- data/ext/pg_query/include/postgres/nodes/nodetags.h +491 -0
- data/ext/pg_query/include/postgres/nodes/params.h +170 -0
- data/ext/pg_query/include/postgres/nodes/parsenodes.h +4233 -0
- data/ext/pg_query/include/postgres/nodes/pathnodes.h +3438 -0
- data/ext/pg_query/include/postgres/nodes/pg_list.h +686 -0
- data/ext/pg_query/include/postgres/nodes/plannodes.h +1593 -0
- data/ext/pg_query/include/postgres/nodes/primnodes.h +2339 -0
- data/ext/pg_query/include/postgres/nodes/print.h +34 -0
- data/ext/pg_query/include/postgres/nodes/queryjumble.h +86 -0
- data/ext/pg_query/include/postgres/nodes/replnodes.h +132 -0
- data/ext/pg_query/include/postgres/nodes/supportnodes.h +346 -0
- data/ext/pg_query/include/postgres/nodes/tidbitmap.h +75 -0
- data/ext/pg_query/include/postgres/nodes/value.h +90 -0
- data/ext/pg_query/include/postgres/optimizer/cost.h +216 -0
- data/ext/pg_query/include/postgres/optimizer/geqo.h +90 -0
- data/ext/pg_query/include/postgres/optimizer/geqo_gene.h +45 -0
- data/ext/pg_query/include/postgres/optimizer/optimizer.h +205 -0
- data/ext/pg_query/include/postgres/optimizer/paths.h +271 -0
- data/ext/pg_query/include/postgres/optimizer/planmain.h +123 -0
- data/ext/pg_query/include/postgres/parser/analyze.h +66 -0
- data/ext/pg_query/include/postgres/parser/kwlist.h +518 -0
- data/ext/pg_query/include/postgres/parser/parse_agg.h +65 -0
- data/ext/pg_query/include/postgres/parser/parse_coerce.h +105 -0
- data/ext/pg_query/include/postgres/parser/parse_expr.h +25 -0
- data/ext/pg_query/include/postgres/parser/parse_func.h +74 -0
- data/ext/pg_query/include/postgres/parser/parse_node.h +358 -0
- data/ext/pg_query/include/postgres/parser/parse_oper.h +68 -0
- data/ext/pg_query/include/postgres/parser/parse_relation.h +129 -0
- data/ext/pg_query/include/postgres/parser/parse_type.h +61 -0
- data/ext/pg_query/include/postgres/parser/parser.h +68 -0
- data/ext/pg_query/include/postgres/parser/parsetree.h +61 -0
- data/ext/pg_query/include/postgres/parser/scanner.h +152 -0
- data/ext/pg_query/include/postgres/parser/scansup.h +27 -0
- data/ext/pg_query/include/postgres/partitioning/partdefs.h +26 -0
- data/ext/pg_query/include/postgres/pg_config.h +985 -0
- data/ext/pg_query/include/postgres/pg_config_manual.h +385 -0
- data/ext/pg_query/include/postgres/pg_config_os.h +8 -0
- data/ext/pg_query/include/postgres/pg_getopt.h +56 -0
- data/ext/pg_query/include/postgres/pg_trace.h +17 -0
- data/ext/pg_query/include/postgres/pgstat.h +780 -0
- data/ext/pg_query/include/postgres/pgtime.h +94 -0
- data/ext/pg_query/include/postgres/pl_gram.h +385 -0
- data/ext/pg_query/include/postgres/pl_reserved_kwlist.h +52 -0
- data/ext/pg_query/include/postgres/pl_reserved_kwlist_d.h +114 -0
- data/ext/pg_query/include/postgres/pl_unreserved_kwlist.h +112 -0
- data/ext/pg_query/include/postgres/pl_unreserved_kwlist_d.h +246 -0
- data/ext/pg_query/include/postgres/plerrcodes.h +998 -0
- data/ext/pg_query/include/postgres/plpgsql.h +1342 -0
- data/ext/pg_query/include/postgres/port/atomics/arch-arm.h +32 -0
- data/ext/pg_query/include/postgres/port/atomics/arch-hppa.h +17 -0
- data/ext/pg_query/include/postgres/port/atomics/arch-ppc.h +256 -0
- data/ext/pg_query/include/postgres/port/atomics/arch-x86.h +254 -0
- data/ext/pg_query/include/postgres/port/atomics/fallback.h +170 -0
- data/ext/pg_query/include/postgres/port/atomics/generic-gcc.h +323 -0
- data/ext/pg_query/include/postgres/port/atomics/generic-msvc.h +119 -0
- data/ext/pg_query/include/postgres/port/atomics/generic-sunpro.h +121 -0
- data/ext/pg_query/include/postgres/port/atomics/generic.h +437 -0
- data/ext/pg_query/include/postgres/port/atomics.h +606 -0
- data/ext/pg_query/include/postgres/port/pg_bitutils.h +421 -0
- data/ext/pg_query/include/postgres/port/pg_bswap.h +161 -0
- data/ext/pg_query/include/postgres/port/pg_crc32c.h +110 -0
- data/ext/pg_query/include/postgres/port/pg_iovec.h +117 -0
- data/ext/pg_query/include/postgres/port/simd.h +422 -0
- data/ext/pg_query/include/postgres/port/win32/arpa/inet.h +3 -0
- data/ext/pg_query/include/postgres/port/win32/dlfcn.h +1 -0
- data/ext/pg_query/include/postgres/port/win32/grp.h +1 -0
- data/ext/pg_query/include/postgres/port/win32/netdb.h +7 -0
- data/ext/pg_query/include/postgres/port/win32/netinet/in.h +3 -0
- data/ext/pg_query/include/postgres/port/win32/netinet/tcp.h +7 -0
- data/ext/pg_query/include/postgres/port/win32/pwd.h +3 -0
- data/ext/pg_query/include/postgres/port/win32/sys/resource.h +20 -0
- data/ext/pg_query/include/postgres/port/win32/sys/select.h +3 -0
- data/ext/pg_query/include/postgres/port/win32/sys/socket.h +34 -0
- data/ext/pg_query/include/postgres/port/win32/sys/un.h +17 -0
- data/ext/pg_query/include/postgres/port/win32/sys/wait.h +3 -0
- data/ext/pg_query/include/postgres/port/win32.h +59 -0
- data/ext/pg_query/include/postgres/port/win32_msvc/dirent.h +34 -0
- data/ext/pg_query/include/postgres/port/win32_msvc/sys/file.h +1 -0
- data/ext/pg_query/include/postgres/port/win32_msvc/sys/param.h +1 -0
- data/ext/pg_query/include/postgres/port/win32_msvc/sys/time.h +1 -0
- data/ext/pg_query/include/postgres/port/win32_msvc/unistd.h +9 -0
- data/ext/pg_query/include/postgres/port/win32_msvc/utime.h +3 -0
- data/ext/pg_query/include/postgres/port/win32_port.h +582 -0
- data/ext/pg_query/include/postgres/port.h +555 -0
- data/ext/pg_query/include/postgres/portability/instr_time.h +197 -0
- data/ext/pg_query/include/postgres/postgres.h +579 -0
- data/ext/pg_query/include/postgres/postgres_ext.h +73 -0
- data/ext/pg_query/include/postgres/postmaster/autovacuum.h +69 -0
- data/ext/pg_query/include/postgres/postmaster/bgworker.h +164 -0
- data/ext/pg_query/include/postgres/postmaster/bgworker_internals.h +60 -0
- data/ext/pg_query/include/postgres/postmaster/bgwriter.h +45 -0
- data/ext/pg_query/include/postgres/postmaster/interrupt.h +32 -0
- data/ext/pg_query/include/postgres/postmaster/pgarch.h +36 -0
- data/ext/pg_query/include/postgres/postmaster/postmaster.h +101 -0
- data/ext/pg_query/include/postgres/postmaster/startup.h +41 -0
- data/ext/pg_query/include/postgres/postmaster/syslogger.h +101 -0
- data/ext/pg_query/include/postgres/postmaster/walsummarizer.h +35 -0
- data/ext/pg_query/include/postgres/postmaster/walwriter.h +23 -0
- data/ext/pg_query/include/postgres/regex/regex.h +272 -0
- data/ext/pg_query/include/postgres/replication/logicallauncher.h +34 -0
- data/ext/pg_query/include/postgres/replication/logicalproto.h +274 -0
- data/ext/pg_query/include/postgres/replication/logicalworker.h +33 -0
- data/ext/pg_query/include/postgres/replication/origin.h +73 -0
- data/ext/pg_query/include/postgres/replication/reorderbuffer.h +734 -0
- data/ext/pg_query/include/postgres/replication/slot.h +289 -0
- data/ext/pg_query/include/postgres/replication/slotsync.h +38 -0
- data/ext/pg_query/include/postgres/replication/syncrep.h +109 -0
- data/ext/pg_query/include/postgres/replication/walreceiver.h +504 -0
- data/ext/pg_query/include/postgres/replication/walsender.h +76 -0
- data/ext/pg_query/include/postgres/rewrite/prs2lock.h +46 -0
- data/ext/pg_query/include/postgres/rewrite/rewriteHandler.h +41 -0
- data/ext/pg_query/include/postgres/rewrite/rewriteManip.h +96 -0
- data/ext/pg_query/include/postgres/rewrite/rewriteSupport.h +26 -0
- data/ext/pg_query/include/postgres/storage/block.h +108 -0
- data/ext/pg_query/include/postgres/storage/buf.h +46 -0
- data/ext/pg_query/include/postgres/storage/bufmgr.h +411 -0
- data/ext/pg_query/include/postgres/storage/bufpage.h +510 -0
- data/ext/pg_query/include/postgres/storage/condition_variable.h +73 -0
- data/ext/pg_query/include/postgres/storage/dsm.h +61 -0
- data/ext/pg_query/include/postgres/storage/dsm_impl.h +79 -0
- data/ext/pg_query/include/postgres/storage/fd.h +219 -0
- data/ext/pg_query/include/postgres/storage/fileset.h +40 -0
- data/ext/pg_query/include/postgres/storage/ipc.h +87 -0
- data/ext/pg_query/include/postgres/storage/item.h +19 -0
- data/ext/pg_query/include/postgres/storage/itemid.h +184 -0
- data/ext/pg_query/include/postgres/storage/itemptr.h +245 -0
- data/ext/pg_query/include/postgres/storage/large_object.h +100 -0
- data/ext/pg_query/include/postgres/storage/latch.h +196 -0
- data/ext/pg_query/include/postgres/storage/lmgr.h +126 -0
- data/ext/pg_query/include/postgres/storage/lock.h +624 -0
- data/ext/pg_query/include/postgres/storage/lockdefs.h +61 -0
- data/ext/pg_query/include/postgres/storage/lwlock.h +228 -0
- data/ext/pg_query/include/postgres/storage/lwlocknames.h +47 -0
- data/ext/pg_query/include/postgres/storage/off.h +57 -0
- data/ext/pg_query/include/postgres/storage/pg_sema.h +61 -0
- data/ext/pg_query/include/postgres/storage/pg_shmem.h +93 -0
- data/ext/pg_query/include/postgres/storage/pmsignal.h +105 -0
- data/ext/pg_query/include/postgres/storage/predicate.h +83 -0
- data/ext/pg_query/include/postgres/storage/proc.h +488 -0
- data/ext/pg_query/include/postgres/storage/procarray.h +103 -0
- data/ext/pg_query/include/postgres/storage/proclist_types.h +53 -0
- data/ext/pg_query/include/postgres/storage/procnumber.h +43 -0
- data/ext/pg_query/include/postgres/storage/procsignal.h +75 -0
- data/ext/pg_query/include/postgres/storage/read_stream.h +65 -0
- data/ext/pg_query/include/postgres/storage/relfilelocator.h +100 -0
- data/ext/pg_query/include/postgres/storage/s_lock.h +847 -0
- data/ext/pg_query/include/postgres/storage/sharedfileset.h +37 -0
- data/ext/pg_query/include/postgres/storage/shm_mq.h +86 -0
- data/ext/pg_query/include/postgres/storage/shm_toc.h +58 -0
- data/ext/pg_query/include/postgres/storage/shmem.h +59 -0
- data/ext/pg_query/include/postgres/storage/sinval.h +153 -0
- data/ext/pg_query/include/postgres/storage/smgr.h +130 -0
- data/ext/pg_query/include/postgres/storage/spin.h +77 -0
- data/ext/pg_query/include/postgres/storage/standby.h +109 -0
- data/ext/pg_query/include/postgres/storage/standbydefs.h +74 -0
- data/ext/pg_query/include/postgres/storage/sync.h +66 -0
- data/ext/pg_query/include/postgres/tcop/cmdtag.h +62 -0
- data/ext/pg_query/include/postgres/tcop/cmdtaglist.h +219 -0
- data/ext/pg_query/include/postgres/tcop/deparse_utility.h +108 -0
- data/ext/pg_query/include/postgres/tcop/dest.h +148 -0
- data/ext/pg_query/include/postgres/tcop/fastpath.h +20 -0
- data/ext/pg_query/include/postgres/tcop/pquery.h +51 -0
- data/ext/pg_query/include/postgres/tcop/tcopprot.h +98 -0
- data/ext/pg_query/include/postgres/tcop/utility.h +112 -0
- data/ext/pg_query/include/postgres/tsearch/ts_cache.h +96 -0
- data/ext/pg_query/include/postgres/utils/acl.h +290 -0
- data/ext/pg_query/include/postgres/utils/aclchk_internal.h +45 -0
- data/ext/pg_query/include/postgres/utils/array.h +481 -0
- data/ext/pg_query/include/postgres/utils/ascii.h +84 -0
- data/ext/pg_query/include/postgres/utils/backend_progress.h +46 -0
- data/ext/pg_query/include/postgres/utils/backend_status.h +340 -0
- data/ext/pg_query/include/postgres/utils/builtins.h +139 -0
- data/ext/pg_query/include/postgres/utils/bytea.h +28 -0
- data/ext/pg_query/include/postgres/utils/catcache.h +231 -0
- data/ext/pg_query/include/postgres/utils/date.h +118 -0
- data/ext/pg_query/include/postgres/utils/datetime.h +367 -0
- data/ext/pg_query/include/postgres/utils/datum.h +76 -0
- data/ext/pg_query/include/postgres/utils/dsa.h +166 -0
- data/ext/pg_query/include/postgres/utils/elog.h +540 -0
- data/ext/pg_query/include/postgres/utils/errcodes.h +352 -0
- data/ext/pg_query/include/postgres/utils/expandeddatum.h +170 -0
- data/ext/pg_query/include/postgres/utils/expandedrecord.h +241 -0
- data/ext/pg_query/include/postgres/utils/float.h +357 -0
- data/ext/pg_query/include/postgres/utils/fmgroids.h +3347 -0
- data/ext/pg_query/include/postgres/utils/fmgrprotos.h +2904 -0
- data/ext/pg_query/include/postgres/utils/fmgrtab.h +49 -0
- data/ext/pg_query/include/postgres/utils/guc.h +456 -0
- data/ext/pg_query/include/postgres/utils/guc_hooks.h +184 -0
- data/ext/pg_query/include/postgres/utils/guc_tables.h +323 -0
- data/ext/pg_query/include/postgres/utils/hsearch.h +153 -0
- data/ext/pg_query/include/postgres/utils/injection_point.h +44 -0
- data/ext/pg_query/include/postgres/utils/inval.h +68 -0
- data/ext/pg_query/include/postgres/utils/logtape.h +77 -0
- data/ext/pg_query/include/postgres/utils/lsyscache.h +215 -0
- data/ext/pg_query/include/postgres/utils/memdebug.h +82 -0
- data/ext/pg_query/include/postgres/utils/memutils.h +193 -0
- data/ext/pg_query/include/postgres/utils/memutils_internal.h +176 -0
- data/ext/pg_query/include/postgres/utils/memutils_memorychunk.h +253 -0
- data/ext/pg_query/include/postgres/utils/numeric.h +110 -0
- data/ext/pg_query/include/postgres/utils/palloc.h +151 -0
- data/ext/pg_query/include/postgres/utils/partcache.h +103 -0
- data/ext/pg_query/include/postgres/utils/pg_locale.h +136 -0
- data/ext/pg_query/include/postgres/utils/pgstat_internal.h +827 -0
- data/ext/pg_query/include/postgres/utils/plancache.h +238 -0
- data/ext/pg_query/include/postgres/utils/portal.h +252 -0
- data/ext/pg_query/include/postgres/utils/probes.h +114 -0
- data/ext/pg_query/include/postgres/utils/ps_status.h +47 -0
- data/ext/pg_query/include/postgres/utils/queryenvironment.h +74 -0
- data/ext/pg_query/include/postgres/utils/regproc.h +39 -0
- data/ext/pg_query/include/postgres/utils/rel.h +711 -0
- data/ext/pg_query/include/postgres/utils/relcache.h +155 -0
- data/ext/pg_query/include/postgres/utils/reltrigger.h +81 -0
- data/ext/pg_query/include/postgres/utils/resowner.h +167 -0
- data/ext/pg_query/include/postgres/utils/ruleutils.h +52 -0
- data/ext/pg_query/include/postgres/utils/sharedtuplestore.h +61 -0
- data/ext/pg_query/include/postgres/utils/snapmgr.h +130 -0
- data/ext/pg_query/include/postgres/utils/snapshot.h +219 -0
- data/ext/pg_query/include/postgres/utils/sortsupport.h +391 -0
- data/ext/pg_query/include/postgres/utils/syscache.h +136 -0
- data/ext/pg_query/include/postgres/utils/timeout.h +96 -0
- data/ext/pg_query/include/postgres/utils/timestamp.h +147 -0
- data/ext/pg_query/include/postgres/utils/tuplesort.h +472 -0
- data/ext/pg_query/include/postgres/utils/tuplestore.h +88 -0
- data/ext/pg_query/include/postgres/utils/typcache.h +210 -0
- data/ext/pg_query/include/postgres/utils/varlena.h +53 -0
- data/ext/pg_query/include/postgres/utils/wait_event.h +108 -0
- data/ext/pg_query/include/postgres/utils/wait_event_types.h +218 -0
- data/ext/pg_query/include/postgres/utils/xml.h +94 -0
- data/ext/pg_query/include/postgres/varatt.h +358 -0
- data/ext/pg_query/include/protobuf/pg_query.pb-c.h +7723 -6368
- data/ext/pg_query/include/protobuf/pg_query.pb.h +120022 -87031
- data/ext/pg_query/pg_query.c +10 -1
- data/ext/pg_query/pg_query.pb-c.c +22595 -17738
- data/ext/pg_query/pg_query_deparse.c +1 -10635
- data/ext/pg_query/pg_query_fingerprint.c +12 -8
- data/ext/pg_query/pg_query_fingerprint.h +1 -1
- data/ext/pg_query/pg_query_internal.h +1 -1
- data/ext/pg_query/pg_query_json_plpgsql.c +1 -0
- data/ext/pg_query/pg_query_normalize.c +43 -2
- data/ext/pg_query/pg_query_outfuncs_json.c +9 -1
- data/ext/pg_query/pg_query_outfuncs_protobuf.c +3 -2
- data/ext/pg_query/pg_query_parse.c +47 -5
- data/ext/pg_query/pg_query_parse_plpgsql.c +19 -18
- data/ext/pg_query/pg_query_readfuncs_protobuf.c +3 -2
- data/ext/pg_query/pg_query_ruby.c +5 -0
- data/ext/pg_query/pg_query_scan.c +2 -2
- data/ext/pg_query/pg_query_split.c +3 -3
- data/ext/pg_query/postgres_deparse.c +11496 -0
- data/ext/pg_query/postgres_deparse.h +9 -0
- data/ext/pg_query/src_backend_catalog_namespace.c +243 -63
- 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 +140 -156
- data/ext/pg_query/src_backend_nodes_copyfuncs.c +96 -6202
- data/ext/pg_query/src_backend_nodes_equalfuncs.c +95 -4068
- data/ext/pg_query/src_backend_nodes_extensible.c +6 -29
- data/ext/pg_query/src_backend_nodes_list.c +16 -8
- data/ext/pg_query/src_backend_nodes_makefuncs.c +134 -1
- data/ext/pg_query/src_backend_nodes_nodeFuncs.c +391 -133
- data/ext/pg_query/src_backend_nodes_value.c +1 -1
- data/ext/pg_query/src_backend_parser_gram.c +43710 -39953
- data/ext/pg_query/src_backend_parser_parser.c +34 -8
- data/ext/pg_query/src_backend_parser_scan.c +6971 -3373
- 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 +99 -96
- data/ext/pg_query/src_backend_utils_activity_pgstat_database.c +2 -2
- data/ext/pg_query/src_backend_utils_adt_datum.c +2 -2
- 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 +488 -0
- data/ext/pg_query/src_backend_utils_adt_ruleutils.c +177 -30
- data/ext/pg_query/src_backend_utils_error_assert.c +4 -7
- data/ext/pg_query/src_backend_utils_error_elog.c +397 -270
- data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +36 -2
- data/ext/pg_query/src_backend_utils_init_globals.c +20 -5
- data/ext/pg_query/src_backend_utils_mb_mbutils.c +31 -84
- data/ext/pg_query/src_backend_utils_misc_guc_tables.c +502 -0
- data/ext/pg_query/src_backend_utils_mmgr_alignedalloc.c +166 -0
- data/ext/pg_query/src_backend_utils_mmgr_aset.c +704 -497
- data/ext/pg_query/src_backend_utils_mmgr_bump.c +728 -0
- data/ext/pg_query/src_backend_utils_mmgr_generation.c +1115 -0
- data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +637 -233
- data/ext/pg_query/src_backend_utils_mmgr_slab.c +1079 -0
- data/ext/pg_query/src_common_encnames.c +46 -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 +586 -517
- 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 +21 -4
- data/ext/pg_query/src_common_wchar.c +100 -116
- data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +99 -5
- data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +3 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +829 -763
- 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 +48 -46
- data/ext/pg_query/src_port_pg_bitutils.c +251 -32
- data/ext/pg_query/src_port_pgstrcasecmp.c +57 -1
- data/ext/pg_query/src_port_snprintf.c +20 -27
- data/ext/pg_query/src_port_strerror.c +1 -3
- data/ext/pg_query/src_port_strlcpy.c +79 -0
- data/lib/pg_query/fingerprint.rb +5 -8
- data/lib/pg_query/node.rb +16 -11
- data/lib/pg_query/param_refs.rb +2 -2
- data/lib/pg_query/parse.rb +6 -8
- data/lib/pg_query/parse_error.rb +1 -0
- data/lib/pg_query/pg_query_pb.rb +173 -3196
- data/lib/pg_query/scan.rb +1 -0
- data/lib/pg_query/treewalker.rb +52 -11
- data/lib/pg_query/truncate.rb +18 -20
- data/lib/pg_query/version.rb +1 -1
- metadata +443 -442
- data/ext/pg_query/guc-file.c +0 -0
- data/ext/pg_query/include/access/amapi.h +0 -290
- data/ext/pg_query/include/access/attmap.h +0 -52
- data/ext/pg_query/include/access/attnum.h +0 -64
- data/ext/pg_query/include/access/clog.h +0 -63
- data/ext/pg_query/include/access/commit_ts.h +0 -74
- data/ext/pg_query/include/access/detoast.h +0 -82
- data/ext/pg_query/include/access/genam.h +0 -231
- data/ext/pg_query/include/access/gin.h +0 -78
- data/ext/pg_query/include/access/htup.h +0 -89
- data/ext/pg_query/include/access/htup_details.h +0 -807
- data/ext/pg_query/include/access/itup.h +0 -167
- data/ext/pg_query/include/access/parallel.h +0 -82
- data/ext/pg_query/include/access/printtup.h +0 -35
- data/ext/pg_query/include/access/relation.h +0 -28
- data/ext/pg_query/include/access/relscan.h +0 -191
- data/ext/pg_query/include/access/rmgrlist.h +0 -49
- data/ext/pg_query/include/access/sdir.h +0 -58
- data/ext/pg_query/include/access/skey.h +0 -151
- data/ext/pg_query/include/access/stratnum.h +0 -85
- data/ext/pg_query/include/access/sysattr.h +0 -29
- data/ext/pg_query/include/access/table.h +0 -28
- data/ext/pg_query/include/access/tableam.h +0 -2077
- data/ext/pg_query/include/access/toast_compression.h +0 -73
- data/ext/pg_query/include/access/transam.h +0 -375
- data/ext/pg_query/include/access/tupconvert.h +0 -51
- data/ext/pg_query/include/access/tupdesc.h +0 -154
- data/ext/pg_query/include/access/tupmacs.h +0 -247
- data/ext/pg_query/include/access/twophase.h +0 -65
- data/ext/pg_query/include/access/xact.h +0 -523
- data/ext/pg_query/include/access/xlog.h +0 -303
- data/ext/pg_query/include/access/xlog_internal.h +0 -366
- data/ext/pg_query/include/access/xlogdefs.h +0 -101
- data/ext/pg_query/include/access/xlogprefetcher.h +0 -55
- data/ext/pg_query/include/access/xlogreader.h +0 -443
- data/ext/pg_query/include/access/xlogrecord.h +0 -236
- data/ext/pg_query/include/access/xlogrecovery.h +0 -157
- data/ext/pg_query/include/c.h +0 -1391
- data/ext/pg_query/include/catalog/catalog.h +0 -44
- data/ext/pg_query/include/catalog/catversion.h +0 -58
- data/ext/pg_query/include/catalog/dependency.h +0 -269
- data/ext/pg_query/include/catalog/genbki.h +0 -142
- data/ext/pg_query/include/catalog/index.h +0 -214
- data/ext/pg_query/include/catalog/indexing.h +0 -54
- data/ext/pg_query/include/catalog/namespace.h +0 -190
- data/ext/pg_query/include/catalog/objectaccess.h +0 -265
- data/ext/pg_query/include/catalog/objectaddress.h +0 -89
- data/ext/pg_query/include/catalog/pg_aggregate.h +0 -180
- data/ext/pg_query/include/catalog/pg_aggregate_d.h +0 -78
- data/ext/pg_query/include/catalog/pg_am.h +0 -63
- data/ext/pg_query/include/catalog/pg_am_d.h +0 -47
- data/ext/pg_query/include/catalog/pg_attribute.h +0 -221
- data/ext/pg_query/include/catalog/pg_attribute_d.h +0 -62
- data/ext/pg_query/include/catalog/pg_authid.h +0 -63
- data/ext/pg_query/include/catalog/pg_authid_d.h +0 -57
- data/ext/pg_query/include/catalog/pg_class.h +0 -230
- data/ext/pg_query/include/catalog/pg_class_d.h +0 -132
- data/ext/pg_query/include/catalog/pg_collation.h +0 -98
- data/ext/pg_query/include/catalog/pg_collation_d.h +0 -62
- data/ext/pg_query/include/catalog/pg_constraint.h +0 -273
- data/ext/pg_query/include/catalog/pg_constraint_d.h +0 -73
- data/ext/pg_query/include/catalog/pg_control.h +0 -250
- data/ext/pg_query/include/catalog/pg_conversion.h +0 -75
- data/ext/pg_query/include/catalog/pg_conversion_d.h +0 -38
- data/ext/pg_query/include/catalog/pg_depend.h +0 -77
- data/ext/pg_query/include/catalog/pg_depend_d.h +0 -36
- data/ext/pg_query/include/catalog/pg_event_trigger.h +0 -57
- data/ext/pg_query/include/catalog/pg_event_trigger_d.h +0 -36
- data/ext/pg_query/include/catalog/pg_index.h +0 -90
- data/ext/pg_query/include/catalog/pg_index_d.h +0 -59
- data/ext/pg_query/include/catalog/pg_language.h +0 -72
- data/ext/pg_query/include/catalog/pg_language_d.h +0 -41
- data/ext/pg_query/include/catalog/pg_namespace.h +0 -64
- data/ext/pg_query/include/catalog/pg_namespace_d.h +0 -36
- data/ext/pg_query/include/catalog/pg_opclass.h +0 -88
- data/ext/pg_query/include/catalog/pg_opclass_d.h +0 -51
- data/ext/pg_query/include/catalog/pg_operator.h +0 -107
- data/ext/pg_query/include/catalog/pg_operator_d.h +0 -142
- data/ext/pg_query/include/catalog/pg_opfamily.h +0 -63
- data/ext/pg_query/include/catalog/pg_opfamily_d.h +0 -49
- data/ext/pg_query/include/catalog/pg_parameter_acl.h +0 -60
- data/ext/pg_query/include/catalog/pg_parameter_acl_d.h +0 -34
- data/ext/pg_query/include/catalog/pg_partitioned_table.h +0 -74
- data/ext/pg_query/include/catalog/pg_partitioned_table_d.h +0 -36
- data/ext/pg_query/include/catalog/pg_proc.h +0 -220
- data/ext/pg_query/include/catalog/pg_proc_d.h +0 -101
- data/ext/pg_query/include/catalog/pg_publication.h +0 -161
- data/ext/pg_query/include/catalog/pg_publication_d.h +0 -38
- data/ext/pg_query/include/catalog/pg_replication_origin.h +0 -62
- data/ext/pg_query/include/catalog/pg_replication_origin_d.h +0 -33
- data/ext/pg_query/include/catalog/pg_statistic.h +0 -282
- data/ext/pg_query/include/catalog/pg_statistic_d.h +0 -195
- data/ext/pg_query/include/catalog/pg_statistic_ext.h +0 -88
- data/ext/pg_query/include/catalog/pg_statistic_ext_d.h +0 -45
- data/ext/pg_query/include/catalog/pg_transform.h +0 -48
- data/ext/pg_query/include/catalog/pg_transform_d.h +0 -34
- data/ext/pg_query/include/catalog/pg_trigger.h +0 -153
- data/ext/pg_query/include/catalog/pg_trigger_d.h +0 -109
- data/ext/pg_query/include/catalog/pg_ts_config.h +0 -53
- data/ext/pg_query/include/catalog/pg_ts_config_d.h +0 -34
- data/ext/pg_query/include/catalog/pg_ts_dict.h +0 -59
- data/ext/pg_query/include/catalog/pg_ts_dict_d.h +0 -35
- data/ext/pg_query/include/catalog/pg_ts_parser.h +0 -60
- data/ext/pg_query/include/catalog/pg_ts_parser_d.h +0 -37
- data/ext/pg_query/include/catalog/pg_ts_template.h +0 -51
- data/ext/pg_query/include/catalog/pg_ts_template_d.h +0 -34
- data/ext/pg_query/include/catalog/pg_type.h +0 -404
- data/ext/pg_query/include/catalog/pg_type_d.h +0 -324
- data/ext/pg_query/include/catalog/storage.h +0 -50
- data/ext/pg_query/include/commands/async.h +0 -53
- data/ext/pg_query/include/commands/dbcommands.h +0 -36
- data/ext/pg_query/include/commands/defrem.h +0 -160
- data/ext/pg_query/include/commands/event_trigger.h +0 -88
- data/ext/pg_query/include/commands/explain.h +0 -127
- data/ext/pg_query/include/commands/prepare.h +0 -61
- data/ext/pg_query/include/commands/tablespace.h +0 -69
- data/ext/pg_query/include/commands/trigger.h +0 -287
- data/ext/pg_query/include/commands/user.h +0 -37
- data/ext/pg_query/include/commands/vacuum.h +0 -340
- data/ext/pg_query/include/commands/variable.h +0 -38
- data/ext/pg_query/include/common/file_perm.h +0 -56
- data/ext/pg_query/include/common/hashfn.h +0 -104
- data/ext/pg_query/include/common/ip.h +0 -31
- data/ext/pg_query/include/common/keywords.h +0 -29
- data/ext/pg_query/include/common/kwlookup.h +0 -44
- data/ext/pg_query/include/common/pg_prng.h +0 -60
- data/ext/pg_query/include/common/relpath.h +0 -90
- data/ext/pg_query/include/common/string.h +0 -42
- data/ext/pg_query/include/common/unicode_combining_table.h +0 -308
- data/ext/pg_query/include/common/unicode_east_asian_fw_table.h +0 -125
- data/ext/pg_query/include/datatype/timestamp.h +0 -236
- data/ext/pg_query/include/executor/execdesc.h +0 -70
- data/ext/pg_query/include/executor/executor.h +0 -663
- data/ext/pg_query/include/executor/functions.h +0 -55
- data/ext/pg_query/include/executor/instrument.h +0 -118
- data/ext/pg_query/include/executor/spi.h +0 -213
- data/ext/pg_query/include/executor/tablefunc.h +0 -67
- data/ext/pg_query/include/executor/tuptable.h +0 -487
- data/ext/pg_query/include/fmgr.h +0 -781
- data/ext/pg_query/include/funcapi.h +0 -360
- data/ext/pg_query/include/getaddrinfo.h +0 -162
- data/ext/pg_query/include/jit/jit.h +0 -105
- data/ext/pg_query/include/kwlist_d.h +0 -1095
- data/ext/pg_query/include/lib/dshash.h +0 -112
- data/ext/pg_query/include/lib/ilist.h +0 -746
- data/ext/pg_query/include/lib/pairingheap.h +0 -102
- data/ext/pg_query/include/lib/simplehash.h +0 -1184
- data/ext/pg_query/include/lib/sort_template.h +0 -432
- data/ext/pg_query/include/lib/stringinfo.h +0 -161
- data/ext/pg_query/include/libpq/auth.h +0 -31
- data/ext/pg_query/include/libpq/crypt.h +0 -47
- data/ext/pg_query/include/libpq/hba.h +0 -179
- data/ext/pg_query/include/libpq/libpq-be.h +0 -343
- data/ext/pg_query/include/libpq/libpq.h +0 -144
- data/ext/pg_query/include/libpq/pqcomm.h +0 -194
- data/ext/pg_query/include/libpq/pqformat.h +0 -210
- data/ext/pg_query/include/libpq/pqsignal.h +0 -42
- data/ext/pg_query/include/mb/pg_wchar.h +0 -755
- data/ext/pg_query/include/mb/stringinfo_mb.h +0 -24
- data/ext/pg_query/include/miscadmin.h +0 -495
- data/ext/pg_query/include/nodes/bitmapset.h +0 -122
- data/ext/pg_query/include/nodes/execnodes.h +0 -2715
- data/ext/pg_query/include/nodes/extensible.h +0 -162
- data/ext/pg_query/include/nodes/lockoptions.h +0 -61
- data/ext/pg_query/include/nodes/makefuncs.h +0 -109
- data/ext/pg_query/include/nodes/memnodes.h +0 -110
- data/ext/pg_query/include/nodes/nodeFuncs.h +0 -162
- data/ext/pg_query/include/nodes/nodes.h +0 -861
- data/ext/pg_query/include/nodes/params.h +0 -170
- data/ext/pg_query/include/nodes/parsenodes.h +0 -3812
- data/ext/pg_query/include/nodes/pathnodes.h +0 -2734
- data/ext/pg_query/include/nodes/pg_list.h +0 -612
- data/ext/pg_query/include/nodes/plannodes.h +0 -1349
- data/ext/pg_query/include/nodes/primnodes.h +0 -1593
- data/ext/pg_query/include/nodes/print.h +0 -34
- data/ext/pg_query/include/nodes/tidbitmap.h +0 -75
- data/ext/pg_query/include/nodes/value.h +0 -80
- data/ext/pg_query/include/optimizer/cost.h +0 -213
- data/ext/pg_query/include/optimizer/geqo.h +0 -90
- data/ext/pg_query/include/optimizer/geqo_gene.h +0 -45
- data/ext/pg_query/include/optimizer/optimizer.h +0 -202
- data/ext/pg_query/include/optimizer/paths.h +0 -257
- data/ext/pg_query/include/optimizer/planmain.h +0 -120
- data/ext/pg_query/include/parser/analyze.h +0 -63
- data/ext/pg_query/include/parser/gram.h +0 -1101
- data/ext/pg_query/include/parser/gramparse.h +0 -75
- data/ext/pg_query/include/parser/kwlist.h +0 -487
- data/ext/pg_query/include/parser/parse_agg.h +0 -63
- data/ext/pg_query/include/parser/parse_coerce.h +0 -100
- data/ext/pg_query/include/parser/parse_expr.h +0 -25
- data/ext/pg_query/include/parser/parse_func.h +0 -74
- data/ext/pg_query/include/parser/parse_node.h +0 -339
- data/ext/pg_query/include/parser/parse_oper.h +0 -65
- data/ext/pg_query/include/parser/parse_relation.h +0 -124
- data/ext/pg_query/include/parser/parse_type.h +0 -60
- data/ext/pg_query/include/parser/parser.h +0 -68
- data/ext/pg_query/include/parser/parsetree.h +0 -61
- data/ext/pg_query/include/parser/scanner.h +0 -152
- data/ext/pg_query/include/parser/scansup.h +0 -27
- data/ext/pg_query/include/partitioning/partdefs.h +0 -26
- data/ext/pg_query/include/pg_config.h +0 -1037
- data/ext/pg_query/include/pg_config_manual.h +0 -410
- data/ext/pg_query/include/pg_config_os.h +0 -8
- data/ext/pg_query/include/pg_getopt.h +0 -56
- data/ext/pg_query/include/pg_trace.h +0 -17
- data/ext/pg_query/include/pgstat.h +0 -699
- data/ext/pg_query/include/pgtime.h +0 -94
- data/ext/pg_query/include/pl_gram.h +0 -383
- data/ext/pg_query/include/pl_reserved_kwlist.h +0 -52
- data/ext/pg_query/include/pl_reserved_kwlist_d.h +0 -114
- data/ext/pg_query/include/pl_unreserved_kwlist.h +0 -111
- data/ext/pg_query/include/pl_unreserved_kwlist_d.h +0 -244
- data/ext/pg_query/include/plerrcodes.h +0 -998
- data/ext/pg_query/include/plpgsql.h +0 -1345
- data/ext/pg_query/include/port/atomics/arch-arm.h +0 -32
- data/ext/pg_query/include/port/atomics/arch-ppc.h +0 -254
- data/ext/pg_query/include/port/atomics/arch-x86.h +0 -252
- data/ext/pg_query/include/port/atomics/fallback.h +0 -170
- data/ext/pg_query/include/port/atomics/generic-gcc.h +0 -286
- data/ext/pg_query/include/port/atomics/generic.h +0 -401
- data/ext/pg_query/include/port/atomics.h +0 -524
- data/ext/pg_query/include/port/pg_bitutils.h +0 -302
- data/ext/pg_query/include/port/pg_bswap.h +0 -161
- data/ext/pg_query/include/port/pg_crc32c.h +0 -101
- data/ext/pg_query/include/port.h +0 -553
- data/ext/pg_query/include/portability/instr_time.h +0 -256
- data/ext/pg_query/include/postgres.h +0 -808
- data/ext/pg_query/include/postgres_ext.h +0 -74
- data/ext/pg_query/include/postmaster/autovacuum.h +0 -83
- data/ext/pg_query/include/postmaster/auxprocess.h +0 -20
- data/ext/pg_query/include/postmaster/bgworker.h +0 -162
- data/ext/pg_query/include/postmaster/bgworker_internals.h +0 -64
- data/ext/pg_query/include/postmaster/bgwriter.h +0 -45
- data/ext/pg_query/include/postmaster/fork_process.h +0 -17
- data/ext/pg_query/include/postmaster/interrupt.h +0 -32
- data/ext/pg_query/include/postmaster/pgarch.h +0 -73
- data/ext/pg_query/include/postmaster/postmaster.h +0 -78
- data/ext/pg_query/include/postmaster/startup.h +0 -39
- data/ext/pg_query/include/postmaster/syslogger.h +0 -103
- data/ext/pg_query/include/postmaster/walwriter.h +0 -21
- data/ext/pg_query/include/regex/regex.h +0 -186
- data/ext/pg_query/include/replication/logicallauncher.h +0 -29
- data/ext/pg_query/include/replication/logicalproto.h +0 -254
- data/ext/pg_query/include/replication/logicalworker.h +0 -19
- data/ext/pg_query/include/replication/origin.h +0 -73
- data/ext/pg_query/include/replication/reorderbuffer.h +0 -685
- data/ext/pg_query/include/replication/slot.h +0 -230
- data/ext/pg_query/include/replication/syncrep.h +0 -115
- data/ext/pg_query/include/replication/walreceiver.h +0 -472
- data/ext/pg_query/include/replication/walsender.h +0 -74
- data/ext/pg_query/include/rewrite/prs2lock.h +0 -46
- data/ext/pg_query/include/rewrite/rewriteHandler.h +0 -38
- data/ext/pg_query/include/rewrite/rewriteManip.h +0 -87
- data/ext/pg_query/include/rewrite/rewriteSupport.h +0 -26
- data/ext/pg_query/include/storage/backendid.h +0 -37
- data/ext/pg_query/include/storage/block.h +0 -115
- data/ext/pg_query/include/storage/buf.h +0 -46
- data/ext/pg_query/include/storage/bufmgr.h +0 -297
- data/ext/pg_query/include/storage/bufpage.h +0 -457
- data/ext/pg_query/include/storage/condition_variable.h +0 -73
- data/ext/pg_query/include/storage/dsm.h +0 -64
- data/ext/pg_query/include/storage/dsm_impl.h +0 -76
- data/ext/pg_query/include/storage/fd.h +0 -198
- data/ext/pg_query/include/storage/fileset.h +0 -40
- data/ext/pg_query/include/storage/ipc.h +0 -84
- data/ext/pg_query/include/storage/item.h +0 -19
- data/ext/pg_query/include/storage/itemid.h +0 -184
- data/ext/pg_query/include/storage/itemptr.h +0 -208
- data/ext/pg_query/include/storage/large_object.h +0 -100
- data/ext/pg_query/include/storage/latch.h +0 -186
- data/ext/pg_query/include/storage/lmgr.h +0 -115
- data/ext/pg_query/include/storage/lock.h +0 -616
- data/ext/pg_query/include/storage/lockdefs.h +0 -59
- data/ext/pg_query/include/storage/lwlock.h +0 -206
- data/ext/pg_query/include/storage/lwlocknames.h +0 -50
- data/ext/pg_query/include/storage/off.h +0 -57
- data/ext/pg_query/include/storage/pg_sema.h +0 -61
- data/ext/pg_query/include/storage/pg_shmem.h +0 -92
- data/ext/pg_query/include/storage/pmsignal.h +0 -105
- data/ext/pg_query/include/storage/predicate.h +0 -87
- data/ext/pg_query/include/storage/proc.h +0 -461
- data/ext/pg_query/include/storage/procarray.h +0 -98
- data/ext/pg_query/include/storage/proclist_types.h +0 -51
- data/ext/pg_query/include/storage/procsignal.h +0 -71
- data/ext/pg_query/include/storage/relfilenode.h +0 -99
- data/ext/pg_query/include/storage/s_lock.h +0 -1110
- data/ext/pg_query/include/storage/sharedfileset.h +0 -37
- data/ext/pg_query/include/storage/shm_mq.h +0 -86
- data/ext/pg_query/include/storage/shm_toc.h +0 -58
- data/ext/pg_query/include/storage/shmem.h +0 -81
- data/ext/pg_query/include/storage/sinval.h +0 -153
- data/ext/pg_query/include/storage/sinvaladt.h +0 -43
- data/ext/pg_query/include/storage/smgr.h +0 -111
- data/ext/pg_query/include/storage/spin.h +0 -77
- data/ext/pg_query/include/storage/standby.h +0 -98
- data/ext/pg_query/include/storage/standbydefs.h +0 -74
- data/ext/pg_query/include/storage/sync.h +0 -66
- data/ext/pg_query/include/tcop/cmdtag.h +0 -58
- data/ext/pg_query/include/tcop/cmdtaglist.h +0 -218
- data/ext/pg_query/include/tcop/deparse_utility.h +0 -108
- data/ext/pg_query/include/tcop/dest.h +0 -149
- data/ext/pg_query/include/tcop/fastpath.h +0 -20
- data/ext/pg_query/include/tcop/pquery.h +0 -51
- data/ext/pg_query/include/tcop/tcopprot.h +0 -97
- data/ext/pg_query/include/tcop/utility.h +0 -112
- data/ext/pg_query/include/tsearch/ts_cache.h +0 -98
- data/ext/pg_query/include/utils/acl.h +0 -333
- data/ext/pg_query/include/utils/aclchk_internal.h +0 -45
- data/ext/pg_query/include/utils/array.h +0 -464
- data/ext/pg_query/include/utils/backend_progress.h +0 -44
- data/ext/pg_query/include/utils/backend_status.h +0 -321
- data/ext/pg_query/include/utils/builtins.h +0 -127
- data/ext/pg_query/include/utils/bytea.h +0 -28
- data/ext/pg_query/include/utils/catcache.h +0 -231
- data/ext/pg_query/include/utils/date.h +0 -90
- data/ext/pg_query/include/utils/datetime.h +0 -344
- data/ext/pg_query/include/utils/datum.h +0 -76
- data/ext/pg_query/include/utils/dsa.h +0 -123
- data/ext/pg_query/include/utils/dynahash.h +0 -20
- data/ext/pg_query/include/utils/elog.h +0 -470
- data/ext/pg_query/include/utils/errcodes.h +0 -354
- data/ext/pg_query/include/utils/expandeddatum.h +0 -159
- data/ext/pg_query/include/utils/expandedrecord.h +0 -231
- data/ext/pg_query/include/utils/float.h +0 -356
- data/ext/pg_query/include/utils/fmgroids.h +0 -3261
- data/ext/pg_query/include/utils/fmgrprotos.h +0 -2829
- data/ext/pg_query/include/utils/fmgrtab.h +0 -49
- data/ext/pg_query/include/utils/guc.h +0 -469
- data/ext/pg_query/include/utils/guc_tables.h +0 -276
- data/ext/pg_query/include/utils/hsearch.h +0 -153
- data/ext/pg_query/include/utils/inval.h +0 -68
- data/ext/pg_query/include/utils/lsyscache.h +0 -208
- data/ext/pg_query/include/utils/memdebug.h +0 -82
- data/ext/pg_query/include/utils/memutils.h +0 -230
- data/ext/pg_query/include/utils/numeric.h +0 -90
- data/ext/pg_query/include/utils/palloc.h +0 -158
- data/ext/pg_query/include/utils/partcache.h +0 -102
- data/ext/pg_query/include/utils/pg_locale.h +0 -127
- data/ext/pg_query/include/utils/pg_lsn.h +0 -29
- data/ext/pg_query/include/utils/pgstat_internal.h +0 -784
- data/ext/pg_query/include/utils/pidfile.h +0 -56
- data/ext/pg_query/include/utils/plancache.h +0 -236
- data/ext/pg_query/include/utils/portal.h +0 -252
- data/ext/pg_query/include/utils/probes.h +0 -114
- data/ext/pg_query/include/utils/ps_status.h +0 -25
- data/ext/pg_query/include/utils/queryenvironment.h +0 -74
- data/ext/pg_query/include/utils/queryjumble.h +0 -88
- data/ext/pg_query/include/utils/regproc.h +0 -39
- data/ext/pg_query/include/utils/rel.h +0 -695
- data/ext/pg_query/include/utils/relcache.h +0 -153
- data/ext/pg_query/include/utils/reltrigger.h +0 -81
- data/ext/pg_query/include/utils/resowner.h +0 -86
- data/ext/pg_query/include/utils/rls.h +0 -50
- data/ext/pg_query/include/utils/ruleutils.h +0 -47
- data/ext/pg_query/include/utils/sharedtuplestore.h +0 -61
- data/ext/pg_query/include/utils/snapmgr.h +0 -179
- data/ext/pg_query/include/utils/snapshot.h +0 -219
- data/ext/pg_query/include/utils/sortsupport.h +0 -391
- data/ext/pg_query/include/utils/syscache.h +0 -224
- data/ext/pg_query/include/utils/timeout.h +0 -95
- data/ext/pg_query/include/utils/timestamp.h +0 -117
- data/ext/pg_query/include/utils/tuplesort.h +0 -291
- data/ext/pg_query/include/utils/tuplestore.h +0 -91
- data/ext/pg_query/include/utils/typcache.h +0 -209
- data/ext/pg_query/include/utils/tzparser.h +0 -39
- data/ext/pg_query/include/utils/varlena.h +0 -41
- data/ext/pg_query/include/utils/wait_event.h +0 -289
- data/ext/pg_query/include/utils/xml.h +0 -84
- data/ext/pg_query/src_backend_postmaster_postmaster.c +0 -2201
- data/ext/pg_query/src_backend_storage_lmgr_s_lock.c +0 -371
- data/ext/pg_query/src_backend_utils_hash_dynahash.c +0 -1116
- data/ext/pg_query/src_backend_utils_misc_guc.c +0 -1993
- data/ext/pg_query/src_common_pg_prng.c +0 -152
- data/ext/pg_query/src_common_string.c +0 -92
- data/ext/pg_query/src_port_pgsleep.c +0 -69
- data/ext/pg_query/src_port_strnlen.c +0 -39
- /data/ext/pg_query/{pg_query_ruby.sym → ext_symbols.sym} +0 -0
- /data/ext/pg_query/include/{access → postgres/access}/rmgr.h +0 -0
- /data/ext/pg_query/include/{pg_config_ext.h → postgres/pg_config_ext.h} +0 -0
@@ -9,6 +9,10 @@ case T_TableFunc:
|
|
9
9
|
_fingerprintString(ctx, "TableFunc");
|
10
10
|
_fingerprintTableFunc(ctx, obj, parent, field_name, depth);
|
11
11
|
break;
|
12
|
+
case T_IntoClause:
|
13
|
+
_fingerprintString(ctx, "IntoClause");
|
14
|
+
_fingerprintIntoClause(ctx, obj, parent, field_name, depth);
|
15
|
+
break;
|
12
16
|
case T_Var:
|
13
17
|
_fingerprintString(ctx, "Var");
|
14
18
|
_fingerprintVar(ctx, obj, parent, field_name, depth);
|
@@ -33,6 +37,14 @@ case T_WindowFunc:
|
|
33
37
|
_fingerprintString(ctx, "WindowFunc");
|
34
38
|
_fingerprintWindowFunc(ctx, obj, parent, field_name, depth);
|
35
39
|
break;
|
40
|
+
case T_WindowFuncRunCondition:
|
41
|
+
_fingerprintString(ctx, "WindowFuncRunCondition");
|
42
|
+
_fingerprintWindowFuncRunCondition(ctx, obj, parent, field_name, depth);
|
43
|
+
break;
|
44
|
+
case T_MergeSupportFunc:
|
45
|
+
_fingerprintString(ctx, "MergeSupportFunc");
|
46
|
+
_fingerprintMergeSupportFunc(ctx, obj, parent, field_name, depth);
|
47
|
+
break;
|
36
48
|
case T_SubscriptingRef:
|
37
49
|
_fingerprintString(ctx, "SubscriptingRef");
|
38
50
|
_fingerprintSubscriptingRef(ctx, obj, parent, field_name, depth);
|
@@ -137,6 +149,46 @@ case T_XmlExpr:
|
|
137
149
|
_fingerprintString(ctx, "XmlExpr");
|
138
150
|
_fingerprintXmlExpr(ctx, obj, parent, field_name, depth);
|
139
151
|
break;
|
152
|
+
case T_JsonFormat:
|
153
|
+
_fingerprintString(ctx, "JsonFormat");
|
154
|
+
_fingerprintJsonFormat(ctx, obj, parent, field_name, depth);
|
155
|
+
break;
|
156
|
+
case T_JsonReturning:
|
157
|
+
_fingerprintString(ctx, "JsonReturning");
|
158
|
+
_fingerprintJsonReturning(ctx, obj, parent, field_name, depth);
|
159
|
+
break;
|
160
|
+
case T_JsonValueExpr:
|
161
|
+
_fingerprintString(ctx, "JsonValueExpr");
|
162
|
+
_fingerprintJsonValueExpr(ctx, obj, parent, field_name, depth);
|
163
|
+
break;
|
164
|
+
case T_JsonConstructorExpr:
|
165
|
+
_fingerprintString(ctx, "JsonConstructorExpr");
|
166
|
+
_fingerprintJsonConstructorExpr(ctx, obj, parent, field_name, depth);
|
167
|
+
break;
|
168
|
+
case T_JsonIsPredicate:
|
169
|
+
_fingerprintString(ctx, "JsonIsPredicate");
|
170
|
+
_fingerprintJsonIsPredicate(ctx, obj, parent, field_name, depth);
|
171
|
+
break;
|
172
|
+
case T_JsonBehavior:
|
173
|
+
_fingerprintString(ctx, "JsonBehavior");
|
174
|
+
_fingerprintJsonBehavior(ctx, obj, parent, field_name, depth);
|
175
|
+
break;
|
176
|
+
case T_JsonExpr:
|
177
|
+
_fingerprintString(ctx, "JsonExpr");
|
178
|
+
_fingerprintJsonExpr(ctx, obj, parent, field_name, depth);
|
179
|
+
break;
|
180
|
+
case T_JsonTablePath:
|
181
|
+
_fingerprintString(ctx, "JsonTablePath");
|
182
|
+
_fingerprintJsonTablePath(ctx, obj, parent, field_name, depth);
|
183
|
+
break;
|
184
|
+
case T_JsonTablePathScan:
|
185
|
+
_fingerprintString(ctx, "JsonTablePathScan");
|
186
|
+
_fingerprintJsonTablePathScan(ctx, obj, parent, field_name, depth);
|
187
|
+
break;
|
188
|
+
case T_JsonTableSiblingJoin:
|
189
|
+
_fingerprintString(ctx, "JsonTableSiblingJoin");
|
190
|
+
_fingerprintJsonTableSiblingJoin(ctx, obj, parent, field_name, depth);
|
191
|
+
break;
|
140
192
|
case T_NullTest:
|
141
193
|
_fingerprintString(ctx, "NullTest");
|
142
194
|
_fingerprintNullTest(ctx, obj, parent, field_name, depth);
|
@@ -145,6 +197,10 @@ case T_BooleanTest:
|
|
145
197
|
_fingerprintString(ctx, "BooleanTest");
|
146
198
|
_fingerprintBooleanTest(ctx, obj, parent, field_name, depth);
|
147
199
|
break;
|
200
|
+
case T_MergeAction:
|
201
|
+
_fingerprintString(ctx, "MergeAction");
|
202
|
+
_fingerprintMergeAction(ctx, obj, parent, field_name, depth);
|
203
|
+
break;
|
148
204
|
case T_CoerceToDomain:
|
149
205
|
_fingerprintString(ctx, "CoerceToDomain");
|
150
206
|
_fingerprintCoerceToDomain(ctx, obj, parent, field_name, depth);
|
@@ -188,385 +244,383 @@ case T_OnConflictExpr:
|
|
188
244
|
_fingerprintString(ctx, "OnConflictExpr");
|
189
245
|
_fingerprintOnConflictExpr(ctx, obj, parent, field_name, depth);
|
190
246
|
break;
|
191
|
-
case T_IntoClause:
|
192
|
-
_fingerprintString(ctx, "IntoClause");
|
193
|
-
_fingerprintIntoClause(ctx, obj, parent, field_name, depth);
|
194
|
-
break;
|
195
|
-
case T_MergeAction:
|
196
|
-
_fingerprintString(ctx, "MergeAction");
|
197
|
-
_fingerprintMergeAction(ctx, obj, parent, field_name, depth);
|
198
|
-
break;
|
199
|
-
case T_RawStmt:
|
200
|
-
_fingerprintString(ctx, "RawStmt");
|
201
|
-
_fingerprintRawStmt(ctx, obj, parent, field_name, depth);
|
202
|
-
break;
|
203
247
|
case T_Query:
|
204
248
|
_fingerprintString(ctx, "Query");
|
205
249
|
_fingerprintQuery(ctx, obj, parent, field_name, depth);
|
206
250
|
break;
|
207
|
-
case
|
208
|
-
_fingerprintString(ctx, "
|
209
|
-
|
251
|
+
case T_TypeName:
|
252
|
+
_fingerprintString(ctx, "TypeName");
|
253
|
+
_fingerprintTypeName(ctx, obj, parent, field_name, depth);
|
210
254
|
break;
|
211
|
-
case
|
212
|
-
_fingerprintString(ctx, "
|
213
|
-
|
255
|
+
case T_ColumnRef:
|
256
|
+
_fingerprintString(ctx, "ColumnRef");
|
257
|
+
_fingerprintColumnRef(ctx, obj, parent, field_name, depth);
|
214
258
|
break;
|
215
|
-
case
|
216
|
-
|
217
|
-
_fingerprintUpdateStmt(ctx, obj, parent, field_name, depth);
|
259
|
+
case T_ParamRef:
|
260
|
+
// Intentionally ignoring for fingerprinting
|
218
261
|
break;
|
219
|
-
case
|
220
|
-
_fingerprintString(ctx, "
|
221
|
-
|
262
|
+
case T_A_Expr:
|
263
|
+
_fingerprintString(ctx, "A_Expr");
|
264
|
+
_fingerprintA_Expr(ctx, obj, parent, field_name, depth);
|
222
265
|
break;
|
223
|
-
case
|
224
|
-
|
225
|
-
|
266
|
+
case T_TypeCast:
|
267
|
+
if (!IsA(castNode(TypeCast, (void*) obj)->arg, A_Const) && !IsA(castNode(TypeCast, (void*) obj)->arg, ParamRef))
|
268
|
+
{
|
269
|
+
_fingerprintString(ctx, "TypeCast");
|
270
|
+
_fingerprintTypeCast(ctx, obj, parent, field_name, depth);
|
271
|
+
}
|
226
272
|
break;
|
227
|
-
case
|
228
|
-
_fingerprintString(ctx, "
|
229
|
-
|
273
|
+
case T_CollateClause:
|
274
|
+
_fingerprintString(ctx, "CollateClause");
|
275
|
+
_fingerprintCollateClause(ctx, obj, parent, field_name, depth);
|
230
276
|
break;
|
231
|
-
case
|
232
|
-
_fingerprintString(ctx, "
|
233
|
-
|
277
|
+
case T_RoleSpec:
|
278
|
+
_fingerprintString(ctx, "RoleSpec");
|
279
|
+
_fingerprintRoleSpec(ctx, obj, parent, field_name, depth);
|
234
280
|
break;
|
235
|
-
case
|
236
|
-
_fingerprintString(ctx, "
|
237
|
-
|
281
|
+
case T_FuncCall:
|
282
|
+
_fingerprintString(ctx, "FuncCall");
|
283
|
+
_fingerprintFuncCall(ctx, obj, parent, field_name, depth);
|
238
284
|
break;
|
239
|
-
case
|
240
|
-
_fingerprintString(ctx, "
|
241
|
-
|
285
|
+
case T_A_Star:
|
286
|
+
_fingerprintString(ctx, "A_Star");
|
287
|
+
_fingerprintA_Star(ctx, obj, parent, field_name, depth);
|
242
288
|
break;
|
243
|
-
case
|
244
|
-
_fingerprintString(ctx, "
|
245
|
-
|
289
|
+
case T_A_Indices:
|
290
|
+
_fingerprintString(ctx, "A_Indices");
|
291
|
+
_fingerprintA_Indices(ctx, obj, parent, field_name, depth);
|
246
292
|
break;
|
247
|
-
case
|
248
|
-
_fingerprintString(ctx, "
|
249
|
-
|
293
|
+
case T_A_Indirection:
|
294
|
+
_fingerprintString(ctx, "A_Indirection");
|
295
|
+
_fingerprintA_Indirection(ctx, obj, parent, field_name, depth);
|
250
296
|
break;
|
251
|
-
case
|
252
|
-
_fingerprintString(ctx, "
|
253
|
-
|
297
|
+
case T_A_ArrayExpr:
|
298
|
+
_fingerprintString(ctx, "A_ArrayExpr");
|
299
|
+
_fingerprintA_ArrayExpr(ctx, obj, parent, field_name, depth);
|
254
300
|
break;
|
255
|
-
case
|
256
|
-
_fingerprintString(ctx, "
|
257
|
-
|
301
|
+
case T_ResTarget:
|
302
|
+
_fingerprintString(ctx, "ResTarget");
|
303
|
+
_fingerprintResTarget(ctx, obj, parent, field_name, depth);
|
258
304
|
break;
|
259
|
-
case
|
260
|
-
_fingerprintString(ctx, "
|
261
|
-
|
305
|
+
case T_MultiAssignRef:
|
306
|
+
_fingerprintString(ctx, "MultiAssignRef");
|
307
|
+
_fingerprintMultiAssignRef(ctx, obj, parent, field_name, depth);
|
262
308
|
break;
|
263
|
-
case
|
264
|
-
_fingerprintString(ctx, "
|
265
|
-
|
309
|
+
case T_SortBy:
|
310
|
+
_fingerprintString(ctx, "SortBy");
|
311
|
+
_fingerprintSortBy(ctx, obj, parent, field_name, depth);
|
266
312
|
break;
|
267
|
-
case
|
268
|
-
_fingerprintString(ctx, "
|
269
|
-
|
313
|
+
case T_WindowDef:
|
314
|
+
_fingerprintString(ctx, "WindowDef");
|
315
|
+
_fingerprintWindowDef(ctx, obj, parent, field_name, depth);
|
270
316
|
break;
|
271
|
-
case
|
272
|
-
_fingerprintString(ctx, "
|
273
|
-
|
317
|
+
case T_RangeSubselect:
|
318
|
+
_fingerprintString(ctx, "RangeSubselect");
|
319
|
+
_fingerprintRangeSubselect(ctx, obj, parent, field_name, depth);
|
274
320
|
break;
|
275
|
-
case
|
276
|
-
_fingerprintString(ctx, "
|
277
|
-
|
321
|
+
case T_RangeFunction:
|
322
|
+
_fingerprintString(ctx, "RangeFunction");
|
323
|
+
_fingerprintRangeFunction(ctx, obj, parent, field_name, depth);
|
278
324
|
break;
|
279
|
-
case
|
280
|
-
_fingerprintString(ctx, "
|
281
|
-
|
325
|
+
case T_RangeTableFunc:
|
326
|
+
_fingerprintString(ctx, "RangeTableFunc");
|
327
|
+
_fingerprintRangeTableFunc(ctx, obj, parent, field_name, depth);
|
282
328
|
break;
|
283
|
-
case
|
284
|
-
_fingerprintString(ctx, "
|
285
|
-
|
329
|
+
case T_RangeTableFuncCol:
|
330
|
+
_fingerprintString(ctx, "RangeTableFuncCol");
|
331
|
+
_fingerprintRangeTableFuncCol(ctx, obj, parent, field_name, depth);
|
286
332
|
break;
|
287
|
-
case
|
288
|
-
_fingerprintString(ctx, "
|
289
|
-
|
333
|
+
case T_RangeTableSample:
|
334
|
+
_fingerprintString(ctx, "RangeTableSample");
|
335
|
+
_fingerprintRangeTableSample(ctx, obj, parent, field_name, depth);
|
290
336
|
break;
|
291
|
-
case
|
292
|
-
_fingerprintString(ctx, "
|
293
|
-
|
337
|
+
case T_ColumnDef:
|
338
|
+
_fingerprintString(ctx, "ColumnDef");
|
339
|
+
_fingerprintColumnDef(ctx, obj, parent, field_name, depth);
|
294
340
|
break;
|
295
|
-
case
|
296
|
-
_fingerprintString(ctx, "
|
297
|
-
|
341
|
+
case T_TableLikeClause:
|
342
|
+
_fingerprintString(ctx, "TableLikeClause");
|
343
|
+
_fingerprintTableLikeClause(ctx, obj, parent, field_name, depth);
|
298
344
|
break;
|
299
|
-
case
|
300
|
-
_fingerprintString(ctx, "
|
301
|
-
|
345
|
+
case T_IndexElem:
|
346
|
+
_fingerprintString(ctx, "IndexElem");
|
347
|
+
_fingerprintIndexElem(ctx, obj, parent, field_name, depth);
|
302
348
|
break;
|
303
|
-
case
|
304
|
-
_fingerprintString(ctx, "
|
305
|
-
|
349
|
+
case T_DefElem:
|
350
|
+
_fingerprintString(ctx, "DefElem");
|
351
|
+
_fingerprintDefElem(ctx, obj, parent, field_name, depth);
|
306
352
|
break;
|
307
|
-
case
|
308
|
-
_fingerprintString(ctx, "
|
309
|
-
|
353
|
+
case T_LockingClause:
|
354
|
+
_fingerprintString(ctx, "LockingClause");
|
355
|
+
_fingerprintLockingClause(ctx, obj, parent, field_name, depth);
|
310
356
|
break;
|
311
|
-
case
|
312
|
-
_fingerprintString(ctx, "
|
313
|
-
|
357
|
+
case T_XmlSerialize:
|
358
|
+
_fingerprintString(ctx, "XmlSerialize");
|
359
|
+
_fingerprintXmlSerialize(ctx, obj, parent, field_name, depth);
|
314
360
|
break;
|
315
|
-
case
|
316
|
-
_fingerprintString(ctx, "
|
317
|
-
|
361
|
+
case T_PartitionElem:
|
362
|
+
_fingerprintString(ctx, "PartitionElem");
|
363
|
+
_fingerprintPartitionElem(ctx, obj, parent, field_name, depth);
|
318
364
|
break;
|
319
|
-
case
|
320
|
-
_fingerprintString(ctx, "
|
321
|
-
|
365
|
+
case T_PartitionSpec:
|
366
|
+
_fingerprintString(ctx, "PartitionSpec");
|
367
|
+
_fingerprintPartitionSpec(ctx, obj, parent, field_name, depth);
|
322
368
|
break;
|
323
|
-
case
|
324
|
-
_fingerprintString(ctx, "
|
325
|
-
|
369
|
+
case T_PartitionBoundSpec:
|
370
|
+
_fingerprintString(ctx, "PartitionBoundSpec");
|
371
|
+
_fingerprintPartitionBoundSpec(ctx, obj, parent, field_name, depth);
|
326
372
|
break;
|
327
|
-
case
|
328
|
-
_fingerprintString(ctx, "
|
329
|
-
|
373
|
+
case T_PartitionRangeDatum:
|
374
|
+
_fingerprintString(ctx, "PartitionRangeDatum");
|
375
|
+
_fingerprintPartitionRangeDatum(ctx, obj, parent, field_name, depth);
|
330
376
|
break;
|
331
|
-
case
|
332
|
-
_fingerprintString(ctx, "
|
333
|
-
|
377
|
+
case T_SinglePartitionSpec:
|
378
|
+
_fingerprintString(ctx, "SinglePartitionSpec");
|
379
|
+
_fingerprintSinglePartitionSpec(ctx, obj, parent, field_name, depth);
|
334
380
|
break;
|
335
|
-
case
|
336
|
-
_fingerprintString(ctx, "
|
337
|
-
|
381
|
+
case T_PartitionCmd:
|
382
|
+
_fingerprintString(ctx, "PartitionCmd");
|
383
|
+
_fingerprintPartitionCmd(ctx, obj, parent, field_name, depth);
|
338
384
|
break;
|
339
|
-
case
|
340
|
-
_fingerprintString(ctx, "
|
341
|
-
|
385
|
+
case T_RangeTblEntry:
|
386
|
+
_fingerprintString(ctx, "RangeTblEntry");
|
387
|
+
_fingerprintRangeTblEntry(ctx, obj, parent, field_name, depth);
|
342
388
|
break;
|
343
|
-
case
|
344
|
-
_fingerprintString(ctx, "
|
345
|
-
|
389
|
+
case T_RTEPermissionInfo:
|
390
|
+
_fingerprintString(ctx, "RTEPermissionInfo");
|
391
|
+
_fingerprintRTEPermissionInfo(ctx, obj, parent, field_name, depth);
|
346
392
|
break;
|
347
|
-
case
|
348
|
-
_fingerprintString(ctx, "
|
349
|
-
|
393
|
+
case T_RangeTblFunction:
|
394
|
+
_fingerprintString(ctx, "RangeTblFunction");
|
395
|
+
_fingerprintRangeTblFunction(ctx, obj, parent, field_name, depth);
|
350
396
|
break;
|
351
|
-
case
|
352
|
-
_fingerprintString(ctx, "
|
353
|
-
|
397
|
+
case T_TableSampleClause:
|
398
|
+
_fingerprintString(ctx, "TableSampleClause");
|
399
|
+
_fingerprintTableSampleClause(ctx, obj, parent, field_name, depth);
|
354
400
|
break;
|
355
|
-
case
|
356
|
-
_fingerprintString(ctx, "
|
357
|
-
|
401
|
+
case T_WithCheckOption:
|
402
|
+
_fingerprintString(ctx, "WithCheckOption");
|
403
|
+
_fingerprintWithCheckOption(ctx, obj, parent, field_name, depth);
|
358
404
|
break;
|
359
|
-
case
|
360
|
-
_fingerprintString(ctx, "
|
361
|
-
|
362
|
-
break;
|
363
|
-
case T_ExplainStmt:
|
364
|
-
_fingerprintString(ctx, "ExplainStmt");
|
365
|
-
_fingerprintExplainStmt(ctx, obj, parent, field_name, depth);
|
405
|
+
case T_SortGroupClause:
|
406
|
+
_fingerprintString(ctx, "SortGroupClause");
|
407
|
+
_fingerprintSortGroupClause(ctx, obj, parent, field_name, depth);
|
366
408
|
break;
|
367
|
-
case
|
368
|
-
_fingerprintString(ctx, "
|
369
|
-
|
409
|
+
case T_GroupingSet:
|
410
|
+
_fingerprintString(ctx, "GroupingSet");
|
411
|
+
_fingerprintGroupingSet(ctx, obj, parent, field_name, depth);
|
370
412
|
break;
|
371
|
-
case
|
372
|
-
_fingerprintString(ctx, "
|
373
|
-
|
413
|
+
case T_WindowClause:
|
414
|
+
_fingerprintString(ctx, "WindowClause");
|
415
|
+
_fingerprintWindowClause(ctx, obj, parent, field_name, depth);
|
374
416
|
break;
|
375
|
-
case
|
376
|
-
_fingerprintString(ctx, "
|
377
|
-
|
417
|
+
case T_RowMarkClause:
|
418
|
+
_fingerprintString(ctx, "RowMarkClause");
|
419
|
+
_fingerprintRowMarkClause(ctx, obj, parent, field_name, depth);
|
378
420
|
break;
|
379
|
-
case
|
380
|
-
_fingerprintString(ctx, "
|
381
|
-
|
421
|
+
case T_WithClause:
|
422
|
+
_fingerprintString(ctx, "WithClause");
|
423
|
+
_fingerprintWithClause(ctx, obj, parent, field_name, depth);
|
382
424
|
break;
|
383
|
-
case
|
384
|
-
_fingerprintString(ctx, "
|
385
|
-
|
425
|
+
case T_InferClause:
|
426
|
+
_fingerprintString(ctx, "InferClause");
|
427
|
+
_fingerprintInferClause(ctx, obj, parent, field_name, depth);
|
386
428
|
break;
|
387
|
-
case
|
388
|
-
_fingerprintString(ctx, "
|
389
|
-
|
429
|
+
case T_OnConflictClause:
|
430
|
+
_fingerprintString(ctx, "OnConflictClause");
|
431
|
+
_fingerprintOnConflictClause(ctx, obj, parent, field_name, depth);
|
390
432
|
break;
|
391
|
-
case
|
392
|
-
_fingerprintString(ctx, "
|
393
|
-
|
433
|
+
case T_CTESearchClause:
|
434
|
+
_fingerprintString(ctx, "CTESearchClause");
|
435
|
+
_fingerprintCTESearchClause(ctx, obj, parent, field_name, depth);
|
394
436
|
break;
|
395
|
-
case
|
396
|
-
_fingerprintString(ctx, "
|
397
|
-
|
437
|
+
case T_CTECycleClause:
|
438
|
+
_fingerprintString(ctx, "CTECycleClause");
|
439
|
+
_fingerprintCTECycleClause(ctx, obj, parent, field_name, depth);
|
398
440
|
break;
|
399
|
-
case
|
400
|
-
_fingerprintString(ctx, "
|
401
|
-
|
441
|
+
case T_CommonTableExpr:
|
442
|
+
_fingerprintString(ctx, "CommonTableExpr");
|
443
|
+
_fingerprintCommonTableExpr(ctx, obj, parent, field_name, depth);
|
402
444
|
break;
|
403
|
-
case
|
404
|
-
_fingerprintString(ctx, "
|
405
|
-
|
445
|
+
case T_MergeWhenClause:
|
446
|
+
_fingerprintString(ctx, "MergeWhenClause");
|
447
|
+
_fingerprintMergeWhenClause(ctx, obj, parent, field_name, depth);
|
406
448
|
break;
|
407
|
-
case
|
408
|
-
_fingerprintString(ctx, "
|
409
|
-
|
449
|
+
case T_TriggerTransition:
|
450
|
+
_fingerprintString(ctx, "TriggerTransition");
|
451
|
+
_fingerprintTriggerTransition(ctx, obj, parent, field_name, depth);
|
410
452
|
break;
|
411
|
-
case
|
412
|
-
_fingerprintString(ctx, "
|
413
|
-
|
453
|
+
case T_JsonOutput:
|
454
|
+
_fingerprintString(ctx, "JsonOutput");
|
455
|
+
_fingerprintJsonOutput(ctx, obj, parent, field_name, depth);
|
414
456
|
break;
|
415
|
-
case
|
416
|
-
_fingerprintString(ctx, "
|
417
|
-
|
457
|
+
case T_JsonArgument:
|
458
|
+
_fingerprintString(ctx, "JsonArgument");
|
459
|
+
_fingerprintJsonArgument(ctx, obj, parent, field_name, depth);
|
418
460
|
break;
|
419
|
-
case
|
420
|
-
_fingerprintString(ctx, "
|
421
|
-
|
461
|
+
case T_JsonFuncExpr:
|
462
|
+
_fingerprintString(ctx, "JsonFuncExpr");
|
463
|
+
_fingerprintJsonFuncExpr(ctx, obj, parent, field_name, depth);
|
422
464
|
break;
|
423
|
-
case
|
424
|
-
_fingerprintString(ctx, "
|
425
|
-
|
465
|
+
case T_JsonTablePathSpec:
|
466
|
+
_fingerprintString(ctx, "JsonTablePathSpec");
|
467
|
+
_fingerprintJsonTablePathSpec(ctx, obj, parent, field_name, depth);
|
426
468
|
break;
|
427
|
-
case
|
428
|
-
_fingerprintString(ctx, "
|
429
|
-
|
469
|
+
case T_JsonTable:
|
470
|
+
_fingerprintString(ctx, "JsonTable");
|
471
|
+
_fingerprintJsonTable(ctx, obj, parent, field_name, depth);
|
430
472
|
break;
|
431
|
-
case
|
432
|
-
_fingerprintString(ctx, "
|
433
|
-
|
473
|
+
case T_JsonTableColumn:
|
474
|
+
_fingerprintString(ctx, "JsonTableColumn");
|
475
|
+
_fingerprintJsonTableColumn(ctx, obj, parent, field_name, depth);
|
434
476
|
break;
|
435
|
-
case
|
436
|
-
_fingerprintString(ctx, "
|
437
|
-
|
477
|
+
case T_JsonKeyValue:
|
478
|
+
_fingerprintString(ctx, "JsonKeyValue");
|
479
|
+
_fingerprintJsonKeyValue(ctx, obj, parent, field_name, depth);
|
438
480
|
break;
|
439
|
-
case
|
440
|
-
_fingerprintString(ctx, "
|
441
|
-
|
481
|
+
case T_JsonParseExpr:
|
482
|
+
_fingerprintString(ctx, "JsonParseExpr");
|
483
|
+
_fingerprintJsonParseExpr(ctx, obj, parent, field_name, depth);
|
442
484
|
break;
|
443
|
-
case
|
444
|
-
_fingerprintString(ctx, "
|
445
|
-
|
485
|
+
case T_JsonScalarExpr:
|
486
|
+
_fingerprintString(ctx, "JsonScalarExpr");
|
487
|
+
_fingerprintJsonScalarExpr(ctx, obj, parent, field_name, depth);
|
446
488
|
break;
|
447
|
-
case
|
448
|
-
_fingerprintString(ctx, "
|
449
|
-
|
489
|
+
case T_JsonSerializeExpr:
|
490
|
+
_fingerprintString(ctx, "JsonSerializeExpr");
|
491
|
+
_fingerprintJsonSerializeExpr(ctx, obj, parent, field_name, depth);
|
450
492
|
break;
|
451
|
-
case
|
452
|
-
_fingerprintString(ctx, "
|
453
|
-
|
493
|
+
case T_JsonObjectConstructor:
|
494
|
+
_fingerprintString(ctx, "JsonObjectConstructor");
|
495
|
+
_fingerprintJsonObjectConstructor(ctx, obj, parent, field_name, depth);
|
454
496
|
break;
|
455
|
-
case
|
456
|
-
_fingerprintString(ctx, "
|
457
|
-
|
497
|
+
case T_JsonArrayConstructor:
|
498
|
+
_fingerprintString(ctx, "JsonArrayConstructor");
|
499
|
+
_fingerprintJsonArrayConstructor(ctx, obj, parent, field_name, depth);
|
458
500
|
break;
|
459
|
-
case
|
460
|
-
_fingerprintString(ctx, "
|
461
|
-
|
501
|
+
case T_JsonArrayQueryConstructor:
|
502
|
+
_fingerprintString(ctx, "JsonArrayQueryConstructor");
|
503
|
+
_fingerprintJsonArrayQueryConstructor(ctx, obj, parent, field_name, depth);
|
462
504
|
break;
|
463
|
-
case
|
464
|
-
_fingerprintString(ctx, "
|
465
|
-
|
505
|
+
case T_JsonAggConstructor:
|
506
|
+
_fingerprintString(ctx, "JsonAggConstructor");
|
507
|
+
_fingerprintJsonAggConstructor(ctx, obj, parent, field_name, depth);
|
466
508
|
break;
|
467
|
-
case
|
468
|
-
_fingerprintString(ctx, "
|
469
|
-
|
509
|
+
case T_JsonObjectAgg:
|
510
|
+
_fingerprintString(ctx, "JsonObjectAgg");
|
511
|
+
_fingerprintJsonObjectAgg(ctx, obj, parent, field_name, depth);
|
470
512
|
break;
|
471
|
-
case
|
472
|
-
_fingerprintString(ctx, "
|
473
|
-
|
513
|
+
case T_JsonArrayAgg:
|
514
|
+
_fingerprintString(ctx, "JsonArrayAgg");
|
515
|
+
_fingerprintJsonArrayAgg(ctx, obj, parent, field_name, depth);
|
474
516
|
break;
|
475
|
-
case
|
476
|
-
_fingerprintString(ctx, "
|
477
|
-
|
517
|
+
case T_RawStmt:
|
518
|
+
_fingerprintString(ctx, "RawStmt");
|
519
|
+
_fingerprintRawStmt(ctx, obj, parent, field_name, depth);
|
478
520
|
break;
|
479
|
-
case
|
480
|
-
_fingerprintString(ctx, "
|
481
|
-
|
521
|
+
case T_InsertStmt:
|
522
|
+
_fingerprintString(ctx, "InsertStmt");
|
523
|
+
_fingerprintInsertStmt(ctx, obj, parent, field_name, depth);
|
482
524
|
break;
|
483
|
-
case
|
484
|
-
_fingerprintString(ctx, "
|
485
|
-
|
525
|
+
case T_DeleteStmt:
|
526
|
+
_fingerprintString(ctx, "DeleteStmt");
|
527
|
+
_fingerprintDeleteStmt(ctx, obj, parent, field_name, depth);
|
486
528
|
break;
|
487
|
-
case
|
488
|
-
_fingerprintString(ctx, "
|
489
|
-
|
529
|
+
case T_UpdateStmt:
|
530
|
+
_fingerprintString(ctx, "UpdateStmt");
|
531
|
+
_fingerprintUpdateStmt(ctx, obj, parent, field_name, depth);
|
490
532
|
break;
|
491
|
-
case
|
492
|
-
_fingerprintString(ctx, "
|
493
|
-
|
533
|
+
case T_MergeStmt:
|
534
|
+
_fingerprintString(ctx, "MergeStmt");
|
535
|
+
_fingerprintMergeStmt(ctx, obj, parent, field_name, depth);
|
494
536
|
break;
|
495
|
-
case
|
496
|
-
_fingerprintString(ctx, "
|
497
|
-
|
537
|
+
case T_SelectStmt:
|
538
|
+
_fingerprintString(ctx, "SelectStmt");
|
539
|
+
_fingerprintSelectStmt(ctx, obj, parent, field_name, depth);
|
498
540
|
break;
|
499
|
-
case
|
500
|
-
_fingerprintString(ctx, "
|
501
|
-
|
541
|
+
case T_SetOperationStmt:
|
542
|
+
_fingerprintString(ctx, "SetOperationStmt");
|
543
|
+
_fingerprintSetOperationStmt(ctx, obj, parent, field_name, depth);
|
502
544
|
break;
|
503
|
-
case
|
504
|
-
_fingerprintString(ctx, "
|
505
|
-
|
545
|
+
case T_ReturnStmt:
|
546
|
+
_fingerprintString(ctx, "ReturnStmt");
|
547
|
+
_fingerprintReturnStmt(ctx, obj, parent, field_name, depth);
|
506
548
|
break;
|
507
|
-
case
|
508
|
-
_fingerprintString(ctx, "
|
509
|
-
|
549
|
+
case T_PLAssignStmt:
|
550
|
+
_fingerprintString(ctx, "PLAssignStmt");
|
551
|
+
_fingerprintPLAssignStmt(ctx, obj, parent, field_name, depth);
|
510
552
|
break;
|
511
|
-
case
|
512
|
-
_fingerprintString(ctx, "
|
513
|
-
|
553
|
+
case T_CreateSchemaStmt:
|
554
|
+
_fingerprintString(ctx, "CreateSchemaStmt");
|
555
|
+
_fingerprintCreateSchemaStmt(ctx, obj, parent, field_name, depth);
|
514
556
|
break;
|
515
|
-
case
|
516
|
-
_fingerprintString(ctx, "
|
517
|
-
|
557
|
+
case T_AlterTableStmt:
|
558
|
+
_fingerprintString(ctx, "AlterTableStmt");
|
559
|
+
_fingerprintAlterTableStmt(ctx, obj, parent, field_name, depth);
|
518
560
|
break;
|
519
|
-
case
|
520
|
-
_fingerprintString(ctx, "
|
521
|
-
|
561
|
+
case T_ReplicaIdentityStmt:
|
562
|
+
_fingerprintString(ctx, "ReplicaIdentityStmt");
|
563
|
+
_fingerprintReplicaIdentityStmt(ctx, obj, parent, field_name, depth);
|
522
564
|
break;
|
523
|
-
case
|
524
|
-
_fingerprintString(ctx, "
|
525
|
-
|
565
|
+
case T_AlterTableCmd:
|
566
|
+
_fingerprintString(ctx, "AlterTableCmd");
|
567
|
+
_fingerprintAlterTableCmd(ctx, obj, parent, field_name, depth);
|
526
568
|
break;
|
527
|
-
case
|
528
|
-
_fingerprintString(ctx, "
|
529
|
-
|
569
|
+
case T_AlterCollationStmt:
|
570
|
+
_fingerprintString(ctx, "AlterCollationStmt");
|
571
|
+
_fingerprintAlterCollationStmt(ctx, obj, parent, field_name, depth);
|
530
572
|
break;
|
531
|
-
case
|
532
|
-
_fingerprintString(ctx, "
|
533
|
-
|
573
|
+
case T_AlterDomainStmt:
|
574
|
+
_fingerprintString(ctx, "AlterDomainStmt");
|
575
|
+
_fingerprintAlterDomainStmt(ctx, obj, parent, field_name, depth);
|
534
576
|
break;
|
535
|
-
case
|
536
|
-
_fingerprintString(ctx, "
|
537
|
-
|
577
|
+
case T_GrantStmt:
|
578
|
+
_fingerprintString(ctx, "GrantStmt");
|
579
|
+
_fingerprintGrantStmt(ctx, obj, parent, field_name, depth);
|
538
580
|
break;
|
539
|
-
case
|
540
|
-
_fingerprintString(ctx, "
|
541
|
-
|
581
|
+
case T_ObjectWithArgs:
|
582
|
+
_fingerprintString(ctx, "ObjectWithArgs");
|
583
|
+
_fingerprintObjectWithArgs(ctx, obj, parent, field_name, depth);
|
542
584
|
break;
|
543
|
-
case
|
544
|
-
_fingerprintString(ctx, "
|
545
|
-
|
585
|
+
case T_AccessPriv:
|
586
|
+
_fingerprintString(ctx, "AccessPriv");
|
587
|
+
_fingerprintAccessPriv(ctx, obj, parent, field_name, depth);
|
546
588
|
break;
|
547
|
-
case
|
548
|
-
_fingerprintString(ctx, "
|
549
|
-
|
589
|
+
case T_GrantRoleStmt:
|
590
|
+
_fingerprintString(ctx, "GrantRoleStmt");
|
591
|
+
_fingerprintGrantRoleStmt(ctx, obj, parent, field_name, depth);
|
550
592
|
break;
|
551
|
-
case
|
552
|
-
_fingerprintString(ctx, "
|
553
|
-
|
593
|
+
case T_AlterDefaultPrivilegesStmt:
|
594
|
+
_fingerprintString(ctx, "AlterDefaultPrivilegesStmt");
|
595
|
+
_fingerprintAlterDefaultPrivilegesStmt(ctx, obj, parent, field_name, depth);
|
554
596
|
break;
|
555
|
-
case
|
556
|
-
_fingerprintString(ctx, "
|
557
|
-
|
597
|
+
case T_CopyStmt:
|
598
|
+
_fingerprintString(ctx, "CopyStmt");
|
599
|
+
_fingerprintCopyStmt(ctx, obj, parent, field_name, depth);
|
558
600
|
break;
|
559
|
-
case
|
560
|
-
_fingerprintString(ctx, "
|
561
|
-
|
601
|
+
case T_VariableSetStmt:
|
602
|
+
_fingerprintString(ctx, "VariableSetStmt");
|
603
|
+
_fingerprintVariableSetStmt(ctx, obj, parent, field_name, depth);
|
562
604
|
break;
|
563
|
-
case
|
564
|
-
_fingerprintString(ctx, "
|
565
|
-
|
605
|
+
case T_VariableShowStmt:
|
606
|
+
_fingerprintString(ctx, "VariableShowStmt");
|
607
|
+
_fingerprintVariableShowStmt(ctx, obj, parent, field_name, depth);
|
566
608
|
break;
|
567
|
-
case
|
568
|
-
_fingerprintString(ctx, "
|
569
|
-
|
609
|
+
case T_CreateStmt:
|
610
|
+
_fingerprintString(ctx, "CreateStmt");
|
611
|
+
_fingerprintCreateStmt(ctx, obj, parent, field_name, depth);
|
612
|
+
break;
|
613
|
+
case T_Constraint:
|
614
|
+
_fingerprintString(ctx, "Constraint");
|
615
|
+
_fingerprintConstraint(ctx, obj, parent, field_name, depth);
|
616
|
+
break;
|
617
|
+
case T_CreateTableSpaceStmt:
|
618
|
+
_fingerprintString(ctx, "CreateTableSpaceStmt");
|
619
|
+
_fingerprintCreateTableSpaceStmt(ctx, obj, parent, field_name, depth);
|
620
|
+
break;
|
621
|
+
case T_DropTableSpaceStmt:
|
622
|
+
_fingerprintString(ctx, "DropTableSpaceStmt");
|
623
|
+
_fingerprintDropTableSpaceStmt(ctx, obj, parent, field_name, depth);
|
570
624
|
break;
|
571
625
|
case T_AlterTableSpaceOptionsStmt:
|
572
626
|
_fingerprintString(ctx, "AlterTableSpaceOptionsStmt");
|
@@ -576,18 +630,6 @@ case T_AlterTableMoveAllStmt:
|
|
576
630
|
_fingerprintString(ctx, "AlterTableMoveAllStmt");
|
577
631
|
_fingerprintAlterTableMoveAllStmt(ctx, obj, parent, field_name, depth);
|
578
632
|
break;
|
579
|
-
case T_SecLabelStmt:
|
580
|
-
_fingerprintString(ctx, "SecLabelStmt");
|
581
|
-
_fingerprintSecLabelStmt(ctx, obj, parent, field_name, depth);
|
582
|
-
break;
|
583
|
-
case T_CreateForeignTableStmt:
|
584
|
-
_fingerprintString(ctx, "CreateForeignTableStmt");
|
585
|
-
_fingerprintCreateForeignTableStmt(ctx, obj, parent, field_name, depth);
|
586
|
-
break;
|
587
|
-
case T_ImportForeignSchemaStmt:
|
588
|
-
_fingerprintString(ctx, "ImportForeignSchemaStmt");
|
589
|
-
_fingerprintImportForeignSchemaStmt(ctx, obj, parent, field_name, depth);
|
590
|
-
break;
|
591
633
|
case T_CreateExtensionStmt:
|
592
634
|
_fingerprintString(ctx, "CreateExtensionStmt");
|
593
635
|
_fingerprintCreateExtensionStmt(ctx, obj, parent, field_name, depth);
|
@@ -600,25 +642,41 @@ case T_AlterExtensionContentsStmt:
|
|
600
642
|
_fingerprintString(ctx, "AlterExtensionContentsStmt");
|
601
643
|
_fingerprintAlterExtensionContentsStmt(ctx, obj, parent, field_name, depth);
|
602
644
|
break;
|
603
|
-
case
|
604
|
-
_fingerprintString(ctx, "
|
605
|
-
|
645
|
+
case T_CreateFdwStmt:
|
646
|
+
_fingerprintString(ctx, "CreateFdwStmt");
|
647
|
+
_fingerprintCreateFdwStmt(ctx, obj, parent, field_name, depth);
|
606
648
|
break;
|
607
|
-
case
|
608
|
-
_fingerprintString(ctx, "
|
609
|
-
|
649
|
+
case T_AlterFdwStmt:
|
650
|
+
_fingerprintString(ctx, "AlterFdwStmt");
|
651
|
+
_fingerprintAlterFdwStmt(ctx, obj, parent, field_name, depth);
|
610
652
|
break;
|
611
|
-
case
|
612
|
-
_fingerprintString(ctx, "
|
613
|
-
|
653
|
+
case T_CreateForeignServerStmt:
|
654
|
+
_fingerprintString(ctx, "CreateForeignServerStmt");
|
655
|
+
_fingerprintCreateForeignServerStmt(ctx, obj, parent, field_name, depth);
|
614
656
|
break;
|
615
|
-
case
|
616
|
-
_fingerprintString(ctx, "
|
617
|
-
|
657
|
+
case T_AlterForeignServerStmt:
|
658
|
+
_fingerprintString(ctx, "AlterForeignServerStmt");
|
659
|
+
_fingerprintAlterForeignServerStmt(ctx, obj, parent, field_name, depth);
|
618
660
|
break;
|
619
|
-
case
|
620
|
-
_fingerprintString(ctx, "
|
621
|
-
|
661
|
+
case T_CreateForeignTableStmt:
|
662
|
+
_fingerprintString(ctx, "CreateForeignTableStmt");
|
663
|
+
_fingerprintCreateForeignTableStmt(ctx, obj, parent, field_name, depth);
|
664
|
+
break;
|
665
|
+
case T_CreateUserMappingStmt:
|
666
|
+
_fingerprintString(ctx, "CreateUserMappingStmt");
|
667
|
+
_fingerprintCreateUserMappingStmt(ctx, obj, parent, field_name, depth);
|
668
|
+
break;
|
669
|
+
case T_AlterUserMappingStmt:
|
670
|
+
_fingerprintString(ctx, "AlterUserMappingStmt");
|
671
|
+
_fingerprintAlterUserMappingStmt(ctx, obj, parent, field_name, depth);
|
672
|
+
break;
|
673
|
+
case T_DropUserMappingStmt:
|
674
|
+
_fingerprintString(ctx, "DropUserMappingStmt");
|
675
|
+
_fingerprintDropUserMappingStmt(ctx, obj, parent, field_name, depth);
|
676
|
+
break;
|
677
|
+
case T_ImportForeignSchemaStmt:
|
678
|
+
_fingerprintString(ctx, "ImportForeignSchemaStmt");
|
679
|
+
_fingerprintImportForeignSchemaStmt(ctx, obj, parent, field_name, depth);
|
622
680
|
break;
|
623
681
|
case T_CreatePolicyStmt:
|
624
682
|
_fingerprintString(ctx, "CreatePolicyStmt");
|
@@ -628,285 +686,347 @@ case T_AlterPolicyStmt:
|
|
628
686
|
_fingerprintString(ctx, "AlterPolicyStmt");
|
629
687
|
_fingerprintAlterPolicyStmt(ctx, obj, parent, field_name, depth);
|
630
688
|
break;
|
631
|
-
case T_CreateTransformStmt:
|
632
|
-
_fingerprintString(ctx, "CreateTransformStmt");
|
633
|
-
_fingerprintCreateTransformStmt(ctx, obj, parent, field_name, depth);
|
634
|
-
break;
|
635
689
|
case T_CreateAmStmt:
|
636
690
|
_fingerprintString(ctx, "CreateAmStmt");
|
637
691
|
_fingerprintCreateAmStmt(ctx, obj, parent, field_name, depth);
|
638
692
|
break;
|
639
|
-
case
|
640
|
-
_fingerprintString(ctx, "
|
641
|
-
|
693
|
+
case T_CreateTrigStmt:
|
694
|
+
_fingerprintString(ctx, "CreateTrigStmt");
|
695
|
+
_fingerprintCreateTrigStmt(ctx, obj, parent, field_name, depth);
|
642
696
|
break;
|
643
|
-
case
|
644
|
-
_fingerprintString(ctx, "
|
645
|
-
|
697
|
+
case T_CreateEventTrigStmt:
|
698
|
+
_fingerprintString(ctx, "CreateEventTrigStmt");
|
699
|
+
_fingerprintCreateEventTrigStmt(ctx, obj, parent, field_name, depth);
|
646
700
|
break;
|
647
|
-
case
|
648
|
-
_fingerprintString(ctx, "
|
649
|
-
|
701
|
+
case T_AlterEventTrigStmt:
|
702
|
+
_fingerprintString(ctx, "AlterEventTrigStmt");
|
703
|
+
_fingerprintAlterEventTrigStmt(ctx, obj, parent, field_name, depth);
|
650
704
|
break;
|
651
|
-
case
|
652
|
-
_fingerprintString(ctx, "
|
653
|
-
|
705
|
+
case T_CreatePLangStmt:
|
706
|
+
_fingerprintString(ctx, "CreatePLangStmt");
|
707
|
+
_fingerprintCreatePLangStmt(ctx, obj, parent, field_name, depth);
|
654
708
|
break;
|
655
|
-
case
|
656
|
-
_fingerprintString(ctx, "
|
657
|
-
|
709
|
+
case T_CreateRoleStmt:
|
710
|
+
_fingerprintString(ctx, "CreateRoleStmt");
|
711
|
+
_fingerprintCreateRoleStmt(ctx, obj, parent, field_name, depth);
|
658
712
|
break;
|
659
|
-
case
|
660
|
-
_fingerprintString(ctx, "
|
661
|
-
|
713
|
+
case T_AlterRoleStmt:
|
714
|
+
_fingerprintString(ctx, "AlterRoleStmt");
|
715
|
+
_fingerprintAlterRoleStmt(ctx, obj, parent, field_name, depth);
|
662
716
|
break;
|
663
|
-
case
|
664
|
-
_fingerprintString(ctx, "
|
665
|
-
|
717
|
+
case T_AlterRoleSetStmt:
|
718
|
+
_fingerprintString(ctx, "AlterRoleSetStmt");
|
719
|
+
_fingerprintAlterRoleSetStmt(ctx, obj, parent, field_name, depth);
|
666
720
|
break;
|
667
|
-
case
|
668
|
-
_fingerprintString(ctx, "
|
669
|
-
|
721
|
+
case T_DropRoleStmt:
|
722
|
+
_fingerprintString(ctx, "DropRoleStmt");
|
723
|
+
_fingerprintDropRoleStmt(ctx, obj, parent, field_name, depth);
|
670
724
|
break;
|
671
|
-
case
|
672
|
-
_fingerprintString(ctx, "
|
673
|
-
|
725
|
+
case T_CreateSeqStmt:
|
726
|
+
_fingerprintString(ctx, "CreateSeqStmt");
|
727
|
+
_fingerprintCreateSeqStmt(ctx, obj, parent, field_name, depth);
|
674
728
|
break;
|
675
|
-
case
|
676
|
-
_fingerprintString(ctx, "
|
677
|
-
|
729
|
+
case T_AlterSeqStmt:
|
730
|
+
_fingerprintString(ctx, "AlterSeqStmt");
|
731
|
+
_fingerprintAlterSeqStmt(ctx, obj, parent, field_name, depth);
|
678
732
|
break;
|
679
|
-
case
|
680
|
-
_fingerprintString(ctx, "
|
681
|
-
|
733
|
+
case T_DefineStmt:
|
734
|
+
_fingerprintString(ctx, "DefineStmt");
|
735
|
+
_fingerprintDefineStmt(ctx, obj, parent, field_name, depth);
|
682
736
|
break;
|
683
|
-
case
|
684
|
-
|
737
|
+
case T_CreateDomainStmt:
|
738
|
+
_fingerprintString(ctx, "CreateDomainStmt");
|
739
|
+
_fingerprintCreateDomainStmt(ctx, obj, parent, field_name, depth);
|
685
740
|
break;
|
686
|
-
case
|
687
|
-
_fingerprintString(ctx, "
|
688
|
-
|
741
|
+
case T_CreateOpClassStmt:
|
742
|
+
_fingerprintString(ctx, "CreateOpClassStmt");
|
743
|
+
_fingerprintCreateOpClassStmt(ctx, obj, parent, field_name, depth);
|
689
744
|
break;
|
690
|
-
case
|
691
|
-
_fingerprintString(ctx, "
|
692
|
-
|
745
|
+
case T_CreateOpClassItem:
|
746
|
+
_fingerprintString(ctx, "CreateOpClassItem");
|
747
|
+
_fingerprintCreateOpClassItem(ctx, obj, parent, field_name, depth);
|
693
748
|
break;
|
694
|
-
case
|
695
|
-
_fingerprintString(ctx, "
|
696
|
-
|
749
|
+
case T_CreateOpFamilyStmt:
|
750
|
+
_fingerprintString(ctx, "CreateOpFamilyStmt");
|
751
|
+
_fingerprintCreateOpFamilyStmt(ctx, obj, parent, field_name, depth);
|
697
752
|
break;
|
698
|
-
case
|
699
|
-
_fingerprintString(ctx, "
|
700
|
-
|
753
|
+
case T_AlterOpFamilyStmt:
|
754
|
+
_fingerprintString(ctx, "AlterOpFamilyStmt");
|
755
|
+
_fingerprintAlterOpFamilyStmt(ctx, obj, parent, field_name, depth);
|
701
756
|
break;
|
702
|
-
case
|
703
|
-
_fingerprintString(ctx, "
|
704
|
-
|
757
|
+
case T_DropStmt:
|
758
|
+
_fingerprintString(ctx, "DropStmt");
|
759
|
+
_fingerprintDropStmt(ctx, obj, parent, field_name, depth);
|
705
760
|
break;
|
706
|
-
case
|
707
|
-
_fingerprintString(ctx, "
|
708
|
-
|
761
|
+
case T_TruncateStmt:
|
762
|
+
_fingerprintString(ctx, "TruncateStmt");
|
763
|
+
_fingerprintTruncateStmt(ctx, obj, parent, field_name, depth);
|
709
764
|
break;
|
710
|
-
case
|
711
|
-
_fingerprintString(ctx, "
|
712
|
-
|
765
|
+
case T_CommentStmt:
|
766
|
+
_fingerprintString(ctx, "CommentStmt");
|
767
|
+
_fingerprintCommentStmt(ctx, obj, parent, field_name, depth);
|
713
768
|
break;
|
714
|
-
case
|
715
|
-
|
716
|
-
|
717
|
-
_fingerprintString(ctx, "TypeCast");
|
718
|
-
_fingerprintTypeCast(ctx, obj, parent, field_name, depth);
|
719
|
-
}
|
769
|
+
case T_SecLabelStmt:
|
770
|
+
_fingerprintString(ctx, "SecLabelStmt");
|
771
|
+
_fingerprintSecLabelStmt(ctx, obj, parent, field_name, depth);
|
720
772
|
break;
|
721
|
-
case
|
722
|
-
_fingerprintString(ctx, "
|
723
|
-
|
773
|
+
case T_DeclareCursorStmt:
|
774
|
+
_fingerprintString(ctx, "DeclareCursorStmt");
|
775
|
+
_fingerprintDeclareCursorStmt(ctx, obj, parent, field_name, depth);
|
724
776
|
break;
|
725
|
-
case
|
726
|
-
_fingerprintString(ctx, "
|
727
|
-
|
777
|
+
case T_ClosePortalStmt:
|
778
|
+
_fingerprintString(ctx, "ClosePortalStmt");
|
779
|
+
_fingerprintClosePortalStmt(ctx, obj, parent, field_name, depth);
|
728
780
|
break;
|
729
|
-
case
|
730
|
-
_fingerprintString(ctx, "
|
731
|
-
|
781
|
+
case T_FetchStmt:
|
782
|
+
_fingerprintString(ctx, "FetchStmt");
|
783
|
+
_fingerprintFetchStmt(ctx, obj, parent, field_name, depth);
|
732
784
|
break;
|
733
|
-
case
|
734
|
-
_fingerprintString(ctx, "
|
735
|
-
|
785
|
+
case T_IndexStmt:
|
786
|
+
_fingerprintString(ctx, "IndexStmt");
|
787
|
+
_fingerprintIndexStmt(ctx, obj, parent, field_name, depth);
|
736
788
|
break;
|
737
|
-
case
|
738
|
-
_fingerprintString(ctx, "
|
739
|
-
|
789
|
+
case T_CreateStatsStmt:
|
790
|
+
_fingerprintString(ctx, "CreateStatsStmt");
|
791
|
+
_fingerprintCreateStatsStmt(ctx, obj, parent, field_name, depth);
|
740
792
|
break;
|
741
|
-
case
|
742
|
-
_fingerprintString(ctx, "
|
743
|
-
|
793
|
+
case T_StatsElem:
|
794
|
+
_fingerprintString(ctx, "StatsElem");
|
795
|
+
_fingerprintStatsElem(ctx, obj, parent, field_name, depth);
|
744
796
|
break;
|
745
|
-
case
|
746
|
-
_fingerprintString(ctx, "
|
747
|
-
|
797
|
+
case T_AlterStatsStmt:
|
798
|
+
_fingerprintString(ctx, "AlterStatsStmt");
|
799
|
+
_fingerprintAlterStatsStmt(ctx, obj, parent, field_name, depth);
|
748
800
|
break;
|
749
|
-
case
|
750
|
-
_fingerprintString(ctx, "
|
751
|
-
|
801
|
+
case T_CreateFunctionStmt:
|
802
|
+
_fingerprintString(ctx, "CreateFunctionStmt");
|
803
|
+
_fingerprintCreateFunctionStmt(ctx, obj, parent, field_name, depth);
|
752
804
|
break;
|
753
|
-
case
|
754
|
-
_fingerprintString(ctx, "
|
755
|
-
|
805
|
+
case T_FunctionParameter:
|
806
|
+
_fingerprintString(ctx, "FunctionParameter");
|
807
|
+
_fingerprintFunctionParameter(ctx, obj, parent, field_name, depth);
|
756
808
|
break;
|
757
|
-
case
|
758
|
-
_fingerprintString(ctx, "
|
759
|
-
|
809
|
+
case T_AlterFunctionStmt:
|
810
|
+
_fingerprintString(ctx, "AlterFunctionStmt");
|
811
|
+
_fingerprintAlterFunctionStmt(ctx, obj, parent, field_name, depth);
|
760
812
|
break;
|
761
|
-
case
|
762
|
-
_fingerprintString(ctx, "
|
763
|
-
|
813
|
+
case T_DoStmt:
|
814
|
+
_fingerprintString(ctx, "DoStmt");
|
815
|
+
_fingerprintDoStmt(ctx, obj, parent, field_name, depth);
|
764
816
|
break;
|
765
|
-
case
|
766
|
-
_fingerprintString(ctx, "
|
767
|
-
|
817
|
+
case T_InlineCodeBlock:
|
818
|
+
_fingerprintString(ctx, "InlineCodeBlock");
|
819
|
+
_fingerprintInlineCodeBlock(ctx, obj, parent, field_name, depth);
|
768
820
|
break;
|
769
|
-
case
|
770
|
-
_fingerprintString(ctx, "
|
771
|
-
|
821
|
+
case T_CallStmt:
|
822
|
+
_fingerprintString(ctx, "CallStmt");
|
823
|
+
_fingerprintCallStmt(ctx, obj, parent, field_name, depth);
|
772
824
|
break;
|
773
|
-
case
|
774
|
-
_fingerprintString(ctx, "
|
775
|
-
|
825
|
+
case T_CallContext:
|
826
|
+
_fingerprintString(ctx, "CallContext");
|
827
|
+
_fingerprintCallContext(ctx, obj, parent, field_name, depth);
|
776
828
|
break;
|
777
|
-
case
|
778
|
-
_fingerprintString(ctx, "
|
779
|
-
|
829
|
+
case T_RenameStmt:
|
830
|
+
_fingerprintString(ctx, "RenameStmt");
|
831
|
+
_fingerprintRenameStmt(ctx, obj, parent, field_name, depth);
|
780
832
|
break;
|
781
|
-
case
|
782
|
-
_fingerprintString(ctx, "
|
783
|
-
|
833
|
+
case T_AlterObjectDependsStmt:
|
834
|
+
_fingerprintString(ctx, "AlterObjectDependsStmt");
|
835
|
+
_fingerprintAlterObjectDependsStmt(ctx, obj, parent, field_name, depth);
|
784
836
|
break;
|
785
|
-
case
|
786
|
-
_fingerprintString(ctx, "
|
787
|
-
|
837
|
+
case T_AlterObjectSchemaStmt:
|
838
|
+
_fingerprintString(ctx, "AlterObjectSchemaStmt");
|
839
|
+
_fingerprintAlterObjectSchemaStmt(ctx, obj, parent, field_name, depth);
|
788
840
|
break;
|
789
|
-
case
|
790
|
-
_fingerprintString(ctx, "
|
791
|
-
|
841
|
+
case T_AlterOwnerStmt:
|
842
|
+
_fingerprintString(ctx, "AlterOwnerStmt");
|
843
|
+
_fingerprintAlterOwnerStmt(ctx, obj, parent, field_name, depth);
|
792
844
|
break;
|
793
|
-
case
|
794
|
-
_fingerprintString(ctx, "
|
795
|
-
|
845
|
+
case T_AlterOperatorStmt:
|
846
|
+
_fingerprintString(ctx, "AlterOperatorStmt");
|
847
|
+
_fingerprintAlterOperatorStmt(ctx, obj, parent, field_name, depth);
|
796
848
|
break;
|
797
|
-
case
|
798
|
-
_fingerprintString(ctx, "
|
799
|
-
|
849
|
+
case T_AlterTypeStmt:
|
850
|
+
_fingerprintString(ctx, "AlterTypeStmt");
|
851
|
+
_fingerprintAlterTypeStmt(ctx, obj, parent, field_name, depth);
|
800
852
|
break;
|
801
|
-
case
|
802
|
-
_fingerprintString(ctx, "
|
803
|
-
|
853
|
+
case T_RuleStmt:
|
854
|
+
_fingerprintString(ctx, "RuleStmt");
|
855
|
+
_fingerprintRuleStmt(ctx, obj, parent, field_name, depth);
|
804
856
|
break;
|
805
|
-
case
|
806
|
-
_fingerprintString(ctx, "
|
807
|
-
|
857
|
+
case T_NotifyStmt:
|
858
|
+
_fingerprintString(ctx, "NotifyStmt");
|
859
|
+
_fingerprintNotifyStmt(ctx, obj, parent, field_name, depth);
|
808
860
|
break;
|
809
|
-
case
|
810
|
-
_fingerprintString(ctx, "
|
811
|
-
|
861
|
+
case T_ListenStmt:
|
862
|
+
_fingerprintString(ctx, "ListenStmt");
|
863
|
+
_fingerprintListenStmt(ctx, obj, parent, field_name, depth);
|
812
864
|
break;
|
813
|
-
case
|
814
|
-
_fingerprintString(ctx, "
|
815
|
-
|
865
|
+
case T_UnlistenStmt:
|
866
|
+
_fingerprintString(ctx, "UnlistenStmt");
|
867
|
+
_fingerprintUnlistenStmt(ctx, obj, parent, field_name, depth);
|
816
868
|
break;
|
817
|
-
case
|
818
|
-
_fingerprintString(ctx, "
|
819
|
-
|
869
|
+
case T_TransactionStmt:
|
870
|
+
_fingerprintString(ctx, "TransactionStmt");
|
871
|
+
_fingerprintTransactionStmt(ctx, obj, parent, field_name, depth);
|
820
872
|
break;
|
821
|
-
case
|
822
|
-
_fingerprintString(ctx, "
|
823
|
-
|
873
|
+
case T_CompositeTypeStmt:
|
874
|
+
_fingerprintString(ctx, "CompositeTypeStmt");
|
875
|
+
_fingerprintCompositeTypeStmt(ctx, obj, parent, field_name, depth);
|
824
876
|
break;
|
825
|
-
case
|
826
|
-
_fingerprintString(ctx, "
|
827
|
-
|
877
|
+
case T_CreateEnumStmt:
|
878
|
+
_fingerprintString(ctx, "CreateEnumStmt");
|
879
|
+
_fingerprintCreateEnumStmt(ctx, obj, parent, field_name, depth);
|
828
880
|
break;
|
829
|
-
case
|
830
|
-
_fingerprintString(ctx, "
|
831
|
-
|
881
|
+
case T_CreateRangeStmt:
|
882
|
+
_fingerprintString(ctx, "CreateRangeStmt");
|
883
|
+
_fingerprintCreateRangeStmt(ctx, obj, parent, field_name, depth);
|
832
884
|
break;
|
833
|
-
case
|
834
|
-
_fingerprintString(ctx, "
|
835
|
-
|
885
|
+
case T_AlterEnumStmt:
|
886
|
+
_fingerprintString(ctx, "AlterEnumStmt");
|
887
|
+
_fingerprintAlterEnumStmt(ctx, obj, parent, field_name, depth);
|
836
888
|
break;
|
837
|
-
case
|
838
|
-
_fingerprintString(ctx, "
|
839
|
-
|
889
|
+
case T_ViewStmt:
|
890
|
+
_fingerprintString(ctx, "ViewStmt");
|
891
|
+
_fingerprintViewStmt(ctx, obj, parent, field_name, depth);
|
840
892
|
break;
|
841
|
-
case
|
842
|
-
_fingerprintString(ctx, "
|
843
|
-
|
893
|
+
case T_LoadStmt:
|
894
|
+
_fingerprintString(ctx, "LoadStmt");
|
895
|
+
_fingerprintLoadStmt(ctx, obj, parent, field_name, depth);
|
844
896
|
break;
|
845
|
-
case
|
846
|
-
_fingerprintString(ctx, "
|
847
|
-
|
897
|
+
case T_CreatedbStmt:
|
898
|
+
_fingerprintString(ctx, "CreatedbStmt");
|
899
|
+
_fingerprintCreatedbStmt(ctx, obj, parent, field_name, depth);
|
848
900
|
break;
|
849
|
-
case
|
850
|
-
_fingerprintString(ctx, "
|
851
|
-
|
901
|
+
case T_AlterDatabaseStmt:
|
902
|
+
_fingerprintString(ctx, "AlterDatabaseStmt");
|
903
|
+
_fingerprintAlterDatabaseStmt(ctx, obj, parent, field_name, depth);
|
852
904
|
break;
|
853
|
-
case
|
854
|
-
_fingerprintString(ctx, "
|
855
|
-
|
905
|
+
case T_AlterDatabaseRefreshCollStmt:
|
906
|
+
_fingerprintString(ctx, "AlterDatabaseRefreshCollStmt");
|
907
|
+
_fingerprintAlterDatabaseRefreshCollStmt(ctx, obj, parent, field_name, depth);
|
856
908
|
break;
|
857
|
-
case
|
858
|
-
_fingerprintString(ctx, "
|
859
|
-
|
909
|
+
case T_AlterDatabaseSetStmt:
|
910
|
+
_fingerprintString(ctx, "AlterDatabaseSetStmt");
|
911
|
+
_fingerprintAlterDatabaseSetStmt(ctx, obj, parent, field_name, depth);
|
860
912
|
break;
|
861
|
-
case
|
862
|
-
_fingerprintString(ctx, "
|
863
|
-
|
913
|
+
case T_DropdbStmt:
|
914
|
+
_fingerprintString(ctx, "DropdbStmt");
|
915
|
+
_fingerprintDropdbStmt(ctx, obj, parent, field_name, depth);
|
864
916
|
break;
|
865
|
-
case
|
866
|
-
_fingerprintString(ctx, "
|
867
|
-
|
917
|
+
case T_AlterSystemStmt:
|
918
|
+
_fingerprintString(ctx, "AlterSystemStmt");
|
919
|
+
_fingerprintAlterSystemStmt(ctx, obj, parent, field_name, depth);
|
868
920
|
break;
|
869
|
-
case
|
870
|
-
_fingerprintString(ctx, "
|
871
|
-
|
921
|
+
case T_ClusterStmt:
|
922
|
+
_fingerprintString(ctx, "ClusterStmt");
|
923
|
+
_fingerprintClusterStmt(ctx, obj, parent, field_name, depth);
|
872
924
|
break;
|
873
|
-
case
|
874
|
-
_fingerprintString(ctx, "
|
875
|
-
|
925
|
+
case T_VacuumStmt:
|
926
|
+
_fingerprintString(ctx, "VacuumStmt");
|
927
|
+
_fingerprintVacuumStmt(ctx, obj, parent, field_name, depth);
|
876
928
|
break;
|
877
|
-
case
|
878
|
-
_fingerprintString(ctx, "
|
879
|
-
|
929
|
+
case T_VacuumRelation:
|
930
|
+
_fingerprintString(ctx, "VacuumRelation");
|
931
|
+
_fingerprintVacuumRelation(ctx, obj, parent, field_name, depth);
|
880
932
|
break;
|
881
|
-
case
|
882
|
-
_fingerprintString(ctx, "
|
883
|
-
|
933
|
+
case T_ExplainStmt:
|
934
|
+
_fingerprintString(ctx, "ExplainStmt");
|
935
|
+
_fingerprintExplainStmt(ctx, obj, parent, field_name, depth);
|
884
936
|
break;
|
885
|
-
case
|
886
|
-
_fingerprintString(ctx, "
|
887
|
-
|
937
|
+
case T_CreateTableAsStmt:
|
938
|
+
_fingerprintString(ctx, "CreateTableAsStmt");
|
939
|
+
_fingerprintCreateTableAsStmt(ctx, obj, parent, field_name, depth);
|
888
940
|
break;
|
889
|
-
case
|
890
|
-
_fingerprintString(ctx, "
|
891
|
-
|
941
|
+
case T_RefreshMatViewStmt:
|
942
|
+
_fingerprintString(ctx, "RefreshMatViewStmt");
|
943
|
+
_fingerprintRefreshMatViewStmt(ctx, obj, parent, field_name, depth);
|
892
944
|
break;
|
893
|
-
case
|
894
|
-
_fingerprintString(ctx, "
|
895
|
-
|
945
|
+
case T_CheckPointStmt:
|
946
|
+
_fingerprintString(ctx, "CheckPointStmt");
|
947
|
+
_fingerprintCheckPointStmt(ctx, obj, parent, field_name, depth);
|
896
948
|
break;
|
897
|
-
case
|
898
|
-
_fingerprintString(ctx, "
|
899
|
-
|
949
|
+
case T_DiscardStmt:
|
950
|
+
_fingerprintString(ctx, "DiscardStmt");
|
951
|
+
_fingerprintDiscardStmt(ctx, obj, parent, field_name, depth);
|
952
|
+
break;
|
953
|
+
case T_LockStmt:
|
954
|
+
_fingerprintString(ctx, "LockStmt");
|
955
|
+
_fingerprintLockStmt(ctx, obj, parent, field_name, depth);
|
956
|
+
break;
|
957
|
+
case T_ConstraintsSetStmt:
|
958
|
+
_fingerprintString(ctx, "ConstraintsSetStmt");
|
959
|
+
_fingerprintConstraintsSetStmt(ctx, obj, parent, field_name, depth);
|
960
|
+
break;
|
961
|
+
case T_ReindexStmt:
|
962
|
+
_fingerprintString(ctx, "ReindexStmt");
|
963
|
+
_fingerprintReindexStmt(ctx, obj, parent, field_name, depth);
|
964
|
+
break;
|
965
|
+
case T_CreateConversionStmt:
|
966
|
+
_fingerprintString(ctx, "CreateConversionStmt");
|
967
|
+
_fingerprintCreateConversionStmt(ctx, obj, parent, field_name, depth);
|
968
|
+
break;
|
969
|
+
case T_CreateCastStmt:
|
970
|
+
_fingerprintString(ctx, "CreateCastStmt");
|
971
|
+
_fingerprintCreateCastStmt(ctx, obj, parent, field_name, depth);
|
972
|
+
break;
|
973
|
+
case T_CreateTransformStmt:
|
974
|
+
_fingerprintString(ctx, "CreateTransformStmt");
|
975
|
+
_fingerprintCreateTransformStmt(ctx, obj, parent, field_name, depth);
|
976
|
+
break;
|
977
|
+
case T_PrepareStmt:
|
978
|
+
_fingerprintString(ctx, "PrepareStmt");
|
979
|
+
_fingerprintPrepareStmt(ctx, obj, parent, field_name, depth);
|
980
|
+
break;
|
981
|
+
case T_ExecuteStmt:
|
982
|
+
_fingerprintString(ctx, "ExecuteStmt");
|
983
|
+
_fingerprintExecuteStmt(ctx, obj, parent, field_name, depth);
|
984
|
+
break;
|
985
|
+
case T_DeallocateStmt:
|
986
|
+
_fingerprintString(ctx, "DeallocateStmt");
|
987
|
+
_fingerprintDeallocateStmt(ctx, obj, parent, field_name, depth);
|
988
|
+
break;
|
989
|
+
case T_DropOwnedStmt:
|
990
|
+
_fingerprintString(ctx, "DropOwnedStmt");
|
991
|
+
_fingerprintDropOwnedStmt(ctx, obj, parent, field_name, depth);
|
992
|
+
break;
|
993
|
+
case T_ReassignOwnedStmt:
|
994
|
+
_fingerprintString(ctx, "ReassignOwnedStmt");
|
995
|
+
_fingerprintReassignOwnedStmt(ctx, obj, parent, field_name, depth);
|
996
|
+
break;
|
997
|
+
case T_AlterTSDictionaryStmt:
|
998
|
+
_fingerprintString(ctx, "AlterTSDictionaryStmt");
|
999
|
+
_fingerprintAlterTSDictionaryStmt(ctx, obj, parent, field_name, depth);
|
1000
|
+
break;
|
1001
|
+
case T_AlterTSConfigurationStmt:
|
1002
|
+
_fingerprintString(ctx, "AlterTSConfigurationStmt");
|
1003
|
+
_fingerprintAlterTSConfigurationStmt(ctx, obj, parent, field_name, depth);
|
900
1004
|
break;
|
901
1005
|
case T_PublicationTable:
|
902
1006
|
_fingerprintString(ctx, "PublicationTable");
|
903
1007
|
_fingerprintPublicationTable(ctx, obj, parent, field_name, depth);
|
904
1008
|
break;
|
905
|
-
case
|
906
|
-
_fingerprintString(ctx, "
|
907
|
-
|
1009
|
+
case T_PublicationObjSpec:
|
1010
|
+
_fingerprintString(ctx, "PublicationObjSpec");
|
1011
|
+
_fingerprintPublicationObjSpec(ctx, obj, parent, field_name, depth);
|
908
1012
|
break;
|
909
|
-
case
|
910
|
-
_fingerprintString(ctx, "
|
911
|
-
|
1013
|
+
case T_CreatePublicationStmt:
|
1014
|
+
_fingerprintString(ctx, "CreatePublicationStmt");
|
1015
|
+
_fingerprintCreatePublicationStmt(ctx, obj, parent, field_name, depth);
|
1016
|
+
break;
|
1017
|
+
case T_AlterPublicationStmt:
|
1018
|
+
_fingerprintString(ctx, "AlterPublicationStmt");
|
1019
|
+
_fingerprintAlterPublicationStmt(ctx, obj, parent, field_name, depth);
|
1020
|
+
break;
|
1021
|
+
case T_CreateSubscriptionStmt:
|
1022
|
+
_fingerprintString(ctx, "CreateSubscriptionStmt");
|
1023
|
+
_fingerprintCreateSubscriptionStmt(ctx, obj, parent, field_name, depth);
|
1024
|
+
break;
|
1025
|
+
case T_AlterSubscriptionStmt:
|
1026
|
+
_fingerprintString(ctx, "AlterSubscriptionStmt");
|
1027
|
+
_fingerprintAlterSubscriptionStmt(ctx, obj, parent, field_name, depth);
|
1028
|
+
break;
|
1029
|
+
case T_DropSubscriptionStmt:
|
1030
|
+
_fingerprintString(ctx, "DropSubscriptionStmt");
|
1031
|
+
_fingerprintDropSubscriptionStmt(ctx, obj, parent, field_name, depth);
|
912
1032
|
break;
|