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,32 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* arch-arm.h
|
|
4
|
+
* Atomic operations considerations specific to ARM
|
|
5
|
+
*
|
|
6
|
+
* Portions Copyright (c) 2013-2025, PostgreSQL Global Development Group
|
|
7
|
+
*
|
|
8
|
+
* NOTES:
|
|
9
|
+
*
|
|
10
|
+
* src/include/port/atomics/arch-arm.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/* intentionally no include guards, should only be included by atomics.h */
|
|
16
|
+
#ifndef INSIDE_ATOMICS_H
|
|
17
|
+
#error "should be included via atomics.h"
|
|
18
|
+
#endif
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* 64 bit atomics on ARM32 are implemented using kernel fallbacks and thus
|
|
22
|
+
* might be slow, so disable entirely. On ARM64 that problem doesn't exist.
|
|
23
|
+
*/
|
|
24
|
+
#if !defined(__aarch64__)
|
|
25
|
+
#define PG_DISABLE_64_BIT_ATOMICS
|
|
26
|
+
#else
|
|
27
|
+
/*
|
|
28
|
+
* Architecture Reference Manual for ARMv8 states aligned read/write to/from
|
|
29
|
+
* general purpose register is atomic.
|
|
30
|
+
*/
|
|
31
|
+
#define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY
|
|
32
|
+
#endif /* __aarch64__ */
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* arch-ppc.h
|
|
4
|
+
* Atomic operations considerations specific to PowerPC
|
|
5
|
+
*
|
|
6
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
7
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
8
|
+
*
|
|
9
|
+
* NOTES:
|
|
10
|
+
*
|
|
11
|
+
* src/include/port/atomics/arch-ppc.h
|
|
12
|
+
*
|
|
13
|
+
*-------------------------------------------------------------------------
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
#if defined(__GNUC__)
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* lwsync orders loads with respect to each other, and similarly with stores.
|
|
20
|
+
* But a load can be performed before a subsequent store, so sync must be used
|
|
21
|
+
* for a full memory barrier.
|
|
22
|
+
*/
|
|
23
|
+
#define pg_memory_barrier_impl() __asm__ __volatile__ ("sync" : : : "memory")
|
|
24
|
+
#define pg_read_barrier_impl() __asm__ __volatile__ ("lwsync" : : : "memory")
|
|
25
|
+
#define pg_write_barrier_impl() __asm__ __volatile__ ("lwsync" : : : "memory")
|
|
26
|
+
#endif
|
|
27
|
+
|
|
28
|
+
#define PG_HAVE_ATOMIC_U32_SUPPORT
|
|
29
|
+
typedef struct pg_atomic_uint32
|
|
30
|
+
{
|
|
31
|
+
volatile uint32 value;
|
|
32
|
+
} pg_atomic_uint32;
|
|
33
|
+
|
|
34
|
+
/* 64bit atomics are only supported in 64bit mode */
|
|
35
|
+
#if SIZEOF_VOID_P >= 8
|
|
36
|
+
#define PG_HAVE_ATOMIC_U64_SUPPORT
|
|
37
|
+
typedef struct pg_atomic_uint64
|
|
38
|
+
{
|
|
39
|
+
volatile uint64 value pg_attribute_aligned(8);
|
|
40
|
+
} pg_atomic_uint64;
|
|
41
|
+
|
|
42
|
+
#endif
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
* This mimics gcc __atomic_compare_exchange_n(..., __ATOMIC_SEQ_CST), but
|
|
46
|
+
* code generation differs at the end. __atomic_compare_exchange_n():
|
|
47
|
+
* 100: isync
|
|
48
|
+
* 104: mfcr r3
|
|
49
|
+
* 108: rlwinm r3,r3,3,31,31
|
|
50
|
+
* 10c: bne 120 <.eb+0x10>
|
|
51
|
+
* 110: clrldi r3,r3,63
|
|
52
|
+
* 114: addi r1,r1,112
|
|
53
|
+
* 118: blr
|
|
54
|
+
* 11c: nop
|
|
55
|
+
* 120: clrldi r3,r3,63
|
|
56
|
+
* 124: stw r9,0(r4)
|
|
57
|
+
* 128: addi r1,r1,112
|
|
58
|
+
* 12c: blr
|
|
59
|
+
*
|
|
60
|
+
* This:
|
|
61
|
+
* f0: isync
|
|
62
|
+
* f4: mfcr r9
|
|
63
|
+
* f8: rldicl. r3,r9,35,63
|
|
64
|
+
* fc: bne 104 <.eb>
|
|
65
|
+
* 100: stw r10,0(r4)
|
|
66
|
+
* 104: addi r1,r1,112
|
|
67
|
+
* 108: blr
|
|
68
|
+
*
|
|
69
|
+
* This implementation may or may not have materially different performance.
|
|
70
|
+
* It's not exploiting the fact that cr0 still holds the relevant comparison
|
|
71
|
+
* bits, set during the __asm__. One could fix that by moving more code into
|
|
72
|
+
* the __asm__. (That would remove the freedom to eliminate dead stores when
|
|
73
|
+
* the caller ignores "expected", but few callers do.)
|
|
74
|
+
*
|
|
75
|
+
* Recognizing constant "newval" would be superfluous, because there's no
|
|
76
|
+
* immediate-operand version of stwcx.
|
|
77
|
+
*/
|
|
78
|
+
#define PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U32
|
|
79
|
+
static inline bool
|
|
80
|
+
pg_atomic_compare_exchange_u32_impl(volatile pg_atomic_uint32 *ptr,
|
|
81
|
+
uint32 *expected, uint32 newval)
|
|
82
|
+
{
|
|
83
|
+
uint32 found;
|
|
84
|
+
uint32 condition_register;
|
|
85
|
+
bool ret;
|
|
86
|
+
|
|
87
|
+
#ifdef HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P
|
|
88
|
+
if (__builtin_constant_p(*expected) &&
|
|
89
|
+
(int32) *expected <= PG_INT16_MAX &&
|
|
90
|
+
(int32) *expected >= PG_INT16_MIN)
|
|
91
|
+
__asm__ __volatile__(
|
|
92
|
+
" sync \n"
|
|
93
|
+
" lwarx %0,0,%5,1 \n"
|
|
94
|
+
" cmpwi %0,%3 \n"
|
|
95
|
+
" bne $+12 \n" /* branch to lwsync */
|
|
96
|
+
" stwcx. %4,0,%5 \n"
|
|
97
|
+
" bne $-16 \n" /* branch to lwarx */
|
|
98
|
+
" lwsync \n"
|
|
99
|
+
" mfcr %1 \n"
|
|
100
|
+
: "=&r"(found), "=r"(condition_register), "+m"(ptr->value)
|
|
101
|
+
: "i"(*expected), "r"(newval), "r"(&ptr->value)
|
|
102
|
+
: "memory", "cc");
|
|
103
|
+
else
|
|
104
|
+
#endif
|
|
105
|
+
__asm__ __volatile__(
|
|
106
|
+
" sync \n"
|
|
107
|
+
" lwarx %0,0,%5,1 \n"
|
|
108
|
+
" cmpw %0,%3 \n"
|
|
109
|
+
" bne $+12 \n" /* branch to lwsync */
|
|
110
|
+
" stwcx. %4,0,%5 \n"
|
|
111
|
+
" bne $-16 \n" /* branch to lwarx */
|
|
112
|
+
" lwsync \n"
|
|
113
|
+
" mfcr %1 \n"
|
|
114
|
+
: "=&r"(found), "=r"(condition_register), "+m"(ptr->value)
|
|
115
|
+
: "r"(*expected), "r"(newval), "r"(&ptr->value)
|
|
116
|
+
: "memory", "cc");
|
|
117
|
+
|
|
118
|
+
ret = (condition_register >> 29) & 1; /* test eq bit of cr0 */
|
|
119
|
+
if (!ret)
|
|
120
|
+
*expected = found;
|
|
121
|
+
return ret;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/*
|
|
125
|
+
* This mirrors gcc __sync_fetch_and_add().
|
|
126
|
+
*
|
|
127
|
+
* Like tas(), use constraint "=&b" to avoid allocating r0.
|
|
128
|
+
*/
|
|
129
|
+
#define PG_HAVE_ATOMIC_FETCH_ADD_U32
|
|
130
|
+
static inline uint32
|
|
131
|
+
pg_atomic_fetch_add_u32_impl(volatile pg_atomic_uint32 *ptr, int32 add_)
|
|
132
|
+
{
|
|
133
|
+
uint32 _t;
|
|
134
|
+
uint32 res;
|
|
135
|
+
|
|
136
|
+
#ifdef HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P
|
|
137
|
+
if (__builtin_constant_p(add_) &&
|
|
138
|
+
add_ <= PG_INT16_MAX && add_ >= PG_INT16_MIN)
|
|
139
|
+
__asm__ __volatile__(
|
|
140
|
+
" sync \n"
|
|
141
|
+
" lwarx %1,0,%4,1 \n"
|
|
142
|
+
" addi %0,%1,%3 \n"
|
|
143
|
+
" stwcx. %0,0,%4 \n"
|
|
144
|
+
" bne $-12 \n" /* branch to lwarx */
|
|
145
|
+
" lwsync \n"
|
|
146
|
+
: "=&r"(_t), "=&b"(res), "+m"(ptr->value)
|
|
147
|
+
: "i"(add_), "r"(&ptr->value)
|
|
148
|
+
: "memory", "cc");
|
|
149
|
+
else
|
|
150
|
+
#endif
|
|
151
|
+
__asm__ __volatile__(
|
|
152
|
+
" sync \n"
|
|
153
|
+
" lwarx %1,0,%4,1 \n"
|
|
154
|
+
" add %0,%1,%3 \n"
|
|
155
|
+
" stwcx. %0,0,%4 \n"
|
|
156
|
+
" bne $-12 \n" /* branch to lwarx */
|
|
157
|
+
" lwsync \n"
|
|
158
|
+
: "=&r"(_t), "=&r"(res), "+m"(ptr->value)
|
|
159
|
+
: "r"(add_), "r"(&ptr->value)
|
|
160
|
+
: "memory", "cc");
|
|
161
|
+
|
|
162
|
+
return res;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
#ifdef PG_HAVE_ATOMIC_U64_SUPPORT
|
|
166
|
+
|
|
167
|
+
#define PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U64
|
|
168
|
+
static inline bool
|
|
169
|
+
pg_atomic_compare_exchange_u64_impl(volatile pg_atomic_uint64 *ptr,
|
|
170
|
+
uint64 *expected, uint64 newval)
|
|
171
|
+
{
|
|
172
|
+
uint64 found;
|
|
173
|
+
uint32 condition_register;
|
|
174
|
+
bool ret;
|
|
175
|
+
|
|
176
|
+
AssertPointerAlignment(expected, 8);
|
|
177
|
+
|
|
178
|
+
/* Like u32, but s/lwarx/ldarx/; s/stwcx/stdcx/; s/cmpw/cmpd/ */
|
|
179
|
+
#ifdef HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P
|
|
180
|
+
if (__builtin_constant_p(*expected) &&
|
|
181
|
+
(int64) *expected <= PG_INT16_MAX &&
|
|
182
|
+
(int64) *expected >= PG_INT16_MIN)
|
|
183
|
+
__asm__ __volatile__(
|
|
184
|
+
" sync \n"
|
|
185
|
+
" ldarx %0,0,%5,1 \n"
|
|
186
|
+
" cmpdi %0,%3 \n"
|
|
187
|
+
" bne $+12 \n" /* branch to lwsync */
|
|
188
|
+
" stdcx. %4,0,%5 \n"
|
|
189
|
+
" bne $-16 \n" /* branch to ldarx */
|
|
190
|
+
" lwsync \n"
|
|
191
|
+
" mfcr %1 \n"
|
|
192
|
+
: "=&r"(found), "=r"(condition_register), "+m"(ptr->value)
|
|
193
|
+
: "i"(*expected), "r"(newval), "r"(&ptr->value)
|
|
194
|
+
: "memory", "cc");
|
|
195
|
+
else
|
|
196
|
+
#endif
|
|
197
|
+
__asm__ __volatile__(
|
|
198
|
+
" sync \n"
|
|
199
|
+
" ldarx %0,0,%5,1 \n"
|
|
200
|
+
" cmpd %0,%3 \n"
|
|
201
|
+
" bne $+12 \n" /* branch to lwsync */
|
|
202
|
+
" stdcx. %4,0,%5 \n"
|
|
203
|
+
" bne $-16 \n" /* branch to ldarx */
|
|
204
|
+
" lwsync \n"
|
|
205
|
+
" mfcr %1 \n"
|
|
206
|
+
: "=&r"(found), "=r"(condition_register), "+m"(ptr->value)
|
|
207
|
+
: "r"(*expected), "r"(newval), "r"(&ptr->value)
|
|
208
|
+
: "memory", "cc");
|
|
209
|
+
|
|
210
|
+
ret = (condition_register >> 29) & 1; /* test eq bit of cr0 */
|
|
211
|
+
if (!ret)
|
|
212
|
+
*expected = found;
|
|
213
|
+
return ret;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
#define PG_HAVE_ATOMIC_FETCH_ADD_U64
|
|
217
|
+
static inline uint64
|
|
218
|
+
pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_)
|
|
219
|
+
{
|
|
220
|
+
uint64 _t;
|
|
221
|
+
uint64 res;
|
|
222
|
+
|
|
223
|
+
/* Like u32, but s/lwarx/ldarx/; s/stwcx/stdcx/ */
|
|
224
|
+
#ifdef HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P
|
|
225
|
+
if (__builtin_constant_p(add_) &&
|
|
226
|
+
add_ <= PG_INT16_MAX && add_ >= PG_INT16_MIN)
|
|
227
|
+
__asm__ __volatile__(
|
|
228
|
+
" sync \n"
|
|
229
|
+
" ldarx %1,0,%4,1 \n"
|
|
230
|
+
" addi %0,%1,%3 \n"
|
|
231
|
+
" stdcx. %0,0,%4 \n"
|
|
232
|
+
" bne $-12 \n" /* branch to ldarx */
|
|
233
|
+
" lwsync \n"
|
|
234
|
+
: "=&r"(_t), "=&b"(res), "+m"(ptr->value)
|
|
235
|
+
: "i"(add_), "r"(&ptr->value)
|
|
236
|
+
: "memory", "cc");
|
|
237
|
+
else
|
|
238
|
+
#endif
|
|
239
|
+
__asm__ __volatile__(
|
|
240
|
+
" sync \n"
|
|
241
|
+
" ldarx %1,0,%4,1 \n"
|
|
242
|
+
" add %0,%1,%3 \n"
|
|
243
|
+
" stdcx. %0,0,%4 \n"
|
|
244
|
+
" bne $-12 \n" /* branch to ldarx */
|
|
245
|
+
" lwsync \n"
|
|
246
|
+
: "=&r"(_t), "=&r"(res), "+m"(ptr->value)
|
|
247
|
+
: "r"(add_), "r"(&ptr->value)
|
|
248
|
+
: "memory", "cc");
|
|
249
|
+
|
|
250
|
+
return res;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
#endif /* PG_HAVE_ATOMIC_U64_SUPPORT */
|
|
254
|
+
|
|
255
|
+
/* per architecture manual doubleword accesses have single copy atomicity */
|
|
256
|
+
#define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* arch-x86.h
|
|
4
|
+
* Atomic operations considerations specific to intel x86
|
|
5
|
+
*
|
|
6
|
+
* Note that we actually require a 486 upwards because the 386 doesn't have
|
|
7
|
+
* support for xadd and cmpxchg. Given that the 386 isn't supported anywhere
|
|
8
|
+
* anymore that's not much of a restriction luckily.
|
|
9
|
+
*
|
|
10
|
+
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
11
|
+
* Portions Copyright (c) 1994, Regents of the University of California
|
|
12
|
+
*
|
|
13
|
+
* NOTES:
|
|
14
|
+
*
|
|
15
|
+
* src/include/port/atomics/arch-x86.h
|
|
16
|
+
*
|
|
17
|
+
*-------------------------------------------------------------------------
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* Both 32 and 64 bit x86 do not allow loads to be reordered with other loads,
|
|
22
|
+
* or stores to be reordered with other stores, but a load can be performed
|
|
23
|
+
* before a subsequent store.
|
|
24
|
+
*
|
|
25
|
+
* Technically, some x86-ish chips support uncached memory access and/or
|
|
26
|
+
* special instructions that are weakly ordered. In those cases we'd need
|
|
27
|
+
* the read and write barriers to be lfence and sfence. But since we don't
|
|
28
|
+
* do those things, a compiler barrier should be enough.
|
|
29
|
+
*
|
|
30
|
+
* "lock; addl" has worked for longer than "mfence". It's also rumored to be
|
|
31
|
+
* faster in many scenarios.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
|
|
35
|
+
#if defined(__i386__) || defined(__i386)
|
|
36
|
+
#define pg_memory_barrier_impl() \
|
|
37
|
+
__asm__ __volatile__ ("lock; addl $0,0(%%esp)" : : : "memory", "cc")
|
|
38
|
+
#elif defined(__x86_64__)
|
|
39
|
+
#define pg_memory_barrier_impl() \
|
|
40
|
+
__asm__ __volatile__ ("lock; addl $0,0(%%rsp)" : : : "memory", "cc")
|
|
41
|
+
#endif
|
|
42
|
+
#endif /* defined(__GNUC__) || defined(__INTEL_COMPILER) */
|
|
43
|
+
|
|
44
|
+
#define pg_read_barrier_impl() pg_compiler_barrier_impl()
|
|
45
|
+
#define pg_write_barrier_impl() pg_compiler_barrier_impl()
|
|
46
|
+
|
|
47
|
+
/*
|
|
48
|
+
* Provide implementation for atomics using inline assembly on x86 gcc. It's
|
|
49
|
+
* nice to support older gcc's and the compare/exchange implementation here is
|
|
50
|
+
* actually more efficient than the * __sync variant.
|
|
51
|
+
*/
|
|
52
|
+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
|
|
53
|
+
|
|
54
|
+
#define PG_HAVE_ATOMIC_FLAG_SUPPORT
|
|
55
|
+
typedef struct pg_atomic_flag
|
|
56
|
+
{
|
|
57
|
+
volatile char value;
|
|
58
|
+
} pg_atomic_flag;
|
|
59
|
+
|
|
60
|
+
#define PG_HAVE_ATOMIC_U32_SUPPORT
|
|
61
|
+
typedef struct pg_atomic_uint32
|
|
62
|
+
{
|
|
63
|
+
volatile uint32 value;
|
|
64
|
+
} pg_atomic_uint32;
|
|
65
|
+
|
|
66
|
+
/*
|
|
67
|
+
* It's too complicated to write inline asm for 64bit types on 32bit and the
|
|
68
|
+
* 486 can't do it anyway.
|
|
69
|
+
*/
|
|
70
|
+
#ifdef __x86_64__
|
|
71
|
+
#define PG_HAVE_ATOMIC_U64_SUPPORT
|
|
72
|
+
typedef struct pg_atomic_uint64
|
|
73
|
+
{
|
|
74
|
+
/* alignment guaranteed due to being on a 64bit platform */
|
|
75
|
+
volatile uint64 value;
|
|
76
|
+
} pg_atomic_uint64;
|
|
77
|
+
#endif /* __x86_64__ */
|
|
78
|
+
|
|
79
|
+
#endif /* defined(__GNUC__) || defined(__INTEL_COMPILER) */
|
|
80
|
+
|
|
81
|
+
#if !defined(PG_HAVE_SPIN_DELAY)
|
|
82
|
+
/*
|
|
83
|
+
* This sequence is equivalent to the PAUSE instruction ("rep" is
|
|
84
|
+
* ignored by old IA32 processors if the following instruction is
|
|
85
|
+
* not a string operation); the IA-32 Architecture Software
|
|
86
|
+
* Developer's Manual, Vol. 3, Section 7.7.2 describes why using
|
|
87
|
+
* PAUSE in the inner loop of a spin lock is necessary for good
|
|
88
|
+
* performance:
|
|
89
|
+
*
|
|
90
|
+
* The PAUSE instruction improves the performance of IA-32
|
|
91
|
+
* processors supporting Hyper-Threading Technology when
|
|
92
|
+
* executing spin-wait loops and other routines where one
|
|
93
|
+
* thread is accessing a shared lock or semaphore in a tight
|
|
94
|
+
* polling loop. When executing a spin-wait loop, the
|
|
95
|
+
* processor can suffer a severe performance penalty when
|
|
96
|
+
* exiting the loop because it detects a possible memory order
|
|
97
|
+
* violation and flushes the core processor's pipeline. The
|
|
98
|
+
* PAUSE instruction provides a hint to the processor that the
|
|
99
|
+
* code sequence is a spin-wait loop. The processor uses this
|
|
100
|
+
* hint to avoid the memory order violation and prevent the
|
|
101
|
+
* pipeline flush. In addition, the PAUSE instruction
|
|
102
|
+
* de-pipelines the spin-wait loop to prevent it from
|
|
103
|
+
* consuming execution resources excessively.
|
|
104
|
+
*/
|
|
105
|
+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
|
|
106
|
+
#define PG_HAVE_SPIN_DELAY
|
|
107
|
+
static __inline__ void
|
|
108
|
+
pg_spin_delay_impl(void)
|
|
109
|
+
{
|
|
110
|
+
__asm__ __volatile__(" rep; nop \n");
|
|
111
|
+
}
|
|
112
|
+
#elif defined(_MSC_VER) && defined(__x86_64__)
|
|
113
|
+
#define PG_HAVE_SPIN_DELAY
|
|
114
|
+
static __forceinline void
|
|
115
|
+
pg_spin_delay_impl(void)
|
|
116
|
+
{
|
|
117
|
+
_mm_pause();
|
|
118
|
+
}
|
|
119
|
+
#elif defined(_MSC_VER)
|
|
120
|
+
#define PG_HAVE_SPIN_DELAY
|
|
121
|
+
static __forceinline void
|
|
122
|
+
pg_spin_delay_impl(void)
|
|
123
|
+
{
|
|
124
|
+
/* See comment for gcc code. Same code, MASM syntax */
|
|
125
|
+
__asm rep nop;
|
|
126
|
+
}
|
|
127
|
+
#endif
|
|
128
|
+
#endif /* !defined(PG_HAVE_SPIN_DELAY) */
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
|
|
132
|
+
|
|
133
|
+
#define PG_HAVE_ATOMIC_TEST_SET_FLAG
|
|
134
|
+
static inline bool
|
|
135
|
+
pg_atomic_test_set_flag_impl(volatile pg_atomic_flag *ptr)
|
|
136
|
+
{
|
|
137
|
+
char _res = 1;
|
|
138
|
+
|
|
139
|
+
__asm__ __volatile__(
|
|
140
|
+
" lock \n"
|
|
141
|
+
" xchgb %0,%1 \n"
|
|
142
|
+
: "+q"(_res), "+m"(ptr->value)
|
|
143
|
+
:
|
|
144
|
+
: "memory");
|
|
145
|
+
return _res == 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
#define PG_HAVE_ATOMIC_CLEAR_FLAG
|
|
149
|
+
static inline void
|
|
150
|
+
pg_atomic_clear_flag_impl(volatile pg_atomic_flag *ptr)
|
|
151
|
+
{
|
|
152
|
+
/*
|
|
153
|
+
* On a TSO architecture like x86 it's sufficient to use a compiler
|
|
154
|
+
* barrier to achieve release semantics.
|
|
155
|
+
*/
|
|
156
|
+
__asm__ __volatile__("" ::: "memory");
|
|
157
|
+
ptr->value = 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
#define PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U32
|
|
161
|
+
static inline bool
|
|
162
|
+
pg_atomic_compare_exchange_u32_impl(volatile pg_atomic_uint32 *ptr,
|
|
163
|
+
uint32 *expected, uint32 newval)
|
|
164
|
+
{
|
|
165
|
+
char ret;
|
|
166
|
+
|
|
167
|
+
/*
|
|
168
|
+
* Perform cmpxchg and use the zero flag which it implicitly sets when
|
|
169
|
+
* equal to measure the success.
|
|
170
|
+
*/
|
|
171
|
+
__asm__ __volatile__(
|
|
172
|
+
" lock \n"
|
|
173
|
+
" cmpxchgl %4,%5 \n"
|
|
174
|
+
" setz %2 \n"
|
|
175
|
+
: "=a" (*expected), "=m"(ptr->value), "=q" (ret)
|
|
176
|
+
: "a" (*expected), "r" (newval), "m"(ptr->value)
|
|
177
|
+
: "memory", "cc");
|
|
178
|
+
return (bool) ret;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
#define PG_HAVE_ATOMIC_FETCH_ADD_U32
|
|
182
|
+
static inline uint32
|
|
183
|
+
pg_atomic_fetch_add_u32_impl(volatile pg_atomic_uint32 *ptr, int32 add_)
|
|
184
|
+
{
|
|
185
|
+
uint32 res;
|
|
186
|
+
__asm__ __volatile__(
|
|
187
|
+
" lock \n"
|
|
188
|
+
" xaddl %0,%1 \n"
|
|
189
|
+
: "=q"(res), "=m"(ptr->value)
|
|
190
|
+
: "0" (add_), "m"(ptr->value)
|
|
191
|
+
: "memory", "cc");
|
|
192
|
+
return res;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
#ifdef __x86_64__
|
|
196
|
+
|
|
197
|
+
#define PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U64
|
|
198
|
+
static inline bool
|
|
199
|
+
pg_atomic_compare_exchange_u64_impl(volatile pg_atomic_uint64 *ptr,
|
|
200
|
+
uint64 *expected, uint64 newval)
|
|
201
|
+
{
|
|
202
|
+
char ret;
|
|
203
|
+
|
|
204
|
+
AssertPointerAlignment(expected, 8);
|
|
205
|
+
|
|
206
|
+
/*
|
|
207
|
+
* Perform cmpxchg and use the zero flag which it implicitly sets when
|
|
208
|
+
* equal to measure the success.
|
|
209
|
+
*/
|
|
210
|
+
__asm__ __volatile__(
|
|
211
|
+
" lock \n"
|
|
212
|
+
" cmpxchgq %4,%5 \n"
|
|
213
|
+
" setz %2 \n"
|
|
214
|
+
: "=a" (*expected), "=m"(ptr->value), "=q" (ret)
|
|
215
|
+
: "a" (*expected), "r" (newval), "m"(ptr->value)
|
|
216
|
+
: "memory", "cc");
|
|
217
|
+
return (bool) ret;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
#define PG_HAVE_ATOMIC_FETCH_ADD_U64
|
|
221
|
+
static inline uint64
|
|
222
|
+
pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_)
|
|
223
|
+
{
|
|
224
|
+
uint64 res;
|
|
225
|
+
__asm__ __volatile__(
|
|
226
|
+
" lock \n"
|
|
227
|
+
" xaddq %0,%1 \n"
|
|
228
|
+
: "=q"(res), "=m"(ptr->value)
|
|
229
|
+
: "0" (add_), "m"(ptr->value)
|
|
230
|
+
: "memory", "cc");
|
|
231
|
+
return res;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
#endif /* __x86_64__ */
|
|
235
|
+
|
|
236
|
+
#endif /* defined(__GNUC__) || defined(__INTEL_COMPILER) */
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
* 8 byte reads / writes have single-copy atomicity on 32 bit x86 platforms
|
|
240
|
+
* since at least the 586. As well as on all x86-64 cpus.
|
|
241
|
+
*/
|
|
242
|
+
#if defined(__i568__) || defined(__i668__) || /* gcc i586+ */ \
|
|
243
|
+
(defined(_M_IX86) && _M_IX86 >= 500) || /* msvc i586+ */ \
|
|
244
|
+
defined(__x86_64__) || defined(__x86_64) || defined(_M_X64) /* gcc, sunpro, msvc */
|
|
245
|
+
#define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY
|
|
246
|
+
#endif /* 8 byte single-copy atomicity */
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*-------------------------------------------------------------------------
|
|
2
|
+
*
|
|
3
|
+
* fallback.h
|
|
4
|
+
* Fallback for platforms without 64 bit atomics support. Slower
|
|
5
|
+
* than native atomics support, but not unusably slow.
|
|
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/port/atomics/fallback.h
|
|
11
|
+
*
|
|
12
|
+
*-------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/* intentionally no include guards, should only be included by atomics.h */
|
|
16
|
+
#ifndef INSIDE_ATOMICS_H
|
|
17
|
+
# error "should be included via atomics.h"
|
|
18
|
+
#endif
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
#if !defined(PG_HAVE_ATOMIC_U64_SUPPORT)
|
|
22
|
+
|
|
23
|
+
#define PG_HAVE_ATOMIC_U64_SIMULATION
|
|
24
|
+
|
|
25
|
+
#define PG_HAVE_ATOMIC_U64_SUPPORT
|
|
26
|
+
typedef struct pg_atomic_uint64
|
|
27
|
+
{
|
|
28
|
+
int sema;
|
|
29
|
+
volatile uint64 value;
|
|
30
|
+
} pg_atomic_uint64;
|
|
31
|
+
|
|
32
|
+
#define PG_HAVE_ATOMIC_INIT_U64
|
|
33
|
+
extern void pg_atomic_init_u64_impl(volatile pg_atomic_uint64 *ptr, uint64 val_);
|
|
34
|
+
|
|
35
|
+
#define PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U64
|
|
36
|
+
extern bool pg_atomic_compare_exchange_u64_impl(volatile pg_atomic_uint64 *ptr,
|
|
37
|
+
uint64 *expected, uint64 newval);
|
|
38
|
+
|
|
39
|
+
#define PG_HAVE_ATOMIC_FETCH_ADD_U64
|
|
40
|
+
extern uint64 pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_);
|
|
41
|
+
|
|
42
|
+
#endif /* PG_HAVE_ATOMIC_U64_SUPPORT */
|