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,251 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* tupdesc.h
|
|
4
|
+
* POSTGRES tuple descriptor definitions.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
8
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
9
|
+
*
|
|
10
|
+
* src/include/access/tupdesc.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
#ifndef TUPDESC_H
|
|
15
|
+
#define TUPDESC_H
|
|
16
|
+
|
|
17
|
+
#include "access/attnum.h"
|
|
18
|
+
#include "catalog/pg_attribute.h"
|
|
19
|
+
#include "nodes/pg_list.h"
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
typedef struct AttrDefault
|
|
23
|
+
{
|
|
24
|
+
AttrNumber adnum;
|
|
25
|
+
char *adbin; /* nodeToString representation of expr */
|
|
26
|
+
} AttrDefault;
|
|
27
|
+
|
|
28
|
+
typedef struct ConstrCheck
|
|
29
|
+
{
|
|
30
|
+
char *ccname;
|
|
31
|
+
char *ccbin; /* nodeToString representation of expr */
|
|
32
|
+
bool ccenforced;
|
|
33
|
+
bool ccvalid;
|
|
34
|
+
bool ccnoinherit; /* this is a non-inheritable constraint */
|
|
35
|
+
} ConstrCheck;
|
|
36
|
+
|
|
37
|
+
/* This structure contains constraints of a tuple */
|
|
38
|
+
typedef struct TupleConstr
|
|
39
|
+
{
|
|
40
|
+
AttrDefault *defval; /* array */
|
|
41
|
+
ConstrCheck *check; /* array */
|
|
42
|
+
struct AttrMissing *missing; /* missing attributes values, NULL if none */
|
|
43
|
+
uint16 num_defval;
|
|
44
|
+
uint16 num_check;
|
|
45
|
+
bool has_not_null; /* any not-null, including not valid ones */
|
|
46
|
+
bool has_generated_stored;
|
|
47
|
+
bool has_generated_virtual;
|
|
48
|
+
} TupleConstr;
|
|
49
|
+
|
|
50
|
+
/*
|
|
51
|
+
* CompactAttribute
|
|
52
|
+
* Cut-down version of FormData_pg_attribute for faster access for tasks
|
|
53
|
+
* such as tuple deformation. The fields of this struct are populated
|
|
54
|
+
* using the populate_compact_attribute() function, which must be called
|
|
55
|
+
* directly after the FormData_pg_attribute struct is populated or
|
|
56
|
+
* altered in any way.
|
|
57
|
+
*
|
|
58
|
+
* Currently, this struct is 16 bytes. Any code changes which enlarge this
|
|
59
|
+
* struct should be considered very carefully.
|
|
60
|
+
*
|
|
61
|
+
* Code which must access a TupleDesc's attribute data should always make use
|
|
62
|
+
* the fields of this struct when required fields are available here. It's
|
|
63
|
+
* more efficient to access the memory in CompactAttribute due to it being a
|
|
64
|
+
* more compact representation of FormData_pg_attribute and also because
|
|
65
|
+
* accessing the FormData_pg_attribute requires an additional calculations to
|
|
66
|
+
* obtain the base address of the array within the TupleDesc.
|
|
67
|
+
*/
|
|
68
|
+
typedef struct CompactAttribute
|
|
69
|
+
{
|
|
70
|
+
int32 attcacheoff; /* fixed offset into tuple, if known, or -1 */
|
|
71
|
+
int16 attlen; /* attr len in bytes or -1 = varlen, -2 =
|
|
72
|
+
* cstring */
|
|
73
|
+
bool attbyval; /* as FormData_pg_attribute.attbyval */
|
|
74
|
+
bool attispackable; /* FormData_pg_attribute.attstorage !=
|
|
75
|
+
* TYPSTORAGE_PLAIN */
|
|
76
|
+
bool atthasmissing; /* as FormData_pg_attribute.atthasmissing */
|
|
77
|
+
bool attisdropped; /* as FormData_pg_attribute.attisdropped */
|
|
78
|
+
bool attgenerated; /* FormData_pg_attribute.attgenerated != '\0' */
|
|
79
|
+
char attnullability; /* status of not-null constraint, see below */
|
|
80
|
+
uint8 attalignby; /* alignment requirement in bytes */
|
|
81
|
+
} CompactAttribute;
|
|
82
|
+
|
|
83
|
+
/* Valid values for CompactAttribute->attnullability */
|
|
84
|
+
#define ATTNULLABLE_UNRESTRICTED 'f' /* No constraint exists */
|
|
85
|
+
#define ATTNULLABLE_UNKNOWN 'u' /* constraint exists, validity unknown */
|
|
86
|
+
#define ATTNULLABLE_VALID 'v' /* valid constraint exists */
|
|
87
|
+
#define ATTNULLABLE_INVALID 'i' /* constraint exists, marked invalid */
|
|
88
|
+
|
|
89
|
+
/*
|
|
90
|
+
* This struct is passed around within the backend to describe the structure
|
|
91
|
+
* of tuples. For tuples coming from on-disk relations, the information is
|
|
92
|
+
* collected from the pg_attribute, pg_attrdef, and pg_constraint catalogs.
|
|
93
|
+
* Transient row types (such as the result of a join query) have anonymous
|
|
94
|
+
* TupleDesc structs that generally omit any constraint info; therefore the
|
|
95
|
+
* structure is designed to let the constraints be omitted efficiently.
|
|
96
|
+
*
|
|
97
|
+
* Note that only user attributes, not system attributes, are mentioned in
|
|
98
|
+
* TupleDesc.
|
|
99
|
+
*
|
|
100
|
+
* If the tupdesc is known to correspond to a named rowtype (such as a table's
|
|
101
|
+
* rowtype) then tdtypeid identifies that type and tdtypmod is -1. Otherwise
|
|
102
|
+
* tdtypeid is RECORDOID, and tdtypmod can be either -1 for a fully anonymous
|
|
103
|
+
* row type, or a value >= 0 to allow the rowtype to be looked up in the
|
|
104
|
+
* typcache.c type cache.
|
|
105
|
+
*
|
|
106
|
+
* Note that tdtypeid is never the OID of a domain over composite, even if
|
|
107
|
+
* we are dealing with values that are known (at some higher level) to be of
|
|
108
|
+
* a domain-over-composite type. This is because tdtypeid/tdtypmod need to
|
|
109
|
+
* match up with the type labeling of composite Datums, and those are never
|
|
110
|
+
* explicitly marked as being of a domain type, either.
|
|
111
|
+
*
|
|
112
|
+
* Tuple descriptors that live in caches (relcache or typcache, at present)
|
|
113
|
+
* are reference-counted: they can be deleted when their reference count goes
|
|
114
|
+
* to zero. Tuple descriptors created by the executor need no reference
|
|
115
|
+
* counting, however: they are simply created in the appropriate memory
|
|
116
|
+
* context and go away when the context is freed. We set the tdrefcount
|
|
117
|
+
* field of such a descriptor to -1, while reference-counted descriptors
|
|
118
|
+
* always have tdrefcount >= 0.
|
|
119
|
+
*
|
|
120
|
+
* Beyond the compact_attrs variable length array, the TupleDesc stores an
|
|
121
|
+
* array of FormData_pg_attribute. The TupleDescAttr() function, as defined
|
|
122
|
+
* below, takes care of calculating the address of the elements of the
|
|
123
|
+
* FormData_pg_attribute array.
|
|
124
|
+
*
|
|
125
|
+
* The array of CompactAttribute is effectively an abbreviated version of the
|
|
126
|
+
* array of FormData_pg_attribute. Because CompactAttribute is significantly
|
|
127
|
+
* smaller than FormData_pg_attribute, code, especially performance-critical
|
|
128
|
+
* code, should prioritize using the fields from the CompactAttribute over the
|
|
129
|
+
* equivalent fields in FormData_pg_attribute.
|
|
130
|
+
*
|
|
131
|
+
* Any code making changes manually to and fields in the FormData_pg_attribute
|
|
132
|
+
* array must subsequently call populate_compact_attribute() to flush the
|
|
133
|
+
* changes out to the corresponding 'compact_attrs' element.
|
|
134
|
+
*/
|
|
135
|
+
typedef struct TupleDescData
|
|
136
|
+
{
|
|
137
|
+
int natts; /* number of attributes in the tuple */
|
|
138
|
+
Oid tdtypeid; /* composite type ID for tuple type */
|
|
139
|
+
int32 tdtypmod; /* typmod for tuple type */
|
|
140
|
+
int tdrefcount; /* reference count, or -1 if not counting */
|
|
141
|
+
TupleConstr *constr; /* constraints, or NULL if none */
|
|
142
|
+
/* compact_attrs[N] is the compact metadata of Attribute Number N+1 */
|
|
143
|
+
CompactAttribute compact_attrs[FLEXIBLE_ARRAY_MEMBER];
|
|
144
|
+
} TupleDescData;
|
|
145
|
+
typedef struct TupleDescData *TupleDesc;
|
|
146
|
+
|
|
147
|
+
extern void populate_compact_attribute(TupleDesc tupdesc, int attnum);
|
|
148
|
+
|
|
149
|
+
/*
|
|
150
|
+
* Calculates the base address of the Form_pg_attribute at the end of the
|
|
151
|
+
* TupleDescData struct.
|
|
152
|
+
*/
|
|
153
|
+
#define TupleDescAttrAddress(desc) \
|
|
154
|
+
(Form_pg_attribute) ((char *) (desc) + \
|
|
155
|
+
(offsetof(struct TupleDescData, compact_attrs) + \
|
|
156
|
+
(desc)->natts * sizeof(CompactAttribute)))
|
|
157
|
+
|
|
158
|
+
/* Accessor for the i'th FormData_pg_attribute element of tupdesc. */
|
|
159
|
+
static inline FormData_pg_attribute *
|
|
160
|
+
TupleDescAttr(TupleDesc tupdesc, int i)
|
|
161
|
+
{
|
|
162
|
+
FormData_pg_attribute *attrs = TupleDescAttrAddress(tupdesc);
|
|
163
|
+
|
|
164
|
+
return &attrs[i];
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
#undef TupleDescAttrAddress
|
|
168
|
+
|
|
169
|
+
extern void verify_compact_attribute(TupleDesc, int attnum);
|
|
170
|
+
|
|
171
|
+
/*
|
|
172
|
+
* Accessor for the i'th CompactAttribute element of tupdesc.
|
|
173
|
+
*/
|
|
174
|
+
static inline CompactAttribute *
|
|
175
|
+
TupleDescCompactAttr(TupleDesc tupdesc, int i)
|
|
176
|
+
{
|
|
177
|
+
CompactAttribute *cattr = &tupdesc->compact_attrs[i];
|
|
178
|
+
|
|
179
|
+
#ifdef USE_ASSERT_CHECKING
|
|
180
|
+
|
|
181
|
+
/* Check that the CompactAttribute is correctly populated */
|
|
182
|
+
verify_compact_attribute(tupdesc, i);
|
|
183
|
+
#endif
|
|
184
|
+
|
|
185
|
+
return cattr;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
extern TupleDesc CreateTemplateTupleDesc(int natts);
|
|
189
|
+
|
|
190
|
+
extern TupleDesc CreateTupleDesc(int natts, Form_pg_attribute *attrs);
|
|
191
|
+
|
|
192
|
+
extern TupleDesc CreateTupleDescCopy(TupleDesc tupdesc);
|
|
193
|
+
|
|
194
|
+
extern TupleDesc CreateTupleDescTruncatedCopy(TupleDesc tupdesc, int natts);
|
|
195
|
+
|
|
196
|
+
extern TupleDesc CreateTupleDescCopyConstr(TupleDesc tupdesc);
|
|
197
|
+
|
|
198
|
+
#define TupleDescSize(src) \
|
|
199
|
+
(offsetof(struct TupleDescData, compact_attrs) + \
|
|
200
|
+
(src)->natts * sizeof(CompactAttribute) + \
|
|
201
|
+
(src)->natts * sizeof(FormData_pg_attribute))
|
|
202
|
+
|
|
203
|
+
extern void TupleDescCopy(TupleDesc dst, TupleDesc src);
|
|
204
|
+
|
|
205
|
+
extern void TupleDescCopyEntry(TupleDesc dst, AttrNumber dstAttno,
|
|
206
|
+
TupleDesc src, AttrNumber srcAttno);
|
|
207
|
+
|
|
208
|
+
extern void FreeTupleDesc(TupleDesc tupdesc);
|
|
209
|
+
|
|
210
|
+
extern void IncrTupleDescRefCount(TupleDesc tupdesc);
|
|
211
|
+
extern void DecrTupleDescRefCount(TupleDesc tupdesc);
|
|
212
|
+
|
|
213
|
+
#define PinTupleDesc(tupdesc) \
|
|
214
|
+
do { \
|
|
215
|
+
if ((tupdesc)->tdrefcount >= 0) \
|
|
216
|
+
IncrTupleDescRefCount(tupdesc); \
|
|
217
|
+
} while (0)
|
|
218
|
+
|
|
219
|
+
#define ReleaseTupleDesc(tupdesc) \
|
|
220
|
+
do { \
|
|
221
|
+
if ((tupdesc)->tdrefcount >= 0) \
|
|
222
|
+
DecrTupleDescRefCount(tupdesc); \
|
|
223
|
+
} while (0)
|
|
224
|
+
|
|
225
|
+
extern bool equalTupleDescs(TupleDesc tupdesc1, TupleDesc tupdesc2);
|
|
226
|
+
extern bool equalRowTypes(TupleDesc tupdesc1, TupleDesc tupdesc2);
|
|
227
|
+
extern uint32 hashRowType(TupleDesc desc);
|
|
228
|
+
|
|
229
|
+
extern void TupleDescInitEntry(TupleDesc desc,
|
|
230
|
+
AttrNumber attributeNumber,
|
|
231
|
+
const char *attributeName,
|
|
232
|
+
Oid oidtypeid,
|
|
233
|
+
int32 typmod,
|
|
234
|
+
int attdim);
|
|
235
|
+
|
|
236
|
+
extern void TupleDescInitBuiltinEntry(TupleDesc desc,
|
|
237
|
+
AttrNumber attributeNumber,
|
|
238
|
+
const char *attributeName,
|
|
239
|
+
Oid oidtypeid,
|
|
240
|
+
int32 typmod,
|
|
241
|
+
int attdim);
|
|
242
|
+
|
|
243
|
+
extern void TupleDescInitEntryCollation(TupleDesc desc,
|
|
244
|
+
AttrNumber attributeNumber,
|
|
245
|
+
Oid collationid);
|
|
246
|
+
|
|
247
|
+
extern TupleDesc BuildDescFromLists(const List *names, const List *types, const List *typmods, const List *collations);
|
|
248
|
+
|
|
249
|
+
extern Node *TupleDescGetDefault(TupleDesc tupdesc, AttrNumber attnum);
|
|
250
|
+
|
|
251
|
+
#endif /* TUPDESC_H */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* tupdesc_details.h
|
|
4
|
+
* POSTGRES tuple descriptor definitions we can't include everywhere
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
8
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
9
|
+
*
|
|
10
|
+
* src/include/access/tupdesc_details.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
#ifndef TUPDESC_DETAILS_H
|
|
16
|
+
#define TUPDESC_DETAILS_H
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* Structure used to represent value to be used when the attribute is not
|
|
20
|
+
* present at all in a tuple, i.e. when the column was created after the tuple
|
|
21
|
+
*/
|
|
22
|
+
typedef struct AttrMissing
|
|
23
|
+
{
|
|
24
|
+
bool am_present; /* true if non-NULL missing value exists */
|
|
25
|
+
Datum am_value; /* value when attribute is missing */
|
|
26
|
+
} AttrMissing;
|
|
27
|
+
|
|
28
|
+
#endif /* TUPDESC_DETAILS_H */
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* tupmacs.h
|
|
4
|
+
* Tuple macros used by both index tuples and heap tuples.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
8
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
9
|
+
*
|
|
10
|
+
* src/include/access/tupmacs.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
#ifndef TUPMACS_H
|
|
15
|
+
#define TUPMACS_H
|
|
16
|
+
|
|
17
|
+
#include "catalog/pg_type_d.h" /* for TYPALIGN macros */
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* Check a tuple's null bitmap to determine whether the attribute is null.
|
|
22
|
+
* Note that a 0 in the null bitmap indicates a null, while 1 indicates
|
|
23
|
+
* non-null.
|
|
24
|
+
*/
|
|
25
|
+
static inline bool
|
|
26
|
+
att_isnull(int ATT, const bits8 *BITS)
|
|
27
|
+
{
|
|
28
|
+
return !(BITS[ATT >> 3] & (1 << (ATT & 0x07)));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#ifndef FRONTEND
|
|
32
|
+
/*
|
|
33
|
+
* Given an attbyval and an attlen from either a Form_pg_attribute or
|
|
34
|
+
* CompactAttribute and a pointer into a tuple's data area, return the
|
|
35
|
+
* correct value or pointer.
|
|
36
|
+
*
|
|
37
|
+
* We return a Datum value in all cases. If attbyval is false, we return the
|
|
38
|
+
* same pointer into the tuple data area that we're passed. Otherwise, we
|
|
39
|
+
* return the correct number of bytes fetched from the data area and extended
|
|
40
|
+
* to Datum form.
|
|
41
|
+
*
|
|
42
|
+
* On machines where Datum is 8 bytes, we support fetching 8-byte byval
|
|
43
|
+
* attributes; otherwise, only 1, 2, and 4-byte values are supported.
|
|
44
|
+
*
|
|
45
|
+
* Note that T must already be properly aligned for this to work correctly.
|
|
46
|
+
*/
|
|
47
|
+
#define fetchatt(A,T) fetch_att(T, (A)->attbyval, (A)->attlen)
|
|
48
|
+
|
|
49
|
+
/*
|
|
50
|
+
* Same, but work from byval/len parameters rather than Form_pg_attribute.
|
|
51
|
+
*/
|
|
52
|
+
static inline Datum
|
|
53
|
+
fetch_att(const void *T, bool attbyval, int attlen)
|
|
54
|
+
{
|
|
55
|
+
if (attbyval)
|
|
56
|
+
{
|
|
57
|
+
switch (attlen)
|
|
58
|
+
{
|
|
59
|
+
case sizeof(char):
|
|
60
|
+
return CharGetDatum(*((const char *) T));
|
|
61
|
+
case sizeof(int16):
|
|
62
|
+
return Int16GetDatum(*((const int16 *) T));
|
|
63
|
+
case sizeof(int32):
|
|
64
|
+
return Int32GetDatum(*((const int32 *) T));
|
|
65
|
+
#if SIZEOF_DATUM == 8
|
|
66
|
+
case sizeof(Datum):
|
|
67
|
+
return *((const Datum *) T);
|
|
68
|
+
#endif
|
|
69
|
+
default:
|
|
70
|
+
elog(ERROR, "unsupported byval length: %d", attlen);
|
|
71
|
+
return 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
else
|
|
75
|
+
return PointerGetDatum(T);
|
|
76
|
+
}
|
|
77
|
+
#endif /* FRONTEND */
|
|
78
|
+
|
|
79
|
+
/*
|
|
80
|
+
* att_align_datum aligns the given offset as needed for a datum of alignment
|
|
81
|
+
* requirement attalign and typlen attlen. attdatum is the Datum variable
|
|
82
|
+
* we intend to pack into a tuple (it's only accessed if we are dealing with
|
|
83
|
+
* a varlena type). Note that this assumes the Datum will be stored as-is;
|
|
84
|
+
* callers that are intending to convert non-short varlena datums to short
|
|
85
|
+
* format have to account for that themselves.
|
|
86
|
+
*/
|
|
87
|
+
#define att_align_datum(cur_offset, attalign, attlen, attdatum) \
|
|
88
|
+
( \
|
|
89
|
+
((attlen) == -1 && VARATT_IS_SHORT(DatumGetPointer(attdatum))) ? \
|
|
90
|
+
(uintptr_t) (cur_offset) : \
|
|
91
|
+
att_align_nominal(cur_offset, attalign) \
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
/*
|
|
95
|
+
* Similar to att_align_datum, but accepts a number of bytes, typically from
|
|
96
|
+
* CompactAttribute.attalignby to align the Datum by.
|
|
97
|
+
*/
|
|
98
|
+
#define att_datum_alignby(cur_offset, attalignby, attlen, attdatum) \
|
|
99
|
+
( \
|
|
100
|
+
((attlen) == -1 && VARATT_IS_SHORT(DatumGetPointer(attdatum))) ? \
|
|
101
|
+
(uintptr_t) (cur_offset) : \
|
|
102
|
+
TYPEALIGN(attalignby, cur_offset))
|
|
103
|
+
|
|
104
|
+
/*
|
|
105
|
+
* att_align_pointer performs the same calculation as att_align_datum,
|
|
106
|
+
* but is used when walking a tuple. attptr is the current actual data
|
|
107
|
+
* pointer; when accessing a varlena field we have to "peek" to see if we
|
|
108
|
+
* are looking at a pad byte or the first byte of a 1-byte-header datum.
|
|
109
|
+
* (A zero byte must be either a pad byte, or the first byte of a correctly
|
|
110
|
+
* aligned 4-byte length word; in either case we can align safely. A non-zero
|
|
111
|
+
* byte must be either a 1-byte length word, or the first byte of a correctly
|
|
112
|
+
* aligned 4-byte length word; in either case we need not align.)
|
|
113
|
+
*
|
|
114
|
+
* Note: some callers pass a "char *" pointer for cur_offset. This is
|
|
115
|
+
* a bit of a hack but should work all right as long as uintptr_t is the
|
|
116
|
+
* correct width.
|
|
117
|
+
*/
|
|
118
|
+
#define att_align_pointer(cur_offset, attalign, attlen, attptr) \
|
|
119
|
+
( \
|
|
120
|
+
((attlen) == -1 && VARATT_NOT_PAD_BYTE(attptr)) ? \
|
|
121
|
+
(uintptr_t) (cur_offset) : \
|
|
122
|
+
att_align_nominal(cur_offset, attalign) \
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
/*
|
|
126
|
+
* Similar to att_align_pointer, but accepts a number of bytes, typically from
|
|
127
|
+
* CompactAttribute.attalignby to align the pointer by.
|
|
128
|
+
*/
|
|
129
|
+
#define att_pointer_alignby(cur_offset, attalignby, attlen, attptr) \
|
|
130
|
+
( \
|
|
131
|
+
((attlen) == -1 && VARATT_NOT_PAD_BYTE(attptr)) ? \
|
|
132
|
+
(uintptr_t) (cur_offset) : \
|
|
133
|
+
TYPEALIGN(attalignby, cur_offset))
|
|
134
|
+
|
|
135
|
+
/*
|
|
136
|
+
* att_align_nominal aligns the given offset as needed for a datum of alignment
|
|
137
|
+
* requirement attalign, ignoring any consideration of packed varlena datums.
|
|
138
|
+
* There are three main use cases for using this macro directly:
|
|
139
|
+
* * we know that the att in question is not varlena (attlen != -1);
|
|
140
|
+
* in this case it is cheaper than the above macros and just as good.
|
|
141
|
+
* * we need to estimate alignment padding cost abstractly, ie without
|
|
142
|
+
* reference to a real tuple. We must assume the worst case that
|
|
143
|
+
* all varlenas are aligned.
|
|
144
|
+
* * within arrays and multiranges, we unconditionally align varlenas (XXX this
|
|
145
|
+
* should be revisited, probably).
|
|
146
|
+
*
|
|
147
|
+
* The attalign cases are tested in what is hopefully something like their
|
|
148
|
+
* frequency of occurrence.
|
|
149
|
+
*/
|
|
150
|
+
#define att_align_nominal(cur_offset, attalign) \
|
|
151
|
+
( \
|
|
152
|
+
((attalign) == TYPALIGN_INT) ? INTALIGN(cur_offset) : \
|
|
153
|
+
(((attalign) == TYPALIGN_CHAR) ? (uintptr_t) (cur_offset) : \
|
|
154
|
+
(((attalign) == TYPALIGN_DOUBLE) ? DOUBLEALIGN(cur_offset) : \
|
|
155
|
+
( \
|
|
156
|
+
AssertMacro((attalign) == TYPALIGN_SHORT), \
|
|
157
|
+
SHORTALIGN(cur_offset) \
|
|
158
|
+
))) \
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
/*
|
|
162
|
+
* Similar to att_align_nominal, but accepts a number of bytes, typically from
|
|
163
|
+
* CompactAttribute.attalignby to align the offset by.
|
|
164
|
+
*/
|
|
165
|
+
#define att_nominal_alignby(cur_offset, attalignby) \
|
|
166
|
+
TYPEALIGN(attalignby, cur_offset)
|
|
167
|
+
|
|
168
|
+
/*
|
|
169
|
+
* att_addlength_datum increments the given offset by the space needed for
|
|
170
|
+
* the given Datum variable. attdatum is only accessed if we are dealing
|
|
171
|
+
* with a variable-length attribute.
|
|
172
|
+
*/
|
|
173
|
+
#define att_addlength_datum(cur_offset, attlen, attdatum) \
|
|
174
|
+
att_addlength_pointer(cur_offset, attlen, DatumGetPointer(attdatum))
|
|
175
|
+
|
|
176
|
+
/*
|
|
177
|
+
* att_addlength_pointer performs the same calculation as att_addlength_datum,
|
|
178
|
+
* but is used when walking a tuple --- attptr is the pointer to the field
|
|
179
|
+
* within the tuple.
|
|
180
|
+
*
|
|
181
|
+
* Note: some callers pass a "char *" pointer for cur_offset. This is
|
|
182
|
+
* actually perfectly OK, but probably should be cleaned up along with
|
|
183
|
+
* the same practice for att_align_pointer.
|
|
184
|
+
*/
|
|
185
|
+
#define att_addlength_pointer(cur_offset, attlen, attptr) \
|
|
186
|
+
( \
|
|
187
|
+
((attlen) > 0) ? \
|
|
188
|
+
( \
|
|
189
|
+
(cur_offset) + (attlen) \
|
|
190
|
+
) \
|
|
191
|
+
: (((attlen) == -1) ? \
|
|
192
|
+
( \
|
|
193
|
+
(cur_offset) + VARSIZE_ANY(attptr) \
|
|
194
|
+
) \
|
|
195
|
+
: \
|
|
196
|
+
( \
|
|
197
|
+
AssertMacro((attlen) == -2), \
|
|
198
|
+
(cur_offset) + (strlen((char *) (attptr)) + 1) \
|
|
199
|
+
)) \
|
|
200
|
+
)
|
|
201
|
+
|
|
202
|
+
#ifndef FRONTEND
|
|
203
|
+
/*
|
|
204
|
+
* store_att_byval is a partial inverse of fetch_att: store a given Datum
|
|
205
|
+
* value into a tuple data area at the specified address. However, it only
|
|
206
|
+
* handles the byval case, because in typical usage the caller needs to
|
|
207
|
+
* distinguish by-val and by-ref cases anyway, and so a do-it-all function
|
|
208
|
+
* wouldn't be convenient.
|
|
209
|
+
*/
|
|
210
|
+
static inline void
|
|
211
|
+
store_att_byval(void *T, Datum newdatum, int attlen)
|
|
212
|
+
{
|
|
213
|
+
switch (attlen)
|
|
214
|
+
{
|
|
215
|
+
case sizeof(char):
|
|
216
|
+
*(char *) T = DatumGetChar(newdatum);
|
|
217
|
+
break;
|
|
218
|
+
case sizeof(int16):
|
|
219
|
+
*(int16 *) T = DatumGetInt16(newdatum);
|
|
220
|
+
break;
|
|
221
|
+
case sizeof(int32):
|
|
222
|
+
*(int32 *) T = DatumGetInt32(newdatum);
|
|
223
|
+
break;
|
|
224
|
+
#if SIZEOF_DATUM == 8
|
|
225
|
+
case sizeof(Datum):
|
|
226
|
+
*(Datum *) T = newdatum;
|
|
227
|
+
break;
|
|
228
|
+
#endif
|
|
229
|
+
default:
|
|
230
|
+
elog(ERROR, "unsupported byval length: %d", attlen);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
#endif /* FRONTEND */
|
|
234
|
+
|
|
235
|
+
#endif /* TUPMACS_H */
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* twophase.h
|
|
4
|
+
* Two-phase-commit related declarations.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
8
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
9
|
+
*
|
|
10
|
+
* src/include/access/twophase.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
#ifndef TWOPHASE_H
|
|
15
|
+
#define TWOPHASE_H
|
|
16
|
+
|
|
17
|
+
#include "access/xact.h"
|
|
18
|
+
#include "access/xlogdefs.h"
|
|
19
|
+
#include "datatype/timestamp.h"
|
|
20
|
+
#include "storage/lock.h"
|
|
21
|
+
|
|
22
|
+
/*
|
|
23
|
+
* GlobalTransactionData is defined in twophase.c; other places have no
|
|
24
|
+
* business knowing the internal definition.
|
|
25
|
+
*/
|
|
26
|
+
typedef struct GlobalTransactionData *GlobalTransaction;
|
|
27
|
+
|
|
28
|
+
/* GUC variable */
|
|
29
|
+
extern PGDLLIMPORT int max_prepared_xacts;
|
|
30
|
+
|
|
31
|
+
extern Size TwoPhaseShmemSize(void);
|
|
32
|
+
extern void TwoPhaseShmemInit(void);
|
|
33
|
+
|
|
34
|
+
extern void AtAbort_Twophase(void);
|
|
35
|
+
extern void PostPrepare_Twophase(void);
|
|
36
|
+
|
|
37
|
+
extern TransactionId TwoPhaseGetXidByVirtualXID(VirtualTransactionId vxid,
|
|
38
|
+
bool *have_more);
|
|
39
|
+
extern PGPROC *TwoPhaseGetDummyProc(TransactionId xid, bool lock_held);
|
|
40
|
+
extern int TwoPhaseGetDummyProcNumber(TransactionId xid, bool lock_held);
|
|
41
|
+
|
|
42
|
+
extern GlobalTransaction MarkAsPreparing(TransactionId xid, const char *gid,
|
|
43
|
+
TimestampTz prepared_at,
|
|
44
|
+
Oid owner, Oid databaseid);
|
|
45
|
+
|
|
46
|
+
extern void StartPrepare(GlobalTransaction gxact);
|
|
47
|
+
extern void EndPrepare(GlobalTransaction gxact);
|
|
48
|
+
extern bool StandbyTransactionIdIsPrepared(TransactionId xid);
|
|
49
|
+
|
|
50
|
+
extern TransactionId PrescanPreparedTransactions(TransactionId **xids_p,
|
|
51
|
+
int *nxids_p);
|
|
52
|
+
extern void StandbyRecoverPreparedTransactions(void);
|
|
53
|
+
extern void RecoverPreparedTransactions(void);
|
|
54
|
+
|
|
55
|
+
extern void CheckPointTwoPhase(XLogRecPtr redo_horizon);
|
|
56
|
+
|
|
57
|
+
extern void FinishPreparedTransaction(const char *gid, bool isCommit);
|
|
58
|
+
|
|
59
|
+
extern void PrepareRedoAdd(char *buf, XLogRecPtr start_lsn,
|
|
60
|
+
XLogRecPtr end_lsn, RepOriginId origin_id);
|
|
61
|
+
extern void PrepareRedoRemove(TransactionId xid, bool giveWarning);
|
|
62
|
+
extern void restoreTwoPhaseData(void);
|
|
63
|
+
extern bool LookupGXact(const char *gid, XLogRecPtr prepare_end_lsn,
|
|
64
|
+
TimestampTz origin_prepare_timestamp);
|
|
65
|
+
|
|
66
|
+
extern void TwoPhaseTransactionGid(Oid subid, TransactionId xid, char *gid_res,
|
|
67
|
+
int szgid);
|
|
68
|
+
extern bool LookupGXactBySubid(Oid subid);
|
|
69
|
+
|
|
70
|
+
#endif /* TWOPHASE_H */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* twophase_rmgr.h
|
|
4
|
+
* Two-phase-commit resource managers definition
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
8
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
9
|
+
*
|
|
10
|
+
* src/include/access/twophase_rmgr.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
#ifndef TWOPHASE_RMGR_H
|
|
15
|
+
#define TWOPHASE_RMGR_H
|
|
16
|
+
|
|
17
|
+
typedef void (*TwoPhaseCallback) (TransactionId xid, uint16 info,
|
|
18
|
+
void *recdata, uint32 len);
|
|
19
|
+
typedef uint8 TwoPhaseRmgrId;
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* Built-in resource managers
|
|
23
|
+
*/
|
|
24
|
+
#define TWOPHASE_RM_END_ID 0
|
|
25
|
+
#define TWOPHASE_RM_LOCK_ID 1
|
|
26
|
+
#define TWOPHASE_RM_PGSTAT_ID 2
|
|
27
|
+
#define TWOPHASE_RM_MULTIXACT_ID 3
|
|
28
|
+
#define TWOPHASE_RM_PREDICATELOCK_ID 4
|
|
29
|
+
#define TWOPHASE_RM_MAX_ID TWOPHASE_RM_PREDICATELOCK_ID
|
|
30
|
+
|
|
31
|
+
extern PGDLLIMPORT const TwoPhaseCallback twophase_recover_callbacks[];
|
|
32
|
+
extern PGDLLIMPORT const TwoPhaseCallback twophase_postcommit_callbacks[];
|
|
33
|
+
extern PGDLLIMPORT const TwoPhaseCallback twophase_postabort_callbacks[];
|
|
34
|
+
extern PGDLLIMPORT const TwoPhaseCallback twophase_standby_recover_callbacks[];
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
extern void RegisterTwoPhaseRecord(TwoPhaseRmgrId rmid, uint16 info,
|
|
38
|
+
const void *data, uint32 len);
|
|
39
|
+
|
|
40
|
+
#endif /* TWOPHASE_RMGR_H */
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* valid.h
|
|
4
|
+
* POSTGRES tuple qualification validity definitions.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
8
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
9
|
+
*
|
|
10
|
+
* src/include/access/valid.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
#ifndef VALID_H
|
|
15
|
+
#define VALID_H
|
|
16
|
+
|
|
17
|
+
#include "access/htup.h"
|
|
18
|
+
#include "access/htup_details.h"
|
|
19
|
+
#include "access/skey.h"
|
|
20
|
+
#include "access/tupdesc.h"
|
|
21
|
+
|
|
22
|
+
/*
|
|
23
|
+
* HeapKeyTest
|
|
24
|
+
*
|
|
25
|
+
* Test a heap tuple to see if it satisfies a scan key.
|
|
26
|
+
*/
|
|
27
|
+
static inline bool
|
|
28
|
+
HeapKeyTest(HeapTuple tuple, TupleDesc tupdesc, int nkeys, ScanKey keys)
|
|
29
|
+
{
|
|
30
|
+
int cur_nkeys = nkeys;
|
|
31
|
+
ScanKey cur_key = keys;
|
|
32
|
+
|
|
33
|
+
for (; cur_nkeys--; cur_key++)
|
|
34
|
+
{
|
|
35
|
+
Datum atp;
|
|
36
|
+
bool isnull;
|
|
37
|
+
Datum test;
|
|
38
|
+
|
|
39
|
+
if (cur_key->sk_flags & SK_ISNULL)
|
|
40
|
+
return false;
|
|
41
|
+
|
|
42
|
+
atp = heap_getattr(tuple, cur_key->sk_attno, tupdesc, &isnull);
|
|
43
|
+
|
|
44
|
+
if (isnull)
|
|
45
|
+
return false;
|
|
46
|
+
|
|
47
|
+
test = FunctionCall2Coll(&cur_key->sk_func,
|
|
48
|
+
cur_key->sk_collation,
|
|
49
|
+
atp, cur_key->sk_argument);
|
|
50
|
+
|
|
51
|
+
if (!DatumGetBool(test))
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
#endif /* VALID_H */
|