pg_query 5.1.0 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/ext/pg_query/include/pg_query.h +4 -3
- data/ext/pg_query/include/pg_query_enum_defs.c +424 -154
- data/ext/pg_query/include/pg_query_fingerprint_conds.c +68 -4
- data/ext/pg_query/include/pg_query_fingerprint_defs.c +2952 -1845
- data/ext/pg_query/include/pg_query_outfuncs_conds.c +51 -3
- data/ext/pg_query/include/pg_query_outfuncs_defs.c +210 -23
- data/ext/pg_query/include/pg_query_readfuncs_conds.c +17 -1
- data/ext/pg_query/include/pg_query_readfuncs_defs.c +271 -52
- data/ext/pg_query/include/postgres/access/amapi.h +10 -3
- data/ext/pg_query/include/postgres/access/attmap.h +1 -1
- data/ext/pg_query/include/postgres/access/attnum.h +1 -1
- data/ext/pg_query/include/postgres/access/brin_internal.h +116 -0
- data/ext/pg_query/include/postgres/access/brin_tuple.h +112 -0
- data/ext/pg_query/include/postgres/access/clog.h +2 -3
- data/ext/pg_query/include/postgres/access/commit_ts.h +2 -3
- data/ext/pg_query/include/postgres/access/detoast.h +1 -1
- data/ext/pg_query/include/postgres/access/genam.h +8 -4
- data/ext/pg_query/include/postgres/access/gin.h +1 -1
- data/ext/pg_query/include/postgres/access/htup.h +1 -1
- data/ext/pg_query/include/postgres/access/htup_details.h +11 -11
- data/ext/pg_query/include/postgres/access/itup.h +3 -3
- data/ext/pg_query/include/postgres/access/parallel.h +1 -2
- data/ext/pg_query/include/postgres/access/printtup.h +1 -1
- data/ext/pg_query/include/postgres/access/relation.h +1 -1
- data/ext/pg_query/include/postgres/access/relscan.h +1 -1
- data/ext/pg_query/include/postgres/access/rmgrlist.h +1 -1
- data/ext/pg_query/include/postgres/access/sdir.h +1 -1
- data/ext/pg_query/include/postgres/access/skey.h +1 -1
- data/ext/pg_query/include/postgres/access/slru.h +221 -0
- data/ext/pg_query/include/postgres/access/stratnum.h +1 -1
- data/ext/pg_query/include/postgres/access/sysattr.h +1 -1
- data/ext/pg_query/include/postgres/access/table.h +1 -1
- data/ext/pg_query/include/postgres/access/tableam.h +33 -24
- data/ext/pg_query/include/postgres/access/tidstore.h +50 -0
- data/ext/pg_query/include/postgres/access/toast_compression.h +2 -2
- data/ext/pg_query/include/postgres/access/transam.h +7 -7
- data/ext/pg_query/include/postgres/access/tsmapi.h +1 -1
- data/ext/pg_query/include/postgres/access/tupconvert.h +1 -1
- data/ext/pg_query/include/postgres/access/tupdesc.h +5 -5
- data/ext/pg_query/include/postgres/access/tupmacs.h +1 -1
- data/ext/pg_query/include/postgres/access/twophase.h +2 -2
- data/ext/pg_query/include/postgres/access/xact.h +5 -5
- data/ext/pg_query/include/postgres/access/xlog.h +20 -12
- data/ext/pg_query/include/postgres/access/xlog_internal.h +4 -3
- data/ext/pg_query/include/postgres/access/xlogbackup.h +3 -1
- data/ext/pg_query/include/postgres/access/xlogdefs.h +5 -5
- data/ext/pg_query/include/postgres/access/xlogprefetcher.h +2 -2
- data/ext/pg_query/include/postgres/access/xlogreader.h +2 -2
- data/ext/pg_query/include/postgres/access/xlogrecord.h +3 -3
- data/ext/pg_query/include/postgres/access/xlogrecovery.h +4 -4
- data/ext/pg_query/include/postgres/archive/archive_module.h +9 -1
- data/ext/pg_query/include/postgres/c.h +31 -36
- data/ext/pg_query/include/postgres/catalog/catalog.h +3 -1
- data/ext/pg_query/include/postgres/catalog/catversion.h +2 -2
- data/ext/pg_query/include/postgres/catalog/dependency.h +17 -59
- data/ext/pg_query/include/postgres/catalog/genbki.h +12 -6
- data/ext/pg_query/include/postgres/catalog/index.h +22 -18
- data/ext/pg_query/include/postgres/catalog/indexing.h +1 -1
- data/ext/pg_query/include/postgres/catalog/namespace.h +18 -19
- data/ext/pg_query/include/postgres/catalog/objectaccess.h +2 -2
- data/ext/pg_query/include/postgres/catalog/objectaddress.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_aggregate.h +4 -2
- data/ext/pg_query/include/postgres/catalog/pg_aggregate_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_am.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_am_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_attribute.h +31 -14
- data/ext/pg_query/include/postgres/catalog/pg_attribute_d.h +3 -3
- data/ext/pg_query/include/postgres/catalog/pg_authid.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_authid_d.h +2 -1
- data/ext/pg_query/include/postgres/catalog/pg_class.h +10 -5
- data/ext/pg_query/include/postgres/catalog/pg_class_d.h +4 -2
- data/ext/pg_query/include/postgres/catalog/pg_collation.h +11 -5
- data/ext/pg_query/include/postgres/catalog/pg_collation_d.h +5 -2
- data/ext/pg_query/include/postgres/catalog/pg_constraint.h +15 -10
- data/ext/pg_query/include/postgres/catalog/pg_constraint_d.h +2 -1
- data/ext/pg_query/include/postgres/catalog/pg_control.h +5 -3
- data/ext/pg_query/include/postgres/catalog/pg_conversion.h +8 -4
- data/ext/pg_query/include/postgres/catalog/pg_conversion_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_database.h +9 -4
- data/ext/pg_query/include/postgres/catalog/pg_database_d.h +13 -12
- data/ext/pg_query/include/postgres/catalog/pg_depend.h +3 -3
- data/ext/pg_query/include/postgres/catalog/pg_depend_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_event_trigger.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_event_trigger_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_index.h +5 -3
- data/ext/pg_query/include/postgres/catalog/pg_index_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_language.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_language_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_namespace.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_namespace_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_opclass.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_opclass_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_operator.h +20 -3
- data/ext/pg_query/include/postgres/catalog/pg_operator_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_opfamily.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_opfamily_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_partitioned_table.h +4 -2
- data/ext/pg_query/include/postgres/catalog/pg_partitioned_table_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_proc.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_proc_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_publication.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_publication_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_replication_origin.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_replication_origin_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_statistic.h +10 -4
- data/ext/pg_query/include/postgres/catalog/pg_statistic_d.h +7 -3
- data/ext/pg_query/include/postgres/catalog/pg_statistic_ext.h +10 -7
- data/ext/pg_query/include/postgres/catalog/pg_statistic_ext_d.h +3 -3
- data/ext/pg_query/include/postgres/catalog/pg_transform.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_transform_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_trigger.h +4 -4
- data/ext/pg_query/include/postgres/catalog/pg_trigger_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_config.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_config_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_dict.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_dict_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_parser.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_parser_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_ts_template.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_ts_template_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/pg_type.h +6 -3
- data/ext/pg_query/include/postgres/catalog/pg_type_d.h +1 -1
- data/ext/pg_query/include/postgres/catalog/storage.h +1 -1
- data/ext/pg_query/include/postgres/catalog/syscache_ids.h +104 -0
- data/ext/pg_query/include/postgres/commands/async.h +2 -6
- data/ext/pg_query/include/postgres/commands/dbcommands.h +1 -1
- data/ext/pg_query/include/postgres/commands/defrem.h +6 -6
- data/ext/pg_query/include/postgres/commands/event_trigger.h +5 -2
- data/ext/pg_query/include/postgres/commands/explain.h +19 -3
- data/ext/pg_query/include/postgres/commands/prepare.h +1 -1
- data/ext/pg_query/include/postgres/commands/tablespace.h +1 -1
- data/ext/pg_query/include/postgres/commands/trigger.h +1 -1
- data/ext/pg_query/include/postgres/commands/vacuum.h +28 -26
- data/ext/pg_query/include/postgres/common/cryptohash.h +2 -2
- data/ext/pg_query/include/postgres/common/file_perm.h +1 -1
- data/ext/pg_query/include/postgres/common/file_utils.h +65 -0
- data/ext/pg_query/include/postgres/common/hashfn.h +16 -1
- data/ext/pg_query/include/postgres/common/hashfn_unstable.h +453 -0
- data/ext/pg_query/include/postgres/common/int.h +79 -4
- data/ext/pg_query/include/postgres/common/keywords.h +1 -1
- data/ext/pg_query/include/postgres/common/kwlookup.h +1 -1
- data/ext/pg_query/include/postgres/common/pg_prng.h +2 -1
- data/ext/pg_query/include/postgres/common/relpath.h +4 -4
- data/ext/pg_query/include/postgres/common/scram-common.h +1 -1
- data/ext/pg_query/include/postgres/common/sha2.h +1 -1
- data/ext/pg_query/include/postgres/common/string.h +1 -1
- data/ext/pg_query/include/postgres/common/unicode_east_asian_fw_table.h +2 -3
- data/ext/pg_query/include/postgres/copyfuncs.funcs.c +278 -30
- data/ext/pg_query/include/postgres/copyfuncs.switch.c +55 -4
- data/ext/pg_query/include/postgres/datatype/timestamp.h +28 -2
- data/ext/pg_query/include/postgres/equalfuncs.funcs.c +239 -26
- data/ext/pg_query/include/postgres/equalfuncs.switch.c +55 -4
- data/ext/pg_query/include/postgres/executor/execdesc.h +1 -1
- data/ext/pg_query/include/postgres/executor/executor.h +6 -5
- data/ext/pg_query/include/postgres/executor/functions.h +2 -1
- data/ext/pg_query/include/postgres/executor/instrument.h +5 -3
- data/ext/pg_query/include/postgres/executor/spi.h +2 -8
- data/ext/pg_query/include/postgres/executor/tablefunc.h +1 -1
- data/ext/pg_query/include/postgres/executor/tuptable.h +31 -2
- data/ext/pg_query/include/postgres/fmgr.h +2 -2
- data/ext/pg_query/include/postgres/foreign/fdwapi.h +1 -1
- data/ext/pg_query/include/postgres/funcapi.h +2 -2
- data/ext/pg_query/include/postgres/gram.h +871 -830
- data/ext/pg_query/include/postgres/gramparse.h +1 -1
- data/ext/pg_query/include/postgres/jit/jit.h +4 -3
- data/ext/pg_query/include/postgres/kwlist_d.h +511 -466
- data/ext/pg_query/include/postgres/lib/dshash.h +25 -10
- data/ext/pg_query/include/postgres/lib/ilist.h +1 -1
- data/ext/pg_query/include/postgres/lib/pairingheap.h +1 -1
- data/ext/pg_query/include/postgres/lib/simplehash.h +40 -18
- data/ext/pg_query/include/postgres/lib/sort_template.h +14 -1
- data/ext/pg_query/include/postgres/lib/stringinfo.h +93 -11
- data/ext/pg_query/include/postgres/libpq/auth.h +1 -1
- data/ext/pg_query/include/postgres/libpq/crypt.h +2 -2
- data/ext/pg_query/include/postgres/libpq/hba.h +4 -4
- data/ext/pg_query/include/postgres/libpq/libpq-be.h +29 -25
- data/ext/pg_query/include/postgres/libpq/libpq.h +6 -7
- data/ext/pg_query/include/postgres/libpq/pqcomm.h +26 -20
- data/ext/pg_query/include/postgres/libpq/pqformat.h +2 -3
- data/ext/pg_query/include/postgres/libpq/pqsignal.h +1 -1
- data/ext/pg_query/include/postgres/libpq/protocol.h +89 -0
- data/ext/pg_query/include/postgres/libpq/sasl.h +1 -1
- data/ext/pg_query/include/postgres/libpq/scram.h +1 -1
- data/ext/pg_query/include/postgres/mb/pg_wchar.h +102 -82
- data/ext/pg_query/include/postgres/mb/stringinfo_mb.h +1 -1
- data/ext/pg_query/include/postgres/miscadmin.h +64 -52
- data/ext/pg_query/include/postgres/nodes/bitmapset.h +17 -3
- data/ext/pg_query/include/postgres/nodes/execnodes.h +109 -25
- data/ext/pg_query/include/postgres/nodes/extensible.h +1 -1
- data/ext/pg_query/include/postgres/nodes/lockoptions.h +4 -4
- data/ext/pg_query/include/postgres/nodes/makefuncs.h +8 -2
- data/ext/pg_query/include/postgres/nodes/memnodes.h +43 -4
- data/ext/pg_query/include/postgres/nodes/miscnodes.h +1 -1
- data/ext/pg_query/include/postgres/nodes/nodeFuncs.h +1 -1
- data/ext/pg_query/include/postgres/nodes/nodes.h +30 -41
- data/ext/pg_query/include/postgres/nodes/nodetags.h +464 -444
- data/ext/pg_query/include/postgres/nodes/params.h +1 -1
- data/ext/pg_query/include/postgres/nodes/parsenodes.h +358 -175
- data/ext/pg_query/include/postgres/nodes/pathnodes.h +60 -9
- data/ext/pg_query/include/postgres/nodes/pg_list.h +62 -11
- data/ext/pg_query/include/postgres/nodes/plannodes.h +11 -10
- data/ext/pg_query/include/postgres/nodes/primnodes.h +344 -50
- data/ext/pg_query/include/postgres/nodes/print.h +1 -1
- data/ext/pg_query/include/postgres/nodes/queryjumble.h +2 -2
- data/ext/pg_query/include/postgres/nodes/replnodes.h +23 -2
- data/ext/pg_query/include/postgres/nodes/supportnodes.h +1 -1
- data/ext/pg_query/include/postgres/nodes/tidbitmap.h +1 -1
- data/ext/pg_query/include/postgres/nodes/value.h +1 -1
- data/ext/pg_query/include/postgres/optimizer/cost.h +5 -4
- data/ext/pg_query/include/postgres/optimizer/geqo.h +1 -1
- data/ext/pg_query/include/postgres/optimizer/geqo_gene.h +1 -1
- data/ext/pg_query/include/postgres/optimizer/optimizer.h +5 -2
- data/ext/pg_query/include/postgres/optimizer/paths.h +13 -8
- data/ext/pg_query/include/postgres/optimizer/planmain.h +7 -1
- data/ext/pg_query/include/postgres/parser/analyze.h +3 -1
- data/ext/pg_query/include/postgres/parser/kwlist.h +22 -2
- data/ext/pg_query/include/postgres/parser/parse_agg.h +1 -1
- data/ext/pg_query/include/postgres/parser/parse_coerce.h +2 -2
- data/ext/pg_query/include/postgres/parser/parse_expr.h +1 -1
- data/ext/pg_query/include/postgres/parser/parse_func.h +2 -2
- data/ext/pg_query/include/postgres/parser/parse_node.h +3 -2
- data/ext/pg_query/include/postgres/parser/parse_oper.h +4 -1
- data/ext/pg_query/include/postgres/parser/parse_relation.h +1 -1
- data/ext/pg_query/include/postgres/parser/parse_type.h +2 -2
- data/ext/pg_query/include/postgres/parser/parser.h +3 -3
- data/ext/pg_query/include/postgres/parser/parsetree.h +1 -1
- data/ext/pg_query/include/postgres/parser/scanner.h +1 -1
- data/ext/pg_query/include/postgres/parser/scansup.h +1 -1
- data/ext/pg_query/include/postgres/partitioning/partdefs.h +1 -1
- data/ext/pg_query/include/postgres/pg_config.h +34 -34
- data/ext/pg_query/include/postgres/pg_config_manual.h +21 -8
- data/ext/pg_query/include/postgres/pg_getopt.h +1 -1
- data/ext/pg_query/include/postgres/pg_trace.h +1 -1
- data/ext/pg_query/include/postgres/pgstat.h +13 -11
- data/ext/pg_query/include/postgres/pgtime.h +1 -1
- data/ext/pg_query/include/postgres/pl_reserved_kwlist.h +1 -1
- data/ext/pg_query/include/postgres/pl_reserved_kwlist_d.h +1 -1
- data/ext/pg_query/include/postgres/pl_unreserved_kwlist.h +1 -1
- data/ext/pg_query/include/postgres/pl_unreserved_kwlist_d.h +1 -1
- data/ext/pg_query/include/postgres/plerrcodes.h +4 -4
- data/ext/pg_query/include/postgres/plpgsql.h +15 -13
- data/ext/pg_query/include/postgres/port/atomics/arch-arm.h +1 -1
- data/ext/pg_query/include/postgres/port/atomics/arch-hppa.h +1 -1
- data/ext/pg_query/include/postgres/port/atomics/arch-ppc.h +3 -1
- data/ext/pg_query/include/postgres/port/atomics/arch-x86.h +3 -1
- data/ext/pg_query/include/postgres/port/atomics/fallback.h +1 -1
- data/ext/pg_query/include/postgres/port/atomics/generic-gcc.h +38 -1
- data/ext/pg_query/include/postgres/port/atomics/generic-msvc.h +19 -1
- data/ext/pg_query/include/postgres/port/atomics/generic-sunpro.h +16 -1
- data/ext/pg_query/include/postgres/port/atomics/generic.h +38 -2
- data/ext/pg_query/include/postgres/port/atomics.h +93 -6
- data/ext/pg_query/include/postgres/port/pg_bitutils.h +91 -9
- data/ext/pg_query/include/postgres/port/pg_bswap.h +1 -1
- data/ext/pg_query/include/postgres/port/pg_crc32c.h +10 -1
- data/ext/pg_query/include/postgres/port/pg_iovec.h +117 -0
- data/ext/pg_query/include/postgres/port/simd.h +48 -1
- data/ext/pg_query/include/postgres/port/win32/sys/socket.h +8 -0
- data/ext/pg_query/include/postgres/port/win32_port.h +1 -11
- data/ext/pg_query/include/postgres/port.h +7 -3
- data/ext/pg_query/include/postgres/portability/instr_time.h +1 -1
- data/ext/pg_query/include/postgres/postgres.h +1 -1
- data/ext/pg_query/include/postgres/postmaster/autovacuum.h +5 -16
- data/ext/pg_query/include/postgres/postmaster/bgworker.h +8 -6
- data/ext/pg_query/include/postgres/postmaster/bgworker_internals.h +3 -7
- data/ext/pg_query/include/postgres/postmaster/bgwriter.h +3 -3
- data/ext/pg_query/include/postgres/postmaster/interrupt.h +1 -1
- data/ext/pg_query/include/postgres/postmaster/pgarch.h +2 -2
- data/ext/pg_query/include/postgres/postmaster/postmaster.h +25 -5
- data/ext/pg_query/include/postgres/postmaster/startup.h +2 -2
- data/ext/pg_query/include/postgres/postmaster/syslogger.h +2 -4
- data/ext/pg_query/include/postgres/postmaster/walsummarizer.h +35 -0
- data/ext/pg_query/include/postgres/postmaster/walwriter.h +2 -2
- data/ext/pg_query/include/postgres/regex/regex.h +92 -9
- data/ext/pg_query/include/postgres/replication/logicallauncher.h +1 -1
- data/ext/pg_query/include/postgres/replication/logicalproto.h +2 -2
- data/ext/pg_query/include/postgres/replication/logicalworker.h +2 -1
- data/ext/pg_query/include/postgres/replication/origin.h +1 -1
- data/ext/pg_query/include/postgres/replication/reorderbuffer.h +18 -28
- data/ext/pg_query/include/postgres/replication/slot.h +41 -5
- data/ext/pg_query/include/postgres/replication/slotsync.h +38 -0
- data/ext/pg_query/include/postgres/replication/syncrep.h +1 -1
- data/ext/pg_query/include/postgres/replication/walreceiver.h +37 -11
- data/ext/pg_query/include/postgres/replication/walsender.h +5 -3
- data/ext/pg_query/include/postgres/rewrite/prs2lock.h +1 -1
- data/ext/pg_query/include/postgres/rewrite/rewriteHandler.h +7 -1
- data/ext/pg_query/include/postgres/rewrite/rewriteManip.h +2 -2
- data/ext/pg_query/include/postgres/rewrite/rewriteSupport.h +1 -1
- data/ext/pg_query/include/postgres/storage/block.h +1 -1
- data/ext/pg_query/include/postgres/storage/buf.h +1 -1
- data/ext/pg_query/include/postgres/storage/bufmgr.h +59 -41
- data/ext/pg_query/include/postgres/storage/bufpage.h +1 -1
- data/ext/pg_query/include/postgres/storage/condition_variable.h +1 -1
- data/ext/pg_query/include/postgres/storage/dsm.h +1 -1
- data/ext/pg_query/include/postgres/storage/dsm_impl.h +2 -2
- data/ext/pg_query/include/postgres/storage/fd.h +30 -13
- data/ext/pg_query/include/postgres/storage/fileset.h +1 -1
- data/ext/pg_query/include/postgres/storage/ipc.h +4 -1
- data/ext/pg_query/include/postgres/storage/item.h +1 -1
- data/ext/pg_query/include/postgres/storage/itemid.h +1 -1
- data/ext/pg_query/include/postgres/storage/itemptr.h +1 -1
- data/ext/pg_query/include/postgres/storage/large_object.h +1 -1
- data/ext/pg_query/include/postgres/storage/latch.h +4 -2
- data/ext/pg_query/include/postgres/storage/lmgr.h +8 -2
- data/ext/pg_query/include/postgres/storage/lock.h +19 -19
- data/ext/pg_query/include/postgres/storage/lockdefs.h +1 -1
- data/ext/pg_query/include/postgres/storage/lwlock.h +17 -9
- data/ext/pg_query/include/postgres/storage/lwlocknames.h +7 -10
- data/ext/pg_query/include/postgres/storage/off.h +1 -1
- data/ext/pg_query/include/postgres/storage/pg_sema.h +1 -1
- data/ext/pg_query/include/postgres/storage/pg_shmem.h +5 -4
- data/ext/pg_query/include/postgres/storage/pmsignal.h +2 -2
- data/ext/pg_query/include/postgres/storage/predicate.h +1 -5
- data/ext/pg_query/include/postgres/storage/proc.h +48 -23
- data/ext/pg_query/include/postgres/storage/procarray.h +5 -1
- data/ext/pg_query/include/postgres/storage/proclist_types.h +11 -9
- data/ext/pg_query/include/postgres/storage/procnumber.h +43 -0
- data/ext/pg_query/include/postgres/storage/procsignal.h +8 -6
- data/ext/pg_query/include/postgres/storage/read_stream.h +65 -0
- data/ext/pg_query/include/postgres/storage/relfilelocator.h +16 -15
- data/ext/pg_query/include/postgres/storage/s_lock.h +7 -27
- data/ext/pg_query/include/postgres/storage/sharedfileset.h +1 -1
- data/ext/pg_query/include/postgres/storage/shm_mq.h +2 -2
- data/ext/pg_query/include/postgres/storage/shm_toc.h +1 -1
- data/ext/pg_query/include/postgres/storage/shmem.h +1 -1
- data/ext/pg_query/include/postgres/storage/sinval.h +3 -3
- data/ext/pg_query/include/postgres/storage/smgr.h +41 -27
- data/ext/pg_query/include/postgres/storage/spin.h +1 -1
- data/ext/pg_query/include/postgres/storage/standby.h +13 -3
- data/ext/pg_query/include/postgres/storage/standbydefs.h +2 -2
- data/ext/pg_query/include/postgres/storage/sync.h +4 -4
- data/ext/pg_query/include/postgres/tcop/cmdtag.h +1 -2
- data/ext/pg_query/include/postgres/tcop/cmdtaglist.h +3 -2
- data/ext/pg_query/include/postgres/tcop/deparse_utility.h +2 -2
- data/ext/pg_query/include/postgres/tcop/dest.h +3 -2
- data/ext/pg_query/include/postgres/tcop/fastpath.h +1 -1
- data/ext/pg_query/include/postgres/tcop/pquery.h +1 -1
- data/ext/pg_query/include/postgres/tcop/tcopprot.h +9 -5
- data/ext/pg_query/include/postgres/tcop/utility.h +2 -2
- data/ext/pg_query/include/postgres/tsearch/ts_cache.h +1 -1
- data/ext/pg_query/include/postgres/utils/acl.h +19 -7
- data/ext/pg_query/include/postgres/utils/aclchk_internal.h +1 -1
- data/ext/pg_query/include/postgres/utils/array.h +1 -2
- data/ext/pg_query/include/postgres/utils/ascii.h +84 -0
- data/ext/pg_query/include/postgres/utils/backend_progress.h +3 -2
- data/ext/pg_query/include/postgres/utils/backend_status.h +8 -10
- data/ext/pg_query/include/postgres/utils/builtins.h +4 -1
- data/ext/pg_query/include/postgres/utils/bytea.h +2 -2
- data/ext/pg_query/include/postgres/utils/catcache.h +5 -6
- data/ext/pg_query/include/postgres/utils/date.h +1 -1
- data/ext/pg_query/include/postgres/utils/datetime.h +4 -1
- data/ext/pg_query/include/postgres/utils/datum.h +1 -1
- data/ext/pg_query/include/postgres/utils/dsa.h +44 -5
- data/ext/pg_query/include/postgres/utils/elog.h +3 -8
- data/ext/pg_query/include/postgres/utils/errcodes.h +1 -3
- data/ext/pg_query/include/postgres/utils/expandeddatum.h +1 -1
- data/ext/pg_query/include/postgres/utils/expandedrecord.h +1 -1
- data/ext/pg_query/include/postgres/utils/float.h +1 -1
- data/ext/pg_query/include/postgres/utils/fmgroids.h +49 -16
- data/ext/pg_query/include/postgres/utils/fmgrprotos.h +47 -14
- data/ext/pg_query/include/postgres/utils/fmgrtab.h +1 -1
- data/ext/pg_query/include/postgres/utils/guc.h +20 -6
- data/ext/pg_query/include/postgres/utils/guc_hooks.h +23 -2
- data/ext/pg_query/include/postgres/utils/guc_tables.h +6 -5
- data/ext/pg_query/include/postgres/utils/hsearch.h +2 -2
- data/ext/pg_query/include/postgres/utils/injection_point.h +44 -0
- data/ext/pg_query/include/postgres/utils/inval.h +1 -1
- data/ext/pg_query/include/postgres/utils/logtape.h +5 -5
- data/ext/pg_query/include/postgres/utils/lsyscache.h +6 -3
- data/ext/pg_query/include/postgres/utils/memdebug.h +1 -1
- data/ext/pg_query/include/postgres/utils/memutils.h +12 -5
- data/ext/pg_query/include/postgres/utils/memutils_internal.h +53 -13
- data/ext/pg_query/include/postgres/utils/memutils_memorychunk.h +25 -9
- data/ext/pg_query/include/postgres/utils/numeric.h +6 -1
- data/ext/pg_query/include/postgres/utils/palloc.h +1 -15
- data/ext/pg_query/include/postgres/utils/partcache.h +1 -1
- data/ext/pg_query/include/postgres/utils/pg_locale.h +8 -7
- data/ext/pg_query/include/postgres/utils/pgstat_internal.h +11 -17
- data/ext/pg_query/include/postgres/utils/plancache.h +5 -3
- data/ext/pg_query/include/postgres/utils/portal.h +9 -9
- data/ext/pg_query/include/postgres/utils/queryenvironment.h +2 -2
- data/ext/pg_query/include/postgres/utils/regproc.h +1 -1
- data/ext/pg_query/include/postgres/utils/rel.h +14 -15
- data/ext/pg_query/include/postgres/utils/relcache.h +2 -5
- data/ext/pg_query/include/postgres/utils/reltrigger.h +1 -1
- data/ext/pg_query/include/postgres/utils/resowner.h +90 -9
- data/ext/pg_query/include/postgres/utils/ruleutils.h +1 -1
- data/ext/pg_query/include/postgres/utils/sharedtuplestore.h +1 -1
- data/ext/pg_query/include/postgres/utils/snapmgr.h +1 -52
- data/ext/pg_query/include/postgres/utils/snapshot.h +2 -2
- data/ext/pg_query/include/postgres/utils/sortsupport.h +1 -1
- data/ext/pg_query/include/postgres/utils/syscache.h +2 -98
- data/ext/pg_query/include/postgres/utils/timeout.h +3 -2
- data/ext/pg_query/include/postgres/utils/timestamp.h +1 -1
- data/ext/pg_query/include/postgres/utils/tuplesort.h +36 -9
- data/ext/pg_query/include/postgres/utils/tuplestore.h +2 -5
- data/ext/pg_query/include/postgres/utils/typcache.h +2 -1
- data/ext/pg_query/include/postgres/utils/varlena.h +1 -1
- data/ext/pg_query/include/postgres/utils/wait_event.h +28 -214
- data/ext/pg_query/include/postgres/utils/wait_event_types.h +218 -0
- data/ext/pg_query/include/postgres/utils/xml.h +4 -4
- data/ext/pg_query/include/postgres/varatt.h +1 -1
- data/ext/pg_query/include/protobuf/pg_query.pb-c.h +1546 -792
- data/ext/pg_query/include/protobuf/pg_query.pb.h +58365 -46595
- data/ext/pg_query/pg_query.pb-c.c +6598 -3739
- data/ext/pg_query/pg_query_normalize.c +42 -1
- data/ext/pg_query/pg_query_outfuncs_json.c +3 -1
- data/ext/pg_query/pg_query_parse_plpgsql.c +12 -13
- data/ext/pg_query/pg_query_readfuncs_protobuf.c +2 -2
- data/ext/pg_query/pg_query_ruby_freebsd.sym +0 -1
- data/ext/pg_query/pg_query_scan.c +1 -1
- data/ext/pg_query/postgres_deparse.c +409 -21
- data/ext/pg_query/src_backend_catalog_namespace.c +241 -66
- data/ext/pg_query/src_backend_catalog_pg_proc.c +1 -3
- data/ext/pg_query/src_backend_commands_define.c +2 -3
- data/ext/pg_query/src_backend_nodes_bitmapset.c +137 -94
- data/ext/pg_query/src_backend_nodes_copyfuncs.c +1 -1
- data/ext/pg_query/src_backend_nodes_equalfuncs.c +1 -1
- data/ext/pg_query/src_backend_nodes_extensible.c +1 -1
- data/ext/pg_query/src_backend_nodes_list.c +3 -7
- data/ext/pg_query/src_backend_nodes_makefuncs.c +59 -20
- data/ext/pg_query/src_backend_nodes_nodeFuncs.c +109 -2
- data/ext/pg_query/src_backend_nodes_value.c +1 -1
- data/ext/pg_query/src_backend_parser_gram.c +34490 -32135
- data/ext/pg_query/src_backend_parser_parser.c +8 -8
- data/ext/pg_query/src_backend_parser_scan.c +5637 -3028
- data/ext/pg_query/src_backend_parser_scansup.c +2 -1
- data/ext/pg_query/src_backend_storage_ipc_ipc.c +1 -1
- data/ext/pg_query/src_backend_tcop_postgres.c +34 -10
- data/ext/pg_query/src_backend_utils_activity_pgstat_database.c +2 -2
- data/ext/pg_query/src_backend_utils_adt_datum.c +8 -6
- data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +1 -1
- data/ext/pg_query/src_backend_utils_adt_format_type.c +1 -1
- data/ext/pg_query/src_backend_utils_adt_numutils.c +4 -5
- data/ext/pg_query/src_backend_utils_adt_ruleutils.c +101 -28
- data/ext/pg_query/src_backend_utils_error_assert.c +1 -1
- data/ext/pg_query/src_backend_utils_error_elog.c +47 -42
- data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +4 -2
- data/ext/pg_query/src_backend_utils_init_globals.c +15 -3
- data/ext/pg_query/src_backend_utils_mb_mbutils.c +11 -18
- data/ext/pg_query/src_backend_utils_misc_guc_tables.c +16 -6
- data/ext/pg_query/src_backend_utils_mmgr_alignedalloc.c +8 -5
- data/ext/pg_query/src_backend_utils_mmgr_aset.c +308 -238
- data/ext/pg_query/src_backend_utils_mmgr_bump.c +728 -0
- data/ext/pg_query/src_backend_utils_mmgr_generation.c +273 -197
- data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +270 -215
- data/ext/pg_query/src_backend_utils_mmgr_slab.c +154 -96
- data/ext/pg_query/src_common_encnames.c +43 -44
- data/ext/pg_query/src_common_hashfn.c +1 -1
- data/ext/pg_query/src_common_keywords.c +1 -1
- data/ext/pg_query/src_common_kwlist_d.h +511 -466
- data/ext/pg_query/src_common_kwlookup.c +1 -1
- data/ext/pg_query/src_common_psprintf.c +3 -3
- data/ext/pg_query/src_common_stringinfo.c +18 -1
- data/ext/pg_query/src_common_wchar.c +45 -108
- data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +99 -5
- data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +1 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +242 -143
- data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +1 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +1 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +19 -1
- data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +1 -1
- data/ext/pg_query/src_port_pg_bitutils.c +173 -28
- data/ext/pg_query/src_port_pgstrcasecmp.c +29 -1
- data/ext/pg_query/src_port_snprintf.c +1 -1
- data/ext/pg_query/src_port_strerror.c +1 -3
- data/ext/pg_query/src_port_strlcpy.c +1 -1
- data/lib/pg_query/param_refs.rb +1 -1
- data/lib/pg_query/pg_query_pb.rb +26 -3
- data/lib/pg_query/treewalker.rb +38 -11
- data/lib/pg_query/truncate.rb +1 -1
- data/lib/pg_query/version.rb +1 -1
- metadata +25 -11
- data/ext/pg_query/include/postgres/storage/backendid.h +0 -37
- data/ext/pg_query/include/postgres/storage/sinvaladt.h +0 -45
- data/ext/pg_query/src_backend_nodes_nodes.c +0 -38
@@ -3,7 +3,7 @@
|
|
3
3
|
* kwlist_d.h
|
4
4
|
* List of keywords represented as a ScanKeywordList.
|
5
5
|
*
|
6
|
-
* Portions Copyright (c) 1996-
|
6
|
+
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
7
7
|
* Portions Copyright (c) 1994, Regents of the University of California
|
8
8
|
*
|
9
9
|
* NOTES
|
@@ -90,6 +90,7 @@ static const char ScanKeywords_kw_string[] =
|
|
90
90
|
"committed\0"
|
91
91
|
"compression\0"
|
92
92
|
"concurrently\0"
|
93
|
+
"conditional\0"
|
93
94
|
"configuration\0"
|
94
95
|
"conflict\0"
|
95
96
|
"connection\0"
|
@@ -144,11 +145,13 @@ static const char ScanKeywords_kw_string[] =
|
|
144
145
|
"drop\0"
|
145
146
|
"each\0"
|
146
147
|
"else\0"
|
148
|
+
"empty\0"
|
147
149
|
"enable\0"
|
148
150
|
"encoding\0"
|
149
151
|
"encrypted\0"
|
150
152
|
"end\0"
|
151
153
|
"enum\0"
|
154
|
+
"error\0"
|
152
155
|
"escape\0"
|
153
156
|
"event\0"
|
154
157
|
"except\0"
|
@@ -230,8 +233,15 @@ static const char ScanKeywords_kw_string[] =
|
|
230
233
|
"json\0"
|
231
234
|
"json_array\0"
|
232
235
|
"json_arrayagg\0"
|
236
|
+
"json_exists\0"
|
233
237
|
"json_object\0"
|
234
238
|
"json_objectagg\0"
|
239
|
+
"json_query\0"
|
240
|
+
"json_scalar\0"
|
241
|
+
"json_serialize\0"
|
242
|
+
"json_table\0"
|
243
|
+
"json_value\0"
|
244
|
+
"keep\0"
|
235
245
|
"key\0"
|
236
246
|
"keys\0"
|
237
247
|
"label\0"
|
@@ -261,6 +271,7 @@ static const char ScanKeywords_kw_string[] =
|
|
261
271
|
"materialized\0"
|
262
272
|
"maxvalue\0"
|
263
273
|
"merge\0"
|
274
|
+
"merge_action\0"
|
264
275
|
"method\0"
|
265
276
|
"minute\0"
|
266
277
|
"minvalue\0"
|
@@ -272,6 +283,7 @@ static const char ScanKeywords_kw_string[] =
|
|
272
283
|
"national\0"
|
273
284
|
"natural\0"
|
274
285
|
"nchar\0"
|
286
|
+
"nested\0"
|
275
287
|
"new\0"
|
276
288
|
"next\0"
|
277
289
|
"nfc\0"
|
@@ -297,6 +309,7 @@ static const char ScanKeywords_kw_string[] =
|
|
297
309
|
"offset\0"
|
298
310
|
"oids\0"
|
299
311
|
"old\0"
|
312
|
+
"omit\0"
|
300
313
|
"on\0"
|
301
314
|
"only\0"
|
302
315
|
"operator\0"
|
@@ -321,7 +334,9 @@ static const char ScanKeywords_kw_string[] =
|
|
321
334
|
"partition\0"
|
322
335
|
"passing\0"
|
323
336
|
"password\0"
|
337
|
+
"path\0"
|
324
338
|
"placing\0"
|
339
|
+
"plan\0"
|
325
340
|
"plans\0"
|
326
341
|
"policy\0"
|
327
342
|
"position\0"
|
@@ -339,6 +354,7 @@ static const char ScanKeywords_kw_string[] =
|
|
339
354
|
"program\0"
|
340
355
|
"publication\0"
|
341
356
|
"quote\0"
|
357
|
+
"quotes\0"
|
342
358
|
"range\0"
|
343
359
|
"read\0"
|
344
360
|
"real\0"
|
@@ -398,6 +414,7 @@ static const char ScanKeywords_kw_string[] =
|
|
398
414
|
"smallint\0"
|
399
415
|
"snapshot\0"
|
400
416
|
"some\0"
|
417
|
+
"source\0"
|
401
418
|
"sql\0"
|
402
419
|
"stable\0"
|
403
420
|
"standalone\0"
|
@@ -409,6 +426,7 @@ static const char ScanKeywords_kw_string[] =
|
|
409
426
|
"storage\0"
|
410
427
|
"stored\0"
|
411
428
|
"strict\0"
|
429
|
+
"string\0"
|
412
430
|
"strip\0"
|
413
431
|
"subscription\0"
|
414
432
|
"substring\0"
|
@@ -421,6 +439,7 @@ static const char ScanKeywords_kw_string[] =
|
|
421
439
|
"tables\0"
|
422
440
|
"tablesample\0"
|
423
441
|
"tablespace\0"
|
442
|
+
"target\0"
|
424
443
|
"temp\0"
|
425
444
|
"template\0"
|
426
445
|
"temporary\0"
|
@@ -444,6 +463,7 @@ static const char ScanKeywords_kw_string[] =
|
|
444
463
|
"uescape\0"
|
445
464
|
"unbounded\0"
|
446
465
|
"uncommitted\0"
|
466
|
+
"unconditional\0"
|
447
467
|
"unencrypted\0"
|
448
468
|
"union\0"
|
449
469
|
"unique\0"
|
@@ -564,534 +584,559 @@ static const uint16 ScanKeywords_kw_offsets[] = {
|
|
564
584
|
480,
|
565
585
|
492,
|
566
586
|
505,
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
587
|
+
517,
|
588
|
+
531,
|
589
|
+
540,
|
590
|
+
551,
|
571
591
|
562,
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
600,
|
592
|
+
574,
|
593
|
+
582,
|
594
|
+
591,
|
595
|
+
602,
|
577
596
|
607,
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
597
|
+
612,
|
598
|
+
619,
|
599
|
+
625,
|
600
|
+
629,
|
601
|
+
634,
|
602
|
+
642,
|
603
|
+
658,
|
604
|
+
671,
|
605
|
+
684,
|
606
|
+
699,
|
607
|
+
712,
|
608
|
+
730,
|
609
|
+
743,
|
610
|
+
750,
|
611
|
+
756,
|
612
|
+
761,
|
613
|
+
770,
|
614
|
+
774,
|
596
615
|
785,
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
616
|
+
789,
|
617
|
+
797,
|
618
|
+
805,
|
619
|
+
813,
|
620
|
+
822,
|
621
|
+
833,
|
622
|
+
842,
|
623
|
+
850,
|
624
|
+
857,
|
625
|
+
867,
|
626
|
+
878,
|
627
|
+
886,
|
609
628
|
892,
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
629
|
+
897,
|
630
|
+
904,
|
631
|
+
915,
|
632
|
+
923,
|
614
633
|
931,
|
615
634
|
940,
|
616
|
-
|
617
|
-
|
635
|
+
943,
|
636
|
+
952,
|
618
637
|
959,
|
619
|
-
|
620
|
-
|
638
|
+
966,
|
639
|
+
971,
|
621
640
|
976,
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
641
|
+
981,
|
642
|
+
987,
|
643
|
+
994,
|
644
|
+
1003,
|
645
|
+
1013,
|
627
646
|
1017,
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
647
|
+
1022,
|
648
|
+
1028,
|
649
|
+
1035,
|
650
|
+
1041,
|
651
|
+
1048,
|
652
|
+
1056,
|
653
|
+
1066,
|
654
|
+
1076,
|
655
|
+
1084,
|
656
|
+
1091,
|
657
|
+
1099,
|
658
|
+
1110,
|
659
|
+
1120,
|
660
|
+
1129,
|
661
|
+
1137,
|
662
|
+
1143,
|
663
|
+
1150,
|
664
|
+
1156,
|
665
|
+
1163,
|
666
|
+
1172,
|
667
|
+
1178,
|
668
|
+
1184,
|
669
|
+
1194,
|
670
|
+
1198,
|
671
|
+
1204,
|
672
|
+
1212,
|
673
|
+
1219,
|
674
|
+
1227,
|
675
|
+
1234,
|
656
676
|
1239,
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
677
|
+
1244,
|
678
|
+
1253,
|
679
|
+
1263,
|
680
|
+
1273,
|
681
|
+
1280,
|
682
|
+
1286,
|
663
683
|
1294,
|
664
|
-
|
684
|
+
1303,
|
665
685
|
1309,
|
666
|
-
|
667
|
-
|
668
|
-
1328,
|
686
|
+
1318,
|
687
|
+
1325,
|
669
688
|
1333,
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
689
|
+
1340,
|
690
|
+
1347,
|
691
|
+
1352,
|
692
|
+
1357,
|
693
|
+
1366,
|
694
|
+
1369,
|
695
|
+
1375,
|
696
|
+
1385,
|
697
|
+
1395,
|
698
|
+
1404,
|
699
|
+
1411,
|
700
|
+
1414,
|
701
|
+
1422,
|
702
|
+
1432,
|
703
|
+
1442,
|
704
|
+
1449,
|
705
|
+
1455,
|
706
|
+
1463,
|
707
|
+
1471,
|
708
|
+
1480,
|
709
|
+
1490,
|
710
|
+
1497,
|
691
711
|
1503,
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
712
|
+
1509,
|
713
|
+
1515,
|
714
|
+
1527,
|
715
|
+
1534,
|
716
|
+
1542,
|
717
|
+
1546,
|
698
718
|
1554,
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
719
|
+
1564,
|
720
|
+
1573,
|
721
|
+
1578,
|
722
|
+
1586,
|
723
|
+
1589,
|
724
|
+
1596,
|
725
|
+
1606,
|
726
|
+
1611,
|
727
|
+
1616,
|
728
|
+
1627,
|
729
|
+
1641,
|
710
730
|
1653,
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
1705,
|
718
|
-
1711,
|
719
|
-
1716,
|
720
|
-
1722,
|
721
|
-
1727,
|
722
|
-
1733,
|
731
|
+
1665,
|
732
|
+
1680,
|
733
|
+
1691,
|
734
|
+
1703,
|
735
|
+
1718,
|
736
|
+
1729,
|
723
737
|
1740,
|
724
738
|
1745,
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
739
|
+
1749,
|
740
|
+
1754,
|
741
|
+
1760,
|
742
|
+
1769,
|
743
|
+
1775,
|
744
|
+
1780,
|
745
|
+
1788,
|
746
|
+
1796,
|
747
|
+
1806,
|
732
748
|
1812,
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
749
|
+
1817,
|
750
|
+
1823,
|
751
|
+
1828,
|
752
|
+
1834,
|
753
|
+
1841,
|
754
|
+
1846,
|
755
|
+
1852,
|
756
|
+
1862,
|
740
757
|
1877,
|
741
|
-
|
742
|
-
|
743
|
-
1893,
|
758
|
+
1886,
|
759
|
+
1891,
|
744
760
|
1898,
|
745
|
-
|
761
|
+
1905,
|
746
762
|
1913,
|
747
|
-
|
763
|
+
1919,
|
748
764
|
1927,
|
749
|
-
1931,
|
750
|
-
1936,
|
751
765
|
1940,
|
752
|
-
1944,
|
753
766
|
1949,
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
1995,
|
767
|
+
1955,
|
768
|
+
1968,
|
769
|
+
1975,
|
770
|
+
1982,
|
771
|
+
1991,
|
772
|
+
1996,
|
761
773
|
2002,
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
774
|
+
2007,
|
775
|
+
2012,
|
776
|
+
2018,
|
777
|
+
2027,
|
766
778
|
2035,
|
767
|
-
|
768
|
-
|
769
|
-
|
779
|
+
2041,
|
780
|
+
2048,
|
781
|
+
2052,
|
770
782
|
2057,
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
783
|
+
2061,
|
784
|
+
2065,
|
785
|
+
2070,
|
786
|
+
2075,
|
787
|
+
2078,
|
788
|
+
2083,
|
789
|
+
2093,
|
790
|
+
2104,
|
779
791
|
2108,
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
792
|
+
2116,
|
793
|
+
2123,
|
794
|
+
2131,
|
795
|
+
2138,
|
796
|
+
2143,
|
797
|
+
2150,
|
786
798
|
2156,
|
787
799
|
2164,
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
800
|
+
2171,
|
801
|
+
2174,
|
802
|
+
2178,
|
803
|
+
2185,
|
804
|
+
2190,
|
805
|
+
2194,
|
806
|
+
2199,
|
807
|
+
2202,
|
808
|
+
2207,
|
809
|
+
2216,
|
810
|
+
2223,
|
795
811
|
2231,
|
796
|
-
|
797
|
-
|
798
|
-
|
812
|
+
2234,
|
813
|
+
2240,
|
814
|
+
2251,
|
815
|
+
2258,
|
799
816
|
2262,
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
817
|
+
2268,
|
818
|
+
2273,
|
819
|
+
2282,
|
820
|
+
2290,
|
821
|
+
2301,
|
822
|
+
2307,
|
823
|
+
2313,
|
824
|
+
2322,
|
807
825
|
2332,
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
826
|
+
2339,
|
827
|
+
2347,
|
828
|
+
2357,
|
829
|
+
2365,
|
830
|
+
2374,
|
831
|
+
2379,
|
832
|
+
2387,
|
833
|
+
2392,
|
834
|
+
2398,
|
835
|
+
2405,
|
836
|
+
2414,
|
837
|
+
2424,
|
838
|
+
2434,
|
839
|
+
2442,
|
840
|
+
2451,
|
841
|
+
2460,
|
842
|
+
2468,
|
843
|
+
2474,
|
825
844
|
2485,
|
826
|
-
|
827
|
-
|
828
|
-
2510,
|
845
|
+
2496,
|
846
|
+
2506,
|
829
847
|
2517,
|
830
|
-
|
831
|
-
|
832
|
-
|
848
|
+
2525,
|
849
|
+
2537,
|
850
|
+
2543,
|
833
851
|
2550,
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
2696,
|
854
|
-
2703,
|
852
|
+
2556,
|
853
|
+
2561,
|
854
|
+
2566,
|
855
|
+
2575,
|
856
|
+
2583,
|
857
|
+
2593,
|
858
|
+
2597,
|
859
|
+
2608,
|
860
|
+
2620,
|
861
|
+
2628,
|
862
|
+
2636,
|
863
|
+
2645,
|
864
|
+
2653,
|
865
|
+
2660,
|
866
|
+
2671,
|
867
|
+
2679,
|
868
|
+
2687,
|
869
|
+
2693,
|
870
|
+
2701,
|
855
871
|
2710,
|
856
|
-
|
857
|
-
|
872
|
+
2717,
|
873
|
+
2727,
|
858
874
|
2735,
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
875
|
+
2742,
|
876
|
+
2748,
|
877
|
+
2753,
|
878
|
+
2762,
|
879
|
+
2769,
|
880
|
+
2777,
|
863
881
|
2786,
|
864
882
|
2790,
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
2827,
|
883
|
+
2795,
|
884
|
+
2800,
|
885
|
+
2810,
|
886
|
+
2817,
|
887
|
+
2824,
|
871
888
|
2832,
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
2932,
|
889
|
+
2839,
|
890
|
+
2846,
|
891
|
+
2853,
|
892
|
+
2862,
|
893
|
+
2869,
|
894
|
+
2878,
|
895
|
+
2888,
|
896
|
+
2901,
|
897
|
+
2908,
|
898
|
+
2916,
|
899
|
+
2929,
|
900
|
+
2933,
|
885
901
|
2939,
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
902
|
+
2944,
|
903
|
+
2950,
|
904
|
+
2955,
|
905
|
+
2963,
|
906
|
+
2970,
|
907
|
+
2975,
|
908
|
+
2984,
|
909
|
+
2993,
|
910
|
+
2998,
|
911
|
+
3005,
|
912
|
+
3009,
|
913
|
+
3016,
|
914
|
+
3027,
|
915
|
+
3033,
|
916
|
+
3043,
|
917
|
+
3054,
|
918
|
+
3060,
|
919
|
+
3067,
|
920
|
+
3075,
|
921
|
+
3082,
|
922
|
+
3089,
|
923
|
+
3096,
|
924
|
+
3102,
|
925
|
+
3115,
|
908
926
|
3125,
|
909
|
-
|
910
|
-
|
927
|
+
3133,
|
928
|
+
3143,
|
911
929
|
3149,
|
912
|
-
|
913
|
-
3159,
|
930
|
+
3156,
|
914
931
|
3168,
|
915
|
-
|
932
|
+
3174,
|
916
933
|
3181,
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
934
|
+
3193,
|
935
|
+
3204,
|
936
|
+
3211,
|
937
|
+
3216,
|
938
|
+
3225,
|
922
939
|
3235,
|
923
|
-
|
940
|
+
3240,
|
941
|
+
3245,
|
924
942
|
3250,
|
925
|
-
|
943
|
+
3255,
|
944
|
+
3265,
|
926
945
|
3268,
|
927
|
-
|
928
|
-
|
929
|
-
3286,
|
930
|
-
3292,
|
946
|
+
3277,
|
947
|
+
3289,
|
931
948
|
3299,
|
932
949
|
3305,
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
950
|
+
3313,
|
951
|
+
3318,
|
952
|
+
3323,
|
953
|
+
3332,
|
954
|
+
3340,
|
937
955
|
3345,
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
3403,
|
946
|
-
3409,
|
956
|
+
3351,
|
957
|
+
3359,
|
958
|
+
3369,
|
959
|
+
3381,
|
960
|
+
3395,
|
961
|
+
3407,
|
962
|
+
3413,
|
947
963
|
3420,
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
3447,
|
964
|
+
3428,
|
965
|
+
3437,
|
966
|
+
3446,
|
952
967
|
3452,
|
953
|
-
|
954
|
-
|
968
|
+
3459,
|
969
|
+
3464,
|
955
970
|
3470,
|
956
|
-
|
957
|
-
|
958
|
-
|
971
|
+
3477,
|
972
|
+
3483,
|
973
|
+
3492,
|
974
|
+
3502,
|
975
|
+
3508,
|
959
976
|
3515,
|
960
|
-
|
961
|
-
|
977
|
+
3523,
|
978
|
+
3532,
|
979
|
+
3540,
|
962
980
|
3548,
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
981
|
+
3556,
|
982
|
+
3561,
|
983
|
+
3567,
|
984
|
+
3576,
|
985
|
+
3581,
|
986
|
+
3587,
|
987
|
+
3598,
|
988
|
+
3605,
|
989
|
+
3610,
|
990
|
+
3617,
|
991
|
+
3625,
|
992
|
+
3630,
|
993
|
+
3638,
|
994
|
+
3644,
|
995
|
+
3648,
|
996
|
+
3662,
|
997
|
+
3672,
|
998
|
+
3683,
|
999
|
+
3693,
|
1000
|
+
3703,
|
1001
|
+
3717,
|
1002
|
+
3726,
|
1003
|
+
3732,
|
1004
|
+
3740,
|
1005
|
+
3753,
|
1006
|
+
3762,
|
1007
|
+
3767,
|
1008
|
+
3771,
|
969
1009
|
};
|
970
1010
|
|
971
|
-
#define SCANKEYWORDS_NUM_KEYWORDS
|
1011
|
+
#define SCANKEYWORDS_NUM_KEYWORDS 491
|
972
1012
|
|
973
1013
|
static int
|
974
1014
|
ScanKeywords_hash_func(const void *key, size_t keylen)
|
975
1015
|
{
|
976
|
-
static const int16 h[
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
32767,
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
32767,
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
32767,
|
998
|
-
32767,
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
32767,
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
0, 32767,
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
0,
|
1015
|
-
|
1016
|
-
32767, 32767,
|
1017
|
-
0,
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
32767,
|
1023
|
-
|
1024
|
-
32767,
|
1025
|
-
|
1026
|
-
|
1027
|
-
0,
|
1028
|
-
32767,
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
32767,
|
1036
|
-
|
1037
|
-
|
1038
|
-
32767,
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
32767, 32767,
|
1048
|
-
|
1049
|
-
32767,
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
32767,
|
1059
|
-
32767, 32767, 62,
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
32767,
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
32767,
|
1070
|
-
|
1071
|
-
32767,
|
1072
|
-
|
1073
|
-
32767,
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
32767,
|
1078
|
-
|
1079
|
-
32767,
|
1080
|
-
32767,
|
1081
|
-
32767,
|
1082
|
-
32767,
|
1083
|
-
|
1084
|
-
|
1085
|
-
32767, 32767, 0,
|
1086
|
-
|
1087
|
-
32767,
|
1088
|
-
|
1089
|
-
|
1090
|
-
32767,
|
1091
|
-
|
1092
|
-
32767, 32767,
|
1093
|
-
32767,
|
1094
|
-
32767,
|
1016
|
+
static const int16 h[983] = {
|
1017
|
+
283, 32767, 500, 226, 291, 32767, 32767, 32767,
|
1018
|
+
467, 152, 66, 291, -300, 32767, -427, -45,
|
1019
|
+
0, 219, 224, 189, 32767, 195, 0, -507,
|
1020
|
+
324, 32767, 300, 32767, 0, 32767, 161, 32767,
|
1021
|
+
32767, 32767, 32767, 131, 32767, 101, 32767, 391,
|
1022
|
+
32767, 32767, 32767, 0, 2, 32767, 128, 418,
|
1023
|
+
-291, 32767, 32767, -631, 32767, 250, 219, -142,
|
1024
|
+
133, 334, 32767, 0, 170, 32767, 516, 32767,
|
1025
|
+
307, 288, 391, 32767, 216, 319, 0, 32767,
|
1026
|
+
152, 32767, 375, 444, 433, 32767, 242, 32767,
|
1027
|
+
4, -119, 481, -13, 32767, 32767, -94, 0,
|
1028
|
+
290, -113, 32767, 137, 122, 120, 32767, 32767,
|
1029
|
+
32767, 414, -397, -45, -267, -5, 605, 32767,
|
1030
|
+
453, 514, 32767, 400, 32767, 32767, 32767, 32767,
|
1031
|
+
361, 150, 32767, 107, 172, -32, 81, -232,
|
1032
|
+
-15, 830, -46, 32767, 32767, 32767, 543, -341,
|
1033
|
+
0, 32767, 288, 488, 32767, 43, 410, -99,
|
1034
|
+
32767, 384, 32767, 32767, 315, 32767, -419, -458,
|
1035
|
+
0, -459, 0, 232, 32767, 32767, 333, -413,
|
1036
|
+
32767, 584, -76, 0, -6, 125, 32767, 421,
|
1037
|
+
32767, 32767, -88, 128, -1, 15, 55, 32767,
|
1038
|
+
214, 32767, 0, 0, 166, 348, -337, 32767,
|
1039
|
+
260, 319, 32767, 180, 158, 0, 32767, 0,
|
1040
|
+
-226, 0, 129, 0, 378, 517, -293, 671,
|
1041
|
+
32767, 32767, 0, 167, 305, -61, -229, 97,
|
1042
|
+
164, 88, 380, 50, 32767, 71, -637, 106,
|
1043
|
+
32767, 79, 0, 415, 32767, 0, 32767, 317,
|
1044
|
+
379, 28, 431, 0, 32767, 32767, 301, 185,
|
1045
|
+
196, 37, 32767, 142, 200, 32767, -211, -223,
|
1046
|
+
-392, 99, 32767, -366, 32767, 287, 32767, 0,
|
1047
|
+
-309, 0, 32767, -963, 32767, 222, 432, 32767,
|
1048
|
+
32767, 0, 32767, 32767, 266, 56, 0, 32767,
|
1049
|
+
391, 606, 32767, 32767, 360, 0, 60, 32767,
|
1050
|
+
32767, 0, 32767, 0, 325, 32767, 333, 32767,
|
1051
|
+
-54, 399, 0, 28, 237, -648, 32767, 108,
|
1052
|
+
438, 32767, 221, 390, 32767, 32767, 223, 687,
|
1053
|
+
452, 125, 32767, -913, 186, 0, 32767, 32767,
|
1054
|
+
32767, 32767, 0, 0, 32767, 32767, 32767, -27,
|
1055
|
+
1087, 464, -305, 427, 898, 32767, 0, 32767,
|
1056
|
+
0, 32767, 104, 32767, 32767, 260, 1065, 0,
|
1057
|
+
703, 32767, 0, 337, 350, 767, 32767, -330,
|
1058
|
+
379, 32767, 32767, 32767, 32767, 32767, 32767, 228,
|
1059
|
+
32767, 32767, 32767, 0, -87, -48, 32767, -541,
|
1060
|
+
415, 32767, 306, 32767, 32767, 32767, -117, 15,
|
1061
|
+
0, 0, 32767, 412, -645, 223, -558, 32767,
|
1062
|
+
32767, 32767, 32767, 32767, -254, 162, -372, 0,
|
1063
|
+
0, 32767, 353, 0, 199, 32767, 664, 32767,
|
1064
|
+
32767, 0, 32767, -148, 32767, -98, 32767, 449,
|
1065
|
+
0, 32767, 383, -495, -295, 208, 0, 32767,
|
1066
|
+
511, 17, 32767, 32767, 0, 387, 32767, 32767,
|
1067
|
+
32767, 0, 32767, 32767, 2, -2, -177, 32767,
|
1068
|
+
0, 32767, 150, 32767, -471, 32767, -282, 32767,
|
1069
|
+
240, 183, 357, 423, 32767, 435, 32767, 284,
|
1070
|
+
32767, 358, 298, 195, 72, 0, 421, 535,
|
1071
|
+
32767, 426, -206, 222, 32767, 0, 466, 36,
|
1072
|
+
426, 32767, 32767, 0, 32767, 0, 32767, 70,
|
1073
|
+
479, 32767, 514, 32767, 32767, 697, 436, 43,
|
1074
|
+
155, 32767, 32767, 0, 32767, -155, 32767, 11,
|
1075
|
+
649, -376, 32767, 0, -683, -330, 361, 0,
|
1076
|
+
57, 263, -43, 32767, 383, 0, 32767, 217,
|
1077
|
+
32767, 0, 478, 32767, 0, 32767, 463, 32767,
|
1078
|
+
501, 32767, 237, 301, 545, 302, 67, 311,
|
1079
|
+
1135, 152, 0, 342, 32767, 350, 418, 32767,
|
1080
|
+
0, 428, 0, 0, -353, 381, 790, 32767,
|
1081
|
+
32767, -259, 32767, 32767, 32767, 229, 417, 0,
|
1082
|
+
232, 32767, 0, 980, 32767, 0, 0, 275,
|
1083
|
+
-314, 0, 0, 32767, 32767, 32767, 32767, 32767,
|
1084
|
+
0, 0, -89, 292, 1049, 32767, 32767, -284,
|
1085
|
+
18, 32767, 175, 0, 732, 111, 32767, 428,
|
1086
|
+
-167, 92, -59, 199, 0, 793, 702, -231,
|
1087
|
+
32767, 32767, 32767, 32767, 187, 549, 32767, 32767,
|
1088
|
+
32767, 32767, 69, 480, 0, 490, 430, 32767,
|
1089
|
+
32767, 32767, 32767, -2, 32767, 240, 32767, 471,
|
1090
|
+
275, 32767, 524, 17, 0, 32767, 144, 0,
|
1091
|
+
310, 371, 328, 1016, -639, 32767, 51, 32767,
|
1092
|
+
-982, 32767, 0, -727, 32767, 32767, -117, -115,
|
1093
|
+
249, 32767, 32767, -6, 32767, 183, -350, 32767,
|
1094
|
+
14, 32767, 32767, 118, -137, -321, 32767, 793,
|
1095
|
+
32767, 32767, 32767, 0, 32767, 77, 204, 71,
|
1096
|
+
32767, -228, -516, 32767, 790, 389, -1, 112,
|
1097
|
+
366, 245, 32767, 0, 32767, 0, -625, 154,
|
1098
|
+
-211, 32767, 32767, 105, -253, 214, 0, 203,
|
1099
|
+
392, 0, 32767, 32767, 62, 102, 32767, 32767,
|
1100
|
+
29, 0, 0, 306, 32767, 32767, -29, 194,
|
1101
|
+
0, -120, 32767, 32767, 32767, 376, 32767, 27,
|
1102
|
+
32767, 356, 32767, 0, 32767, 75, 174, 32767,
|
1103
|
+
32767, 32767, -37, 32767, 255, 124, 845, 32767,
|
1104
|
+
0, 32767, 64, 32767, -472, -648, 32767, 584,
|
1105
|
+
0, 32767, 19, 201, 32767, 0, 32767, 32767,
|
1106
|
+
-414, -171, -621, 32767, -134, 0, 515, 0,
|
1107
|
+
767, 32767, 32767, 414, 32767, -88, -236, 32767,
|
1108
|
+
-52, 298, -254, 32767, 39, 0, 65, 118,
|
1109
|
+
32767, 182, 32767, 134, 0, 32767, 32767, 400,
|
1110
|
+
0, 32767, 32767, 705, 0, 32767, 32767, 269,
|
1111
|
+
32767, 32767, 296, 290, 32767, 0, 0, 32767,
|
1112
|
+
61, 32767, 299, 32767, -227, 240, 32767, 0,
|
1113
|
+
32767, 32767, 32767, 129, 32767, 0, 252, 32767,
|
1114
|
+
0, -487, 32767, 0, -127, 32767, 32767, 132,
|
1115
|
+
18, 0, 32767, 32767, -154, 0, 946, 401,
|
1116
|
+
264, 378, 0, 326, 32767, 0, 465, 233,
|
1117
|
+
87, 32767, 47, 0, -357, 32767, 32767, 0,
|
1118
|
+
0, -245, 835, 887, 32767, 32767, 32767, 32767,
|
1119
|
+
32767, 334, 0, -56, 32767, -196, 0, 32767,
|
1120
|
+
32767, 32767, 154, 32767, 20, -175, 63, 537,
|
1121
|
+
32767, 358, 32767, 121, 32767, 32767, 754, 0,
|
1122
|
+
32767, 0, -113, 0, 0, 207, 0, -256,
|
1123
|
+
32767, 241, 32767, 257, 32767, 194, -595, 23,
|
1124
|
+
19, 268, 666, 231, 0, 211, 32767, 32767,
|
1125
|
+
32767, 32767, 0, 115, 136, 0, 32767, 32767,
|
1126
|
+
404, -252, -432, 0, 0, 341, 32767, 410,
|
1127
|
+
32767, -125, 9, 32767, 482, 727, 0, 32767,
|
1128
|
+
252, 0, 32767, 32767, 147, 124, 270, 10,
|
1129
|
+
-124, 47, 0, 300, 445, -246, 32767, 111,
|
1130
|
+
32767, 32767, 32767, -356, 103, 81, 32767, 32767,
|
1131
|
+
32767, 32767, 280, 306, 0, 32767, 695, 32767,
|
1132
|
+
-768, 32767, 32767, 0, 32767, 0, 32767, 145,
|
1133
|
+
44, 32767, 32767, 32767, 432, 136, 32767, 0,
|
1134
|
+
-903, 251, 32767, -222, 370, 405, 99, 17,
|
1135
|
+
32767, 564, 32767, 32767, 32767, 0, 32767, 32767,
|
1136
|
+
32767, 141, 0, 0, 32767, 32767, 32767, 344,
|
1137
|
+
0, 464, 0, 0, 32767, 32767, 32767, 0,
|
1138
|
+
463, 32767, 32767, 329, 32767, 32767, 422, 32767,
|
1139
|
+
220, 32767, 347, 32767, -17, 253, 18
|
1095
1140
|
};
|
1096
1141
|
|
1097
1142
|
const unsigned char *k = (const unsigned char *) key;
|
@@ -1105,7 +1150,7 @@ ScanKeywords_hash_func(const void *key, size_t keylen)
|
|
1105
1150
|
a = a * 257 + c;
|
1106
1151
|
b = b * 31 + c;
|
1107
1152
|
}
|
1108
|
-
return h[a %
|
1153
|
+
return h[a % 983] + h[b % 983];
|
1109
1154
|
}
|
1110
1155
|
|
1111
1156
|
const ScanKeywordList ScanKeywords = {
|