postgast 0.0.1__tar.gz
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.
- postgast-0.0.1/.gitignore +212 -0
- postgast-0.0.1/LICENSE +24 -0
- postgast-0.0.1/PKG-INFO +122 -0
- postgast-0.0.1/README.md +81 -0
- postgast-0.0.1/hatch_build.py +75 -0
- postgast-0.0.1/postgast/libpg_query.so +0 -0
- postgast-0.0.1/pyproject.toml +227 -0
- postgast-0.0.1/src/postgast/__init__.py +51 -0
- postgast-0.0.1/src/postgast/deparse.py +48 -0
- postgast-0.0.1/src/postgast/errors.py +94 -0
- postgast-0.0.1/src/postgast/fingerprint.py +52 -0
- postgast-0.0.1/src/postgast/helpers.py +399 -0
- postgast-0.0.1/src/postgast/native.py +217 -0
- postgast-0.0.1/src/postgast/normalize.py +35 -0
- postgast-0.0.1/src/postgast/parse.py +43 -0
- postgast-0.0.1/src/postgast/pg_query_pb2.py +734 -0
- postgast-0.0.1/src/postgast/pg_query_pb2.pyi +6836 -0
- postgast-0.0.1/src/postgast/py.typed +5 -0
- postgast-0.0.1/src/postgast/scan.py +44 -0
- postgast-0.0.1/src/postgast/split.py +58 -0
- postgast-0.0.1/src/postgast/walk.py +121 -0
- postgast-0.0.1/vendor/libpg_query/.git +1 -0
- postgast-0.0.1/vendor/libpg_query/.gitattributes +2 -0
- postgast-0.0.1/vendor/libpg_query/.github/workflows/ci.yml +122 -0
- postgast-0.0.1/vendor/libpg_query/.gitignore +23 -0
- postgast-0.0.1/vendor/libpg_query/.ruby-version +1 -0
- postgast-0.0.1/vendor/libpg_query/CHANGELOG.md +491 -0
- postgast-0.0.1/vendor/libpg_query/LICENSE +29 -0
- postgast-0.0.1/vendor/libpg_query/Makefile +354 -0
- postgast-0.0.1/vendor/libpg_query/Makefile.msvc +120 -0
- postgast-0.0.1/vendor/libpg_query/README.md +299 -0
- postgast-0.0.1/vendor/libpg_query/examples/normalize.c +22 -0
- postgast-0.0.1/vendor/libpg_query/examples/normalize_error.c +23 -0
- postgast-0.0.1/vendor/libpg_query/examples/scan.c +60 -0
- postgast-0.0.1/vendor/libpg_query/examples/simple.c +40 -0
- postgast-0.0.1/vendor/libpg_query/examples/simple_error.c +23 -0
- postgast-0.0.1/vendor/libpg_query/examples/simple_plpgsql.c +32 -0
- postgast-0.0.1/vendor/libpg_query/patches/01_parser_additional_param_ref_support.patch +237 -0
- postgast-0.0.1/vendor/libpg_query/patches/03_lexer_track_yyllocend.patch +98 -0
- postgast-0.0.1/vendor/libpg_query/patches/04_lexer_comments_as_tokens.patch +129 -0
- postgast-0.0.1/vendor/libpg_query/patches/05_limit_option_enum_value_default.patch +36 -0
- postgast-0.0.1/vendor/libpg_query/patches/06_alloc_set_delete_free_list.patch +53 -0
- postgast-0.0.1/vendor/libpg_query/patches/07_plpgsql_start_finish_datums.patch +53 -0
- postgast-0.0.1/vendor/libpg_query/patches/08_avoid_zero_length_delimiter_in_regression_tests.patch +134 -0
- postgast-0.0.1/vendor/libpg_query/patches/09_allow_param_junk.patch +23 -0
- postgast-0.0.1/vendor/libpg_query/patches/10_avoid_namespace_hashtab_impl_gen.patch +23 -0
- postgast-0.0.1/vendor/libpg_query/patches/11_ifndef_namedatalen.patch +14 -0
- postgast-0.0.1/vendor/libpg_query/pg_query.h +177 -0
- postgast-0.0.1/vendor/libpg_query/postgres_deparse.h +34 -0
- postgast-0.0.1/vendor/libpg_query/protobuf/pg_query.pb-c.c +44999 -0
- postgast-0.0.1/vendor/libpg_query/protobuf/pg_query.pb-c.h +12869 -0
- postgast-0.0.1/vendor/libpg_query/protobuf/pg_query.pb-c.o +0 -0
- postgast-0.0.1/vendor/libpg_query/protobuf/pg_query.pb.cc +117712 -0
- postgast-0.0.1/vendor/libpg_query/protobuf/pg_query.pb.h +168618 -0
- postgast-0.0.1/vendor/libpg_query/protobuf/pg_query.proto +4157 -0
- postgast-0.0.1/vendor/libpg_query/scripts/extract_headers.rb +262 -0
- postgast-0.0.1/vendor/libpg_query/scripts/extract_source.rb +775 -0
- postgast-0.0.1/vendor/libpg_query/scripts/generate_fingerprint_outfuncs.rb +408 -0
- postgast-0.0.1/vendor/libpg_query/scripts/generate_fingerprint_tests.rb +37 -0
- postgast-0.0.1/vendor/libpg_query/scripts/generate_protobuf_and_funcs.rb +497 -0
- postgast-0.0.1/vendor/libpg_query/scripts/pg_config_overrides.h +163 -0
- postgast-0.0.1/vendor/libpg_query/scripts/update_summary_tests_list.rb +14 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_enum_defs.c +3003 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_fingerprint_conds.c +1032 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_fingerprint_defs.c +14978 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_json_helper.c +61 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_outfuncs_conds.c +806 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_outfuncs_defs.c +2884 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_readfuncs_conds.c +261 -0
- postgast-0.0.1/vendor/libpg_query/src/include/pg_query_readfuncs_defs.c +3403 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query.c +113 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_deparse.c +197 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_deparse.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_fingerprint.c +407 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_fingerprint.h +10 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_fingerprint.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_internal.h +25 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_is_utility_stmt.c +70 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_is_utility_stmt.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_json_plpgsql.c +782 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_json_plpgsql.h +9 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_json_plpgsql.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_normalize.c +688 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_normalize.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_outfuncs.h +11 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_outfuncs_json.c +354 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_outfuncs_json.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_outfuncs_protobuf.c +298 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_outfuncs_protobuf.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_outfuncs_protobuf_cpp.cc +269 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_parse.c +190 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_parse.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_parse_plpgsql.c +524 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_parse_plpgsql.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_raw_tree_walker_supports.c +117 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_raw_tree_walker_supports.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_readfuncs.h +11 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_readfuncs_protobuf.c +177 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_readfuncs_protobuf.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_scan.c +174 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_scan.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_split.c +222 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_split.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_summary.c +941 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_summary.h +109 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_summary.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_summary_statement_type.c +797 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_summary_statement_type.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_summary_truncate.c +530 -0
- postgast-0.0.1/vendor/libpg_query/src/pg_query_summary_truncate.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/COPYRIGHT +23 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/amapi.h +303 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/attmap.h +54 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/attnum.h +64 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/brin_internal.h +116 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/brin_tuple.h +112 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/clog.h +62 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/commit_ts.h +73 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/detoast.h +82 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/genam.h +246 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/gin.h +91 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/htup.h +89 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/htup_details.h +811 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/itup.h +170 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/parallel.h +81 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/printtup.h +35 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/relation.h +28 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/relscan.h +191 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/rmgr.h +62 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/rmgrlist.h +49 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/sdir.h +67 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/skey.h +151 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/slru.h +218 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/stratnum.h +85 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/sysattr.h +29 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/table.h +28 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/tableam.h +2117 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/tidstore.h +50 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/toast_compression.h +73 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/transam.h +418 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/tsmapi.h +82 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/tupconvert.h +54 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/tupdesc.h +154 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/tupmacs.h +207 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/twophase.h +65 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xact.h +530 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlog.h +311 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlog_internal.h +405 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlogbackup.h +43 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlogdefs.h +83 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlogprefetcher.h +55 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlogreader.h +444 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlogrecord.h +248 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/access/xlogrecovery.h +158 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/archive/archive_module.h +67 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/c.h +1374 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/catalog.h +47 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/catversion.h +62 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/dependency.h +228 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/genbki.h +149 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/index.h +218 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/indexing.h +54 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/namespace.h +189 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/objectaccess.h +267 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/objectaddress.h +93 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_aggregate.h +182 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_aggregate_d.h +78 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_am.h +66 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_am_d.h +47 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_attribute.h +240 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_attribute_d.h +62 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_authid.h +66 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_authid_d.h +60 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_class.h +235 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_class_d.h +134 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_collation.h +106 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_collation_d.h +66 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_constraint.h +278 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_constraint_d.h +74 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_control.h +260 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_conversion.h +79 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_conversion_d.h +38 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_database.h +129 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_database_d.h +53 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_depend.h +77 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_depend_d.h +36 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_event_trigger.h +60 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_event_trigger_d.h +36 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_index.h +92 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_index_d.h +59 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_language.h +75 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_language_d.h +41 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_namespace.h +67 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_namespace_d.h +36 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_opclass.h +91 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_opclass_d.h +51 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_operator.h +124 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_operator_d.h +142 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_opfamily.h +67 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_opfamily_d.h +51 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_partitioned_table.h +76 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_partitioned_table_d.h +36 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_proc.h +223 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_proc_d.h +101 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_publication.h +161 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_publication_d.h +38 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_replication_origin.h +65 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_replication_origin_d.h +33 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_statistic.h +288 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_statistic_d.h +199 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_statistic_ext.h +91 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_statistic_ext_d.h +45 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_transform.h +51 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_transform_d.h +34 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_trigger.h +153 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_trigger_d.h +109 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_config.h +56 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_config_d.h +34 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_dict.h +62 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_dict_d.h +35 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_parser.h +63 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_parser_d.h +37 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_template.h +54 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_ts_template_d.h +34 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_type.h +407 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/pg_type_d.h +324 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/storage.h +50 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/catalog/syscache_ids.h +104 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/async.h +49 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/dbcommands.h +37 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/defrem.h +161 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/event_trigger.h +97 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/explain.h +145 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/prepare.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/tablespace.h +69 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/trigger.h +306 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/user.h +43 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/commands/vacuum.h +388 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/cryptohash.h +39 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/file_perm.h +56 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/file_utils.h +65 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/hashfn.h +119 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/hashfn_unstable.h +407 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/int.h +512 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/keywords.h +29 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/kwlookup.h +44 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/pg_prng.h +62 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/relpath.h +97 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/scram-common.h +70 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/sha2.h +32 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/string.h +44 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/unicode_east_asian_fw_table.h +124 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/common/unicode_nonspacing_table.h +326 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/copyfuncs.funcs.c +5261 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/copyfuncs.switch.c +989 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/datatype/timestamp.h +269 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/equalfuncs.funcs.c +3310 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/equalfuncs.switch.c +836 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/executor/execdesc.h +70 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/executor/executor.h +685 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/executor/functions.h +56 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/executor/instrument.h +120 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/executor/spi.h +207 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/executor/tablefunc.h +67 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/executor/tuptable.h +523 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/fmgr.h +800 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/foreign/fdwapi.h +294 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/funcapi.h +360 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/gram.h +1168 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/gramparse.h +75 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/jit/jit.h +106 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/kwlist_d.h +1164 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/auth.h +37 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/crypt.h +47 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/hba.h +186 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/libpq-be.h +361 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/libpq.h +143 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/pqcomm.h +169 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/pqformat.h +209 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/pqsignal.h +54 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/protocol.h +89 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/sasl.h +136 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/libpq/scram.h +37 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/mb/pg_wchar.h +795 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/mb/stringinfo_mb.h +24 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/miscadmin.h +528 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/bitmapset.h +140 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/execnodes.h +2853 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/extensible.h +164 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/lockoptions.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/makefuncs.h +127 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/memnodes.h +152 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/miscnodes.h +56 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/nodeFuncs.h +222 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/nodes.h +435 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/nodetags.h +491 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/params.h +170 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/parsenodes.h +4233 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/pathnodes.h +3437 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/pg_list.h +686 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/plannodes.h +1593 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/primnodes.h +2339 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/print.h +34 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/queryjumble.h +86 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/replnodes.h +132 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/supportnodes.h +346 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/tidbitmap.h +75 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/nodes/value.h +90 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/optimizer/cost.h +216 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/optimizer/geqo.h +90 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/optimizer/geqo_gene.h +45 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/optimizer/optimizer.h +205 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/optimizer/paths.h +271 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/optimizer/planmain.h +123 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/analyze.h +66 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/kwlist.h +518 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_agg.h +65 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_coerce.h +105 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_expr.h +25 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_func.h +74 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_node.h +358 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_oper.h +68 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_relation.h +129 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parse_type.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parser.h +68 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/parsetree.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/scanner.h +152 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/parser/scansup.h +27 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/partitioning/partdefs.h +26 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pg_config.h +986 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pg_config_ext.h +8 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pg_config_manual.h +387 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pg_config_os.h +8 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pg_getopt.h +56 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pg_trace.h +17 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pgstat.h +780 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pgtime.h +94 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pl_gram.h +385 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pl_reserved_kwlist.h +52 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pl_reserved_kwlist_d.h +114 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pl_unreserved_kwlist.h +112 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/pl_unreserved_kwlist_d.h +246 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/plerrcodes.h +998 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/plpgsql.h +1342 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/arch-arm.h +32 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/arch-hppa.h +17 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/arch-ppc.h +256 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/arch-x86.h +254 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/fallback.h +170 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/generic-gcc.h +331 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/generic-msvc.h +119 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/generic-sunpro.h +121 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics/generic.h +437 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/atomics.h +606 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/pg_bitutils.h +421 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/pg_bswap.h +161 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/pg_crc32c.h +110 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/pg_iovec.h +123 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/simd.h +422 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/arpa/inet.h +3 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/dlfcn.h +1 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/grp.h +1 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/netdb.h +7 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/netinet/in.h +3 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/netinet/tcp.h +7 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/pwd.h +3 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/sys/resource.h +20 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/sys/select.h +3 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/sys/socket.h +34 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/sys/un.h +17 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32/sys/wait.h +3 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32.h +59 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32_msvc/dirent.h +34 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32_msvc/sys/file.h +1 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32_msvc/sys/param.h +1 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32_msvc/sys/time.h +1 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32_msvc/unistd.h +9 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32_msvc/utime.h +3 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port/win32_port.h +582 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/port.h +555 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/portability/instr_time.h +197 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postgres.h +579 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postgres_ext.h +73 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/autovacuum.h +69 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/bgworker.h +164 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/bgworker_internals.h +60 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/bgwriter.h +45 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/interrupt.h +32 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/pgarch.h +36 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/postmaster.h +101 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/startup.h +41 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/syslogger.h +101 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/walsummarizer.h +35 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/postmaster/walwriter.h +23 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/regex/regex.h +272 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/logicallauncher.h +34 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/logicalproto.h +274 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/logicalworker.h +33 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/origin.h +73 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/reorderbuffer.h +754 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/slot.h +291 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/slotsync.h +38 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/syncrep.h +109 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/walreceiver.h +504 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/replication/walsender.h +76 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/rewrite/prs2lock.h +46 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/rewrite/rewriteHandler.h +41 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/rewrite/rewriteManip.h +96 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/rewrite/rewriteSupport.h +26 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/block.h +108 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/buf.h +46 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/bufmgr.h +411 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/bufpage.h +510 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/condition_variable.h +73 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/dsm.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/dsm_impl.h +79 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/fd.h +219 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/fileset.h +40 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/ipc.h +87 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/item.h +19 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/itemid.h +184 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/itemptr.h +245 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/large_object.h +100 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/latch.h +196 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/lmgr.h +126 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/lock.h +624 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/lockdefs.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/lwlock.h +228 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/lwlocknames.h +47 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/off.h +57 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/pg_sema.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/pg_shmem.h +93 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/pmsignal.h +105 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/predicate.h +83 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/proc.h +488 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/procarray.h +103 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/proclist_types.h +53 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/procnumber.h +43 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/procsignal.h +75 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/read_stream.h +65 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/relfilelocator.h +100 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/s_lock.h +847 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/sharedfileset.h +37 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/shm_mq.h +86 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/shm_toc.h +58 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/shmem.h +59 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/sinval.h +153 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/smgr.h +130 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/spin.h +77 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/standby.h +109 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/standbydefs.h +74 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/storage/sync.h +66 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/cmdtag.h +62 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/cmdtaglist.h +219 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/deparse_utility.h +108 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/dest.h +148 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/fastpath.h +20 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/pquery.h +51 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/tcopprot.h +98 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tcop/utility.h +112 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/tsearch/ts_cache.h +96 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/acl.h +290 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/aclchk_internal.h +45 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/array.h +481 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/ascii.h +84 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/backend_progress.h +46 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/backend_status.h +340 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/builtins.h +139 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/bytea.h +28 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/catcache.h +231 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/date.h +118 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/datetime.h +367 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/datum.h +76 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/dsa.h +166 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/elog.h +541 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/errcodes.h +352 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/expandeddatum.h +170 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/expandedrecord.h +241 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/float.h +357 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/fmgroids.h +3347 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/fmgrprotos.h +2904 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/fmgrtab.h +49 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/guc.h +456 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/guc_hooks.h +182 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/guc_tables.h +323 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/hsearch.h +153 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/injection_point.h +44 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/inval.h +68 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/logtape.h +77 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/lsyscache.h +215 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/memdebug.h +82 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/memutils.h +193 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/memutils_internal.h +176 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/memutils_memorychunk.h +253 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/numeric.h +110 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/palloc.h +151 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/partcache.h +103 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/pg_locale.h +141 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/pgstat_internal.h +827 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/plancache.h +238 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/portal.h +252 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/probes.h +114 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/ps_status.h +47 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/queryenvironment.h +74 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/regproc.h +39 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/rel.h +711 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/relcache.h +155 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/reltrigger.h +81 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/resowner.h +167 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/ruleutils.h +52 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/sharedtuplestore.h +61 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/snapmgr.h +130 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/snapshot.h +219 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/sortsupport.h +391 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/syscache.h +136 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/timeout.h +96 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/timestamp.h +147 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/tuplesort.h +472 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/tuplestore.h +88 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/typcache.h +210 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/varlena.h +53 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/wait_event.h +108 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/wait_event_types.h +218 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/utils/xml.h +94 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/include/varatt.h +358 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_catalog_namespace.c +1272 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_catalog_namespace.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_catalog_pg_proc.c +143 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_catalog_pg_proc.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_commands_define.c +126 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_commands_define.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_bitmapset.c +582 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_bitmapset.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_copyfuncs.c +222 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_copyfuncs.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_equalfuncs.c +275 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_equalfuncs.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_extensible.c +76 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_extensible.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_list.c +1064 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_list.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_makefuncs.c +551 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_makefuncs.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_nodeFuncs.c +1664 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_nodeFuncs.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_value.c +93 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_nodes_value.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_gram.c +53848 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_gram.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_parser.c +542 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_parser.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_scan.c +10892 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_scan.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_scansup.c +137 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_parser_scansup.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_storage_ipc_ipc.c +201 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_storage_ipc_ipc.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_tcop_postgres.c +828 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_tcop_postgres.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_activity_pgstat_database.c +140 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_activity_pgstat_database.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_datum.c +338 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_datum.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_expandeddatum.c +98 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_expandeddatum.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_format_type.c +140 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_format_type.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_numutils.c +488 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_numutils.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_ruleutils.c +1924 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_adt_ruleutils.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_error_assert.c +73 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_error_assert.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_error_elog.c +1959 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_error_elog.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_fmgr_fmgr.c +599 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_fmgr_fmgr.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_init_globals.c +183 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_init_globals.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mb_mbutils.c +814 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mb_mbutils.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_misc_guc_tables.c +502 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_misc_guc_tables.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_alignedalloc.c +181 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_alignedalloc.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_aset.c +1769 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_aset.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_bump.c +728 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_bump.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_generation.c +1115 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_generation.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_mcxt.c +1534 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_mcxt.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_slab.c +1079 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_backend_utils_mmgr_slab.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_encnames.c +160 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_encnames.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_hashfn.c +420 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_hashfn.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_keywords.c +52 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_keywords.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_kwlist_d.h +1173 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_kwlookup.c +91 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_kwlookup.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_psprintf.c +158 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_psprintf.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_stringinfo.c +373 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_stringinfo.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_wchar.c +2278 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_common_wchar.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_comp.c +1254 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_comp.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_funcs.c +862 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_funcs.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_gram.c +6573 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_gram.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_handler.c +107 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_handler.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +123 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_scanner.c +689 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_scanner.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +255 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_pg_bitutils.c +454 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_pg_bitutils.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_pgstrcasecmp.c +139 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_pgstrcasecmp.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_qsort.c +28 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_qsort.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_snprintf.c +1468 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_snprintf.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_strerror.c +312 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_strerror.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_strlcpy.c +79 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres/src_port_strlcpy.o +0 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres_deparse.c +12107 -0
- postgast-0.0.1/vendor/libpg_query/src/postgres_deparse.o +0 -0
- postgast-0.0.1/vendor/libpg_query/srcdata/all_known_enums.json +76 -0
- postgast-0.0.1/vendor/libpg_query/srcdata/enum_defs.json +6948 -0
- postgast-0.0.1/vendor/libpg_query/srcdata/nodetypes.json +476 -0
- postgast-0.0.1/vendor/libpg_query/srcdata/struct_defs.json +11452 -0
- postgast-0.0.1/vendor/libpg_query/srcdata/typedefs.json +142 -0
- postgast-0.0.1/vendor/libpg_query/test/complex.c +10359 -0
- postgast-0.0.1/vendor/libpg_query/test/concurrency.c +61 -0
- postgast-0.0.1/vendor/libpg_query/test/deparse.c +667 -0
- postgast-0.0.1/vendor/libpg_query/test/deparse_tests.c +422 -0
- postgast-0.0.1/vendor/libpg_query/test/fingerprint.c +53 -0
- postgast-0.0.1/vendor/libpg_query/test/fingerprint_opts.c +54 -0
- postgast-0.0.1/vendor/libpg_query/test/fingerprint_opts_tests.c +34 -0
- postgast-0.0.1/vendor/libpg_query/test/fingerprint_tests.c +162 -0
- postgast-0.0.1/vendor/libpg_query/test/framework/main.c +260 -0
- postgast-0.0.1/vendor/libpg_query/test/framework/main.h +93 -0
- postgast-0.0.1/vendor/libpg_query/test/fuzz/fuzz_parser.c +21 -0
- postgast-0.0.1/vendor/libpg_query/test/is_utility_stmt.c +125 -0
- postgast-0.0.1/vendor/libpg_query/test/normalize.c +35 -0
- postgast-0.0.1/vendor/libpg_query/test/normalize_tests.c +57 -0
- postgast-0.0.1/vendor/libpg_query/test/normalize_utility.c +35 -0
- postgast-0.0.1/vendor/libpg_query/test/normalize_utility_tests.c +58 -0
- postgast-0.0.1/vendor/libpg_query/test/parse.c +35 -0
- postgast-0.0.1/vendor/libpg_query/test/parse_opts.c +36 -0
- postgast-0.0.1/vendor/libpg_query/test/parse_opts_tests.c +40 -0
- postgast-0.0.1/vendor/libpg_query/test/parse_plpgsql.c +62 -0
- postgast-0.0.1/vendor/libpg_query/test/parse_protobuf.c +38 -0
- postgast-0.0.1/vendor/libpg_query/test/parse_protobuf_opts.c +33 -0
- postgast-0.0.1/vendor/libpg_query/test/parse_tests.c +76 -0
- postgast-0.0.1/vendor/libpg_query/test/plpgsql_samples.expected.json +31 -0
- postgast-0.0.1/vendor/libpg_query/test/plpgsql_samples.sql +612 -0
- postgast-0.0.1/vendor/libpg_query/test/scan.c +69 -0
- postgast-0.0.1/vendor/libpg_query/test/scan_tests.c +101 -0
- postgast-0.0.1/vendor/libpg_query/test/split.c +105 -0
- postgast-0.0.1/vendor/libpg_query/test/split_tests.c +20 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/case.sql +7 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/comment_multiline.sql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/complex_depesz.sql +34 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/complex_gitlab.sql +56 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/complex_mattm.sql +26 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/ddl_alter_table_add_constraint.sql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/ddl_create_index.sql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/ddl_create_table.sql +14 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/ddl_create_trigger.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/ddl_create_type.sql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/insert_long.sql +9 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/nested_cte.sql +11 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/simple.sql +10 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/union.sql +30 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse/union_2.sql +9 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/01-numbers.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/02-string.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/03-sql-functions.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/04-functions.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/06-column-aliases.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/07-casts.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/08-fields-in-table.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/09-operators.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/10-operators.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/11-weird-operator.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/12-boolean-operation.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/13-joins.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/14-star.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/15-where.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/16-groupby.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/17-orderby.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/18-limitoffset.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/19-having.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/20-case.psql +12 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/21-in.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/22-subselect.psql +20 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/23-null.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/24-range-function.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/25-coalesce.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/26-range-subselect.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/27-distinct.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/28-distinct-on.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/29-param-ref.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/30-array.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/31-indirection.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/32-collate.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/33-window-functions.psql +13 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/34-framed-functions.psql +37 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/35-setops.psql +15 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/36-values.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/37-cte.psql +12 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/38-rcte.psql +9 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/39-any.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/40-all.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/41-special-a-expr.psql +10 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/42-minimax.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/43-rowexpr.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/44-bitstring.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/45-grouping-sets.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/46-cube.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/47-rollup.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/48-sublink-any-all.psql +9 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/08-selects.d/49-variadic-func-call.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/01-basic.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/02-with-columns.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/03-many-columns.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/04-with-schema.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/05-multirow.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/06-returning-all.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/07-returning-some.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/08-default.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/09-inserts.d/09-cte.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/01-single-column-no-where.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/02-many-columns-and-where.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/03-with.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/04-returning-all.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/05-returning-some.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/06-multi-assign-simple.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/07-multi-assign-long.psql +7 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/08-multi-assign-mix.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/09-cte.psql +7 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/10-updates.d/10-complex-where.psql +7 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/11-deletes.d/01-simple.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/11-deletes.d/02-where.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/11-deletes.d/03-using.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/11-deletes.d/04-returning-all.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/11-deletes.d/05-returning-some.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/11-deletes.d/06-cte.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/11-deletes.d/07-complex-where.psql +6 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/01-base.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/01-base.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/02-analyze.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/02-analyze.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/03-verbose.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/03-verbose.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/04-analyze-verbose.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/04-analyze-verbose.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/05-other.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/12-explains.d/05-other.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/13-tablesample.d/01-system.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/13-tablesample.d/01-system.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/13-tablesample.d/02-bernoulli.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/13-tablesample.d/02-bernoulli.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/13-tablesample.d/03-repeatable.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/13-tablesample.d/03-repeatable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/01-simple.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/02-concat.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/03-forest.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/04-parse.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/05-pi.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/06-root.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/07-serialize.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/14-xml.d/08-is-document.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/01-lateral.psql +12 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/02-current-row.psql +11 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/03-filtered-aggregates.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/04-cast-of-expression.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/05-literal-new-line.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/06-aggregate-filter-inside-case.psql +7 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/07-missing-ordinality-and-order-by.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/08-missing-dot-before-start.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/09-missing-dot-before-column.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/10-missing-not.psql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/16-bugs.d/11-distinct-aggregate.psql +2 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/01-for-update.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/02-for-no-key-update.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/03-for-share.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/04-for-key-share.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/05-of-table.psql +7 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/06-of-tables.psql +7 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/07-nowait.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/08-skip-locked.psql +5 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/17-locking-selects.d/09-multi.psql +8 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/18-conflicts.d/01-basic-nothing.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/18-conflicts.d/02-constraint-nothing.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/18-conflicts.d/03-columns-nothing.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/18-conflicts.d/04-expr-complex.psql +3 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/18-conflicts.d/05-simple-update.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/18-conflicts.d/06-update-multicolumn.psql +4 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/18-conflicts.d/07-update-complex.psql +18 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/01-rollback.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/02-rollback_and_chain.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/03-commit.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/04-commit_and_chain.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/05-start_transaction.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/06-start_transaction_isolation_level_serializable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/07-start_transaction_isolation_level_repeatable_read.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/08-start_transaction_isolation_level_read_committed.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/09-start_transaction_isolation_level_read_uncommitted.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/10-start_transaction_read_write.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/11-start_transaction_read_only.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/12-start_transaction_deferrable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/13-start_transaction_not_deferrable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/14-start_transaction_isolation_level_serializable,_deferrable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/15-begin.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/16-begin_isolation_level_serializable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/17-begin_isolation_level_repeatable_read.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/18-begin_isolation_level_read_committed.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/19-begin_isolation_level_read_uncommitted.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/20-begin_read_write.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/21-begin_read_only.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/22-begin_deferrable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/23-begin_not_deferrable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/19-transactions.d/24-begin_isolation_level_serializable,_deferrable.sql +1 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/deparse-depesz/README.md +33 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_array.sql +150 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_cache.sql +50 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_call.sql +591 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_control.sql +502 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_copy.sql +58 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_domain.sql +279 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_misc.sql +39 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_record.sql +571 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_simple.sql +116 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_transaction.sql +636 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_trap.sql +175 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_trigger.sql +24 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/plpgsql_regress/plpgsql_varprops.sql +247 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/advisory_lock.sql +148 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/aggregates.sql +1599 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/alter_generic.sql +616 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/alter_operator.sql +225 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/alter_table.sql +3113 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/amutils.sql +99 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/arrays.sql +851 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/async.sql +23 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/bit.sql +253 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/bitmapops.sql +41 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/boolean.sql +272 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/box.sql +289 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/brin.sql +525 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/brin_bloom.sql +376 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/brin_multi.sql +706 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/btree_index.sql +284 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/case.sql +270 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/char.sql +94 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/circle.sql +57 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/cluster.sql +324 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/collate.icu.utf8.sql +879 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/collate.linux.utf8.sql +464 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/collate.sql +310 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/collate.utf8.sql +67 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/collate.windows.win1252.sql +415 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/combocid.sql +111 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/comments.sql +42 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/compression.sql +155 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/constraints.sql +645 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/conversion.sql +373 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/copy.sql +322 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/copy2.sql +684 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/copydml.sql +95 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/copyselect.sql +96 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_aggregate.sql +330 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_am.sql +367 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_cast.sql +75 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_function_c.sql +35 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_function_sql.sql +421 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_index.sql +1315 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_index_spgist.sql +437 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_misc.sql +258 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_operator.sql +268 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_procedure.sql +289 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_role.sql +216 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_schema.sql +70 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_table.sql +740 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_table_like.sql +225 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_type.sql +299 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/create_view.sql +843 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/database.sql +24 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/date.sql +375 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/dbsize.sql +72 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/delete.sql +25 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/dependency.sql +116 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/domain.sql +891 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/drop_if_exists.sql +304 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/drop_operator.sql +56 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/enum.sql +348 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/equivclass.sql +271 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/errors.sql +370 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/event_trigger.sql +640 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/event_trigger_login.sql +24 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/explain.sql +171 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/expressions.sql +211 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/fast_default.sql +617 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/float4.sql +360 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/float8.sql +514 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/foreign_data.sql +868 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/foreign_key.sql +2231 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/functional_deps.sql +210 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/generated.sql +710 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/geometry.sql +531 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/gin.sql +183 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/gist.sql +188 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/groupingsets.sql +592 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/guc.sql +355 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/hash_func.sql +264 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/hash_index.sql +323 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/hash_part.sql +90 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/horology.sql +689 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/identity.sql +539 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/incremental_sort.sql +294 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/index_including.sql +238 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/index_including_gist.sql +90 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/indexing.sql +921 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/indirect_toast.sql +82 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/inet.sql +263 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/infinite_recurse.sql +29 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/inherit.sql +1163 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/init_privs.sql +10 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/insert.sql +676 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/insert_conflict.sql +591 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/int2.sql +157 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/int4.sql +212 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/int8.sql +294 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/interval.sql +800 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/join.sql +2967 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/join_hash.sql +625 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/json.sql +864 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/json_encoding.sql +82 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/jsonb.sql +1558 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/jsonb_jsonpath.sql +1138 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/jsonpath.sql +267 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/jsonpath_encoding.sql +59 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/largeobject.sql +327 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/limit.sql +204 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/line.sql +54 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/lock.sql +200 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/lseg.sql +28 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/macaddr.sql +49 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/macaddr8.sql +95 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/maintain_every.sql +26 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/matview.sql +316 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/md5.sql +36 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/memoize.sql +221 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/merge.sql +1839 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/misc.sql +275 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/misc_functions.sql +275 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/misc_sanity.sql +74 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/money.sql +148 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/multirangetypes.sql +884 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/mvcc.sql +44 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/name.sql +87 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/namespace.sql +100 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/numeric.sql +1531 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/numeric_big.sql +1366 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/numerology.sql +194 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/object_address.sql +297 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/oid.sql +57 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/oidjoins.sql +49 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/opr_sanity.sql +1421 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/partition_aggregate.sql +336 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/partition_info.sql +129 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/partition_join.sql +1222 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/partition_prune.sql +1335 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/password.sql +116 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/path.sql +50 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/pg_lsn.sql +60 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/plancache.sql +225 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/plpgsql.sql +4776 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/point.sql +102 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/polygon.sql +148 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/polymorphism.sql +1137 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/portals.sql +607 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/portals_p2.sql +98 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/predicate.sql +185 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/prepare.sql +84 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/prepared_xacts.sql +164 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/privileges.sql +2002 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/psql.sql +1893 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/psql_crosstab.sql +124 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/publication.sql +1190 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/random.sql +279 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/rangefuncs.sql +827 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/rangetypes.sql +700 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/regex.sql +158 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/regproc.sql +155 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/reindex_catalog.sql +52 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/reloptions.sql +139 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/replica_identity.sql +128 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/returning.sql +186 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/roleattributes.sql +98 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/rowsecurity.sql +2362 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/rowtypes.sql +564 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/rules.sql +1430 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/sanity_check.sql +21 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/security_label.sql +45 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select.sql +264 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select_distinct.sql +223 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select_distinct_on.sql +44 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select_having.sql +50 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select_implicit.sql +156 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select_into.sql +138 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select_parallel.sql +552 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/select_views.sql +155 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/sequence.sql +416 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/spgist.sql +91 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/sqljson.sql +509 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/sqljson_jsontable.sql +563 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/sqljson_queryfuncs.sql +502 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/stats.sql +868 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/stats_ext.sql +1785 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/strings.sql +864 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/subscription.sql +348 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/subselect.sql +1097 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/sysviews.sql +90 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tablesample.sql +110 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tablespace.sql +439 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/temp.sql +313 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/test_setup.sql +296 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/text.sql +114 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tid.sql +72 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tidrangescan.sql +101 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tidscan.sql +104 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/time.sql +79 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/timestamp.sql +426 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/timestamptz.sql +674 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/timetz.sql +108 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/transactions.sql +644 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/triggers.sql +2878 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/truncate.sql +329 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tsdicts.sql +283 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tsearch.sql +895 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tsrf.sql +185 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tstypes.sql +281 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/tuplesort.sql +307 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/txid.sql +102 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/type_sanity.sql +568 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/typed_table.sql +75 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/unicode.sql +38 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/union.sql +579 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/updatable_views.sql +2082 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/update.sql +672 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/uuid.sql +103 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/vacuum.sql +421 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/vacuum_parallel.sql +46 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/varchar.sql +73 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/window.sql +1960 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/with.sql +1720 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/write_parallel.sql +43 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/xid.sql +171 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/xml.sql +681 -0
- postgast-0.0.1/vendor/libpg_query/test/sql/postgres_regress/xmlmap.sql +63 -0
- postgast-0.0.1/vendor/libpg_query/test/summary.c +257 -0
- postgast-0.0.1/vendor/libpg_query/test/summary_tests.c +1075 -0
- postgast-0.0.1/vendor/libpg_query/test/summary_tests_list.c +94 -0
- postgast-0.0.1/vendor/libpg_query/test/summary_truncate.c +202 -0
- postgast-0.0.1/vendor/libpg_query/test/valgrind.supp +43 -0
- postgast-0.0.1/vendor/libpg_query/testdata/fingerprint.json +393 -0
- postgast-0.0.1/vendor/libpg_query/tmp/.gitkeep +0 -0
- postgast-0.0.1/vendor/libpg_query/vendor/protobuf-c/protobuf-c.c +3667 -0
- postgast-0.0.1/vendor/libpg_query/vendor/protobuf-c/protobuf-c.h +1110 -0
- postgast-0.0.1/vendor/libpg_query/vendor/protobuf-c/protobuf-c.o +0 -0
- postgast-0.0.1/vendor/libpg_query/vendor/xxhash/xxhash.c +43 -0
- postgast-0.0.1/vendor/libpg_query/vendor/xxhash/xxhash.h +5445 -0
- postgast-0.0.1/vendor/libpg_query/vendor/xxhash/xxhash.o +0 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions (except vendored submodule)
|
|
7
|
+
*.so
|
|
8
|
+
!vendor/**/*.so
|
|
9
|
+
|
|
10
|
+
# Vendored native libraries placed by build hook (not checked in)
|
|
11
|
+
src/postgast/libpg_query.*
|
|
12
|
+
src/postgast/pg_query.dll
|
|
13
|
+
|
|
14
|
+
# Distribution / packaging
|
|
15
|
+
.Python
|
|
16
|
+
build/
|
|
17
|
+
develop-eggs/
|
|
18
|
+
dist/
|
|
19
|
+
downloads/
|
|
20
|
+
eggs/
|
|
21
|
+
.eggs/
|
|
22
|
+
lib/
|
|
23
|
+
lib64/
|
|
24
|
+
parts/
|
|
25
|
+
sdist/
|
|
26
|
+
var/
|
|
27
|
+
wheels/
|
|
28
|
+
share/python-wheels/
|
|
29
|
+
*.egg-info/
|
|
30
|
+
.installed.cfg
|
|
31
|
+
*.egg
|
|
32
|
+
MANIFEST
|
|
33
|
+
|
|
34
|
+
# PyInstaller
|
|
35
|
+
# Usually these files are written by a python script from a template
|
|
36
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
37
|
+
*.manifest
|
|
38
|
+
*.spec
|
|
39
|
+
|
|
40
|
+
# Installer logs
|
|
41
|
+
pip-log.txt
|
|
42
|
+
pip-delete-this-directory.txt
|
|
43
|
+
|
|
44
|
+
# Unit test / coverage reports
|
|
45
|
+
htmlcov/
|
|
46
|
+
.tox/
|
|
47
|
+
.nox/
|
|
48
|
+
.coverage
|
|
49
|
+
.coverage.*
|
|
50
|
+
.cache
|
|
51
|
+
nosetests.xml
|
|
52
|
+
coverage.xml
|
|
53
|
+
*.cover
|
|
54
|
+
*.py.cover
|
|
55
|
+
.hypothesis/
|
|
56
|
+
.pytest_cache/
|
|
57
|
+
cover/
|
|
58
|
+
|
|
59
|
+
# Translations
|
|
60
|
+
*.mo
|
|
61
|
+
*.pot
|
|
62
|
+
|
|
63
|
+
# Django stuff:
|
|
64
|
+
*.log
|
|
65
|
+
local_settings.py
|
|
66
|
+
db.sqlite3
|
|
67
|
+
db.sqlite3-journal
|
|
68
|
+
|
|
69
|
+
# Flask stuff:
|
|
70
|
+
instance/
|
|
71
|
+
.webassets-cache
|
|
72
|
+
|
|
73
|
+
# Scrapy stuff:
|
|
74
|
+
.scrapy
|
|
75
|
+
|
|
76
|
+
# Sphinx documentation
|
|
77
|
+
docs/_build/
|
|
78
|
+
|
|
79
|
+
# PyBuilder
|
|
80
|
+
.pybuilder/
|
|
81
|
+
target/
|
|
82
|
+
|
|
83
|
+
# Jupyter Notebook
|
|
84
|
+
.ipynb_checkpoints
|
|
85
|
+
|
|
86
|
+
# IPython
|
|
87
|
+
profile_default/
|
|
88
|
+
ipython_config.py
|
|
89
|
+
|
|
90
|
+
# pyenv
|
|
91
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
92
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
93
|
+
# .python-version
|
|
94
|
+
|
|
95
|
+
# pipenv
|
|
96
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
97
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
98
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
99
|
+
# install all needed dependencies.
|
|
100
|
+
#Pipfile.lock
|
|
101
|
+
|
|
102
|
+
# UV
|
|
103
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
104
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
105
|
+
# commonly ignored for libraries.
|
|
106
|
+
#uv.lock
|
|
107
|
+
|
|
108
|
+
# poetry
|
|
109
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
110
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
111
|
+
# commonly ignored for libraries.
|
|
112
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
113
|
+
#poetry.lock
|
|
114
|
+
#poetry.toml
|
|
115
|
+
|
|
116
|
+
# pdm
|
|
117
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
118
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
119
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
120
|
+
#pdm.lock
|
|
121
|
+
#pdm.toml
|
|
122
|
+
.pdm-python
|
|
123
|
+
.pdm-build/
|
|
124
|
+
|
|
125
|
+
# pixi
|
|
126
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
127
|
+
#pixi.lock
|
|
128
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
129
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
130
|
+
.pixi
|
|
131
|
+
|
|
132
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
133
|
+
__pypackages__/
|
|
134
|
+
|
|
135
|
+
# Celery stuff
|
|
136
|
+
celerybeat-schedule
|
|
137
|
+
celerybeat.pid
|
|
138
|
+
|
|
139
|
+
# SageMath parsed files
|
|
140
|
+
*.sage.py
|
|
141
|
+
|
|
142
|
+
# Environments
|
|
143
|
+
.env
|
|
144
|
+
.envrc
|
|
145
|
+
.venv
|
|
146
|
+
env/
|
|
147
|
+
venv/
|
|
148
|
+
ENV/
|
|
149
|
+
env.bak/
|
|
150
|
+
venv.bak/
|
|
151
|
+
|
|
152
|
+
# Spyder project settings
|
|
153
|
+
.spyderproject
|
|
154
|
+
.spyproject
|
|
155
|
+
|
|
156
|
+
# Rope project settings
|
|
157
|
+
.ropeproject
|
|
158
|
+
|
|
159
|
+
# mkdocs documentation
|
|
160
|
+
/site
|
|
161
|
+
|
|
162
|
+
# mypy
|
|
163
|
+
.mypy_cache/
|
|
164
|
+
.dmypy.json
|
|
165
|
+
dmypy.json
|
|
166
|
+
|
|
167
|
+
# Pyre type checker
|
|
168
|
+
.pyre/
|
|
169
|
+
|
|
170
|
+
# pytype static type analyzer
|
|
171
|
+
.pytype/
|
|
172
|
+
|
|
173
|
+
# Cython debug symbols
|
|
174
|
+
cython_debug/
|
|
175
|
+
|
|
176
|
+
# PyCharm
|
|
177
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
178
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
179
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
180
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
181
|
+
#.idea/
|
|
182
|
+
|
|
183
|
+
# Abstra
|
|
184
|
+
# Abstra is an AI-powered process automation framework.
|
|
185
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
186
|
+
# Learn more at https://abstra.io/docs
|
|
187
|
+
.abstra/
|
|
188
|
+
|
|
189
|
+
# Visual Studio Code
|
|
190
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
191
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
192
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
193
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
194
|
+
# .vscode/
|
|
195
|
+
|
|
196
|
+
# Ruff stuff:
|
|
197
|
+
.ruff_cache/
|
|
198
|
+
|
|
199
|
+
# PyPI configuration file
|
|
200
|
+
.pypirc
|
|
201
|
+
|
|
202
|
+
# Cursor
|
|
203
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
204
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
205
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
206
|
+
.cursorignore
|
|
207
|
+
.cursorindexingignore
|
|
208
|
+
|
|
209
|
+
# Marimo
|
|
210
|
+
marimo/_static/
|
|
211
|
+
marimo/_lsp/
|
|
212
|
+
__marimo__/
|
postgast-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
BSD 2-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Edward Jones
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
16
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
17
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
18
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
19
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
20
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
21
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
22
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
23
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
24
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
postgast-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: postgast
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Python bindings to libpg_query — parse, deparse, normalize, fingerprint, split, and scan PostgreSQL SQL
|
|
5
|
+
Project-URL: Homepage, https://github.com/eddieland/postgast
|
|
6
|
+
Project-URL: Repository, https://github.com/eddieland/postgast
|
|
7
|
+
Project-URL: Issues, https://github.com/eddieland/postgast/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/eddieland/postgast/releases
|
|
9
|
+
Project-URL: Documentation, https://postgast.readthedocs.io
|
|
10
|
+
Author-email: Edward Jones <edwardrjones97@gmail.com>
|
|
11
|
+
License-Expression: BSD-2-Clause
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: ast,libpg_query,parser,postgresql,sql
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
17
|
+
Classifier: Operating System :: MacOS
|
|
18
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
20
|
+
Classifier: Programming Language :: Python
|
|
21
|
+
Classifier: Programming Language :: Python :: 3
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
|
+
Classifier: Topic :: Database
|
|
28
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
29
|
+
Classifier: Typing :: Typed
|
|
30
|
+
Requires-Python: >=3.10
|
|
31
|
+
Requires-Dist: protobuf
|
|
32
|
+
Provides-Extra: docs
|
|
33
|
+
Requires-Dist: furo>=2024.8; extra == 'docs'
|
|
34
|
+
Requires-Dist: sphinx-autodoc-typehints>=2.0; extra == 'docs'
|
|
35
|
+
Requires-Dist: sphinx-copybutton>=0.5; extra == 'docs'
|
|
36
|
+
Requires-Dist: sphinx>=8.0; extra == 'docs'
|
|
37
|
+
Provides-Extra: recipes
|
|
38
|
+
Requires-Dist: marimo>=0.10; extra == 'recipes'
|
|
39
|
+
Requires-Dist: pyzmq>=27.1.0; extra == 'recipes'
|
|
40
|
+
Description-Content-Type: text/markdown
|
|
41
|
+
|
|
42
|
+
# postgast
|
|
43
|
+
|
|
44
|
+
[](https://pypi.org/project/postgast/)
|
|
45
|
+
[](https://pypi.org/project/postgast/)
|
|
46
|
+
[](https://github.com/eddieland/postgast/blob/main/LICENSE)
|
|
47
|
+
[](https://github.com/eddieland/postgast/actions/workflows/ci.yml)
|
|
48
|
+
[](https://codecov.io/gh/eddieland/postgast)
|
|
49
|
+
[](https://postgast.readthedocs.io)
|
|
50
|
+
[](https://pypi.org/project/postgast/)
|
|
51
|
+
|
|
52
|
+
BSD-licensed Python bindings to [libpg_query](https://github.com/pganalyze/libpg_query), the PostgreSQL parser extracted
|
|
53
|
+
as a standalone C library.
|
|
54
|
+
|
|
55
|
+
Parse, deparse, normalize, fingerprint, split, and scan PostgreSQL SQL statements from Python with a minimal dependency
|
|
56
|
+
footprint — just `protobuf` and the vendored C library.
|
|
57
|
+
|
|
58
|
+
## Features
|
|
59
|
+
|
|
60
|
+
| Feature | Status | Description |
|
|
61
|
+
| ---------------- | ----------------------------------------- | -------------------------------------------------------------------------- |
|
|
62
|
+
| **Parse** | [Available](openspec/specs/parse/) | SQL text to protobuf AST |
|
|
63
|
+
| **Deparse** | [Available](openspec/specs/deparse/) | AST back to SQL text |
|
|
64
|
+
| **Normalize** | [Available](openspec/specs/normalize/) | Replace constants with parameter placeholders |
|
|
65
|
+
| **Fingerprint** | [Available](openspec/specs/fingerprint/) | Identify structurally equivalent statements |
|
|
66
|
+
| **Split** | [Available](openspec/specs/split/) | Split multi-statement strings (respects strings, comments, dollar-quoting) |
|
|
67
|
+
| **Scan** | [Available](openspec/specs/scan/) | Tokenize SQL with keyword classification |
|
|
68
|
+
| **Tree Walking** | [Available](openspec/specs/tree-walking/) | Walk/visit AST nodes with depth-first traversal and visitor pattern |
|
|
69
|
+
| **AST Helpers** | [Available](openspec/specs/ast-helpers/) | Extract tables, columns, functions; generate DROP from CREATE DDL |
|
|
70
|
+
|
|
71
|
+
Built on `libpg_query` 17-latest (PostgreSQL 17 parser).
|
|
72
|
+
|
|
73
|
+
## Installation
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pip install postgast
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Quick Start
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
import postgast
|
|
83
|
+
|
|
84
|
+
# Parse a query into an AST
|
|
85
|
+
tree = postgast.parse("SELECT id, name FROM users WHERE active = true")
|
|
86
|
+
|
|
87
|
+
# Deparse an AST back to SQL
|
|
88
|
+
sql = postgast.deparse(tree)
|
|
89
|
+
|
|
90
|
+
# Normalize a query (replace constants with placeholders)
|
|
91
|
+
normalized = postgast.normalize("SELECT * FROM users WHERE id = 42")
|
|
92
|
+
# => "SELECT * FROM users WHERE id = $1"
|
|
93
|
+
|
|
94
|
+
# Fingerprint a query
|
|
95
|
+
fp = postgast.fingerprint("SELECT * FROM users WHERE id = 42")
|
|
96
|
+
|
|
97
|
+
# Split a multi-statement string
|
|
98
|
+
stmts = postgast.split("SELECT 1; SELECT 2;")
|
|
99
|
+
# => ["SELECT 1", "SELECT 2"]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Motivation
|
|
103
|
+
|
|
104
|
+
[pglast](https://github.com/lelit/pglast) is an excellent library that wraps `libpg_query` for Python, but it is
|
|
105
|
+
licensed under GPLv3, which makes it unusable in many commercial and permissively-licensed projects. `postgast` provides
|
|
106
|
+
a BSD-licensed alternative that leans directly on `libpg_query`'s C API via `ctypes`, keeping the implementation minimal
|
|
107
|
+
and the dependency footprint small.
|
|
108
|
+
|
|
109
|
+
## How It Works
|
|
110
|
+
|
|
111
|
+
`postgast` calls `libpg_query`'s C functions directly through Python's `ctypes` module. Parse results are returned as
|
|
112
|
+
protobuf messages, deserialized into Python objects. There is no Cython, no Rust, and no C extension module to compile —
|
|
113
|
+
just a vendored shared library and pure Python on top.
|
|
114
|
+
|
|
115
|
+
## License
|
|
116
|
+
|
|
117
|
+
BSD 2-Clause. See [LICENSE](LICENSE) for details.
|
|
118
|
+
|
|
119
|
+
`libpg_query` is licensed under the
|
|
120
|
+
[BSD 3-Clause License](https://github.com/pganalyze/libpg_query/blob/17-latest/LICENSE). Portions of the PostgreSQL
|
|
121
|
+
source code used by `libpg_query` are licensed under the
|
|
122
|
+
[PostgreSQL License](https://www.postgresql.org/about/licence/).
|
postgast-0.0.1/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# postgast
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/postgast/)
|
|
4
|
+
[](https://pypi.org/project/postgast/)
|
|
5
|
+
[](https://github.com/eddieland/postgast/blob/main/LICENSE)
|
|
6
|
+
[](https://github.com/eddieland/postgast/actions/workflows/ci.yml)
|
|
7
|
+
[](https://codecov.io/gh/eddieland/postgast)
|
|
8
|
+
[](https://postgast.readthedocs.io)
|
|
9
|
+
[](https://pypi.org/project/postgast/)
|
|
10
|
+
|
|
11
|
+
BSD-licensed Python bindings to [libpg_query](https://github.com/pganalyze/libpg_query), the PostgreSQL parser extracted
|
|
12
|
+
as a standalone C library.
|
|
13
|
+
|
|
14
|
+
Parse, deparse, normalize, fingerprint, split, and scan PostgreSQL SQL statements from Python with a minimal dependency
|
|
15
|
+
footprint — just `protobuf` and the vendored C library.
|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
| Feature | Status | Description |
|
|
20
|
+
| ---------------- | ----------------------------------------- | -------------------------------------------------------------------------- |
|
|
21
|
+
| **Parse** | [Available](openspec/specs/parse/) | SQL text to protobuf AST |
|
|
22
|
+
| **Deparse** | [Available](openspec/specs/deparse/) | AST back to SQL text |
|
|
23
|
+
| **Normalize** | [Available](openspec/specs/normalize/) | Replace constants with parameter placeholders |
|
|
24
|
+
| **Fingerprint** | [Available](openspec/specs/fingerprint/) | Identify structurally equivalent statements |
|
|
25
|
+
| **Split** | [Available](openspec/specs/split/) | Split multi-statement strings (respects strings, comments, dollar-quoting) |
|
|
26
|
+
| **Scan** | [Available](openspec/specs/scan/) | Tokenize SQL with keyword classification |
|
|
27
|
+
| **Tree Walking** | [Available](openspec/specs/tree-walking/) | Walk/visit AST nodes with depth-first traversal and visitor pattern |
|
|
28
|
+
| **AST Helpers** | [Available](openspec/specs/ast-helpers/) | Extract tables, columns, functions; generate DROP from CREATE DDL |
|
|
29
|
+
|
|
30
|
+
Built on `libpg_query` 17-latest (PostgreSQL 17 parser).
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pip install postgast
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Quick Start
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
import postgast
|
|
42
|
+
|
|
43
|
+
# Parse a query into an AST
|
|
44
|
+
tree = postgast.parse("SELECT id, name FROM users WHERE active = true")
|
|
45
|
+
|
|
46
|
+
# Deparse an AST back to SQL
|
|
47
|
+
sql = postgast.deparse(tree)
|
|
48
|
+
|
|
49
|
+
# Normalize a query (replace constants with placeholders)
|
|
50
|
+
normalized = postgast.normalize("SELECT * FROM users WHERE id = 42")
|
|
51
|
+
# => "SELECT * FROM users WHERE id = $1"
|
|
52
|
+
|
|
53
|
+
# Fingerprint a query
|
|
54
|
+
fp = postgast.fingerprint("SELECT * FROM users WHERE id = 42")
|
|
55
|
+
|
|
56
|
+
# Split a multi-statement string
|
|
57
|
+
stmts = postgast.split("SELECT 1; SELECT 2;")
|
|
58
|
+
# => ["SELECT 1", "SELECT 2"]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Motivation
|
|
62
|
+
|
|
63
|
+
[pglast](https://github.com/lelit/pglast) is an excellent library that wraps `libpg_query` for Python, but it is
|
|
64
|
+
licensed under GPLv3, which makes it unusable in many commercial and permissively-licensed projects. `postgast` provides
|
|
65
|
+
a BSD-licensed alternative that leans directly on `libpg_query`'s C API via `ctypes`, keeping the implementation minimal
|
|
66
|
+
and the dependency footprint small.
|
|
67
|
+
|
|
68
|
+
## How It Works
|
|
69
|
+
|
|
70
|
+
`postgast` calls `libpg_query`'s C functions directly through Python's `ctypes` module. Parse results are returned as
|
|
71
|
+
protobuf messages, deserialized into Python objects. There is no Cython, no Rust, and no C extension module to compile —
|
|
72
|
+
just a vendored shared library and pure Python on top.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
BSD 2-Clause. See [LICENSE](LICENSE) for details.
|
|
77
|
+
|
|
78
|
+
`libpg_query` is licensed under the
|
|
79
|
+
[BSD 3-Clause License](https://github.com/pganalyze/libpg_query/blob/17-latest/LICENSE). Portions of the PostgreSQL
|
|
80
|
+
source code used by `libpg_query` are licensed under the
|
|
81
|
+
[PostgreSQL License](https://www.postgresql.org/about/licence/).
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"""Custom hatchling build hook that compiles libpg_query and bundles the shared library."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import platform
|
|
7
|
+
import subprocess
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
from typing import Any
|
|
10
|
+
|
|
11
|
+
from hatchling.builders.hooks.plugin.interface import BuildHookInterface
|
|
12
|
+
|
|
13
|
+
_LIB_NAMES = {
|
|
14
|
+
"Linux": "libpg_query.so",
|
|
15
|
+
"Darwin": "libpg_query.dylib",
|
|
16
|
+
"Windows": "pg_query.dll",
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class CustomBuildHook(BuildHookInterface):
|
|
21
|
+
"""Build hook that compiles libpg_query and includes it in the wheel."""
|
|
22
|
+
|
|
23
|
+
PLUGIN_NAME = "custom"
|
|
24
|
+
|
|
25
|
+
def initialize(self, version: str, build_data: dict[str, Any]) -> None:
|
|
26
|
+
"""Compile libpg_query and inject the shared library into the wheel.
|
|
27
|
+
|
|
28
|
+
Set ``POSTGAST_SKIP_NATIVE_BUILD=1`` to skip compilation (useful in CI
|
|
29
|
+
where the native library is built in a separate step).
|
|
30
|
+
"""
|
|
31
|
+
if os.environ.get("POSTGAST_SKIP_NATIVE_BUILD"):
|
|
32
|
+
self.app.display_warning("POSTGAST_SKIP_NATIVE_BUILD is set — skipping native library build.")
|
|
33
|
+
return
|
|
34
|
+
|
|
35
|
+
root = Path(self.root)
|
|
36
|
+
libpg_query_dir = root / "vendor" / "libpg_query"
|
|
37
|
+
|
|
38
|
+
makefile = libpg_query_dir / "Makefile"
|
|
39
|
+
if not makefile.exists():
|
|
40
|
+
self.app.display_warning(
|
|
41
|
+
"vendor/libpg_query/Makefile not found — skipping native library build. "
|
|
42
|
+
"Run 'git submodule update --init' to fetch the source."
|
|
43
|
+
)
|
|
44
|
+
return
|
|
45
|
+
|
|
46
|
+
system = platform.system()
|
|
47
|
+
lib_name = _LIB_NAMES.get(system)
|
|
48
|
+
if lib_name is None:
|
|
49
|
+
msg = f"Unsupported platform: {system}"
|
|
50
|
+
raise RuntimeError(msg)
|
|
51
|
+
|
|
52
|
+
# Compile the shared library.
|
|
53
|
+
if system == "Windows":
|
|
54
|
+
subprocess.check_call(["nmake", "/F", "Makefile.msvc"], cwd=libpg_query_dir)
|
|
55
|
+
else:
|
|
56
|
+
subprocess.check_call(["make", "build_shared"], cwd=libpg_query_dir)
|
|
57
|
+
|
|
58
|
+
lib_path = libpg_query_dir / lib_name
|
|
59
|
+
if not lib_path.exists():
|
|
60
|
+
msg = f"Expected shared library not found after build: {lib_path}"
|
|
61
|
+
raise RuntimeError(msg)
|
|
62
|
+
|
|
63
|
+
# Include the shared library in the wheel alongside the postgast package.
|
|
64
|
+
build_data["force_include"][str(lib_path)] = f"postgast/{lib_name}"
|
|
65
|
+
|
|
66
|
+
# Mark as platform-specific wheel (not pure Python).
|
|
67
|
+
build_data["infer_tag"] = True
|
|
68
|
+
build_data["pure_python"] = False
|
|
69
|
+
|
|
70
|
+
def clean(self, versions: list[str]) -> None:
|
|
71
|
+
"""Remove compiled artifacts from the vendor directory."""
|
|
72
|
+
root = Path(self.root)
|
|
73
|
+
libpg_query_dir = root / "vendor" / "libpg_query"
|
|
74
|
+
if libpg_query_dir.exists():
|
|
75
|
+
subprocess.call(["make", "clean"], cwd=libpg_query_dir)
|
|
Binary file
|