embedded-postgres 18.6.0__py3-none-win_amd64.whl
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.
- embedded_postgres/__init__.py +2 -0
- embedded_postgres/_commands.py +71 -0
- embedded_postgres/pginstall/bin/clusterdb.exe +0 -0
- embedded_postgres/pginstall/bin/createdb.exe +0 -0
- embedded_postgres/pginstall/bin/createuser.exe +0 -0
- embedded_postgres/pginstall/bin/dropdb.exe +0 -0
- embedded_postgres/pginstall/bin/dropuser.exe +0 -0
- embedded_postgres/pginstall/bin/ecpg.exe +0 -0
- embedded_postgres/pginstall/bin/initdb.exe +0 -0
- embedded_postgres/pginstall/bin/libecpg.dll +0 -0
- embedded_postgres/pginstall/bin/libecpg_compat.dll +0 -0
- embedded_postgres/pginstall/bin/libpgtypes.dll +0 -0
- embedded_postgres/pginstall/bin/libpq.dll +0 -0
- embedded_postgres/pginstall/bin/oid2name.exe +0 -0
- embedded_postgres/pginstall/bin/pg_amcheck.exe +0 -0
- embedded_postgres/pginstall/bin/pg_archivecleanup.exe +0 -0
- embedded_postgres/pginstall/bin/pg_basebackup.exe +0 -0
- embedded_postgres/pginstall/bin/pg_checksums.exe +0 -0
- embedded_postgres/pginstall/bin/pg_combinebackup.exe +0 -0
- embedded_postgres/pginstall/bin/pg_config.exe +0 -0
- embedded_postgres/pginstall/bin/pg_controldata.exe +0 -0
- embedded_postgres/pginstall/bin/pg_createsubscriber.exe +0 -0
- embedded_postgres/pginstall/bin/pg_ctl.exe +0 -0
- embedded_postgres/pginstall/bin/pg_dump.exe +0 -0
- embedded_postgres/pginstall/bin/pg_dumpall.exe +0 -0
- embedded_postgres/pginstall/bin/pg_isready.exe +0 -0
- embedded_postgres/pginstall/bin/pg_receivewal.exe +0 -0
- embedded_postgres/pginstall/bin/pg_recvlogical.exe +0 -0
- embedded_postgres/pginstall/bin/pg_resetwal.exe +0 -0
- embedded_postgres/pginstall/bin/pg_restore.exe +0 -0
- embedded_postgres/pginstall/bin/pg_rewind.exe +0 -0
- embedded_postgres/pginstall/bin/pg_test_fsync.exe +0 -0
- embedded_postgres/pginstall/bin/pg_test_timing.exe +0 -0
- embedded_postgres/pginstall/bin/pg_upgrade.exe +0 -0
- embedded_postgres/pginstall/bin/pg_verifybackup.exe +0 -0
- embedded_postgres/pginstall/bin/pg_waldump.exe +0 -0
- embedded_postgres/pginstall/bin/pg_walsummary.exe +0 -0
- embedded_postgres/pginstall/bin/pgbench.exe +0 -0
- embedded_postgres/pginstall/bin/postgres.exe +0 -0
- embedded_postgres/pginstall/bin/psql.exe +0 -0
- embedded_postgres/pginstall/bin/reindexdb.exe +0 -0
- embedded_postgres/pginstall/bin/vacuumdb.exe +0 -0
- embedded_postgres/pginstall/bin/vacuumlo.exe +0 -0
- embedded_postgres/pginstall/include/ecpg_config.h +9 -0
- embedded_postgres/pginstall/include/ecpg_informix.h +90 -0
- embedded_postgres/pginstall/include/ecpgerrno.h +80 -0
- embedded_postgres/pginstall/include/ecpglib.h +79 -0
- embedded_postgres/pginstall/include/ecpgtype.h +109 -0
- embedded_postgres/pginstall/include/informix/esql/datetime.h +14 -0
- embedded_postgres/pginstall/include/informix/esql/decimal.h +13 -0
- embedded_postgres/pginstall/include/informix/esql/sqltypes.h +59 -0
- embedded_postgres/pginstall/include/internal/c.h +1364 -0
- embedded_postgres/pginstall/include/internal/fe-auth-sasl.h +153 -0
- embedded_postgres/pginstall/include/internal/libpq/pqcomm.h +175 -0
- embedded_postgres/pginstall/include/internal/libpq/protocol.h +89 -0
- embedded_postgres/pginstall/include/internal/libpq-int.h +980 -0
- embedded_postgres/pginstall/include/internal/port.h +565 -0
- embedded_postgres/pginstall/include/internal/postgres_fe.h +34 -0
- embedded_postgres/pginstall/include/internal/pqexpbuffer.h +192 -0
- embedded_postgres/pginstall/include/libpq/libpq-fs.h +24 -0
- embedded_postgres/pginstall/include/libpq-events.h +94 -0
- embedded_postgres/pginstall/include/libpq-fe.h +837 -0
- embedded_postgres/pginstall/include/pg_config.h +824 -0
- embedded_postgres/pginstall/include/pg_config_manual.h +363 -0
- embedded_postgres/pginstall/include/pg_config_os.h +59 -0
- embedded_postgres/pginstall/include/pgtypes.h +17 -0
- embedded_postgres/pginstall/include/pgtypes_date.h +32 -0
- embedded_postgres/pginstall/include/pgtypes_error.h +18 -0
- embedded_postgres/pginstall/include/pgtypes_interval.h +40 -0
- embedded_postgres/pginstall/include/pgtypes_numeric.h +69 -0
- embedded_postgres/pginstall/include/pgtypes_timestamp.h +31 -0
- embedded_postgres/pginstall/include/postgres_ext.h +74 -0
- embedded_postgres/pginstall/include/server/access/amapi.h +332 -0
- embedded_postgres/pginstall/include/server/access/amvalidate.h +40 -0
- embedded_postgres/pginstall/include/server/access/attmap.h +54 -0
- embedded_postgres/pginstall/include/server/access/attnum.h +64 -0
- embedded_postgres/pginstall/include/server/access/brin.h +58 -0
- embedded_postgres/pginstall/include/server/access/brin_internal.h +116 -0
- embedded_postgres/pginstall/include/server/access/brin_page.h +96 -0
- embedded_postgres/pginstall/include/server/access/brin_pageops.h +38 -0
- embedded_postgres/pginstall/include/server/access/brin_revmap.h +41 -0
- embedded_postgres/pginstall/include/server/access/brin_tuple.h +112 -0
- embedded_postgres/pginstall/include/server/access/brin_xlog.h +151 -0
- embedded_postgres/pginstall/include/server/access/bufmask.h +32 -0
- embedded_postgres/pginstall/include/server/access/clog.h +62 -0
- embedded_postgres/pginstall/include/server/access/cmptype.h +44 -0
- embedded_postgres/pginstall/include/server/access/commit_ts.h +73 -0
- embedded_postgres/pginstall/include/server/access/detoast.h +82 -0
- embedded_postgres/pginstall/include/server/access/genam.h +278 -0
- embedded_postgres/pginstall/include/server/access/generic_xlog.h +45 -0
- embedded_postgres/pginstall/include/server/access/gin.h +106 -0
- embedded_postgres/pginstall/include/server/access/gin_private.h +506 -0
- embedded_postgres/pginstall/include/server/access/gin_tuple.h +44 -0
- embedded_postgres/pginstall/include/server/access/ginblock.h +346 -0
- embedded_postgres/pginstall/include/server/access/ginxlog.h +216 -0
- embedded_postgres/pginstall/include/server/access/gist.h +253 -0
- embedded_postgres/pginstall/include/server/access/gist_private.h +571 -0
- embedded_postgres/pginstall/include/server/access/gistscan.h +24 -0
- embedded_postgres/pginstall/include/server/access/gistxlog.h +117 -0
- embedded_postgres/pginstall/include/server/access/hash.h +490 -0
- embedded_postgres/pginstall/include/server/access/hash_xlog.h +270 -0
- embedded_postgres/pginstall/include/server/access/heapam.h +455 -0
- embedded_postgres/pginstall/include/server/access/heapam_xlog.h +538 -0
- embedded_postgres/pginstall/include/server/access/heaptoast.h +149 -0
- embedded_postgres/pginstall/include/server/access/hio.h +62 -0
- embedded_postgres/pginstall/include/server/access/htup.h +89 -0
- embedded_postgres/pginstall/include/server/access/htup_details.h +923 -0
- embedded_postgres/pginstall/include/server/access/itup.h +186 -0
- embedded_postgres/pginstall/include/server/access/multixact.h +161 -0
- embedded_postgres/pginstall/include/server/access/nbtree.h +1367 -0
- embedded_postgres/pginstall/include/server/access/nbtxlog.h +367 -0
- embedded_postgres/pginstall/include/server/access/parallel.h +81 -0
- embedded_postgres/pginstall/include/server/access/printsimple.h +23 -0
- embedded_postgres/pginstall/include/server/access/printtup.h +35 -0
- embedded_postgres/pginstall/include/server/access/relation.h +28 -0
- embedded_postgres/pginstall/include/server/access/reloptions.h +260 -0
- embedded_postgres/pginstall/include/server/access/relscan.h +217 -0
- embedded_postgres/pginstall/include/server/access/rewriteheap.h +57 -0
- embedded_postgres/pginstall/include/server/access/rmgr.h +62 -0
- embedded_postgres/pginstall/include/server/access/rmgrdesc_utils.h +22 -0
- embedded_postgres/pginstall/include/server/access/rmgrlist.h +49 -0
- embedded_postgres/pginstall/include/server/access/sdir.h +67 -0
- embedded_postgres/pginstall/include/server/access/sequence.h +23 -0
- embedded_postgres/pginstall/include/server/access/session.h +44 -0
- embedded_postgres/pginstall/include/server/access/skey.h +151 -0
- embedded_postgres/pginstall/include/server/access/slru.h +218 -0
- embedded_postgres/pginstall/include/server/access/spgist.h +229 -0
- embedded_postgres/pginstall/include/server/access/spgist_private.h +549 -0
- embedded_postgres/pginstall/include/server/access/spgxlog.h +259 -0
- embedded_postgres/pginstall/include/server/access/stratnum.h +85 -0
- embedded_postgres/pginstall/include/server/access/subtrans.h +26 -0
- embedded_postgres/pginstall/include/server/access/syncscan.h +30 -0
- embedded_postgres/pginstall/include/server/access/sysattr.h +29 -0
- embedded_postgres/pginstall/include/server/access/table.h +28 -0
- embedded_postgres/pginstall/include/server/access/tableam.h +2060 -0
- embedded_postgres/pginstall/include/server/access/tidstore.h +54 -0
- embedded_postgres/pginstall/include/server/access/timeline.h +44 -0
- embedded_postgres/pginstall/include/server/access/toast_compression.h +73 -0
- embedded_postgres/pginstall/include/server/access/toast_helper.h +116 -0
- embedded_postgres/pginstall/include/server/access/toast_internals.h +63 -0
- embedded_postgres/pginstall/include/server/access/transam.h +418 -0
- embedded_postgres/pginstall/include/server/access/tsmapi.h +82 -0
- embedded_postgres/pginstall/include/server/access/tupconvert.h +54 -0
- embedded_postgres/pginstall/include/server/access/tupdesc.h +251 -0
- embedded_postgres/pginstall/include/server/access/tupdesc_details.h +28 -0
- embedded_postgres/pginstall/include/server/access/tupmacs.h +235 -0
- embedded_postgres/pginstall/include/server/access/twophase.h +70 -0
- embedded_postgres/pginstall/include/server/access/twophase_rmgr.h +40 -0
- embedded_postgres/pginstall/include/server/access/valid.h +58 -0
- embedded_postgres/pginstall/include/server/access/visibilitymap.h +48 -0
- embedded_postgres/pginstall/include/server/access/visibilitymapdefs.h +34 -0
- embedded_postgres/pginstall/include/server/access/xact.h +536 -0
- embedded_postgres/pginstall/include/server/access/xlog.h +317 -0
- embedded_postgres/pginstall/include/server/access/xlog_internal.h +405 -0
- embedded_postgres/pginstall/include/server/access/xlogarchive.h +35 -0
- embedded_postgres/pginstall/include/server/access/xlogbackup.h +43 -0
- embedded_postgres/pginstall/include/server/access/xlogdefs.h +83 -0
- embedded_postgres/pginstall/include/server/access/xloginsert.h +68 -0
- embedded_postgres/pginstall/include/server/access/xlogprefetcher.h +55 -0
- embedded_postgres/pginstall/include/server/access/xlogreader.h +444 -0
- embedded_postgres/pginstall/include/server/access/xlogrecord.h +248 -0
- embedded_postgres/pginstall/include/server/access/xlogrecovery.h +158 -0
- embedded_postgres/pginstall/include/server/access/xlogstats.h +43 -0
- embedded_postgres/pginstall/include/server/access/xlogutils.h +123 -0
- embedded_postgres/pginstall/include/server/archive/archive_module.h +67 -0
- embedded_postgres/pginstall/include/server/archive/shell_archive.h +24 -0
- embedded_postgres/pginstall/include/server/bootstrap/bootstrap.h +69 -0
- embedded_postgres/pginstall/include/server/c.h +1364 -0
- embedded_postgres/pginstall/include/server/catalog/binary_upgrade.h +38 -0
- embedded_postgres/pginstall/include/server/catalog/catalog.h +48 -0
- embedded_postgres/pginstall/include/server/catalog/catversion.h +62 -0
- embedded_postgres/pginstall/include/server/catalog/dependency.h +234 -0
- embedded_postgres/pginstall/include/server/catalog/genbki.h +149 -0
- embedded_postgres/pginstall/include/server/catalog/heap.h +168 -0
- embedded_postgres/pginstall/include/server/catalog/index.h +220 -0
- embedded_postgres/pginstall/include/server/catalog/indexing.h +54 -0
- embedded_postgres/pginstall/include/server/catalog/namespace.h +189 -0
- embedded_postgres/pginstall/include/server/catalog/objectaccess.h +267 -0
- embedded_postgres/pginstall/include/server/catalog/objectaddress.h +93 -0
- embedded_postgres/pginstall/include/server/catalog/partition.h +34 -0
- embedded_postgres/pginstall/include/server/catalog/pg_aggregate.h +182 -0
- embedded_postgres/pginstall/include/server/catalog/pg_aggregate_d.h +85 -0
- embedded_postgres/pginstall/include/server/catalog/pg_am.h +66 -0
- embedded_postgres/pginstall/include/server/catalog/pg_am_d.h +54 -0
- embedded_postgres/pginstall/include/server/catalog/pg_amop.h +105 -0
- embedded_postgres/pginstall/include/server/catalog/pg_amop_d.h +51 -0
- embedded_postgres/pginstall/include/server/catalog/pg_amproc.h +75 -0
- embedded_postgres/pginstall/include/server/catalog/pg_amproc_d.h +42 -0
- embedded_postgres/pginstall/include/server/catalog/pg_attrdef.h +69 -0
- embedded_postgres/pginstall/include/server/catalog/pg_attrdef_d.h +40 -0
- embedded_postgres/pginstall/include/server/catalog/pg_attribute.h +234 -0
- embedded_postgres/pginstall/include/server/catalog/pg_attribute_d.h +69 -0
- embedded_postgres/pginstall/include/server/catalog/pg_auth_members.h +56 -0
- embedded_postgres/pginstall/include/server/catalog/pg_auth_members_d.h +46 -0
- embedded_postgres/pginstall/include/server/catalog/pg_authid.h +64 -0
- embedded_postgres/pginstall/include/server/catalog/pg_authid_d.h +66 -0
- embedded_postgres/pginstall/include/server/catalog/pg_cast.h +106 -0
- embedded_postgres/pginstall/include/server/catalog/pg_cast_d.h +71 -0
- embedded_postgres/pginstall/include/server/catalog/pg_class.h +238 -0
- embedded_postgres/pginstall/include/server/catalog/pg_class_d.h +140 -0
- embedded_postgres/pginstall/include/server/catalog/pg_collation.h +106 -0
- embedded_postgres/pginstall/include/server/catalog/pg_collation_d.h +72 -0
- embedded_postgres/pginstall/include/server/catalog/pg_constraint.h +301 -0
- embedded_postgres/pginstall/include/server/catalog/pg_constraint_d.h +83 -0
- embedded_postgres/pginstall/include/server/catalog/pg_control.h +266 -0
- embedded_postgres/pginstall/include/server/catalog/pg_conversion.h +79 -0
- embedded_postgres/pginstall/include/server/catalog/pg_conversion_d.h +45 -0
- embedded_postgres/pginstall/include/server/catalog/pg_database.h +129 -0
- embedded_postgres/pginstall/include/server/catalog/pg_database_d.h +60 -0
- embedded_postgres/pginstall/include/server/catalog/pg_db_role_setting.h +61 -0
- embedded_postgres/pginstall/include/server/catalog/pg_db_role_setting_d.h +40 -0
- embedded_postgres/pginstall/include/server/catalog/pg_default_acl.h +75 -0
- embedded_postgres/pginstall/include/server/catalog/pg_default_acl_d.h +54 -0
- embedded_postgres/pginstall/include/server/catalog/pg_depend.h +77 -0
- embedded_postgres/pginstall/include/server/catalog/pg_depend_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_description.h +73 -0
- embedded_postgres/pginstall/include/server/catalog/pg_description_d.h +39 -0
- embedded_postgres/pginstall/include/server/catalog/pg_enum.h +69 -0
- embedded_postgres/pginstall/include/server/catalog/pg_enum_d.h +41 -0
- embedded_postgres/pginstall/include/server/catalog/pg_event_trigger.h +60 -0
- embedded_postgres/pginstall/include/server/catalog/pg_event_trigger_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_extension.h +62 -0
- embedded_postgres/pginstall/include/server/catalog/pg_extension_d.h +44 -0
- embedded_postgres/pginstall/include/server/catalog/pg_foreign_data_wrapper.h +61 -0
- embedded_postgres/pginstall/include/server/catalog/pg_foreign_data_wrapper_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_foreign_server.h +58 -0
- embedded_postgres/pginstall/include/server/catalog/pg_foreign_server_d.h +44 -0
- embedded_postgres/pginstall/include/server/catalog/pg_foreign_table.h +51 -0
- embedded_postgres/pginstall/include/server/catalog/pg_foreign_table_d.h +38 -0
- embedded_postgres/pginstall/include/server/catalog/pg_index.h +94 -0
- embedded_postgres/pginstall/include/server/catalog/pg_index_d.h +68 -0
- embedded_postgres/pginstall/include/server/catalog/pg_inherits.h +67 -0
- embedded_postgres/pginstall/include/server/catalog/pg_inherits_d.h +40 -0
- embedded_postgres/pginstall/include/server/catalog/pg_init_privs.h +83 -0
- embedded_postgres/pginstall/include/server/catalog/pg_init_privs_d.h +40 -0
- embedded_postgres/pginstall/include/server/catalog/pg_language.h +75 -0
- embedded_postgres/pginstall/include/server/catalog/pg_language_d.h +48 -0
- embedded_postgres/pginstall/include/server/catalog/pg_largeobject.h +55 -0
- embedded_postgres/pginstall/include/server/catalog/pg_largeobject_d.h +38 -0
- embedded_postgres/pginstall/include/server/catalog/pg_largeobject_metadata.h +51 -0
- embedded_postgres/pginstall/include/server/catalog/pg_largeobject_metadata_d.h +38 -0
- embedded_postgres/pginstall/include/server/catalog/pg_namespace.h +67 -0
- embedded_postgres/pginstall/include/server/catalog/pg_namespace_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_opclass.h +91 -0
- embedded_postgres/pginstall/include/server/catalog/pg_opclass_d.h +58 -0
- embedded_postgres/pginstall/include/server/catalog/pg_operator.h +124 -0
- embedded_postgres/pginstall/include/server/catalog/pg_operator_d.h +153 -0
- embedded_postgres/pginstall/include/server/catalog/pg_opfamily.h +67 -0
- embedded_postgres/pginstall/include/server/catalog/pg_opfamily_d.h +58 -0
- embedded_postgres/pginstall/include/server/catalog/pg_parameter_acl.h +62 -0
- embedded_postgres/pginstall/include/server/catalog/pg_parameter_acl_d.h +41 -0
- embedded_postgres/pginstall/include/server/catalog/pg_partitioned_table.h +76 -0
- embedded_postgres/pginstall/include/server/catalog/pg_partitioned_table_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_policy.h +58 -0
- embedded_postgres/pginstall/include/server/catalog/pg_policy_d.h +44 -0
- embedded_postgres/pginstall/include/server/catalog/pg_proc.h +224 -0
- embedded_postgres/pginstall/include/server/catalog/pg_proc_d.h +108 -0
- embedded_postgres/pginstall/include/server/catalog/pg_publication.h +194 -0
- embedded_postgres/pginstall/include/server/catalog/pg_publication_d.h +57 -0
- embedded_postgres/pginstall/include/server/catalog/pg_publication_namespace.h +50 -0
- embedded_postgres/pginstall/include/server/catalog/pg_publication_namespace_d.h +39 -0
- embedded_postgres/pginstall/include/server/catalog/pg_publication_rel.h +57 -0
- embedded_postgres/pginstall/include/server/catalog/pg_publication_rel_d.h +42 -0
- embedded_postgres/pginstall/include/server/catalog/pg_range.h +75 -0
- embedded_postgres/pginstall/include/server/catalog/pg_range_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_replication_origin.h +63 -0
- embedded_postgres/pginstall/include/server/catalog/pg_replication_origin_d.h +38 -0
- embedded_postgres/pginstall/include/server/catalog/pg_rewrite.h +61 -0
- embedded_postgres/pginstall/include/server/catalog/pg_rewrite_d.h +44 -0
- embedded_postgres/pginstall/include/server/catalog/pg_seclabel.h +45 -0
- embedded_postgres/pginstall/include/server/catalog/pg_seclabel_d.h +40 -0
- embedded_postgres/pginstall/include/server/catalog/pg_sequence.h +46 -0
- embedded_postgres/pginstall/include/server/catalog/pg_sequence_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_shdepend.h +78 -0
- embedded_postgres/pginstall/include/server/catalog/pg_shdepend_d.h +43 -0
- embedded_postgres/pginstall/include/server/catalog/pg_shdescription.h +65 -0
- embedded_postgres/pginstall/include/server/catalog/pg_shdescription_d.h +40 -0
- embedded_postgres/pginstall/include/server/catalog/pg_shseclabel.h +46 -0
- embedded_postgres/pginstall/include/server/catalog/pg_shseclabel_d.h +42 -0
- embedded_postgres/pginstall/include/server/catalog/pg_statistic.h +288 -0
- embedded_postgres/pginstall/include/server/catalog/pg_statistic_d.h +206 -0
- embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext.h +91 -0
- embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext_d.h +52 -0
- embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext_data.h +61 -0
- embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext_data_d.h +41 -0
- embedded_postgres/pginstall/include/server/catalog/pg_subscription.h +190 -0
- embedded_postgres/pginstall/include/server/catalog/pg_subscription_d.h +93 -0
- embedded_postgres/pginstall/include/server/catalog/pg_subscription_rel.h +95 -0
- embedded_postgres/pginstall/include/server/catalog/pg_subscription_rel_d.h +58 -0
- embedded_postgres/pginstall/include/server/catalog/pg_tablespace.h +57 -0
- embedded_postgres/pginstall/include/server/catalog/pg_tablespace_d.h +45 -0
- embedded_postgres/pginstall/include/server/catalog/pg_transform.h +51 -0
- embedded_postgres/pginstall/include/server/catalog/pg_transform_d.h +41 -0
- embedded_postgres/pginstall/include/server/catalog/pg_trigger.h +153 -0
- embedded_postgres/pginstall/include/server/catalog/pg_trigger_d.h +116 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_config.h +56 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_config_d.h +41 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_config_map.h +51 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_config_map_d.h +39 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_dict.h +62 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_dict_d.h +42 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_parser.h +63 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_parser_d.h +44 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_template.h +54 -0
- embedded_postgres/pginstall/include/server/catalog/pg_ts_template_d.h +41 -0
- embedded_postgres/pginstall/include/server/catalog/pg_type.h +407 -0
- embedded_postgres/pginstall/include/server/catalog/pg_type_d.h +331 -0
- embedded_postgres/pginstall/include/server/catalog/pg_user_mapping.h +58 -0
- embedded_postgres/pginstall/include/server/catalog/pg_user_mapping_d.h +40 -0
- embedded_postgres/pginstall/include/server/catalog/schemapg.h +242 -0
- embedded_postgres/pginstall/include/server/catalog/storage.h +50 -0
- embedded_postgres/pginstall/include/server/catalog/storage_xlog.h +59 -0
- embedded_postgres/pginstall/include/server/catalog/syscache_ids.h +106 -0
- embedded_postgres/pginstall/include/server/catalog/syscache_info.h +581 -0
- embedded_postgres/pginstall/include/server/catalog/system_fk_info.h +253 -0
- embedded_postgres/pginstall/include/server/catalog/toasting.h +30 -0
- embedded_postgres/pginstall/include/server/commands/alter.h +34 -0
- embedded_postgres/pginstall/include/server/commands/async.h +52 -0
- embedded_postgres/pginstall/include/server/commands/cluster.h +51 -0
- embedded_postgres/pginstall/include/server/commands/collationcmds.h +25 -0
- embedded_postgres/pginstall/include/server/commands/comment.h +45 -0
- embedded_postgres/pginstall/include/server/commands/conversioncmds.h +23 -0
- embedded_postgres/pginstall/include/server/commands/copy.h +130 -0
- embedded_postgres/pginstall/include/server/commands/copyapi.h +105 -0
- embedded_postgres/pginstall/include/server/commands/copyfrom_internal.h +197 -0
- embedded_postgres/pginstall/include/server/commands/createas.h +34 -0
- embedded_postgres/pginstall/include/server/commands/dbcommands.h +37 -0
- embedded_postgres/pginstall/include/server/commands/dbcommands_xlog.h +60 -0
- embedded_postgres/pginstall/include/server/commands/defrem.h +165 -0
- embedded_postgres/pginstall/include/server/commands/discard.h +20 -0
- embedded_postgres/pginstall/include/server/commands/event_trigger.h +97 -0
- embedded_postgres/pginstall/include/server/commands/explain.h +84 -0
- embedded_postgres/pginstall/include/server/commands/explain_dr.h +32 -0
- embedded_postgres/pginstall/include/server/commands/explain_format.h +58 -0
- embedded_postgres/pginstall/include/server/commands/explain_state.h +100 -0
- embedded_postgres/pginstall/include/server/commands/extension.h +60 -0
- embedded_postgres/pginstall/include/server/commands/lockcmds.h +24 -0
- embedded_postgres/pginstall/include/server/commands/matview.h +36 -0
- embedded_postgres/pginstall/include/server/commands/policy.h +38 -0
- embedded_postgres/pginstall/include/server/commands/portalcmds.h +34 -0
- embedded_postgres/pginstall/include/server/commands/prepare.h +62 -0
- embedded_postgres/pginstall/include/server/commands/proclang.h +23 -0
- embedded_postgres/pginstall/include/server/commands/progress.h +160 -0
- embedded_postgres/pginstall/include/server/commands/publicationcmds.h +43 -0
- embedded_postgres/pginstall/include/server/commands/schemacmds.h +29 -0
- embedded_postgres/pginstall/include/server/commands/seclabel.h +34 -0
- embedded_postgres/pginstall/include/server/commands/sequence.h +70 -0
- embedded_postgres/pginstall/include/server/commands/subscriptioncmds.h +31 -0
- embedded_postgres/pginstall/include/server/commands/tablecmds.h +110 -0
- embedded_postgres/pginstall/include/server/commands/tablespace.h +71 -0
- embedded_postgres/pginstall/include/server/commands/trigger.h +292 -0
- embedded_postgres/pginstall/include/server/commands/typecmds.h +64 -0
- embedded_postgres/pginstall/include/server/commands/user.h +43 -0
- embedded_postgres/pginstall/include/server/commands/vacuum.h +410 -0
- embedded_postgres/pginstall/include/server/commands/view.h +25 -0
- embedded_postgres/pginstall/include/server/common/archive.h +21 -0
- embedded_postgres/pginstall/include/server/common/base64.h +19 -0
- embedded_postgres/pginstall/include/server/common/blkreftable.h +116 -0
- embedded_postgres/pginstall/include/server/common/checksum_helper.h +72 -0
- embedded_postgres/pginstall/include/server/common/compression.h +53 -0
- embedded_postgres/pginstall/include/server/common/config_info.h +21 -0
- embedded_postgres/pginstall/include/server/common/connect.h +28 -0
- embedded_postgres/pginstall/include/server/common/controldata_utils.h +21 -0
- embedded_postgres/pginstall/include/server/common/cryptohash.h +39 -0
- embedded_postgres/pginstall/include/server/common/fe_memutils.h +101 -0
- embedded_postgres/pginstall/include/server/common/file_perm.h +56 -0
- embedded_postgres/pginstall/include/server/common/file_utils.h +66 -0
- embedded_postgres/pginstall/include/server/common/hashfn.h +119 -0
- embedded_postgres/pginstall/include/server/common/hashfn_unstable.h +407 -0
- embedded_postgres/pginstall/include/server/common/hmac.h +30 -0
- embedded_postgres/pginstall/include/server/common/int.h +742 -0
- embedded_postgres/pginstall/include/server/common/int128.h +276 -0
- embedded_postgres/pginstall/include/server/common/ip.h +33 -0
- embedded_postgres/pginstall/include/server/common/jsonapi.h +267 -0
- embedded_postgres/pginstall/include/server/common/keywords.h +29 -0
- embedded_postgres/pginstall/include/server/common/kwlookup.h +44 -0
- embedded_postgres/pginstall/include/server/common/link-canary.h +17 -0
- embedded_postgres/pginstall/include/server/common/logging.h +163 -0
- embedded_postgres/pginstall/include/server/common/md5.h +37 -0
- embedded_postgres/pginstall/include/server/common/oauth-common.h +19 -0
- embedded_postgres/pginstall/include/server/common/openssl.h +43 -0
- embedded_postgres/pginstall/include/server/common/parse_manifest.h +57 -0
- embedded_postgres/pginstall/include/server/common/percentrepl.h +18 -0
- embedded_postgres/pginstall/include/server/common/pg_lzcompress.h +93 -0
- embedded_postgres/pginstall/include/server/common/pg_prng.h +62 -0
- embedded_postgres/pginstall/include/server/common/relpath.h +154 -0
- embedded_postgres/pginstall/include/server/common/restricted_token.h +24 -0
- embedded_postgres/pginstall/include/server/common/saslprep.h +30 -0
- embedded_postgres/pginstall/include/server/common/scram-common.h +70 -0
- embedded_postgres/pginstall/include/server/common/sha1.h +21 -0
- embedded_postgres/pginstall/include/server/common/sha2.h +32 -0
- embedded_postgres/pginstall/include/server/common/shortest_dec.h +63 -0
- embedded_postgres/pginstall/include/server/common/string.h +44 -0
- embedded_postgres/pginstall/include/server/common/unicode_case.h +35 -0
- embedded_postgres/pginstall/include/server/common/unicode_case_table.h +13630 -0
- embedded_postgres/pginstall/include/server/common/unicode_category.h +91 -0
- embedded_postgres/pginstall/include/server/common/unicode_category_table.h +7153 -0
- embedded_postgres/pginstall/include/server/common/unicode_east_asian_fw_table.h +126 -0
- embedded_postgres/pginstall/include/server/common/unicode_nonspacing_table.h +338 -0
- embedded_postgres/pginstall/include/server/common/unicode_norm.h +39 -0
- embedded_postgres/pginstall/include/server/common/unicode_norm_hashfunc.h +3016 -0
- embedded_postgres/pginstall/include/server/common/unicode_norm_table.h +9202 -0
- embedded_postgres/pginstall/include/server/common/unicode_normprops_table.h +8025 -0
- embedded_postgres/pginstall/include/server/common/unicode_version.h +14 -0
- embedded_postgres/pginstall/include/server/common/username.h +15 -0
- embedded_postgres/pginstall/include/server/datatype/timestamp.h +269 -0
- embedded_postgres/pginstall/include/server/executor/execAsync.h +25 -0
- embedded_postgres/pginstall/include/server/executor/execExpr.h +924 -0
- embedded_postgres/pginstall/include/server/executor/execParallel.h +51 -0
- embedded_postgres/pginstall/include/server/executor/execPartition.h +143 -0
- embedded_postgres/pginstall/include/server/executor/execScan.h +254 -0
- embedded_postgres/pginstall/include/server/executor/execdebug.h +130 -0
- embedded_postgres/pginstall/include/server/executor/execdesc.h +70 -0
- embedded_postgres/pginstall/include/server/executor/executor.h +789 -0
- embedded_postgres/pginstall/include/server/executor/functions.h +55 -0
- embedded_postgres/pginstall/include/server/executor/hashjoin.h +365 -0
- embedded_postgres/pginstall/include/server/executor/instrument.h +121 -0
- embedded_postgres/pginstall/include/server/executor/nodeAgg.h +341 -0
- embedded_postgres/pginstall/include/server/executor/nodeAppend.h +30 -0
- embedded_postgres/pginstall/include/server/executor/nodeBitmapAnd.h +24 -0
- embedded_postgres/pginstall/include/server/executor/nodeBitmapHeapscan.h +33 -0
- embedded_postgres/pginstall/include/server/executor/nodeBitmapIndexscan.h +30 -0
- embedded_postgres/pginstall/include/server/executor/nodeBitmapOr.h +24 -0
- embedded_postgres/pginstall/include/server/executor/nodeCtescan.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeCustom.h +42 -0
- embedded_postgres/pginstall/include/server/executor/nodeForeignscan.h +38 -0
- embedded_postgres/pginstall/include/server/executor/nodeFunctionscan.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeGather.h +24 -0
- embedded_postgres/pginstall/include/server/executor/nodeGatherMerge.h +26 -0
- embedded_postgres/pginstall/include/server/executor/nodeGroup.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeHash.h +75 -0
- embedded_postgres/pginstall/include/server/executor/nodeHashjoin.h +34 -0
- embedded_postgres/pginstall/include/server/executor/nodeIncrementalSort.h +28 -0
- embedded_postgres/pginstall/include/server/executor/nodeIndexonlyscan.h +37 -0
- embedded_postgres/pginstall/include/server/executor/nodeIndexscan.h +48 -0
- embedded_postgres/pginstall/include/server/executor/nodeLimit.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeLockRows.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeMaterial.h +25 -0
- embedded_postgres/pginstall/include/server/executor/nodeMemoize.h +32 -0
- embedded_postgres/pginstall/include/server/executor/nodeMergeAppend.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeMergejoin.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeModifyTable.h +33 -0
- embedded_postgres/pginstall/include/server/executor/nodeNamedtuplestorescan.h +22 -0
- embedded_postgres/pginstall/include/server/executor/nodeNestloop.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeProjectSet.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeRecursiveunion.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeResult.h +25 -0
- embedded_postgres/pginstall/include/server/executor/nodeSamplescan.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeSeqscan.h +31 -0
- embedded_postgres/pginstall/include/server/executor/nodeSetOp.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeSort.h +32 -0
- embedded_postgres/pginstall/include/server/executor/nodeSubplan.h +29 -0
- embedded_postgres/pginstall/include/server/executor/nodeSubqueryscan.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeTableFuncscan.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeTidrangescan.h +24 -0
- embedded_postgres/pginstall/include/server/executor/nodeTidscan.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeUnique.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeValuesscan.h +22 -0
- embedded_postgres/pginstall/include/server/executor/nodeWindowAgg.h +23 -0
- embedded_postgres/pginstall/include/server/executor/nodeWorktablescan.h +22 -0
- embedded_postgres/pginstall/include/server/executor/spi.h +207 -0
- embedded_postgres/pginstall/include/server/executor/spi_priv.h +105 -0
- embedded_postgres/pginstall/include/server/executor/tablefunc.h +67 -0
- embedded_postgres/pginstall/include/server/executor/tqueue.h +32 -0
- embedded_postgres/pginstall/include/server/executor/tstoreReceiver.h +31 -0
- embedded_postgres/pginstall/include/server/executor/tuptable.h +539 -0
- embedded_postgres/pginstall/include/server/extension/cube/cubedata.h +82 -0
- embedded_postgres/pginstall/include/server/extension/hstore/hstore.h +205 -0
- embedded_postgres/pginstall/include/server/extension/isn/isn.h +34 -0
- embedded_postgres/pginstall/include/server/extension/ltree/ltree.h +319 -0
- embedded_postgres/pginstall/include/server/extension/seg/segdata.h +33 -0
- embedded_postgres/pginstall/include/server/extension/vector/halfvec.h +77 -0
- embedded_postgres/pginstall/include/server/extension/vector/sparsevec.h +51 -0
- embedded_postgres/pginstall/include/server/extension/vector/vector.h +37 -0
- embedded_postgres/pginstall/include/server/fe_utils/archive.h +21 -0
- embedded_postgres/pginstall/include/server/fe_utils/astreamer.h +231 -0
- embedded_postgres/pginstall/include/server/fe_utils/cancel.h +32 -0
- embedded_postgres/pginstall/include/server/fe_utils/conditional.h +107 -0
- embedded_postgres/pginstall/include/server/fe_utils/connect_utils.h +48 -0
- embedded_postgres/pginstall/include/server/fe_utils/mbprint.h +30 -0
- embedded_postgres/pginstall/include/server/fe_utils/option_utils.h +28 -0
- embedded_postgres/pginstall/include/server/fe_utils/parallel_slot.h +77 -0
- embedded_postgres/pginstall/include/server/fe_utils/print.h +236 -0
- embedded_postgres/pginstall/include/server/fe_utils/psqlscan.h +98 -0
- embedded_postgres/pginstall/include/server/fe_utils/psqlscan_int.h +181 -0
- embedded_postgres/pginstall/include/server/fe_utils/query_utils.h +24 -0
- embedded_postgres/pginstall/include/server/fe_utils/recovery_gen.h +30 -0
- embedded_postgres/pginstall/include/server/fe_utils/simple_list.h +71 -0
- embedded_postgres/pginstall/include/server/fe_utils/string_utils.h +71 -0
- embedded_postgres/pginstall/include/server/fmgr.h +851 -0
- embedded_postgres/pginstall/include/server/foreign/fdwapi.h +294 -0
- embedded_postgres/pginstall/include/server/foreign/foreign.h +85 -0
- embedded_postgres/pginstall/include/server/funcapi.h +360 -0
- embedded_postgres/pginstall/include/server/getopt_long.h +37 -0
- embedded_postgres/pginstall/include/server/jit/SectionMemoryManager.h +226 -0
- embedded_postgres/pginstall/include/server/jit/jit.h +106 -0
- embedded_postgres/pginstall/include/server/jit/llvmjit.h +152 -0
- embedded_postgres/pginstall/include/server/jit/llvmjit_backport.h +22 -0
- embedded_postgres/pginstall/include/server/jit/llvmjit_emit.h +320 -0
- embedded_postgres/pginstall/include/server/lib/binaryheap.h +69 -0
- embedded_postgres/pginstall/include/server/lib/bipartite_match.h +46 -0
- embedded_postgres/pginstall/include/server/lib/bloomfilter.h +27 -0
- embedded_postgres/pginstall/include/server/lib/dshash.h +130 -0
- embedded_postgres/pginstall/include/server/lib/hyperloglog.h +68 -0
- embedded_postgres/pginstall/include/server/lib/ilist.h +1159 -0
- embedded_postgres/pginstall/include/server/lib/integerset.h +24 -0
- embedded_postgres/pginstall/include/server/lib/knapsack.h +16 -0
- embedded_postgres/pginstall/include/server/lib/pairingheap.h +102 -0
- embedded_postgres/pginstall/include/server/lib/qunique.h +67 -0
- embedded_postgres/pginstall/include/server/lib/radixtree.h +3026 -0
- embedded_postgres/pginstall/include/server/lib/rbtree.h +81 -0
- embedded_postgres/pginstall/include/server/lib/simplehash.h +1210 -0
- embedded_postgres/pginstall/include/server/lib/sort_template.h +445 -0
- embedded_postgres/pginstall/include/server/lib/stringinfo.h +270 -0
- embedded_postgres/pginstall/include/server/libpq/auth.h +54 -0
- embedded_postgres/pginstall/include/server/libpq/be-fsstubs.h +32 -0
- embedded_postgres/pginstall/include/server/libpq/be-gssapi-common.h +27 -0
- embedded_postgres/pginstall/include/server/libpq/crypt.h +60 -0
- embedded_postgres/pginstall/include/server/libpq/hba.h +191 -0
- embedded_postgres/pginstall/include/server/libpq/ifaddr.h +30 -0
- embedded_postgres/pginstall/include/server/libpq/libpq-be-fe-helpers.h +457 -0
- embedded_postgres/pginstall/include/server/libpq/libpq-be.h +370 -0
- embedded_postgres/pginstall/include/server/libpq/libpq-fs.h +24 -0
- embedded_postgres/pginstall/include/server/libpq/libpq.h +145 -0
- embedded_postgres/pginstall/include/server/libpq/oauth.h +101 -0
- embedded_postgres/pginstall/include/server/libpq/pg-gssapi.h +42 -0
- embedded_postgres/pginstall/include/server/libpq/pqcomm.h +175 -0
- embedded_postgres/pginstall/include/server/libpq/pqformat.h +209 -0
- embedded_postgres/pginstall/include/server/libpq/pqmq.h +24 -0
- embedded_postgres/pginstall/include/server/libpq/pqsignal.h +54 -0
- embedded_postgres/pginstall/include/server/libpq/protocol.h +89 -0
- embedded_postgres/pginstall/include/server/libpq/sasl.h +147 -0
- embedded_postgres/pginstall/include/server/libpq/scram.h +37 -0
- embedded_postgres/pginstall/include/server/mb/pg_wchar.h +802 -0
- embedded_postgres/pginstall/include/server/mb/stringinfo_mb.h +24 -0
- embedded_postgres/pginstall/include/server/miscadmin.h +543 -0
- embedded_postgres/pginstall/include/server/nodes/bitmapset.h +140 -0
- embedded_postgres/pginstall/include/server/nodes/execnodes.h +2924 -0
- embedded_postgres/pginstall/include/server/nodes/extensible.h +164 -0
- embedded_postgres/pginstall/include/server/nodes/lockoptions.h +61 -0
- embedded_postgres/pginstall/include/server/nodes/makefuncs.h +128 -0
- embedded_postgres/pginstall/include/server/nodes/memnodes.h +152 -0
- embedded_postgres/pginstall/include/server/nodes/miscnodes.h +57 -0
- embedded_postgres/pginstall/include/server/nodes/multibitmapset.h +39 -0
- embedded_postgres/pginstall/include/server/nodes/nodeFuncs.h +224 -0
- embedded_postgres/pginstall/include/server/nodes/nodes.h +441 -0
- embedded_postgres/pginstall/include/server/nodes/nodetags.h +496 -0
- embedded_postgres/pginstall/include/server/nodes/params.h +170 -0
- embedded_postgres/pginstall/include/server/nodes/parsenodes.h +4335 -0
- embedded_postgres/pginstall/include/server/nodes/pathnodes.h +3609 -0
- embedded_postgres/pginstall/include/server/nodes/pg_list.h +686 -0
- embedded_postgres/pginstall/include/server/nodes/plannodes.h +1767 -0
- embedded_postgres/pginstall/include/server/nodes/primnodes.h +2374 -0
- embedded_postgres/pginstall/include/server/nodes/print.h +34 -0
- embedded_postgres/pginstall/include/server/nodes/queryjumble.h +113 -0
- embedded_postgres/pginstall/include/server/nodes/readfuncs.h +38 -0
- embedded_postgres/pginstall/include/server/nodes/replnodes.h +132 -0
- embedded_postgres/pginstall/include/server/nodes/subscripting.h +167 -0
- embedded_postgres/pginstall/include/server/nodes/supportnodes.h +393 -0
- embedded_postgres/pginstall/include/server/nodes/tidbitmap.h +128 -0
- embedded_postgres/pginstall/include/server/nodes/value.h +90 -0
- embedded_postgres/pginstall/include/server/optimizer/appendinfo.h +50 -0
- embedded_postgres/pginstall/include/server/optimizer/clauses.h +72 -0
- embedded_postgres/pginstall/include/server/optimizer/cost.h +226 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo.h +90 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_copy.h +30 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_gene.h +45 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_misc.h +34 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_mutation.h +30 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_pool.h +40 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_random.h +38 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_recombination.h +89 -0
- embedded_postgres/pginstall/include/server/optimizer/geqo_selection.h +33 -0
- embedded_postgres/pginstall/include/server/optimizer/inherit.h +29 -0
- embedded_postgres/pginstall/include/server/optimizer/joininfo.h +30 -0
- embedded_postgres/pginstall/include/server/optimizer/optimizer.h +215 -0
- embedded_postgres/pginstall/include/server/optimizer/orclauses.h +21 -0
- embedded_postgres/pginstall/include/server/optimizer/paramassign.h +39 -0
- embedded_postgres/pginstall/include/server/optimizer/pathnode.h +356 -0
- embedded_postgres/pginstall/include/server/optimizer/paths.h +282 -0
- embedded_postgres/pginstall/include/server/optimizer/placeholder.h +37 -0
- embedded_postgres/pginstall/include/server/optimizer/plancat.h +82 -0
- embedded_postgres/pginstall/include/server/optimizer/planmain.h +134 -0
- embedded_postgres/pginstall/include/server/optimizer/planner.h +62 -0
- embedded_postgres/pginstall/include/server/optimizer/prep.h +58 -0
- embedded_postgres/pginstall/include/server/optimizer/restrictinfo.h +93 -0
- embedded_postgres/pginstall/include/server/optimizer/subselect.h +46 -0
- embedded_postgres/pginstall/include/server/optimizer/tlist.h +61 -0
- embedded_postgres/pginstall/include/server/parser/analyze.h +68 -0
- embedded_postgres/pginstall/include/server/parser/kwlist.h +521 -0
- embedded_postgres/pginstall/include/server/parser/parse_agg.h +65 -0
- embedded_postgres/pginstall/include/server/parser/parse_clause.h +57 -0
- embedded_postgres/pginstall/include/server/parser/parse_coerce.h +105 -0
- embedded_postgres/pginstall/include/server/parser/parse_collate.h +27 -0
- embedded_postgres/pginstall/include/server/parser/parse_cte.h +24 -0
- embedded_postgres/pginstall/include/server/parser/parse_enr.h +22 -0
- embedded_postgres/pginstall/include/server/parser/parse_expr.h +25 -0
- embedded_postgres/pginstall/include/server/parser/parse_func.h +74 -0
- embedded_postgres/pginstall/include/server/parser/parse_merge.h +21 -0
- embedded_postgres/pginstall/include/server/parser/parse_node.h +368 -0
- embedded_postgres/pginstall/include/server/parser/parse_oper.h +68 -0
- embedded_postgres/pginstall/include/server/parser/parse_param.h +25 -0
- embedded_postgres/pginstall/include/server/parser/parse_relation.h +133 -0
- embedded_postgres/pginstall/include/server/parser/parse_target.h +58 -0
- embedded_postgres/pginstall/include/server/parser/parse_type.h +61 -0
- embedded_postgres/pginstall/include/server/parser/parse_utilcmd.h +44 -0
- embedded_postgres/pginstall/include/server/parser/parser.h +68 -0
- embedded_postgres/pginstall/include/server/parser/parsetree.h +61 -0
- embedded_postgres/pginstall/include/server/parser/scanner.h +150 -0
- embedded_postgres/pginstall/include/server/parser/scansup.h +27 -0
- embedded_postgres/pginstall/include/server/partitioning/partbounds.h +146 -0
- embedded_postgres/pginstall/include/server/partitioning/partdefs.h +26 -0
- embedded_postgres/pginstall/include/server/partitioning/partdesc.h +75 -0
- embedded_postgres/pginstall/include/server/partitioning/partprune.h +81 -0
- embedded_postgres/pginstall/include/server/pg_config.h +824 -0
- embedded_postgres/pginstall/include/server/pg_config_manual.h +363 -0
- embedded_postgres/pginstall/include/server/pg_config_os.h +59 -0
- embedded_postgres/pginstall/include/server/pg_getopt.h +57 -0
- embedded_postgres/pginstall/include/server/pg_trace.h +17 -0
- embedded_postgres/pginstall/include/server/pgstat.h +842 -0
- embedded_postgres/pginstall/include/server/pgtar.h +89 -0
- embedded_postgres/pginstall/include/server/pgtime.h +101 -0
- embedded_postgres/pginstall/include/server/plpgsql.h +1336 -0
- embedded_postgres/pginstall/include/server/port/atomics/arch-arm.h +32 -0
- embedded_postgres/pginstall/include/server/port/atomics/arch-ppc.h +256 -0
- embedded_postgres/pginstall/include/server/port/atomics/arch-x86.h +246 -0
- embedded_postgres/pginstall/include/server/port/atomics/fallback.h +42 -0
- embedded_postgres/pginstall/include/server/port/atomics/generic-gcc.h +327 -0
- embedded_postgres/pginstall/include/server/port/atomics/generic-msvc.h +115 -0
- embedded_postgres/pginstall/include/server/port/atomics/generic-sunpro.h +113 -0
- embedded_postgres/pginstall/include/server/port/atomics/generic.h +427 -0
- embedded_postgres/pginstall/include/server/port/atomics.h +611 -0
- embedded_postgres/pginstall/include/server/port/cygwin.h +23 -0
- embedded_postgres/pginstall/include/server/port/darwin.h +13 -0
- embedded_postgres/pginstall/include/server/port/freebsd.h +8 -0
- embedded_postgres/pginstall/include/server/port/linux.h +22 -0
- embedded_postgres/pginstall/include/server/port/netbsd.h +1 -0
- embedded_postgres/pginstall/include/server/port/openbsd.h +1 -0
- embedded_postgres/pginstall/include/server/port/pg_bitutils.h +445 -0
- embedded_postgres/pginstall/include/server/port/pg_bswap.h +161 -0
- embedded_postgres/pginstall/include/server/port/pg_crc32c.h +169 -0
- embedded_postgres/pginstall/include/server/port/pg_iovec.h +127 -0
- embedded_postgres/pginstall/include/server/port/pg_lfind.h +209 -0
- embedded_postgres/pginstall/include/server/port/pg_numa.h +42 -0
- embedded_postgres/pginstall/include/server/port/pg_pthread.h +41 -0
- embedded_postgres/pginstall/include/server/port/simd.h +422 -0
- embedded_postgres/pginstall/include/server/port/solaris.h +35 -0
- embedded_postgres/pginstall/include/server/port/win32/arpa/inet.h +3 -0
- embedded_postgres/pginstall/include/server/port/win32/dlfcn.h +1 -0
- embedded_postgres/pginstall/include/server/port/win32/grp.h +1 -0
- embedded_postgres/pginstall/include/server/port/win32/netdb.h +7 -0
- embedded_postgres/pginstall/include/server/port/win32/netinet/in.h +3 -0
- embedded_postgres/pginstall/include/server/port/win32/netinet/tcp.h +7 -0
- embedded_postgres/pginstall/include/server/port/win32/pwd.h +3 -0
- embedded_postgres/pginstall/include/server/port/win32/sys/resource.h +20 -0
- embedded_postgres/pginstall/include/server/port/win32/sys/select.h +3 -0
- embedded_postgres/pginstall/include/server/port/win32/sys/socket.h +34 -0
- embedded_postgres/pginstall/include/server/port/win32/sys/un.h +17 -0
- embedded_postgres/pginstall/include/server/port/win32/sys/wait.h +3 -0
- embedded_postgres/pginstall/include/server/port/win32.h +59 -0
- embedded_postgres/pginstall/include/server/port/win32_msvc/dirent.h +34 -0
- embedded_postgres/pginstall/include/server/port/win32_msvc/sys/file.h +1 -0
- embedded_postgres/pginstall/include/server/port/win32_msvc/sys/param.h +1 -0
- embedded_postgres/pginstall/include/server/port/win32_msvc/sys/time.h +1 -0
- embedded_postgres/pginstall/include/server/port/win32_msvc/unistd.h +9 -0
- embedded_postgres/pginstall/include/server/port/win32_msvc/utime.h +3 -0
- embedded_postgres/pginstall/include/server/port/win32_port.h +589 -0
- embedded_postgres/pginstall/include/server/port/win32ntdll.h +34 -0
- embedded_postgres/pginstall/include/server/port.h +565 -0
- embedded_postgres/pginstall/include/server/portability/instr_time.h +197 -0
- embedded_postgres/pginstall/include/server/portability/mem.h +48 -0
- embedded_postgres/pginstall/include/server/postgres.h +584 -0
- embedded_postgres/pginstall/include/server/postgres_ext.h +74 -0
- embedded_postgres/pginstall/include/server/postgres_fe.h +34 -0
- embedded_postgres/pginstall/include/server/postmaster/autovacuum.h +71 -0
- embedded_postgres/pginstall/include/server/postmaster/auxprocess.h +18 -0
- embedded_postgres/pginstall/include/server/postmaster/bgworker.h +164 -0
- embedded_postgres/pginstall/include/server/postmaster/bgworker_internals.h +57 -0
- embedded_postgres/pginstall/include/server/postmaster/bgwriter.h +45 -0
- embedded_postgres/pginstall/include/server/postmaster/fork_process.h +17 -0
- embedded_postgres/pginstall/include/server/postmaster/interrupt.h +32 -0
- embedded_postgres/pginstall/include/server/postmaster/pgarch.h +36 -0
- embedded_postgres/pginstall/include/server/postmaster/postmaster.h +145 -0
- embedded_postgres/pginstall/include/server/postmaster/startup.h +41 -0
- embedded_postgres/pginstall/include/server/postmaster/syslogger.h +105 -0
- embedded_postgres/pginstall/include/server/postmaster/walsummarizer.h +35 -0
- embedded_postgres/pginstall/include/server/postmaster/walwriter.h +23 -0
- embedded_postgres/pginstall/include/server/regex/regcustom.h +99 -0
- embedded_postgres/pginstall/include/server/regex/regerrs.h +83 -0
- embedded_postgres/pginstall/include/server/regex/regex.h +272 -0
- embedded_postgres/pginstall/include/server/regex/regexport.h +61 -0
- embedded_postgres/pginstall/include/server/regex/regguts.h +563 -0
- embedded_postgres/pginstall/include/server/replication/conflict.h +90 -0
- embedded_postgres/pginstall/include/server/replication/decode.h +34 -0
- embedded_postgres/pginstall/include/server/replication/logical.h +158 -0
- embedded_postgres/pginstall/include/server/replication/logicallauncher.h +34 -0
- embedded_postgres/pginstall/include/server/replication/logicalproto.h +280 -0
- embedded_postgres/pginstall/include/server/replication/logicalrelation.h +54 -0
- embedded_postgres/pginstall/include/server/replication/logicalworker.h +33 -0
- embedded_postgres/pginstall/include/server/replication/message.h +42 -0
- embedded_postgres/pginstall/include/server/replication/origin.h +83 -0
- embedded_postgres/pginstall/include/server/replication/output_plugin.h +250 -0
- embedded_postgres/pginstall/include/server/replication/pgoutput.h +39 -0
- embedded_postgres/pginstall/include/server/replication/reorderbuffer.h +783 -0
- embedded_postgres/pginstall/include/server/replication/slot.h +327 -0
- embedded_postgres/pginstall/include/server/replication/slotsync.h +45 -0
- embedded_postgres/pginstall/include/server/replication/snapbuild.h +101 -0
- embedded_postgres/pginstall/include/server/replication/snapbuild_internal.h +199 -0
- embedded_postgres/pginstall/include/server/replication/syncrep.h +110 -0
- embedded_postgres/pginstall/include/server/replication/walreceiver.h +513 -0
- embedded_postgres/pginstall/include/server/replication/walsender.h +75 -0
- embedded_postgres/pginstall/include/server/replication/walsender_private.h +155 -0
- embedded_postgres/pginstall/include/server/replication/worker_internal.h +354 -0
- embedded_postgres/pginstall/include/server/rewrite/prs2lock.h +46 -0
- embedded_postgres/pginstall/include/server/rewrite/rewriteDefine.h +44 -0
- embedded_postgres/pginstall/include/server/rewrite/rewriteHandler.h +44 -0
- embedded_postgres/pginstall/include/server/rewrite/rewriteManip.h +122 -0
- embedded_postgres/pginstall/include/server/rewrite/rewriteRemove.h +21 -0
- embedded_postgres/pginstall/include/server/rewrite/rewriteSearchCycle.h +21 -0
- embedded_postgres/pginstall/include/server/rewrite/rewriteSupport.h +26 -0
- embedded_postgres/pginstall/include/server/rewrite/rowsecurity.h +49 -0
- embedded_postgres/pginstall/include/server/snowball/header.h +67 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/api.h +32 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/header.h +61 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_basque.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_catalan.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_danish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_dutch.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_english.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_finnish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_french.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_german.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_indonesian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_irish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_italian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_norwegian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_porter.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_portuguese.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_spanish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_swedish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_2_hungarian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_KOI8_R_russian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_arabic.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_armenian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_basque.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_catalan.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_danish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_dutch.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_english.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_estonian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_finnish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_french.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_german.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_greek.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_hindi.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_hungarian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_indonesian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_irish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_italian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_lithuanian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_nepali.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_norwegian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_porter.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_portuguese.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_romanian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_russian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_serbian.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_spanish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_swedish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_tamil.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_turkish.h +15 -0
- embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_yiddish.h +15 -0
- embedded_postgres/pginstall/include/server/statistics/extended_stats_internal.h +130 -0
- embedded_postgres/pginstall/include/server/statistics/stat_utils.h +43 -0
- embedded_postgres/pginstall/include/server/statistics/statistics.h +130 -0
- embedded_postgres/pginstall/include/server/storage/aio.h +369 -0
- embedded_postgres/pginstall/include/server/storage/aio_internal.h +416 -0
- embedded_postgres/pginstall/include/server/storage/aio_subsys.h +37 -0
- embedded_postgres/pginstall/include/server/storage/aio_types.h +137 -0
- embedded_postgres/pginstall/include/server/storage/barrier.h +46 -0
- embedded_postgres/pginstall/include/server/storage/block.h +108 -0
- embedded_postgres/pginstall/include/server/storage/buf.h +46 -0
- embedded_postgres/pginstall/include/server/storage/buf_internals.h +494 -0
- embedded_postgres/pginstall/include/server/storage/buffile.h +59 -0
- embedded_postgres/pginstall/include/server/storage/bufmgr.h +424 -0
- embedded_postgres/pginstall/include/server/storage/bufpage.h +511 -0
- embedded_postgres/pginstall/include/server/storage/bulk_write.h +41 -0
- embedded_postgres/pginstall/include/server/storage/checksum.h +24 -0
- embedded_postgres/pginstall/include/server/storage/checksum_impl.h +215 -0
- embedded_postgres/pginstall/include/server/storage/condition_variable.h +73 -0
- embedded_postgres/pginstall/include/server/storage/copydir.h +28 -0
- embedded_postgres/pginstall/include/server/storage/dsm.h +61 -0
- embedded_postgres/pginstall/include/server/storage/dsm_impl.h +79 -0
- embedded_postgres/pginstall/include/server/storage/dsm_registry.h +23 -0
- embedded_postgres/pginstall/include/server/storage/fd.h +233 -0
- embedded_postgres/pginstall/include/server/storage/fileset.h +40 -0
- embedded_postgres/pginstall/include/server/storage/freespace.h +39 -0
- embedded_postgres/pginstall/include/server/storage/fsm_internals.h +72 -0
- embedded_postgres/pginstall/include/server/storage/indexfsm.h +26 -0
- embedded_postgres/pginstall/include/server/storage/io_worker.h +22 -0
- embedded_postgres/pginstall/include/server/storage/ipc.h +87 -0
- embedded_postgres/pginstall/include/server/storage/item.h +19 -0
- embedded_postgres/pginstall/include/server/storage/itemid.h +184 -0
- embedded_postgres/pginstall/include/server/storage/itemptr.h +245 -0
- embedded_postgres/pginstall/include/server/storage/large_object.h +100 -0
- embedded_postgres/pginstall/include/server/storage/latch.h +140 -0
- embedded_postgres/pginstall/include/server/storage/lmgr.h +127 -0
- embedded_postgres/pginstall/include/server/storage/lock.h +630 -0
- embedded_postgres/pginstall/include/server/storage/lockdefs.h +61 -0
- embedded_postgres/pginstall/include/server/storage/lwlock.h +234 -0
- embedded_postgres/pginstall/include/server/storage/lwlocklist.h +86 -0
- embedded_postgres/pginstall/include/server/storage/lwlocknames.h +48 -0
- embedded_postgres/pginstall/include/server/storage/md.h +65 -0
- embedded_postgres/pginstall/include/server/storage/off.h +57 -0
- embedded_postgres/pginstall/include/server/storage/pg_sema.h +61 -0
- embedded_postgres/pginstall/include/server/storage/pg_shmem.h +94 -0
- embedded_postgres/pginstall/include/server/storage/pmsignal.h +110 -0
- embedded_postgres/pginstall/include/server/storage/predicate.h +84 -0
- embedded_postgres/pginstall/include/server/storage/predicate_internals.h +478 -0
- embedded_postgres/pginstall/include/server/storage/proc.h +516 -0
- embedded_postgres/pginstall/include/server/storage/procarray.h +103 -0
- embedded_postgres/pginstall/include/server/storage/proclist.h +219 -0
- embedded_postgres/pginstall/include/server/storage/proclist_types.h +53 -0
- embedded_postgres/pginstall/include/server/storage/procnumber.h +56 -0
- embedded_postgres/pginstall/include/server/storage/procsignal.h +95 -0
- embedded_postgres/pginstall/include/server/storage/read_stream.h +106 -0
- embedded_postgres/pginstall/include/server/storage/reinit.h +30 -0
- embedded_postgres/pginstall/include/server/storage/relfilelocator.h +100 -0
- embedded_postgres/pginstall/include/server/storage/s_lock.h +755 -0
- embedded_postgres/pginstall/include/server/storage/sharedfileset.h +37 -0
- embedded_postgres/pginstall/include/server/storage/shm_mq.h +86 -0
- embedded_postgres/pginstall/include/server/storage/shm_toc.h +58 -0
- embedded_postgres/pginstall/include/server/storage/shmem.h +62 -0
- embedded_postgres/pginstall/include/server/storage/sinval.h +167 -0
- embedded_postgres/pginstall/include/server/storage/sinvaladt.h +41 -0
- embedded_postgres/pginstall/include/server/storage/smgr.h +144 -0
- embedded_postgres/pginstall/include/server/storage/spin.h +65 -0
- embedded_postgres/pginstall/include/server/storage/standby.h +109 -0
- embedded_postgres/pginstall/include/server/storage/standbydefs.h +74 -0
- embedded_postgres/pginstall/include/server/storage/sync.h +66 -0
- embedded_postgres/pginstall/include/server/storage/waiteventset.h +98 -0
- embedded_postgres/pginstall/include/server/tcop/backend_startup.h +122 -0
- embedded_postgres/pginstall/include/server/tcop/cmdtag.h +62 -0
- embedded_postgres/pginstall/include/server/tcop/cmdtaglist.h +219 -0
- embedded_postgres/pginstall/include/server/tcop/deparse_utility.h +108 -0
- embedded_postgres/pginstall/include/server/tcop/dest.h +148 -0
- embedded_postgres/pginstall/include/server/tcop/fastpath.h +20 -0
- embedded_postgres/pginstall/include/server/tcop/pquery.h +51 -0
- embedded_postgres/pginstall/include/server/tcop/tcopprot.h +94 -0
- embedded_postgres/pginstall/include/server/tcop/utility.h +112 -0
- embedded_postgres/pginstall/include/server/tsearch/dicts/regis.h +49 -0
- embedded_postgres/pginstall/include/server/tsearch/dicts/spell.h +241 -0
- embedded_postgres/pginstall/include/server/tsearch/ts_cache.h +96 -0
- embedded_postgres/pginstall/include/server/tsearch/ts_locale.h +74 -0
- embedded_postgres/pginstall/include/server/tsearch/ts_public.h +159 -0
- embedded_postgres/pginstall/include/server/tsearch/ts_type.h +290 -0
- embedded_postgres/pginstall/include/server/tsearch/ts_utils.h +281 -0
- embedded_postgres/pginstall/include/server/utils/acl.h +293 -0
- embedded_postgres/pginstall/include/server/utils/aclchk_internal.h +45 -0
- embedded_postgres/pginstall/include/server/utils/array.h +481 -0
- embedded_postgres/pginstall/include/server/utils/arrayaccess.h +118 -0
- embedded_postgres/pginstall/include/server/utils/ascii.h +84 -0
- embedded_postgres/pginstall/include/server/utils/attoptcache.h +28 -0
- embedded_postgres/pginstall/include/server/utils/backend_progress.h +46 -0
- embedded_postgres/pginstall/include/server/utils/backend_status.h +349 -0
- embedded_postgres/pginstall/include/server/utils/builtins.h +140 -0
- embedded_postgres/pginstall/include/server/utils/bytea.h +28 -0
- embedded_postgres/pginstall/include/server/utils/cash.h +35 -0
- embedded_postgres/pginstall/include/server/utils/catcache.h +232 -0
- embedded_postgres/pginstall/include/server/utils/combocid.h +28 -0
- embedded_postgres/pginstall/include/server/utils/conffiles.h +27 -0
- embedded_postgres/pginstall/include/server/utils/date.h +118 -0
- embedded_postgres/pginstall/include/server/utils/datetime.h +369 -0
- embedded_postgres/pginstall/include/server/utils/datum.h +76 -0
- embedded_postgres/pginstall/include/server/utils/dsa.h +166 -0
- embedded_postgres/pginstall/include/server/utils/dynahash.h +20 -0
- embedded_postgres/pginstall/include/server/utils/elog.h +532 -0
- embedded_postgres/pginstall/include/server/utils/errcodes.h +356 -0
- embedded_postgres/pginstall/include/server/utils/evtcache.h +38 -0
- embedded_postgres/pginstall/include/server/utils/expandeddatum.h +170 -0
- embedded_postgres/pginstall/include/server/utils/expandedrecord.h +241 -0
- embedded_postgres/pginstall/include/server/utils/float.h +357 -0
- embedded_postgres/pginstall/include/server/utils/fmgroids.h +3430 -0
- embedded_postgres/pginstall/include/server/utils/fmgrprotos.h +2982 -0
- embedded_postgres/pginstall/include/server/utils/fmgrtab.h +49 -0
- embedded_postgres/pginstall/include/server/utils/formatting.h +35 -0
- embedded_postgres/pginstall/include/server/utils/freepage.h +99 -0
- embedded_postgres/pginstall/include/server/utils/funccache.h +134 -0
- embedded_postgres/pginstall/include/server/utils/geo_decls.h +285 -0
- embedded_postgres/pginstall/include/server/utils/guc.h +489 -0
- embedded_postgres/pginstall/include/server/utils/guc_hooks.h +178 -0
- embedded_postgres/pginstall/include/server/utils/guc_tables.h +341 -0
- embedded_postgres/pginstall/include/server/utils/help_config.h +17 -0
- embedded_postgres/pginstall/include/server/utils/hsearch.h +158 -0
- embedded_postgres/pginstall/include/server/utils/index_selfuncs.h +74 -0
- embedded_postgres/pginstall/include/server/utils/inet.h +184 -0
- embedded_postgres/pginstall/include/server/utils/injection_point.h +54 -0
- embedded_postgres/pginstall/include/server/utils/inval.h +84 -0
- embedded_postgres/pginstall/include/server/utils/json.h +33 -0
- embedded_postgres/pginstall/include/server/utils/jsonb.h +440 -0
- embedded_postgres/pginstall/include/server/utils/jsonfuncs.h +99 -0
- embedded_postgres/pginstall/include/server/utils/jsonpath.h +310 -0
- embedded_postgres/pginstall/include/server/utils/logtape.h +77 -0
- embedded_postgres/pginstall/include/server/utils/lsyscache.h +224 -0
- embedded_postgres/pginstall/include/server/utils/memdebug.h +82 -0
- embedded_postgres/pginstall/include/server/utils/memutils.h +322 -0
- embedded_postgres/pginstall/include/server/utils/memutils_internal.h +176 -0
- embedded_postgres/pginstall/include/server/utils/memutils_memorychunk.h +253 -0
- embedded_postgres/pginstall/include/server/utils/multirangetypes.h +150 -0
- embedded_postgres/pginstall/include/server/utils/numeric.h +115 -0
- embedded_postgres/pginstall/include/server/utils/palloc.h +165 -0
- embedded_postgres/pginstall/include/server/utils/partcache.h +103 -0
- embedded_postgres/pginstall/include/server/utils/pg_crc.h +107 -0
- embedded_postgres/pginstall/include/server/utils/pg_locale.h +185 -0
- embedded_postgres/pginstall/include/server/utils/pg_lsn.h +38 -0
- embedded_postgres/pginstall/include/server/utils/pg_rusage.h +32 -0
- embedded_postgres/pginstall/include/server/utils/pgstat_internal.h +945 -0
- embedded_postgres/pginstall/include/server/utils/pgstat_kind.h +72 -0
- embedded_postgres/pginstall/include/server/utils/pidfile.h +56 -0
- embedded_postgres/pginstall/include/server/utils/plancache.h +256 -0
- embedded_postgres/pginstall/include/server/utils/portal.h +251 -0
- embedded_postgres/pginstall/include/server/utils/probes.h +114 -0
- embedded_postgres/pginstall/include/server/utils/ps_status.h +47 -0
- embedded_postgres/pginstall/include/server/utils/queryenvironment.h +74 -0
- embedded_postgres/pginstall/include/server/utils/rangetypes.h +168 -0
- embedded_postgres/pginstall/include/server/utils/regproc.h +39 -0
- embedded_postgres/pginstall/include/server/utils/rel.h +731 -0
- embedded_postgres/pginstall/include/server/utils/relcache.h +163 -0
- embedded_postgres/pginstall/include/server/utils/relfilenumbermap.h +21 -0
- embedded_postgres/pginstall/include/server/utils/relmapper.h +73 -0
- embedded_postgres/pginstall/include/server/utils/relptr.h +93 -0
- embedded_postgres/pginstall/include/server/utils/reltrigger.h +81 -0
- embedded_postgres/pginstall/include/server/utils/resowner.h +172 -0
- embedded_postgres/pginstall/include/server/utils/rls.h +50 -0
- embedded_postgres/pginstall/include/server/utils/ruleutils.h +57 -0
- embedded_postgres/pginstall/include/server/utils/sampling.h +64 -0
- embedded_postgres/pginstall/include/server/utils/selfuncs.h +251 -0
- embedded_postgres/pginstall/include/server/utils/sharedtuplestore.h +61 -0
- embedded_postgres/pginstall/include/server/utils/skipsupport.h +98 -0
- embedded_postgres/pginstall/include/server/utils/snapmgr.h +122 -0
- embedded_postgres/pginstall/include/server/utils/snapshot.h +212 -0
- embedded_postgres/pginstall/include/server/utils/sortsupport.h +391 -0
- embedded_postgres/pginstall/include/server/utils/spccache.h +21 -0
- embedded_postgres/pginstall/include/server/utils/syscache.h +136 -0
- embedded_postgres/pginstall/include/server/utils/timeout.h +96 -0
- embedded_postgres/pginstall/include/server/utils/timestamp.h +159 -0
- embedded_postgres/pginstall/include/server/utils/tuplesort.h +480 -0
- embedded_postgres/pginstall/include/server/utils/tuplestore.h +91 -0
- embedded_postgres/pginstall/include/server/utils/typcache.h +215 -0
- embedded_postgres/pginstall/include/server/utils/tzparser.h +39 -0
- embedded_postgres/pginstall/include/server/utils/usercontext.h +26 -0
- embedded_postgres/pginstall/include/server/utils/uuid.h +42 -0
- embedded_postgres/pginstall/include/server/utils/varbit.h +89 -0
- embedded_postgres/pginstall/include/server/utils/varlena.h +53 -0
- embedded_postgres/pginstall/include/server/utils/wait_classes.h +29 -0
- embedded_postgres/pginstall/include/server/utils/wait_event.h +92 -0
- embedded_postgres/pginstall/include/server/utils/wait_event_types.h +225 -0
- embedded_postgres/pginstall/include/server/utils/xid8.h +32 -0
- embedded_postgres/pginstall/include/server/utils/xml.h +94 -0
- embedded_postgres/pginstall/include/server/varatt.h +358 -0
- embedded_postgres/pginstall/include/server/windowapi.h +64 -0
- embedded_postgres/pginstall/include/sql3types.h +43 -0
- embedded_postgres/pginstall/include/sqlca.h +66 -0
- embedded_postgres/pginstall/include/sqlda-compat.h +47 -0
- embedded_postgres/pginstall/include/sqlda-native.h +43 -0
- embedded_postgres/pginstall/include/sqlda.h +18 -0
- embedded_postgres/pginstall/lib/_int.dll +0 -0
- embedded_postgres/pginstall/lib/amcheck.dll +0 -0
- embedded_postgres/pginstall/lib/auth_delay.dll +0 -0
- embedded_postgres/pginstall/lib/auto_explain.dll +0 -0
- embedded_postgres/pginstall/lib/autoinc.dll +0 -0
- embedded_postgres/pginstall/lib/basebackup_to_shell.dll +0 -0
- embedded_postgres/pginstall/lib/basic_archive.dll +0 -0
- embedded_postgres/pginstall/lib/bloom.dll +0 -0
- embedded_postgres/pginstall/lib/btree_gin.dll +0 -0
- embedded_postgres/pginstall/lib/btree_gist.dll +0 -0
- embedded_postgres/pginstall/lib/citext.dll +0 -0
- embedded_postgres/pginstall/lib/cube.dll +0 -0
- embedded_postgres/pginstall/lib/cyrillic_and_mic.dll +0 -0
- embedded_postgres/pginstall/lib/dblink.dll +0 -0
- embedded_postgres/pginstall/lib/dict_int.dll +0 -0
- embedded_postgres/pginstall/lib/dict_snowball.dll +0 -0
- embedded_postgres/pginstall/lib/dict_xsyn.dll +0 -0
- embedded_postgres/pginstall/lib/earthdistance.dll +0 -0
- embedded_postgres/pginstall/lib/euc2004_sjis2004.dll +0 -0
- embedded_postgres/pginstall/lib/euc_cn_and_mic.dll +0 -0
- embedded_postgres/pginstall/lib/euc_jp_and_sjis.dll +0 -0
- embedded_postgres/pginstall/lib/euc_kr_and_mic.dll +0 -0
- embedded_postgres/pginstall/lib/euc_tw_and_big5.dll +0 -0
- embedded_postgres/pginstall/lib/file_fdw.dll +0 -0
- embedded_postgres/pginstall/lib/fuzzystrmatch.dll +0 -0
- embedded_postgres/pginstall/lib/hstore.dll +0 -0
- embedded_postgres/pginstall/lib/insert_username.dll +0 -0
- embedded_postgres/pginstall/lib/isn.dll +0 -0
- embedded_postgres/pginstall/lib/latin2_and_win1250.dll +0 -0
- embedded_postgres/pginstall/lib/latin_and_mic.dll +0 -0
- embedded_postgres/pginstall/lib/libecpg.a +0 -0
- embedded_postgres/pginstall/lib/libecpg.dll +0 -0
- embedded_postgres/pginstall/lib/libecpg_compat.a +0 -0
- embedded_postgres/pginstall/lib/libecpg_compat.dll +0 -0
- embedded_postgres/pginstall/lib/libpgcommon.a +0 -0
- embedded_postgres/pginstall/lib/libpgcommon_shlib.a +0 -0
- embedded_postgres/pginstall/lib/libpgfeutils.a +0 -0
- embedded_postgres/pginstall/lib/libpgport.a +0 -0
- embedded_postgres/pginstall/lib/libpgport_shlib.a +0 -0
- embedded_postgres/pginstall/lib/libpgtypes.a +0 -0
- embedded_postgres/pginstall/lib/libpgtypes.dll +0 -0
- embedded_postgres/pginstall/lib/libpostgres.a +0 -0
- embedded_postgres/pginstall/lib/libpq.a +0 -0
- embedded_postgres/pginstall/lib/libpq.dll +0 -0
- embedded_postgres/pginstall/lib/libpqwalreceiver.dll +0 -0
- embedded_postgres/pginstall/lib/lo.dll +0 -0
- embedded_postgres/pginstall/lib/ltree.dll +0 -0
- embedded_postgres/pginstall/lib/moddatetime.dll +0 -0
- embedded_postgres/pginstall/lib/pageinspect.dll +0 -0
- embedded_postgres/pginstall/lib/passwordcheck.dll +0 -0
- embedded_postgres/pginstall/lib/pg_buffercache.dll +0 -0
- embedded_postgres/pginstall/lib/pg_freespacemap.dll +0 -0
- embedded_postgres/pginstall/lib/pg_logicalinspect.dll +0 -0
- embedded_postgres/pginstall/lib/pg_overexplain.dll +0 -0
- embedded_postgres/pginstall/lib/pg_prewarm.dll +0 -0
- embedded_postgres/pginstall/lib/pg_stat_statements.dll +0 -0
- embedded_postgres/pginstall/lib/pg_surgery.dll +0 -0
- embedded_postgres/pginstall/lib/pg_trgm.dll +0 -0
- embedded_postgres/pginstall/lib/pg_visibility.dll +0 -0
- embedded_postgres/pginstall/lib/pg_walinspect.dll +0 -0
- embedded_postgres/pginstall/lib/pgevent.dll +0 -0
- embedded_postgres/pginstall/lib/pgoutput.dll +0 -0
- embedded_postgres/pginstall/lib/pgrowlocks.dll +0 -0
- embedded_postgres/pginstall/lib/pgstattuple.dll +0 -0
- embedded_postgres/pginstall/lib/pgxs/config/install-sh +527 -0
- embedded_postgres/pginstall/lib/pgxs/config/missing +54 -0
- embedded_postgres/pginstall/lib/pgxs/src/Makefile.global +1139 -0
- embedded_postgres/pginstall/lib/pgxs/src/Makefile.port +83 -0
- embedded_postgres/pginstall/lib/pgxs/src/Makefile.shlib +436 -0
- embedded_postgres/pginstall/lib/pgxs/src/makefiles/pgxs.mk +476 -0
- embedded_postgres/pginstall/lib/pgxs/src/nls-global.mk +182 -0
- embedded_postgres/pginstall/lib/pgxs/src/test/isolation/isolationtester.exe +0 -0
- embedded_postgres/pginstall/lib/pgxs/src/test/isolation/pg_isolation_regress.exe +0 -0
- embedded_postgres/pginstall/lib/pgxs/src/test/regress/pg_regress.exe +0 -0
- embedded_postgres/pginstall/lib/pkgconfig/libecpg.pc +14 -0
- embedded_postgres/pginstall/lib/pkgconfig/libecpg_compat.pc +14 -0
- embedded_postgres/pginstall/lib/pkgconfig/libpgtypes.pc +14 -0
- embedded_postgres/pginstall/lib/pkgconfig/libpq.pc +14 -0
- embedded_postgres/pginstall/lib/plpgsql.dll +0 -0
- embedded_postgres/pginstall/lib/postgres_fdw.dll +0 -0
- embedded_postgres/pginstall/lib/refint.dll +0 -0
- embedded_postgres/pginstall/lib/seg.dll +0 -0
- embedded_postgres/pginstall/lib/tablefunc.dll +0 -0
- embedded_postgres/pginstall/lib/tcn.dll +0 -0
- embedded_postgres/pginstall/lib/test_decoding.dll +0 -0
- embedded_postgres/pginstall/lib/tsm_system_rows.dll +0 -0
- embedded_postgres/pginstall/lib/tsm_system_time.dll +0 -0
- embedded_postgres/pginstall/lib/unaccent.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_big5.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_cyrillic.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_euc2004.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_euc_cn.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_euc_jp.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_euc_kr.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_euc_tw.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_gb18030.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_gbk.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_iso8859.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_iso8859_1.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_johab.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_sjis.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_sjis2004.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_uhc.dll +0 -0
- embedded_postgres/pginstall/lib/utf8_and_win.dll +0 -0
- embedded_postgres/pginstall/lib/vector.dll +0 -0
- embedded_postgres/pginstall/share/doc/extension/autoinc.example +35 -0
- embedded_postgres/pginstall/share/doc/extension/insert_username.example +20 -0
- embedded_postgres/pginstall/share/doc/extension/moddatetime.example +27 -0
- embedded_postgres/pginstall/share/doc/extension/refint.example +82 -0
- embedded_postgres/pginstall/share/errcodes.txt +501 -0
- embedded_postgres/pginstall/share/extension/amcheck--1.0--1.1.sql +29 -0
- embedded_postgres/pginstall/share/extension/amcheck--1.0.sql +24 -0
- embedded_postgres/pginstall/share/extension/amcheck--1.1--1.2.sql +19 -0
- embedded_postgres/pginstall/share/extension/amcheck--1.2--1.3.sql +30 -0
- embedded_postgres/pginstall/share/extension/amcheck--1.3--1.4.sql +29 -0
- embedded_postgres/pginstall/share/extension/amcheck--1.4--1.5.sql +14 -0
- embedded_postgres/pginstall/share/extension/amcheck.control +5 -0
- embedded_postgres/pginstall/share/extension/autoinc--1.0.sql +9 -0
- embedded_postgres/pginstall/share/extension/autoinc.control +5 -0
- embedded_postgres/pginstall/share/extension/bloom--1.0.sql +25 -0
- embedded_postgres/pginstall/share/extension/bloom.control +5 -0
- embedded_postgres/pginstall/share/extension/btree_gin--1.0--1.1.sql +35 -0
- embedded_postgres/pginstall/share/extension/btree_gin--1.0.sql +689 -0
- embedded_postgres/pginstall/share/extension/btree_gin--1.1--1.2.sql +47 -0
- embedded_postgres/pginstall/share/extension/btree_gin--1.2--1.3.sql +128 -0
- embedded_postgres/pginstall/share/extension/btree_gin.control +6 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.0--1.1.sql +127 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.1--1.2.sql +79 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.2--1.3.sql +65 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.2.sql +1570 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.3--1.4.sql +64 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.4--1.5.sql +69 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.5--1.6.sql +191 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.6--1.7.sql +77 -0
- embedded_postgres/pginstall/share/extension/btree_gist--1.7--1.8.sql +284 -0
- embedded_postgres/pginstall/share/extension/btree_gist.control +6 -0
- embedded_postgres/pginstall/share/extension/citext--1.0--1.1.sql +21 -0
- embedded_postgres/pginstall/share/extension/citext--1.1--1.2.sql +68 -0
- embedded_postgres/pginstall/share/extension/citext--1.2--1.3.sql +21 -0
- embedded_postgres/pginstall/share/extension/citext--1.3--1.4.sql +12 -0
- embedded_postgres/pginstall/share/extension/citext--1.4--1.5.sql +88 -0
- embedded_postgres/pginstall/share/extension/citext--1.4.sql +501 -0
- embedded_postgres/pginstall/share/extension/citext--1.5--1.6.sql +12 -0
- embedded_postgres/pginstall/share/extension/citext--1.6--1.7.sql +45 -0
- embedded_postgres/pginstall/share/extension/citext--1.7--1.8.sql +60 -0
- embedded_postgres/pginstall/share/extension/citext.control +6 -0
- embedded_postgres/pginstall/share/extension/cube--1.0--1.1.sql +59 -0
- embedded_postgres/pginstall/share/extension/cube--1.1--1.2.sql +75 -0
- embedded_postgres/pginstall/share/extension/cube--1.2--1.3.sql +12 -0
- embedded_postgres/pginstall/share/extension/cube--1.2.sql +378 -0
- embedded_postgres/pginstall/share/extension/cube--1.3--1.4.sql +58 -0
- embedded_postgres/pginstall/share/extension/cube--1.4--1.5.sql +21 -0
- embedded_postgres/pginstall/share/extension/cube.control +6 -0
- embedded_postgres/pginstall/share/extension/dblink--1.0--1.1.sql +14 -0
- embedded_postgres/pginstall/share/extension/dblink--1.1--1.2.sql +46 -0
- embedded_postgres/pginstall/share/extension/dblink--1.2.sql +235 -0
- embedded_postgres/pginstall/share/extension/dblink.control +5 -0
- embedded_postgres/pginstall/share/extension/dict_int--1.0.sql +25 -0
- embedded_postgres/pginstall/share/extension/dict_int.control +6 -0
- embedded_postgres/pginstall/share/extension/dict_xsyn--1.0.sql +25 -0
- embedded_postgres/pginstall/share/extension/dict_xsyn.control +5 -0
- embedded_postgres/pginstall/share/extension/earthdistance--1.0--1.1.sql +14 -0
- embedded_postgres/pginstall/share/extension/earthdistance--1.1--1.2.sql +73 -0
- embedded_postgres/pginstall/share/extension/earthdistance--1.1.sql +98 -0
- embedded_postgres/pginstall/share/extension/earthdistance.control +6 -0
- embedded_postgres/pginstall/share/extension/file_fdw--1.0.sql +18 -0
- embedded_postgres/pginstall/share/extension/file_fdw.control +5 -0
- embedded_postgres/pginstall/share/extension/fuzzystrmatch--1.0--1.1.sql +15 -0
- embedded_postgres/pginstall/share/extension/fuzzystrmatch--1.1--1.2.sql +8 -0
- embedded_postgres/pginstall/share/extension/fuzzystrmatch--1.1.sql +44 -0
- embedded_postgres/pginstall/share/extension/fuzzystrmatch.control +6 -0
- embedded_postgres/pginstall/share/extension/hstore--1.1--1.2.sql +53 -0
- embedded_postgres/pginstall/share/extension/hstore--1.2--1.3.sql +17 -0
- embedded_postgres/pginstall/share/extension/hstore--1.3--1.4.sql +99 -0
- embedded_postgres/pginstall/share/extension/hstore--1.4--1.5.sql +14 -0
- embedded_postgres/pginstall/share/extension/hstore--1.4.sql +550 -0
- embedded_postgres/pginstall/share/extension/hstore--1.5--1.6.sql +12 -0
- embedded_postgres/pginstall/share/extension/hstore--1.6--1.7.sql +27 -0
- embedded_postgres/pginstall/share/extension/hstore--1.7--1.8.sql +17 -0
- embedded_postgres/pginstall/share/extension/hstore.control +6 -0
- embedded_postgres/pginstall/share/extension/insert_username--1.0.sql +9 -0
- embedded_postgres/pginstall/share/extension/insert_username.control +5 -0
- embedded_postgres/pginstall/share/extension/intagg--1.0--1.1.sql +23 -0
- embedded_postgres/pginstall/share/extension/intagg--1.1.sql +37 -0
- embedded_postgres/pginstall/share/extension/intagg.control +4 -0
- embedded_postgres/pginstall/share/extension/intarray--1.0--1.1.sql +49 -0
- embedded_postgres/pginstall/share/extension/intarray--1.1--1.2.sql +94 -0
- embedded_postgres/pginstall/share/extension/intarray--1.2--1.3.sql +20 -0
- embedded_postgres/pginstall/share/extension/intarray--1.2.sql +520 -0
- embedded_postgres/pginstall/share/extension/intarray--1.3--1.4.sql +21 -0
- embedded_postgres/pginstall/share/extension/intarray--1.4--1.5.sql +8 -0
- embedded_postgres/pginstall/share/extension/intarray.control +6 -0
- embedded_postgres/pginstall/share/extension/isn--1.0--1.1.sql +250 -0
- embedded_postgres/pginstall/share/extension/isn--1.1--1.2.sql +228 -0
- embedded_postgres/pginstall/share/extension/isn--1.1.sql +3434 -0
- embedded_postgres/pginstall/share/extension/isn--1.2--1.3.sql +7 -0
- embedded_postgres/pginstall/share/extension/isn.control +6 -0
- embedded_postgres/pginstall/share/extension/lo--1.0--1.1.sql +6 -0
- embedded_postgres/pginstall/share/extension/lo--1.1--1.2.sql +8 -0
- embedded_postgres/pginstall/share/extension/lo--1.1.sql +25 -0
- embedded_postgres/pginstall/share/extension/lo.control +6 -0
- embedded_postgres/pginstall/share/extension/ltree--1.0--1.1.sql +115 -0
- embedded_postgres/pginstall/share/extension/ltree--1.1--1.2.sql +139 -0
- embedded_postgres/pginstall/share/extension/ltree--1.1.sql +872 -0
- embedded_postgres/pginstall/share/extension/ltree--1.2--1.3.sql +23 -0
- embedded_postgres/pginstall/share/extension/ltree.control +6 -0
- embedded_postgres/pginstall/share/extension/moddatetime--1.0.sql +9 -0
- embedded_postgres/pginstall/share/extension/moddatetime.control +5 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.0--1.1.sql +18 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.1--1.2.sql +18 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.10--1.11.sql +28 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.11--1.12.sql +40 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.12--1.13.sql +74 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.2--1.3.sql +82 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.3--1.4.sql +118 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.4--1.5.sql +24 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.5--1.6.sql +99 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.5.sql +279 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.6--1.7.sql +26 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.7--1.8.sql +69 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.8--1.9.sql +137 -0
- embedded_postgres/pginstall/share/extension/pageinspect--1.9--1.10.sql +21 -0
- embedded_postgres/pginstall/share/extension/pageinspect.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache--1.0--1.1.sql +11 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache--1.1--1.2.sql +6 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache--1.2--1.3.sql +7 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache--1.2.sql +21 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache--1.3--1.4.sql +28 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache--1.4--1.5.sql +6 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache--1.5--1.6.sql +46 -0
- embedded_postgres/pginstall/share/extension/pg_buffercache.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_freespacemap--1.0--1.1.sql +7 -0
- embedded_postgres/pginstall/share/extension/pg_freespacemap--1.1--1.2.sql +7 -0
- embedded_postgres/pginstall/share/extension/pg_freespacemap--1.1.sql +25 -0
- embedded_postgres/pginstall/share/extension/pg_freespacemap--1.2--1.3.sql +13 -0
- embedded_postgres/pginstall/share/extension/pg_freespacemap.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_logicalinspect--1.0.sql +43 -0
- embedded_postgres/pginstall/share/extension/pg_logicalinspect.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_prewarm--1.0--1.1.sql +6 -0
- embedded_postgres/pginstall/share/extension/pg_prewarm--1.1--1.2.sql +14 -0
- embedded_postgres/pginstall/share/extension/pg_prewarm--1.1.sql +14 -0
- embedded_postgres/pginstall/share/extension/pg_prewarm.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.0--1.1.sql +42 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.1--1.2.sql +43 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.10--1.11.sql +82 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.11--1.12.sql +76 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.2--1.3.sql +47 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.3--1.4.sql +7 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.4--1.5.sql +6 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.4.sql +48 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.5--1.6.sql +7 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.6--1.7.sql +22 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.7--1.8.sql +56 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.8--1.9.sql +71 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements--1.9--1.10.sql +67 -0
- embedded_postgres/pginstall/share/extension/pg_stat_statements.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_surgery--1.0.sql +18 -0
- embedded_postgres/pginstall/share/extension/pg_surgery.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_trgm--1.0--1.1.sql +12 -0
- embedded_postgres/pginstall/share/extension/pg_trgm--1.1--1.2.sql +74 -0
- embedded_postgres/pginstall/share/extension/pg_trgm--1.2--1.3.sql +65 -0
- embedded_postgres/pginstall/share/extension/pg_trgm--1.3--1.4.sql +68 -0
- embedded_postgres/pginstall/share/extension/pg_trgm--1.3.sql +254 -0
- embedded_postgres/pginstall/share/extension/pg_trgm--1.4--1.5.sql +23 -0
- embedded_postgres/pginstall/share/extension/pg_trgm--1.5--1.6.sql +10 -0
- embedded_postgres/pginstall/share/extension/pg_trgm.control +6 -0
- embedded_postgres/pginstall/share/extension/pg_visibility--1.0--1.1.sql +24 -0
- embedded_postgres/pginstall/share/extension/pg_visibility--1.1--1.2.sql +13 -0
- embedded_postgres/pginstall/share/extension/pg_visibility--1.1.sql +75 -0
- embedded_postgres/pginstall/share/extension/pg_visibility.control +5 -0
- embedded_postgres/pginstall/share/extension/pg_walinspect--1.0--1.1.sql +42 -0
- embedded_postgres/pginstall/share/extension/pg_walinspect--1.0.sql +118 -0
- embedded_postgres/pginstall/share/extension/pg_walinspect.control +5 -0
- embedded_postgres/pginstall/share/extension/pgrowlocks--1.0--1.1.sql +17 -0
- embedded_postgres/pginstall/share/extension/pgrowlocks--1.1--1.2.sql +6 -0
- embedded_postgres/pginstall/share/extension/pgrowlocks--1.2.sql +15 -0
- embedded_postgres/pginstall/share/extension/pgrowlocks.control +5 -0
- embedded_postgres/pginstall/share/extension/pgstattuple--1.0--1.1.sql +11 -0
- embedded_postgres/pginstall/share/extension/pgstattuple--1.1--1.2.sql +39 -0
- embedded_postgres/pginstall/share/extension/pgstattuple--1.2--1.3.sql +18 -0
- embedded_postgres/pginstall/share/extension/pgstattuple--1.3--1.4.sql +13 -0
- embedded_postgres/pginstall/share/extension/pgstattuple--1.4--1.5.sql +136 -0
- embedded_postgres/pginstall/share/extension/pgstattuple--1.4.sql +95 -0
- embedded_postgres/pginstall/share/extension/pgstattuple.control +5 -0
- embedded_postgres/pginstall/share/extension/plpgsql--1.0.sql +20 -0
- embedded_postgres/pginstall/share/extension/plpgsql.control +8 -0
- embedded_postgres/pginstall/share/extension/postgres_fdw--1.0--1.1.sql +20 -0
- embedded_postgres/pginstall/share/extension/postgres_fdw--1.0.sql +18 -0
- embedded_postgres/pginstall/share/extension/postgres_fdw--1.1--1.2.sql +18 -0
- embedded_postgres/pginstall/share/extension/postgres_fdw.control +5 -0
- embedded_postgres/pginstall/share/extension/refint--1.0.sql +14 -0
- embedded_postgres/pginstall/share/extension/refint.control +5 -0
- embedded_postgres/pginstall/share/extension/seg--1.0--1.1.sql +63 -0
- embedded_postgres/pginstall/share/extension/seg--1.1--1.2.sql +14 -0
- embedded_postgres/pginstall/share/extension/seg--1.1.sql +395 -0
- embedded_postgres/pginstall/share/extension/seg--1.2--1.3.sql +58 -0
- embedded_postgres/pginstall/share/extension/seg--1.3--1.4.sql +8 -0
- embedded_postgres/pginstall/share/extension/seg.control +6 -0
- embedded_postgres/pginstall/share/extension/tablefunc--1.0.sql +88 -0
- embedded_postgres/pginstall/share/extension/tablefunc.control +6 -0
- embedded_postgres/pginstall/share/extension/tcn--1.0.sql +9 -0
- embedded_postgres/pginstall/share/extension/tcn.control +6 -0
- embedded_postgres/pginstall/share/extension/tsm_system_rows--1.0.sql +9 -0
- embedded_postgres/pginstall/share/extension/tsm_system_rows.control +6 -0
- embedded_postgres/pginstall/share/extension/tsm_system_time--1.0.sql +9 -0
- embedded_postgres/pginstall/share/extension/tsm_system_time.control +6 -0
- embedded_postgres/pginstall/share/extension/unaccent--1.0--1.1.sql +9 -0
- embedded_postgres/pginstall/share/extension/unaccent--1.1.sql +34 -0
- embedded_postgres/pginstall/share/extension/unaccent.control +6 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.0--0.1.1.sql +39 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.1--0.1.3.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.3--0.1.4.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.4--0.1.5.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.5--0.1.6.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.6--0.1.7.sql +8 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.7--0.1.8.sql +8 -0
- embedded_postgres/pginstall/share/extension/vector--0.1.8--0.2.0.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.0--0.2.1.sql +19 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.1--0.2.2.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.2--0.2.3.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.3--0.2.4.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.4--0.2.5.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.5--0.2.6.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.6--0.2.7.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.2.7--0.3.0.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.3.0--0.3.1.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.3.1--0.3.2.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.3.2--0.4.0.sql +23 -0
- embedded_postgres/pginstall/share/extension/vector--0.4.0--0.4.1.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.4.1--0.4.2.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.4.2--0.4.3.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.4.3--0.4.4.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.4.4--0.5.0.sql +43 -0
- embedded_postgres/pginstall/share/extension/vector--0.5.0--0.5.1.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.5.1--0.6.0.sql +5 -0
- embedded_postgres/pginstall/share/extension/vector--0.6.0--0.6.1.sql +16 -0
- embedded_postgres/pginstall/share/extension/vector--0.6.1--0.6.2.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.6.2--0.7.0.sql +569 -0
- embedded_postgres/pginstall/share/extension/vector--0.7.0--0.7.1.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.7.1--0.7.2.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.7.2--0.7.3.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.7.3--0.7.4.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.7.4--0.8.0.sql +26 -0
- embedded_postgres/pginstall/share/extension/vector--0.8.0--0.8.1.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.8.1--0.8.2.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.8.2--0.8.3.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.8.3--0.8.4.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.8.4--0.8.5.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.8.5--0.8.6.sql +2 -0
- embedded_postgres/pginstall/share/extension/vector--0.8.6.sql +918 -0
- embedded_postgres/pginstall/share/extension/vector.control +4 -0
- embedded_postgres/pginstall/share/information_schema.sql +3011 -0
- embedded_postgres/pginstall/share/pg_hba.conf.sample +122 -0
- embedded_postgres/pginstall/share/pg_ident.conf.sample +72 -0
- embedded_postgres/pginstall/share/pg_service.conf.sample +17 -0
- embedded_postgres/pginstall/share/postgres.bki +11870 -0
- embedded_postgres/pginstall/share/postgresql.conf.sample +889 -0
- embedded_postgres/pginstall/share/psqlrc.sample +8 -0
- embedded_postgres/pginstall/share/snowball_create.sql +1253 -0
- embedded_postgres/pginstall/share/sql_features.txt +755 -0
- embedded_postgres/pginstall/share/system_constraints.sql +220 -0
- embedded_postgres/pginstall/share/system_functions.sql +808 -0
- embedded_postgres/pginstall/share/system_views.sql +1409 -0
- embedded_postgres/pginstall/share/timezonesets/Africa.txt +176 -0
- embedded_postgres/pginstall/share/timezonesets/America.txt +257 -0
- embedded_postgres/pginstall/share/timezonesets/Antarctica.txt +27 -0
- embedded_postgres/pginstall/share/timezonesets/Asia.txt +190 -0
- embedded_postgres/pginstall/share/timezonesets/Atlantic.txt +85 -0
- embedded_postgres/pginstall/share/timezonesets/Australia +27 -0
- embedded_postgres/pginstall/share/timezonesets/Australia.txt +71 -0
- embedded_postgres/pginstall/share/timezonesets/Default +629 -0
- embedded_postgres/pginstall/share/timezonesets/Etc.txt +34 -0
- embedded_postgres/pginstall/share/timezonesets/Europe.txt +217 -0
- embedded_postgres/pginstall/share/timezonesets/India +19 -0
- embedded_postgres/pginstall/share/timezonesets/Indian.txt +30 -0
- embedded_postgres/pginstall/share/timezonesets/Pacific.txt +84 -0
- embedded_postgres/pginstall/share/tsearch_data/danish.stop +94 -0
- embedded_postgres/pginstall/share/tsearch_data/dutch.stop +101 -0
- embedded_postgres/pginstall/share/tsearch_data/english.stop +127 -0
- embedded_postgres/pginstall/share/tsearch_data/finnish.stop +235 -0
- embedded_postgres/pginstall/share/tsearch_data/french.stop +155 -0
- embedded_postgres/pginstall/share/tsearch_data/german.stop +231 -0
- embedded_postgres/pginstall/share/tsearch_data/hungarian.stop +199 -0
- embedded_postgres/pginstall/share/tsearch_data/hunspell_sample.affix +23 -0
- embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_long.affix +53 -0
- embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_long.dict +11 -0
- embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_num.affix +33 -0
- embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_num.dict +9 -0
- embedded_postgres/pginstall/share/tsearch_data/ispell_sample.affix +26 -0
- embedded_postgres/pginstall/share/tsearch_data/ispell_sample.dict +8 -0
- embedded_postgres/pginstall/share/tsearch_data/italian.stop +279 -0
- embedded_postgres/pginstall/share/tsearch_data/nepali.stop +304 -0
- embedded_postgres/pginstall/share/tsearch_data/norwegian.stop +176 -0
- embedded_postgres/pginstall/share/tsearch_data/portuguese.stop +203 -0
- embedded_postgres/pginstall/share/tsearch_data/russian.stop +151 -0
- embedded_postgres/pginstall/share/tsearch_data/spanish.stop +313 -0
- embedded_postgres/pginstall/share/tsearch_data/swedish.stop +114 -0
- embedded_postgres/pginstall/share/tsearch_data/synonym_sample.syn +5 -0
- embedded_postgres/pginstall/share/tsearch_data/thesaurus_sample.ths +17 -0
- embedded_postgres/pginstall/share/tsearch_data/turkish.stop +53 -0
- embedded_postgres/pginstall/share/tsearch_data/unaccent.rules +2661 -0
- embedded_postgres/pginstall/share/tsearch_data/xsyn_sample.rules +6 -0
- embedded_postgres/postgres_server.py +291 -0
- embedded_postgres/py.typed +0 -0
- embedded_postgres/utils.py +278 -0
- embedded_postgres-18.6.0.dist-info/METADATA +106 -0
- embedded_postgres-18.6.0.dist-info/RECORD +1378 -0
- embedded_postgres-18.6.0.dist-info/WHEEL +5 -0
- embedded_postgres-18.6.0.dist-info/licenses/LICENSE +201 -0
- embedded_postgres-18.6.0.dist-info/licenses/NOTICE +10 -0
- embedded_postgres-18.6.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +53 -0
- embedded_postgres-18.6.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* syslogger.h
|
|
4
|
+
* Exports from postmaster/syslogger.c.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2004-2025, PostgreSQL Global Development Group
|
|
7
|
+
*
|
|
8
|
+
* src/include/postmaster/syslogger.h
|
|
9
|
+
*
|
|
10
|
+
*-------------------------------------------------------------------------
|
|
11
|
+
*/
|
|
12
|
+
#ifndef _SYSLOGGER_H
|
|
13
|
+
#define _SYSLOGGER_H
|
|
14
|
+
|
|
15
|
+
#include <limits.h> /* for PIPE_BUF */
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* Primitive protocol structure for writing to syslogger pipe(s). The idea
|
|
20
|
+
* here is to divide long messages into chunks that are not more than
|
|
21
|
+
* PIPE_BUF bytes long, which according to POSIX spec must be written into
|
|
22
|
+
* the pipe atomically. The pipe reader then uses the protocol headers to
|
|
23
|
+
* reassemble the parts of a message into a single string. The reader can
|
|
24
|
+
* also cope with non-protocol data coming down the pipe, though we cannot
|
|
25
|
+
* guarantee long strings won't get split apart.
|
|
26
|
+
*
|
|
27
|
+
* We use non-nul bytes in is_last to make the protocol a tiny bit
|
|
28
|
+
* more robust against finding a false double nul byte prologue. But
|
|
29
|
+
* we still might find it in the len and/or pid bytes unless we're careful.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
#ifdef PIPE_BUF
|
|
33
|
+
/* Are there any systems with PIPE_BUF > 64K? Unlikely, but ... */
|
|
34
|
+
#if PIPE_BUF > 65536
|
|
35
|
+
#define PIPE_CHUNK_SIZE 65536
|
|
36
|
+
#else
|
|
37
|
+
#define PIPE_CHUNK_SIZE ((int) PIPE_BUF)
|
|
38
|
+
#endif
|
|
39
|
+
#else /* not defined */
|
|
40
|
+
/* POSIX says the value of PIPE_BUF must be at least 512, so use that */
|
|
41
|
+
#define PIPE_CHUNK_SIZE 512
|
|
42
|
+
#endif
|
|
43
|
+
|
|
44
|
+
typedef struct
|
|
45
|
+
{
|
|
46
|
+
char nuls[2]; /* always \0\0 */
|
|
47
|
+
uint16 len; /* size of this chunk (counts data only) */
|
|
48
|
+
int32 pid; /* writer's pid */
|
|
49
|
+
bits8 flags; /* bitmask of PIPE_PROTO_* */
|
|
50
|
+
char data[FLEXIBLE_ARRAY_MEMBER]; /* data payload starts here */
|
|
51
|
+
} PipeProtoHeader;
|
|
52
|
+
|
|
53
|
+
typedef union
|
|
54
|
+
{
|
|
55
|
+
PipeProtoHeader proto;
|
|
56
|
+
char filler[PIPE_CHUNK_SIZE];
|
|
57
|
+
} PipeProtoChunk;
|
|
58
|
+
|
|
59
|
+
#define PIPE_HEADER_SIZE offsetof(PipeProtoHeader, data)
|
|
60
|
+
#define PIPE_MAX_PAYLOAD ((int) (PIPE_CHUNK_SIZE - PIPE_HEADER_SIZE))
|
|
61
|
+
|
|
62
|
+
/* flag bits for PipeProtoHeader->flags */
|
|
63
|
+
#define PIPE_PROTO_IS_LAST 0x01 /* last chunk of message? */
|
|
64
|
+
/* log destinations */
|
|
65
|
+
#define PIPE_PROTO_DEST_STDERR 0x10
|
|
66
|
+
#define PIPE_PROTO_DEST_CSVLOG 0x20
|
|
67
|
+
#define PIPE_PROTO_DEST_JSONLOG 0x40
|
|
68
|
+
|
|
69
|
+
/* GUC options */
|
|
70
|
+
extern PGDLLIMPORT bool Logging_collector;
|
|
71
|
+
extern PGDLLIMPORT int Log_RotationAge;
|
|
72
|
+
extern PGDLLIMPORT int Log_RotationSize;
|
|
73
|
+
extern PGDLLIMPORT char *Log_directory;
|
|
74
|
+
extern PGDLLIMPORT char *Log_filename;
|
|
75
|
+
extern PGDLLIMPORT bool Log_truncate_on_rotation;
|
|
76
|
+
extern PGDLLIMPORT int Log_file_mode;
|
|
77
|
+
|
|
78
|
+
#ifdef EXEC_BACKEND
|
|
79
|
+
extern PGDLLIMPORT pg_time_t first_syslogger_file_time;
|
|
80
|
+
#endif
|
|
81
|
+
|
|
82
|
+
#ifndef WIN32
|
|
83
|
+
extern PGDLLIMPORT int syslogPipe[2];
|
|
84
|
+
#else
|
|
85
|
+
extern PGDLLIMPORT HANDLE syslogPipe[2];
|
|
86
|
+
#endif
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
extern int SysLogger_Start(int child_slot);
|
|
90
|
+
|
|
91
|
+
extern void write_syslogger_file(const char *buffer, int count, int destination);
|
|
92
|
+
|
|
93
|
+
pg_noreturn extern void SysLoggerMain(const void *startup_data, size_t startup_data_len);
|
|
94
|
+
|
|
95
|
+
extern bool CheckLogrotateSignal(void);
|
|
96
|
+
extern void RemoveLogrotateSignalFiles(void);
|
|
97
|
+
|
|
98
|
+
/*
|
|
99
|
+
* Name of files saving meta-data information about the log
|
|
100
|
+
* files currently in use by the syslogger
|
|
101
|
+
*/
|
|
102
|
+
#define LOG_METAINFO_DATAFILE "current_logfiles"
|
|
103
|
+
#define LOG_METAINFO_DATAFILE_TMP LOG_METAINFO_DATAFILE ".tmp"
|
|
104
|
+
|
|
105
|
+
#endif /* _SYSLOGGER_H */
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* walsummarizer.h
|
|
4
|
+
*
|
|
5
|
+
* Header file for background WAL summarization process.
|
|
6
|
+
*
|
|
7
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
8
|
+
*
|
|
9
|
+
* IDENTIFICATION
|
|
10
|
+
* src/include/postmaster/walsummarizer.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
#ifndef WALSUMMARIZER_H
|
|
15
|
+
#define WALSUMMARIZER_H
|
|
16
|
+
|
|
17
|
+
#include "access/xlogdefs.h"
|
|
18
|
+
|
|
19
|
+
extern PGDLLIMPORT bool summarize_wal;
|
|
20
|
+
extern PGDLLIMPORT int wal_summary_keep_time;
|
|
21
|
+
|
|
22
|
+
extern Size WalSummarizerShmemSize(void);
|
|
23
|
+
extern void WalSummarizerShmemInit(void);
|
|
24
|
+
pg_noreturn extern void WalSummarizerMain(const void *startup_data, size_t startup_data_len);
|
|
25
|
+
|
|
26
|
+
extern void GetWalSummarizerState(TimeLineID *summarized_tli,
|
|
27
|
+
XLogRecPtr *summarized_lsn,
|
|
28
|
+
XLogRecPtr *pending_lsn,
|
|
29
|
+
int *summarizer_pid);
|
|
30
|
+
extern XLogRecPtr GetOldestUnsummarizedLSN(TimeLineID *tli,
|
|
31
|
+
bool *lsn_is_exact);
|
|
32
|
+
extern void WakeupWalSummarizer(void);
|
|
33
|
+
extern void WaitForWalSummarization(XLogRecPtr lsn);
|
|
34
|
+
|
|
35
|
+
#endif
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* walwriter.h
|
|
4
|
+
* Exports from postmaster/walwriter.c.
|
|
5
|
+
*
|
|
6
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
7
|
+
*
|
|
8
|
+
* src/include/postmaster/walwriter.h
|
|
9
|
+
*
|
|
10
|
+
*-------------------------------------------------------------------------
|
|
11
|
+
*/
|
|
12
|
+
#ifndef _WALWRITER_H
|
|
13
|
+
#define _WALWRITER_H
|
|
14
|
+
|
|
15
|
+
#define DEFAULT_WAL_WRITER_FLUSH_AFTER ((1024 * 1024) / XLOG_BLCKSZ)
|
|
16
|
+
|
|
17
|
+
/* GUC options */
|
|
18
|
+
extern PGDLLIMPORT int WalWriterDelay;
|
|
19
|
+
extern PGDLLIMPORT int WalWriterFlushAfter;
|
|
20
|
+
|
|
21
|
+
pg_noreturn extern void WalWriterMain(const void *startup_data, size_t startup_data_len);
|
|
22
|
+
|
|
23
|
+
#endif /* _WALWRITER_H */
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Development of this software was funded, in part, by Cray Research Inc.,
|
|
5
|
+
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
|
6
|
+
* Corporation, none of whom are responsible for the results. The author
|
|
7
|
+
* thanks all of them.
|
|
8
|
+
*
|
|
9
|
+
* Redistribution and use in source and binary forms -- with or without
|
|
10
|
+
* modification -- are permitted for any purpose, provided that
|
|
11
|
+
* redistributions in source form retain this entire copyright notice and
|
|
12
|
+
* indicate the origin and nature of any modifications.
|
|
13
|
+
*
|
|
14
|
+
* I'd appreciate being given credit for this package in the documentation
|
|
15
|
+
* of software which uses it, but that is not a requirement.
|
|
16
|
+
*
|
|
17
|
+
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
18
|
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
19
|
+
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
20
|
+
* HENRY SPENCER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
21
|
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
22
|
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
23
|
+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
24
|
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
25
|
+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
26
|
+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
27
|
+
*
|
|
28
|
+
* src/include/regex/regcustom.h
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/* headers if any */
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
* It's against Postgres coding conventions to include postgres.h in a
|
|
35
|
+
* header file, but we allow the violation here because the regexp library
|
|
36
|
+
* files specifically intend this file to supply application-dependent
|
|
37
|
+
* headers, and are careful to include this file before anything else.
|
|
38
|
+
*/
|
|
39
|
+
#include "postgres.h"
|
|
40
|
+
|
|
41
|
+
#include <ctype.h>
|
|
42
|
+
#include <limits.h>
|
|
43
|
+
#include <wctype.h>
|
|
44
|
+
|
|
45
|
+
#include "mb/pg_wchar.h"
|
|
46
|
+
|
|
47
|
+
#include "miscadmin.h" /* needed by rstacktoodeep */
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/* overrides for regguts.h definitions, if any */
|
|
51
|
+
#define FUNCPTR(name, args) (*name) args
|
|
52
|
+
#define MALLOC(n) palloc_extended((n), MCXT_ALLOC_NO_OOM)
|
|
53
|
+
#define FREE(p) pfree(VS(p))
|
|
54
|
+
#define REALLOC(p,n) repalloc_extended(VS(p),(n), MCXT_ALLOC_NO_OOM)
|
|
55
|
+
#define MALLOC_ARRAY(type, n) palloc_array_extended(type, n, MCXT_ALLOC_NO_OOM)
|
|
56
|
+
#define REALLOC_ARRAY(p, type, n) repalloc_array_extended(p, type, n, MCXT_ALLOC_NO_OOM)
|
|
57
|
+
#define INTERRUPT(re) CHECK_FOR_INTERRUPTS()
|
|
58
|
+
#define assert(x) Assert(x)
|
|
59
|
+
|
|
60
|
+
/* internal character type and related */
|
|
61
|
+
typedef pg_wchar chr; /* the type itself */
|
|
62
|
+
typedef unsigned uchr; /* unsigned type that will hold a chr */
|
|
63
|
+
|
|
64
|
+
#define CHR(c) ((unsigned char) (c)) /* turn char literal into chr literal */
|
|
65
|
+
#define DIGITVAL(c) ((c)-'0') /* turn chr digit into its value */
|
|
66
|
+
#define CHRBITS 32 /* bits in a chr; must not use sizeof */
|
|
67
|
+
#define CHR_MIN 0x00000000 /* smallest and largest chr; the value */
|
|
68
|
+
#define CHR_MAX 0x7ffffffe /* CHR_MAX-CHR_MIN+1 must fit in an int, and
|
|
69
|
+
* CHR_MAX+1 must fit in a chr variable */
|
|
70
|
+
|
|
71
|
+
/*
|
|
72
|
+
* Check if a chr value is in range. Ideally we'd just write this as
|
|
73
|
+
* ((c) >= CHR_MIN && (c) <= CHR_MAX)
|
|
74
|
+
* However, if chr is unsigned and CHR_MIN is zero, the first part of that
|
|
75
|
+
* is a no-op, and certain overly-nannyish compilers give warnings about it.
|
|
76
|
+
* So we leave that out here. If you want to make chr signed and/or CHR_MIN
|
|
77
|
+
* not zero, redefine this macro as above. Callers should assume that the
|
|
78
|
+
* macro may multiply evaluate its argument, even though it does not today.
|
|
79
|
+
*/
|
|
80
|
+
#define CHR_IS_IN_RANGE(c) ((c) <= CHR_MAX)
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* MAX_SIMPLE_CHR is the cutoff between "simple" and "complicated" processing
|
|
84
|
+
* in the color map logic. It should usually be chosen high enough to ensure
|
|
85
|
+
* that all common characters are <= MAX_SIMPLE_CHR. However, very large
|
|
86
|
+
* values will be counterproductive since they cause more regex setup time.
|
|
87
|
+
* Also, small values can be helpful for testing the high-color-map logic
|
|
88
|
+
* with plain old ASCII input.
|
|
89
|
+
*/
|
|
90
|
+
#define MAX_SIMPLE_CHR 0x7FF /* suitable value for Unicode */
|
|
91
|
+
|
|
92
|
+
/* functions operating on chr */
|
|
93
|
+
#define iscalnum(x) pg_wc_isalnum(x)
|
|
94
|
+
#define iscalpha(x) pg_wc_isalpha(x)
|
|
95
|
+
#define iscdigit(x) pg_wc_isdigit(x)
|
|
96
|
+
#define iscspace(x) pg_wc_isspace(x)
|
|
97
|
+
|
|
98
|
+
/* and pick up the standard header */
|
|
99
|
+
#include "regex.h"
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* src/include/regex/regerrs.h
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
{
|
|
6
|
+
REG_OKAY, "REG_OKAY", "no errors detected"
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
REG_NOMATCH, "REG_NOMATCH", "failed to match"
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
{
|
|
14
|
+
REG_BADPAT, "REG_BADPAT", "invalid regexp (reg version 0.8)"
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
{
|
|
18
|
+
REG_ECOLLATE, "REG_ECOLLATE", "invalid collating element"
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
{
|
|
22
|
+
REG_ECTYPE, "REG_ECTYPE", "invalid character class"
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
{
|
|
26
|
+
REG_EESCAPE, "REG_EESCAPE", "invalid escape \\ sequence"
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
{
|
|
30
|
+
REG_ESUBREG, "REG_ESUBREG", "invalid backreference number"
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
{
|
|
34
|
+
REG_EBRACK, "REG_EBRACK", "brackets [] not balanced"
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
{
|
|
38
|
+
REG_EPAREN, "REG_EPAREN", "parentheses () not balanced"
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
{
|
|
42
|
+
REG_EBRACE, "REG_EBRACE", "braces {} not balanced"
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
{
|
|
46
|
+
REG_BADBR, "REG_BADBR", "invalid repetition count(s)"
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
{
|
|
50
|
+
REG_ERANGE, "REG_ERANGE", "invalid character range"
|
|
51
|
+
},
|
|
52
|
+
|
|
53
|
+
{
|
|
54
|
+
REG_ESPACE, "REG_ESPACE", "out of memory"
|
|
55
|
+
},
|
|
56
|
+
|
|
57
|
+
{
|
|
58
|
+
REG_BADRPT, "REG_BADRPT", "quantifier operand invalid"
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
{
|
|
62
|
+
REG_ASSERT, "REG_ASSERT", "\"cannot happen\" -- you found a bug"
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
{
|
|
66
|
+
REG_INVARG, "REG_INVARG", "invalid argument to regex function"
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
{
|
|
70
|
+
REG_MIXED, "REG_MIXED", "character widths of regex and string differ"
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
{
|
|
74
|
+
REG_BADOPT, "REG_BADOPT", "invalid embedded option"
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
{
|
|
78
|
+
REG_ETOOBIG, "REG_ETOOBIG", "regular expression is too complex"
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
{
|
|
82
|
+
REG_ECOLORS, "REG_ECOLORS", "too many colors"
|
|
83
|
+
},
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
#ifndef _PG_REGEX_H_
|
|
2
|
+
#define _PG_REGEX_H_ /* never again */
|
|
3
|
+
/*
|
|
4
|
+
* regular expressions
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Development of this software was funded, in part, by Cray Research Inc.,
|
|
9
|
+
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
|
10
|
+
* Corporation, none of whom are responsible for the results. The author
|
|
11
|
+
* thanks all of them.
|
|
12
|
+
*
|
|
13
|
+
* Redistribution and use in source and binary forms -- with or without
|
|
14
|
+
* modification -- are permitted for any purpose, provided that
|
|
15
|
+
* redistributions in source form retain this entire copyright notice and
|
|
16
|
+
* indicate the origin and nature of any modifications.
|
|
17
|
+
*
|
|
18
|
+
* I'd appreciate being given credit for this package in the documentation
|
|
19
|
+
* of software which uses it, but that is not a requirement.
|
|
20
|
+
*
|
|
21
|
+
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
22
|
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
23
|
+
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
24
|
+
* HENRY SPENCER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
25
|
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
26
|
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
27
|
+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
28
|
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
29
|
+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
30
|
+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
31
|
+
*
|
|
32
|
+
* src/include/regex/regex.h
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
* This is an implementation of POSIX regex_t, so it clashes with the
|
|
37
|
+
* system-provided <regex.h> header. That header might be unintentionally
|
|
38
|
+
* included already, so we force that to happen now on all systems to show that
|
|
39
|
+
* we can cope and that we completely replace the system regex interfaces.
|
|
40
|
+
*
|
|
41
|
+
* Note that we avoided using _REGEX_H_ as an include guard, as that confuses
|
|
42
|
+
* matters on BSD family systems including macOS that use the same include
|
|
43
|
+
* guard.
|
|
44
|
+
*/
|
|
45
|
+
#ifndef _WIN32
|
|
46
|
+
#include <regex.h>
|
|
47
|
+
#endif
|
|
48
|
+
|
|
49
|
+
/* Avoid redefinition errors due to the system header. */
|
|
50
|
+
#undef REG_UBACKREF
|
|
51
|
+
#undef REG_ULOOKAROUND
|
|
52
|
+
#undef REG_UBOUNDS
|
|
53
|
+
#undef REG_UBRACES
|
|
54
|
+
#undef REG_UBSALNUM
|
|
55
|
+
#undef REG_UPBOTCH
|
|
56
|
+
#undef REG_UBBS
|
|
57
|
+
#undef REG_UNONPOSIX
|
|
58
|
+
#undef REG_UUNSPEC
|
|
59
|
+
#undef REG_UUNPORT
|
|
60
|
+
#undef REG_ULOCALE
|
|
61
|
+
#undef REG_UEMPTYMATCH
|
|
62
|
+
#undef REG_UIMPOSSIBLE
|
|
63
|
+
#undef REG_USHORTEST
|
|
64
|
+
#undef REG_BASIC
|
|
65
|
+
#undef REG_EXTENDED
|
|
66
|
+
#undef REG_ADVF
|
|
67
|
+
#undef REG_ADVANCED
|
|
68
|
+
#undef REG_QUOTE
|
|
69
|
+
#undef REG_NOSPEC
|
|
70
|
+
#undef REG_ICASE
|
|
71
|
+
#undef REG_NOSUB
|
|
72
|
+
#undef REG_EXPANDED
|
|
73
|
+
#undef REG_NLSTOP
|
|
74
|
+
#undef REG_NLANCH
|
|
75
|
+
#undef REG_NEWLINE
|
|
76
|
+
#undef REG_PEND
|
|
77
|
+
#undef REG_EXPECT
|
|
78
|
+
#undef REG_BOSONLY
|
|
79
|
+
#undef REG_DUMP
|
|
80
|
+
#undef REG_FAKE
|
|
81
|
+
#undef REG_PROGRESS
|
|
82
|
+
#undef REG_NOTBOL
|
|
83
|
+
#undef REG_NOTEOL
|
|
84
|
+
#undef REG_STARTEND
|
|
85
|
+
#undef REG_FTRACE
|
|
86
|
+
#undef REG_MTRACE
|
|
87
|
+
#undef REG_SMALL
|
|
88
|
+
#undef REG_OKAY
|
|
89
|
+
#undef REG_NOMATCH
|
|
90
|
+
#undef REG_BADPAT
|
|
91
|
+
#undef REG_ECOLLATE
|
|
92
|
+
#undef REG_ECTYPE
|
|
93
|
+
#undef REG_EESCAPE
|
|
94
|
+
#undef REG_ESUBREG
|
|
95
|
+
#undef REG_EBRACK
|
|
96
|
+
#undef REG_EPAREN
|
|
97
|
+
#undef REG_EBRACE
|
|
98
|
+
#undef REG_BADBR
|
|
99
|
+
#undef REG_ERANGE
|
|
100
|
+
#undef REG_ESPACE
|
|
101
|
+
#undef REG_BADRPT
|
|
102
|
+
#undef REG_ASSERT
|
|
103
|
+
#undef REG_INVARG
|
|
104
|
+
#undef REG_MIXED
|
|
105
|
+
#undef REG_BADOPT
|
|
106
|
+
#undef REG_ETOOBIG
|
|
107
|
+
#undef REG_ECOLORS
|
|
108
|
+
#undef REG_ATOI
|
|
109
|
+
#undef REG_ITOA
|
|
110
|
+
#undef REG_PREFIX
|
|
111
|
+
#undef REG_EXACT
|
|
112
|
+
|
|
113
|
+
/*
|
|
114
|
+
* Add your own defines, if needed, here.
|
|
115
|
+
*/
|
|
116
|
+
#include "mb/pg_wchar.h"
|
|
117
|
+
|
|
118
|
+
/*
|
|
119
|
+
* interface types etc.
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
/*
|
|
123
|
+
* regoff_t has to be large enough to hold either off_t or ssize_t,
|
|
124
|
+
* and must be signed; it's only a guess that long is suitable.
|
|
125
|
+
*/
|
|
126
|
+
typedef long pg_regoff_t;
|
|
127
|
+
|
|
128
|
+
/*
|
|
129
|
+
* other interface types
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
/* the biggie, a compiled RE (or rather, a front end to same) */
|
|
133
|
+
typedef struct
|
|
134
|
+
{
|
|
135
|
+
int re_magic; /* magic number */
|
|
136
|
+
size_t re_nsub; /* number of subexpressions */
|
|
137
|
+
long re_info; /* bitmask of the following flags: */
|
|
138
|
+
#define REG_UBACKREF 000001 /* has back-reference (\n) */
|
|
139
|
+
#define REG_ULOOKAROUND 000002 /* has lookahead/lookbehind constraint */
|
|
140
|
+
#define REG_UBOUNDS 000004 /* has bounded quantifier ({m,n}) */
|
|
141
|
+
#define REG_UBRACES 000010 /* has { that doesn't begin a quantifier */
|
|
142
|
+
#define REG_UBSALNUM 000020 /* has backslash-alphanumeric in non-ARE */
|
|
143
|
+
#define REG_UPBOTCH 000040 /* has unmatched right paren in ERE (legal
|
|
144
|
+
* per spec, but that was a mistake) */
|
|
145
|
+
#define REG_UBBS 000100 /* has backslash within bracket expr */
|
|
146
|
+
#define REG_UNONPOSIX 000200 /* has any construct that extends POSIX */
|
|
147
|
+
#define REG_UUNSPEC 000400 /* has any case disallowed by POSIX, e.g.
|
|
148
|
+
* an empty branch */
|
|
149
|
+
#define REG_UUNPORT 001000 /* has numeric character code dependency */
|
|
150
|
+
#define REG_ULOCALE 002000 /* has locale dependency */
|
|
151
|
+
#define REG_UEMPTYMATCH 004000 /* can match a zero-length string */
|
|
152
|
+
#define REG_UIMPOSSIBLE 010000 /* provably cannot match anything */
|
|
153
|
+
#define REG_USHORTEST 020000 /* has non-greedy quantifier */
|
|
154
|
+
int re_csize; /* sizeof(character) */
|
|
155
|
+
char *re_endp; /* backward compatibility kludge */
|
|
156
|
+
Oid re_collation; /* Collation that defines LC_CTYPE behavior */
|
|
157
|
+
/* the rest is opaque pointers to hidden innards */
|
|
158
|
+
char *re_guts; /* `char *' is more portable than `void *' */
|
|
159
|
+
char *re_fns;
|
|
160
|
+
} pg_regex_t;
|
|
161
|
+
|
|
162
|
+
/* result reporting (may acquire more fields later) */
|
|
163
|
+
typedef struct
|
|
164
|
+
{
|
|
165
|
+
pg_regoff_t rm_so; /* start of substring */
|
|
166
|
+
pg_regoff_t rm_eo; /* end of substring */
|
|
167
|
+
} pg_regmatch_t;
|
|
168
|
+
|
|
169
|
+
/* supplementary control and reporting */
|
|
170
|
+
typedef struct
|
|
171
|
+
{
|
|
172
|
+
pg_regmatch_t rm_extend; /* see REG_EXPECT */
|
|
173
|
+
} rm_detail_t;
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
/*
|
|
178
|
+
* regex compilation flags
|
|
179
|
+
*/
|
|
180
|
+
#define REG_BASIC 000000 /* BREs (convenience) */
|
|
181
|
+
#define REG_EXTENDED 000001 /* EREs */
|
|
182
|
+
#define REG_ADVF 000002 /* advanced features in EREs */
|
|
183
|
+
#define REG_ADVANCED 000003 /* AREs (which are also EREs) */
|
|
184
|
+
#define REG_QUOTE 000004 /* no special characters, none */
|
|
185
|
+
#define REG_NOSPEC REG_QUOTE /* historical synonym */
|
|
186
|
+
#define REG_ICASE 000010 /* ignore case */
|
|
187
|
+
#define REG_NOSUB 000020 /* caller doesn't need subexpr match data */
|
|
188
|
+
#define REG_EXPANDED 000040 /* expanded format, white space & comments */
|
|
189
|
+
#define REG_NLSTOP 000100 /* \n doesn't match . or [^ ] */
|
|
190
|
+
#define REG_NLANCH 000200 /* ^ matches after \n, $ before */
|
|
191
|
+
#define REG_NEWLINE 000300 /* newlines are line terminators */
|
|
192
|
+
#define REG_PEND 000400 /* ugh -- backward-compatibility hack */
|
|
193
|
+
#define REG_EXPECT 001000 /* report details on partial/limited matches */
|
|
194
|
+
#define REG_BOSONLY 002000 /* temporary kludge for BOS-only matches */
|
|
195
|
+
#define REG_DUMP 004000 /* none of your business :-) */
|
|
196
|
+
#define REG_FAKE 010000 /* none of your business :-) */
|
|
197
|
+
#define REG_PROGRESS 020000 /* none of your business :-) */
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
/*
|
|
202
|
+
* regex execution flags
|
|
203
|
+
*/
|
|
204
|
+
#define REG_NOTBOL 0001 /* BOS is not BOL */
|
|
205
|
+
#define REG_NOTEOL 0002 /* EOS is not EOL */
|
|
206
|
+
#define REG_STARTEND 0004 /* backward compatibility kludge */
|
|
207
|
+
#define REG_FTRACE 0010 /* none of your business */
|
|
208
|
+
#define REG_MTRACE 0020 /* none of your business */
|
|
209
|
+
#define REG_SMALL 0040 /* none of your business */
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/*
|
|
213
|
+
* error reporting
|
|
214
|
+
* Be careful if modifying the list of error codes -- the table used by
|
|
215
|
+
* regerror() is generated automatically from this file!
|
|
216
|
+
*/
|
|
217
|
+
#define REG_OKAY 0 /* no errors detected */
|
|
218
|
+
#define REG_NOMATCH 1 /* failed to match */
|
|
219
|
+
#define REG_BADPAT 2 /* invalid regexp */
|
|
220
|
+
#define REG_ECOLLATE 3 /* invalid collating element */
|
|
221
|
+
#define REG_ECTYPE 4 /* invalid character class */
|
|
222
|
+
#define REG_EESCAPE 5 /* invalid escape \ sequence */
|
|
223
|
+
#define REG_ESUBREG 6 /* invalid backreference number */
|
|
224
|
+
#define REG_EBRACK 7 /* brackets [] not balanced */
|
|
225
|
+
#define REG_EPAREN 8 /* parentheses () not balanced */
|
|
226
|
+
#define REG_EBRACE 9 /* braces {} not balanced */
|
|
227
|
+
#define REG_BADBR 10 /* invalid repetition count(s) */
|
|
228
|
+
#define REG_ERANGE 11 /* invalid character range */
|
|
229
|
+
#define REG_ESPACE 12 /* out of memory */
|
|
230
|
+
#define REG_BADRPT 13 /* quantifier operand invalid */
|
|
231
|
+
#define REG_ASSERT 15 /* "can't happen" -- you found a bug */
|
|
232
|
+
#define REG_INVARG 16 /* invalid argument to regex function */
|
|
233
|
+
#define REG_MIXED 17 /* character widths of regex and string differ */
|
|
234
|
+
#define REG_BADOPT 18 /* invalid embedded option */
|
|
235
|
+
#define REG_ETOOBIG 19 /* regular expression is too complex */
|
|
236
|
+
#define REG_ECOLORS 20 /* too many colors */
|
|
237
|
+
/* two specials for debugging and testing */
|
|
238
|
+
#define REG_ATOI 101 /* convert error-code name to number */
|
|
239
|
+
#define REG_ITOA 102 /* convert error-code number to name */
|
|
240
|
+
/* non-error result codes for pg_regprefix */
|
|
241
|
+
#define REG_PREFIX (-1) /* identified a common prefix */
|
|
242
|
+
#define REG_EXACT (-2) /* identified an exact match */
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
/* Redirect the standard typenames to our typenames. */
|
|
246
|
+
#define regoff_t pg_regoff_t
|
|
247
|
+
#define regex_t pg_regex_t
|
|
248
|
+
#define regmatch_t pg_regmatch_t
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
/*
|
|
252
|
+
* the prototypes for exported functions
|
|
253
|
+
*/
|
|
254
|
+
|
|
255
|
+
/* regcomp.c */
|
|
256
|
+
extern int pg_regcomp(regex_t *re, const pg_wchar *string, size_t len,
|
|
257
|
+
int flags, Oid collation);
|
|
258
|
+
extern int pg_regexec(regex_t *re, const pg_wchar *string, size_t len,
|
|
259
|
+
size_t search_start, rm_detail_t *details,
|
|
260
|
+
size_t nmatch, regmatch_t pmatch[], int flags);
|
|
261
|
+
extern int pg_regprefix(regex_t *re, pg_wchar **string, size_t *slength);
|
|
262
|
+
extern void pg_regfree(regex_t *re);
|
|
263
|
+
extern size_t pg_regerror(int errcode, const regex_t *preg, char *errbuf,
|
|
264
|
+
size_t errbuf_size);
|
|
265
|
+
|
|
266
|
+
/* regexp.c */
|
|
267
|
+
extern regex_t *RE_compile_and_cache(text *text_re, int cflags, Oid collation);
|
|
268
|
+
extern bool RE_compile_and_execute(text *text_re, char *dat, int dat_len,
|
|
269
|
+
int cflags, Oid collation,
|
|
270
|
+
int nmatch, regmatch_t *pmatch);
|
|
271
|
+
|
|
272
|
+
#endif /* _PG_REGEX_H_ */
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* regexport.h
|
|
4
|
+
* Declarations for exporting info about a regex's NFA (nondeterministic
|
|
5
|
+
* finite automaton)
|
|
6
|
+
*
|
|
7
|
+
* The functions declared here provide accessors to extract the NFA state
|
|
8
|
+
* graph and color character sets of a successfully-compiled regex.
|
|
9
|
+
*
|
|
10
|
+
* An NFA contains one or more states, numbered 0..N-1. There is an initial
|
|
11
|
+
* state, as well as a final state --- reaching the final state denotes
|
|
12
|
+
* successful matching of an input string. Each state except the final one
|
|
13
|
+
* has some out-arcs that lead to successor states, each arc being labeled
|
|
14
|
+
* with a color that represents one or more concrete character codes.
|
|
15
|
+
* (The colors of a state's out-arcs need not be distinct, since this is an
|
|
16
|
+
* NFA not a DFA.) There are also "pseudocolors" representing start/end of
|
|
17
|
+
* line and start/end of string. Colors are numbered 0..C-1, but note that
|
|
18
|
+
* color 0 is "white" (all unused characters) and can generally be ignored.
|
|
19
|
+
*
|
|
20
|
+
* Portions Copyright (c) 2013-2025, PostgreSQL Global Development Group
|
|
21
|
+
* Portions Copyright (c) 1998, 1999 Henry Spencer
|
|
22
|
+
*
|
|
23
|
+
* IDENTIFICATION
|
|
24
|
+
* src/include/regex/regexport.h
|
|
25
|
+
*
|
|
26
|
+
*-------------------------------------------------------------------------
|
|
27
|
+
*/
|
|
28
|
+
#ifndef _REGEXPORT_H_
|
|
29
|
+
#define _REGEXPORT_H_
|
|
30
|
+
|
|
31
|
+
#include "regex/regex.h"
|
|
32
|
+
|
|
33
|
+
/* These macros must match corresponding ones in regguts.h: */
|
|
34
|
+
#define COLOR_WHITE 0 /* color for chars not appearing in regex */
|
|
35
|
+
#define COLOR_RAINBOW (-2) /* represents all colors except pseudocolors */
|
|
36
|
+
|
|
37
|
+
/* information about one arc of a regex's NFA */
|
|
38
|
+
typedef struct
|
|
39
|
+
{
|
|
40
|
+
int co; /* label (character-set color) of arc */
|
|
41
|
+
int to; /* next state number */
|
|
42
|
+
} regex_arc_t;
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/* Functions for gathering information about NFA states and arcs */
|
|
46
|
+
extern int pg_reg_getnumstates(const regex_t *regex);
|
|
47
|
+
extern int pg_reg_getinitialstate(const regex_t *regex);
|
|
48
|
+
extern int pg_reg_getfinalstate(const regex_t *regex);
|
|
49
|
+
extern int pg_reg_getnumoutarcs(const regex_t *regex, int st);
|
|
50
|
+
extern void pg_reg_getoutarcs(const regex_t *regex, int st,
|
|
51
|
+
regex_arc_t *arcs, int arcs_len);
|
|
52
|
+
|
|
53
|
+
/* Functions for gathering information about colors */
|
|
54
|
+
extern int pg_reg_getnumcolors(const regex_t *regex);
|
|
55
|
+
extern int pg_reg_colorisbegin(const regex_t *regex, int co);
|
|
56
|
+
extern int pg_reg_colorisend(const regex_t *regex, int co);
|
|
57
|
+
extern int pg_reg_getnumcharacters(const regex_t *regex, int co);
|
|
58
|
+
extern void pg_reg_getcharacters(const regex_t *regex, int co,
|
|
59
|
+
pg_wchar *chars, int chars_len);
|
|
60
|
+
|
|
61
|
+
#endif /* _REGEXPORT_H_ */
|