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,1139 @@
|
|
|
1
|
+
# -*-makefile-*-
|
|
2
|
+
# src/Makefile.global.in
|
|
3
|
+
# src/Makefile.global. Generated from Makefile.global.in by configure.
|
|
4
|
+
|
|
5
|
+
#------------------------------------------------------------------------------
|
|
6
|
+
# All PostgreSQL makefiles include this file and use the variables it sets,
|
|
7
|
+
# which in turn are put here by the configure script. There is no need for
|
|
8
|
+
# users to edit this file -- if it turns out to be necessary then that's a
|
|
9
|
+
# bug.
|
|
10
|
+
#
|
|
11
|
+
# A makefile that includes this file needs to set the variable `subdir' to
|
|
12
|
+
# the relative path from the top to itself and `top_builddir' to the relative
|
|
13
|
+
# path from itself to the top before including this file. (The "top" is the
|
|
14
|
+
# parent directory of the directory this file is in.)
|
|
15
|
+
#------------------------------------------------------------------------------
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
##########################################################################
|
|
19
|
+
#
|
|
20
|
+
# Meta configuration
|
|
21
|
+
|
|
22
|
+
standard_targets = all install installdirs uninstall clean distclean coverage check checkprep installcheck init-po update-po
|
|
23
|
+
# these targets should recurse even into subdirectories not being built:
|
|
24
|
+
standard_always_targets = clean distclean
|
|
25
|
+
|
|
26
|
+
.PHONY: $(standard_targets) maintainer-clean install-strip html man installcheck-parallel update-unicode
|
|
27
|
+
|
|
28
|
+
# make `all' the default target
|
|
29
|
+
all:
|
|
30
|
+
|
|
31
|
+
# Delete target files if the command fails after it has
|
|
32
|
+
# started to update the file.
|
|
33
|
+
.DELETE_ON_ERROR:
|
|
34
|
+
|
|
35
|
+
# Never delete any intermediate files automatically.
|
|
36
|
+
.SECONDARY:
|
|
37
|
+
|
|
38
|
+
maintainer-clean: distclean
|
|
39
|
+
|
|
40
|
+
# PostgreSQL version number
|
|
41
|
+
VERSION = 18.6
|
|
42
|
+
MAJORVERSION = 18
|
|
43
|
+
VERSION_NUM = 180006
|
|
44
|
+
|
|
45
|
+
PACKAGE_URL = https://www.postgresql.org/
|
|
46
|
+
|
|
47
|
+
# Set top_srcdir, srcdir, and VPATH.
|
|
48
|
+
ifdef PGXS
|
|
49
|
+
top_srcdir = $(top_builddir)
|
|
50
|
+
|
|
51
|
+
# If VPATH is set or Makefile is not in current directory we are building
|
|
52
|
+
# the extension with VPATH so we set the variable here.
|
|
53
|
+
ifdef VPATH
|
|
54
|
+
srcdir = $(VPATH)
|
|
55
|
+
else
|
|
56
|
+
ifeq ($(CURDIR),$(dir $(firstword $(MAKEFILE_LIST))))
|
|
57
|
+
srcdir = .
|
|
58
|
+
|
|
59
|
+
else
|
|
60
|
+
srcdir = $(dir $(firstword $(MAKEFILE_LIST)))
|
|
61
|
+
|
|
62
|
+
endif
|
|
63
|
+
endif
|
|
64
|
+
else # not PGXS
|
|
65
|
+
vpath_build = no
|
|
66
|
+
abs_top_builddir = /d/a/embedded-postgres/embedded-postgres/pgbuild/postgresql-18.6
|
|
67
|
+
abs_top_srcdir = /d/a/embedded-postgres/embedded-postgres/pgbuild/postgresql-18.6
|
|
68
|
+
|
|
69
|
+
ifneq ($(vpath_build),yes)
|
|
70
|
+
top_srcdir = $(top_builddir)
|
|
71
|
+
srcdir = .
|
|
72
|
+
else # vpath_build = yes
|
|
73
|
+
top_srcdir = $(abs_top_srcdir)
|
|
74
|
+
srcdir = $(top_srcdir)/$(subdir)
|
|
75
|
+
|
|
76
|
+
endif
|
|
77
|
+
endif # not PGXS
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
##########################################################################
|
|
81
|
+
#
|
|
82
|
+
# Installation directories
|
|
83
|
+
#
|
|
84
|
+
# These are set by the equivalent --xxxdir configure options. We
|
|
85
|
+
# append "postgresql" to some of them, if the string does not already
|
|
86
|
+
# contain "pgsql" or "postgres", in order to avoid directory clutter.
|
|
87
|
+
#
|
|
88
|
+
# In a PGXS build, we cannot use the values inserted into Makefile.global
|
|
89
|
+
# by configure, since the installation tree may have been relocated.
|
|
90
|
+
# Instead get the path values from pg_config. But users can specify
|
|
91
|
+
# prefix explicitly, if they want to select their own installation
|
|
92
|
+
# location.
|
|
93
|
+
|
|
94
|
+
ifdef PGXS
|
|
95
|
+
# Extension makefiles should set PG_CONFIG, but older ones might not
|
|
96
|
+
ifndef PG_CONFIG
|
|
97
|
+
PG_CONFIG = pg_config
|
|
98
|
+
endif
|
|
99
|
+
endif
|
|
100
|
+
|
|
101
|
+
# This means: if ((not PGXS) or prefix)
|
|
102
|
+
ifneq (,$(if $(PGXS),,1)$(prefix))
|
|
103
|
+
|
|
104
|
+
# Note that prefix, exec_prefix, and datarootdir aren't defined in a PGXS build;
|
|
105
|
+
# makefiles may only use the derived variables such as bindir.
|
|
106
|
+
|
|
107
|
+
prefix := /d/a/embedded-postgres/embedded-postgres/pgbuild/../src/embedded_postgres/pginstall
|
|
108
|
+
exec_prefix := ${prefix}
|
|
109
|
+
datarootdir := ${prefix}/share
|
|
110
|
+
|
|
111
|
+
bindir := ${exec_prefix}/bin
|
|
112
|
+
|
|
113
|
+
datadir := ${datarootdir}
|
|
114
|
+
ifeq "$(findstring pgsql, $(datadir))" ""
|
|
115
|
+
ifeq "$(findstring postgres, $(datadir))" ""
|
|
116
|
+
override datadir := $(datadir)/postgresql
|
|
117
|
+
endif
|
|
118
|
+
endif
|
|
119
|
+
|
|
120
|
+
sysconfdir := ${prefix}/etc
|
|
121
|
+
ifeq "$(findstring pgsql, $(sysconfdir))" ""
|
|
122
|
+
ifeq "$(findstring postgres, $(sysconfdir))" ""
|
|
123
|
+
override sysconfdir := $(sysconfdir)/postgresql
|
|
124
|
+
endif
|
|
125
|
+
endif
|
|
126
|
+
|
|
127
|
+
libdir := ${exec_prefix}/lib
|
|
128
|
+
|
|
129
|
+
pkglibdir = $(libdir)
|
|
130
|
+
ifeq "$(findstring pgsql, $(pkglibdir))" ""
|
|
131
|
+
ifeq "$(findstring postgres, $(pkglibdir))" ""
|
|
132
|
+
override pkglibdir := $(pkglibdir)/postgresql
|
|
133
|
+
endif
|
|
134
|
+
endif
|
|
135
|
+
|
|
136
|
+
includedir := ${prefix}/include
|
|
137
|
+
|
|
138
|
+
pkgincludedir = $(includedir)
|
|
139
|
+
ifeq "$(findstring pgsql, $(pkgincludedir))" ""
|
|
140
|
+
ifeq "$(findstring postgres, $(pkgincludedir))" ""
|
|
141
|
+
override pkgincludedir := $(pkgincludedir)/postgresql
|
|
142
|
+
endif
|
|
143
|
+
endif
|
|
144
|
+
|
|
145
|
+
mandir := ${datarootdir}/man
|
|
146
|
+
|
|
147
|
+
docdir := ${datarootdir}/doc/${PACKAGE_TARNAME}
|
|
148
|
+
ifeq "$(findstring pgsql, $(docdir))" ""
|
|
149
|
+
ifeq "$(findstring postgres, $(docdir))" ""
|
|
150
|
+
override docdir := $(docdir)/postgresql
|
|
151
|
+
endif
|
|
152
|
+
endif
|
|
153
|
+
|
|
154
|
+
htmldir := ${docdir}
|
|
155
|
+
|
|
156
|
+
localedir := ${datarootdir}/locale
|
|
157
|
+
|
|
158
|
+
else # PGXS case
|
|
159
|
+
|
|
160
|
+
bindir := $(shell $(PG_CONFIG) --bindir)
|
|
161
|
+
datadir := $(shell $(PG_CONFIG) --sharedir)
|
|
162
|
+
sysconfdir := $(shell $(PG_CONFIG) --sysconfdir)
|
|
163
|
+
libdir := $(shell $(PG_CONFIG) --libdir)
|
|
164
|
+
pkglibdir := $(shell $(PG_CONFIG) --pkglibdir)
|
|
165
|
+
includedir := $(shell $(PG_CONFIG) --includedir)
|
|
166
|
+
pkgincludedir := $(shell $(PG_CONFIG) --pkgincludedir)
|
|
167
|
+
mandir := $(shell $(PG_CONFIG) --mandir)
|
|
168
|
+
docdir := $(shell $(PG_CONFIG) --docdir)
|
|
169
|
+
localedir := $(shell $(PG_CONFIG) --localedir)
|
|
170
|
+
|
|
171
|
+
endif # PGXS
|
|
172
|
+
|
|
173
|
+
# These derived path variables aren't separately configurable.
|
|
174
|
+
|
|
175
|
+
includedir_server = $(pkgincludedir)/server
|
|
176
|
+
includedir_internal = $(pkgincludedir)/internal
|
|
177
|
+
pgxsdir = $(pkglibdir)/pgxs
|
|
178
|
+
bitcodedir = $(pkglibdir)/bitcode
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
##########################################################################
|
|
182
|
+
#
|
|
183
|
+
# Features
|
|
184
|
+
#
|
|
185
|
+
# Records the choice of the various --enable-xxx and --with-xxx options.
|
|
186
|
+
|
|
187
|
+
with_icu = no
|
|
188
|
+
with_perl = no
|
|
189
|
+
with_python = no
|
|
190
|
+
with_tcl = no
|
|
191
|
+
with_ssl = no
|
|
192
|
+
with_readline = no
|
|
193
|
+
with_selinux = no
|
|
194
|
+
with_systemd = no
|
|
195
|
+
with_gssapi = no
|
|
196
|
+
with_krb_srvnam = postgres
|
|
197
|
+
with_ldap = no
|
|
198
|
+
with_libcurl = no
|
|
199
|
+
with_libnuma = no
|
|
200
|
+
with_liburing = no
|
|
201
|
+
with_libxml = no
|
|
202
|
+
with_libxslt = no
|
|
203
|
+
with_llvm = no
|
|
204
|
+
with_system_tzdata =
|
|
205
|
+
with_uuid = no
|
|
206
|
+
with_zlib = yes
|
|
207
|
+
enable_rpath = yes
|
|
208
|
+
enable_nls = no
|
|
209
|
+
enable_debug = no
|
|
210
|
+
enable_dtrace = no
|
|
211
|
+
enable_coverage = no
|
|
212
|
+
enable_injection_points = no
|
|
213
|
+
enable_tap_tests = no
|
|
214
|
+
|
|
215
|
+
python_includespec =
|
|
216
|
+
python_libdir =
|
|
217
|
+
python_libspec =
|
|
218
|
+
python_additional_libs =
|
|
219
|
+
python_majorversion =
|
|
220
|
+
python_version =
|
|
221
|
+
|
|
222
|
+
krb_srvtab =
|
|
223
|
+
|
|
224
|
+
ICU_CFLAGS =
|
|
225
|
+
ICU_LIBS =
|
|
226
|
+
|
|
227
|
+
LIBNUMA_CFLAGS =
|
|
228
|
+
LIBNUMA_LIBS =
|
|
229
|
+
|
|
230
|
+
LIBURING_CFLAGS =
|
|
231
|
+
LIBURING_LIBS =
|
|
232
|
+
|
|
233
|
+
TCLSH =
|
|
234
|
+
TCL_LIBS =
|
|
235
|
+
TCL_LIB_SPEC =
|
|
236
|
+
TCL_INCLUDE_SPEC =
|
|
237
|
+
TCL_SHARED_BUILD =
|
|
238
|
+
|
|
239
|
+
PTHREAD_CFLAGS =
|
|
240
|
+
PTHREAD_LIBS =
|
|
241
|
+
|
|
242
|
+
LLVM_BINPATH =
|
|
243
|
+
CLANG =
|
|
244
|
+
BITCODE_CFLAGS = -O2
|
|
245
|
+
BITCODE_CXXFLAGS = -O2
|
|
246
|
+
|
|
247
|
+
##########################################################################
|
|
248
|
+
#
|
|
249
|
+
# Programs and flags
|
|
250
|
+
|
|
251
|
+
# Compilers
|
|
252
|
+
|
|
253
|
+
CPP = gcc -E
|
|
254
|
+
CPPFLAGS = -D_POSIX_C_SOURCE -I./src/include/port/win32
|
|
255
|
+
PG_SYSROOT =
|
|
256
|
+
|
|
257
|
+
override CPPFLAGS += $(ICU_CFLAGS) $(LIBNUMA_CFLAGS) $(LIBURING_CFLAGS)
|
|
258
|
+
|
|
259
|
+
ifdef PGXS
|
|
260
|
+
override CPPFLAGS := -I$(includedir_server) -I$(includedir_internal) $(CPPFLAGS)
|
|
261
|
+
else # not PGXS
|
|
262
|
+
override CPPFLAGS := -I$(top_srcdir)/src/include $(CPPFLAGS)
|
|
263
|
+
ifdef VPATH
|
|
264
|
+
override CPPFLAGS := -I$(top_builddir)/src/include $(CPPFLAGS)
|
|
265
|
+
endif
|
|
266
|
+
endif # not PGXS
|
|
267
|
+
|
|
268
|
+
CC = gcc
|
|
269
|
+
GCC = yes
|
|
270
|
+
SUN_STUDIO_CC = no
|
|
271
|
+
CXX = g++
|
|
272
|
+
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2
|
|
273
|
+
CFLAGS_SL =
|
|
274
|
+
# *_MODULE are for flags applied to extension libraries
|
|
275
|
+
CFLAGS_SL_MODULE = -fvisibility=hidden
|
|
276
|
+
CXXFLAGS_SL_MODULE = -fvisibility=hidden -fvisibility-inlines-hidden
|
|
277
|
+
CFLAGS_UNROLL_LOOPS = -funroll-loops
|
|
278
|
+
CFLAGS_VECTORIZE = -ftree-vectorize
|
|
279
|
+
CFLAGS_CRC =
|
|
280
|
+
PERMIT_DECLARATION_AFTER_STATEMENT = -Wno-declaration-after-statement
|
|
281
|
+
PERMIT_MISSING_VARIABLE_DECLARATIONS = -Wno-missing-variable-declarations
|
|
282
|
+
CXXFLAGS = -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
|
|
283
|
+
|
|
284
|
+
LLVM_CPPFLAGS =
|
|
285
|
+
LLVM_CFLAGS =
|
|
286
|
+
LLVM_CXXFLAGS =
|
|
287
|
+
|
|
288
|
+
# Kind-of compilers
|
|
289
|
+
|
|
290
|
+
BISON = win_bison
|
|
291
|
+
BISONFLAGS = -Wno-deprecated $(YFLAGS)
|
|
292
|
+
FLEX = win_flex
|
|
293
|
+
FLEXFLAGS = $(LFLAGS)
|
|
294
|
+
DTRACE =
|
|
295
|
+
DTRACEFLAGS =
|
|
296
|
+
ZIC =
|
|
297
|
+
|
|
298
|
+
# Linking
|
|
299
|
+
|
|
300
|
+
AR = ar
|
|
301
|
+
AROPT = crs
|
|
302
|
+
LIBS = -lz -lws2_32 -lm
|
|
303
|
+
LDAP_LIBS_FE =
|
|
304
|
+
LDAP_LIBS_BE =
|
|
305
|
+
UUID_LIBS =
|
|
306
|
+
LLVM_LIBS=
|
|
307
|
+
|
|
308
|
+
# It's critical that within LDFLAGS, all -L switches pointing to build-tree
|
|
309
|
+
# directories come before any -L switches pointing to external directories.
|
|
310
|
+
# Otherwise it's possible for, e.g., a platform-provided copy of libpq.so
|
|
311
|
+
# to get linked in place of the one we've built. Therefore we adopt the
|
|
312
|
+
# convention that the first component of LDFLAGS is an extra variable
|
|
313
|
+
# LDFLAGS_INTERNAL, and -L and -l switches for PG's own libraries must be
|
|
314
|
+
# put into LDFLAGS_INTERNAL, so they will appear ahead of those for external
|
|
315
|
+
# libraries.
|
|
316
|
+
#
|
|
317
|
+
# We need LDFLAGS and LDFLAGS_INTERNAL to be "recursively expanded" variables,
|
|
318
|
+
# else adjustments to, e.g., rpathdir don't work right. So we must NOT do
|
|
319
|
+
# "LDFLAGS := something" anywhere, ditto for LDFLAGS_INTERNAL.
|
|
320
|
+
# These initial assignments must be "=" type, and elsewhere we must only do
|
|
321
|
+
# "LDFLAGS += something" or "LDFLAGS_INTERNAL += something".
|
|
322
|
+
ifdef PGXS
|
|
323
|
+
LDFLAGS_INTERNAL = -L$(libdir)
|
|
324
|
+
else
|
|
325
|
+
LDFLAGS_INTERNAL = -L$(top_builddir)/src/port -L$(top_builddir)/src/common
|
|
326
|
+
endif
|
|
327
|
+
LDFLAGS = $(LDFLAGS_INTERNAL) -Wl,--allow-multiple-definition -Wl,--disable-auto-import -Wl,--as-needed
|
|
328
|
+
|
|
329
|
+
LDFLAGS_EX =
|
|
330
|
+
LDFLAGS_EX_BE = -Wl,--export-dynamic
|
|
331
|
+
# LDFLAGS_SL might have already been assigned by calling makefile
|
|
332
|
+
LDFLAGS_SL +=
|
|
333
|
+
WINDRES = windres
|
|
334
|
+
X = .exe
|
|
335
|
+
|
|
336
|
+
# Perl
|
|
337
|
+
|
|
338
|
+
# quoted to protect pathname with spaces
|
|
339
|
+
PERL = '/usr/bin/perl'
|
|
340
|
+
perl_archlibexp =
|
|
341
|
+
perl_privlibexp =
|
|
342
|
+
perl_includespec =
|
|
343
|
+
perl_embed_ccflags =
|
|
344
|
+
perl_embed_ldflags =
|
|
345
|
+
|
|
346
|
+
# Miscellaneous
|
|
347
|
+
|
|
348
|
+
AWK = gawk
|
|
349
|
+
LN_S = cp -pR
|
|
350
|
+
LIBCURL_CPPFLAGS =
|
|
351
|
+
LIBCURL_LDFLAGS =
|
|
352
|
+
LIBCURL_LDLIBS =
|
|
353
|
+
MSGFMT =
|
|
354
|
+
MSGFMT_FLAGS =
|
|
355
|
+
MSGMERGE =
|
|
356
|
+
OPENSSL = /mingw64/bin/openssl
|
|
357
|
+
PYTHON =
|
|
358
|
+
TAR = /usr/bin/tar
|
|
359
|
+
XGETTEXT =
|
|
360
|
+
|
|
361
|
+
GZIP = gzip
|
|
362
|
+
BZIP2 = bzip2
|
|
363
|
+
LZ4 =
|
|
364
|
+
ZSTD = /c/tools/zstd/zstd
|
|
365
|
+
|
|
366
|
+
DOWNLOAD = wget -O $@ --no-use-server-timestamps
|
|
367
|
+
#DOWNLOAD = curl -o $@
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
# Unicode data information
|
|
371
|
+
|
|
372
|
+
# Before each major release, update these and run make update-unicode.
|
|
373
|
+
|
|
374
|
+
# Pick a release from here: <https://www.unicode.org/Public/>. Note
|
|
375
|
+
# that the most recent release listed there is often a pre-release;
|
|
376
|
+
# don't pick that one, except for testing.
|
|
377
|
+
UNICODE_VERSION = 16.0.0
|
|
378
|
+
|
|
379
|
+
# Pick a release from here: <http://cldr.unicode.org/index/downloads>
|
|
380
|
+
CLDR_VERSION = 47
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
# Tree-wide build support
|
|
384
|
+
|
|
385
|
+
# Just about every code subdirectory wants to have the generated headers
|
|
386
|
+
# available before building, but we don't want parallel makes all trying
|
|
387
|
+
# to build the same headers. These rules, together with the recursion rules
|
|
388
|
+
# below, ensure that we update the generated headers once, if needed,
|
|
389
|
+
# at the top level of any "make all/install/check/installcheck" request.
|
|
390
|
+
# If a particular subdirectory knows this isn't needed in itself or its
|
|
391
|
+
# children, it can set NO_GENERATED_HEADERS.
|
|
392
|
+
|
|
393
|
+
all install check installcheck: submake-generated-headers
|
|
394
|
+
|
|
395
|
+
.PHONY: submake-generated-headers
|
|
396
|
+
|
|
397
|
+
submake-generated-headers:
|
|
398
|
+
ifndef NO_GENERATED_HEADERS
|
|
399
|
+
ifeq ($(MAKELEVEL),0)
|
|
400
|
+
$(MAKE) -C $(top_builddir)/src/backend generated-headers
|
|
401
|
+
endif
|
|
402
|
+
endif
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
# Testing
|
|
406
|
+
|
|
407
|
+
# In much the same way as above, these rules ensure that we build a temp
|
|
408
|
+
# install tree just once in any recursive "make check". The additional test
|
|
409
|
+
# on abs_top_builddir prevents doing anything foolish to the root directory.
|
|
410
|
+
|
|
411
|
+
check: temp-install
|
|
412
|
+
|
|
413
|
+
.PHONY: temp-install
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
# prepend to path if already set, else just set it
|
|
417
|
+
define add_to_path
|
|
418
|
+
$(1)="$(if $($(1)),$(2):$$$(1),$(2))"
|
|
419
|
+
endef
|
|
420
|
+
|
|
421
|
+
# platform-specific environment variable to set shared library path
|
|
422
|
+
# individual ports can override this later, this is the default name
|
|
423
|
+
ld_library_path_var = LD_LIBRARY_PATH
|
|
424
|
+
|
|
425
|
+
# with_temp_install_extra is for individual ports to define if they
|
|
426
|
+
# need something more here. If not defined then the expansion does
|
|
427
|
+
# nothing.
|
|
428
|
+
with_temp_install = \
|
|
429
|
+
PATH="$(abs_top_builddir)/tmp_install$(bindir):$(CURDIR):$$PATH" \
|
|
430
|
+
$(call add_to_path,$(strip $(ld_library_path_var)),$(abs_top_builddir)/tmp_install$(libdir)) \
|
|
431
|
+
INITDB_TEMPLATE='$(abs_top_builddir)'/tmp_install/initdb-template \
|
|
432
|
+
$(with_temp_install_extra)
|
|
433
|
+
|
|
434
|
+
temp-install: | submake-generated-headers
|
|
435
|
+
ifndef NO_TEMP_INSTALL
|
|
436
|
+
ifneq ($(abs_top_builddir),)
|
|
437
|
+
ifeq ($(MAKELEVEL),0)
|
|
438
|
+
rm -rf '$(abs_top_builddir)'/tmp_install
|
|
439
|
+
$(MKDIR_P) '$(abs_top_builddir)'/tmp_install/log
|
|
440
|
+
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
|
|
441
|
+
$(MAKE) -j1 $(if $(CHECKPREP_TOP),-C $(CHECKPREP_TOP),) checkprep >>'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
|
|
442
|
+
|
|
443
|
+
$(with_temp_install) initdb --auth trust --no-sync --no-instructions --lc-messages=C --no-clean '$(abs_top_builddir)'/tmp_install/initdb-template >>'$(abs_top_builddir)'/tmp_install/log/initdb-template.log 2>&1
|
|
444
|
+
endif
|
|
445
|
+
endif
|
|
446
|
+
endif
|
|
447
|
+
|
|
448
|
+
# Tasks to run serially at the end of temp-install. Some EXTRA_INSTALL
|
|
449
|
+
# entries appear more than once in the tree, and parallel installs of the same
|
|
450
|
+
# file can fail with EEXIST.
|
|
451
|
+
checkprep:
|
|
452
|
+
$(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install || exit; done)
|
|
453
|
+
|
|
454
|
+
PROVE =
|
|
455
|
+
# There are common routines in src/test/perl, and some test suites have
|
|
456
|
+
# extra perl modules in their own directory.
|
|
457
|
+
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir)
|
|
458
|
+
# User-supplied prove flags such as --verbose can be provided in PROVE_FLAGS.
|
|
459
|
+
PROVE_FLAGS =
|
|
460
|
+
|
|
461
|
+
ifeq ($(enable_tap_tests),yes)
|
|
462
|
+
|
|
463
|
+
ifndef PGXS
|
|
464
|
+
define prove_installcheck
|
|
465
|
+
echo "# +++ tap install-check in $(subdir) +++" && \
|
|
466
|
+
rm -rf '$(CURDIR)'/tmp_check && \
|
|
467
|
+
$(MKDIR_P) '$(CURDIR)'/tmp_check && \
|
|
468
|
+
cd $(srcdir) && \
|
|
469
|
+
TESTLOGDIR='$(CURDIR)/tmp_check/log' \
|
|
470
|
+
TESTDATADIR='$(CURDIR)/tmp_check' \
|
|
471
|
+
PATH="$(bindir):$(CURDIR):$$PATH" \
|
|
472
|
+
PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)' \
|
|
473
|
+
PG_REGRESS='$(CURDIR)/$(top_builddir)/src/test/regress/pg_regress' \
|
|
474
|
+
share_contrib_dir='$(DESTDIR)$(datadir)/$(datamoduledir)' \
|
|
475
|
+
$(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) $(if $(PROVE_TESTS),$(PROVE_TESTS),t/*.pl)
|
|
476
|
+
endef
|
|
477
|
+
else # PGXS case
|
|
478
|
+
define prove_installcheck
|
|
479
|
+
echo "# +++ tap install-check in $(subdir) +++" && \
|
|
480
|
+
rm -rf '$(CURDIR)'/tmp_check && \
|
|
481
|
+
$(MKDIR_P) '$(CURDIR)'/tmp_check && \
|
|
482
|
+
cd $(srcdir) && \
|
|
483
|
+
TESTLOGDIR='$(CURDIR)/tmp_check/log' \
|
|
484
|
+
TESTDATADIR='$(CURDIR)/tmp_check' \
|
|
485
|
+
PATH="$(bindir):$(CURDIR):$$PATH" \
|
|
486
|
+
PGPORT='6$(DEF_PGPORT)' \
|
|
487
|
+
PG_REGRESS='$(top_builddir)/src/test/regress/pg_regress' \
|
|
488
|
+
$(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) $(if $(PROVE_TESTS),$(PROVE_TESTS),t/*.pl)
|
|
489
|
+
endef
|
|
490
|
+
endif # PGXS
|
|
491
|
+
|
|
492
|
+
define prove_check
|
|
493
|
+
echo "# +++ tap check in $(subdir) +++" && \
|
|
494
|
+
rm -rf '$(CURDIR)'/tmp_check && \
|
|
495
|
+
$(MKDIR_P) '$(CURDIR)'/tmp_check && \
|
|
496
|
+
cd $(srcdir) && \
|
|
497
|
+
TESTLOGDIR='$(CURDIR)/tmp_check/log' \
|
|
498
|
+
TESTDATADIR='$(CURDIR)/tmp_check' \
|
|
499
|
+
$(with_temp_install) \
|
|
500
|
+
PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)' \
|
|
501
|
+
PG_REGRESS='$(CURDIR)/$(top_builddir)/src/test/regress/pg_regress' \
|
|
502
|
+
share_contrib_dir='$(abs_top_builddir)/tmp_install$(datadir)/$(datamoduledir)' \
|
|
503
|
+
$(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) $(if $(PROVE_TESTS),$(PROVE_TESTS),t/*.pl)
|
|
504
|
+
endef
|
|
505
|
+
|
|
506
|
+
else
|
|
507
|
+
prove_installcheck = @echo "TAP tests not enabled. Try configuring with --enable-tap-tests"
|
|
508
|
+
prove_check = $(prove_installcheck)
|
|
509
|
+
endif
|
|
510
|
+
|
|
511
|
+
# Installation.
|
|
512
|
+
|
|
513
|
+
install_bin = /usr/bin/install -c
|
|
514
|
+
install_sh = $(SHELL) $(top_srcdir)/config/install-sh -c
|
|
515
|
+
INSTALL = $(if $(use_install_sh),$(install_sh),$(if $(install_bin),$(install_bin),$(install_sh)))
|
|
516
|
+
|
|
517
|
+
INSTALL_SCRIPT_MODE = 755
|
|
518
|
+
INSTALL_DATA_MODE = 644
|
|
519
|
+
INSTALL_PROGRAM = $(INSTALL_PROGRAM_ENV) $(INSTALL) $(INSTALL_STRIP_FLAG)
|
|
520
|
+
INSTALL_SCRIPT = $(INSTALL) -m $(INSTALL_SCRIPT_MODE)
|
|
521
|
+
INSTALL_DATA = $(INSTALL) -m $(INSTALL_DATA_MODE)
|
|
522
|
+
INSTALL_STLIB = $(INSTALL_STLIB_ENV) $(INSTALL_DATA) $(INSTALL_STRIP_FLAG)
|
|
523
|
+
INSTALL_SHLIB = $(INSTALL_SHLIB_ENV) $(INSTALL) $(INSTALL_SHLIB_OPTS) $(INSTALL_STRIP_FLAG)
|
|
524
|
+
# Override in Makefile.port if necessary
|
|
525
|
+
INSTALL_SHLIB_OPTS = -m 755
|
|
526
|
+
|
|
527
|
+
MKDIR_P = /usr/bin/mkdir -p
|
|
528
|
+
|
|
529
|
+
missing = $(SHELL) $(top_srcdir)/config/missing
|
|
530
|
+
|
|
531
|
+
STRIP = strip
|
|
532
|
+
STRIP_STATIC_LIB = strip --strip-unneeded
|
|
533
|
+
STRIP_SHARED_LIB = strip --strip-unneeded
|
|
534
|
+
|
|
535
|
+
# Documentation
|
|
536
|
+
|
|
537
|
+
DBTOEPUB =
|
|
538
|
+
FOP =
|
|
539
|
+
XMLLINT = /c/Strawberry/c/bin/xmllint
|
|
540
|
+
XSLTPROC = /c/Strawberry/c/bin/xsltproc
|
|
541
|
+
|
|
542
|
+
# Code coverage
|
|
543
|
+
|
|
544
|
+
GCOV =
|
|
545
|
+
LCOV =
|
|
546
|
+
GENHTML =
|
|
547
|
+
|
|
548
|
+
# Feature settings
|
|
549
|
+
|
|
550
|
+
DEF_PGPORT = 5432
|
|
551
|
+
WANTED_LANGUAGES =
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
##########################################################################
|
|
555
|
+
#
|
|
556
|
+
# Additional platform-specific settings
|
|
557
|
+
#
|
|
558
|
+
|
|
559
|
+
# Name of the "template"
|
|
560
|
+
PORTNAME= win32
|
|
561
|
+
|
|
562
|
+
build_os = mingw64
|
|
563
|
+
|
|
564
|
+
host_tuple = x86_64-pc-mingw64
|
|
565
|
+
host_os = mingw64
|
|
566
|
+
host_cpu = x86_64
|
|
567
|
+
|
|
568
|
+
# Backend stack size limit has to be hard-wired on Windows (it's in bytes)
|
|
569
|
+
WIN32_STACK_RLIMIT=4194304
|
|
570
|
+
|
|
571
|
+
DLSUFFIX = .dll
|
|
572
|
+
|
|
573
|
+
# Pull in platform-specific magic
|
|
574
|
+
include $(top_builddir)/src/Makefile.port
|
|
575
|
+
|
|
576
|
+
# Set up rpath if enabled. By default it will point to our libdir,
|
|
577
|
+
# but individual Makefiles can force other rpath paths if needed.
|
|
578
|
+
rpathdir = $(libdir)
|
|
579
|
+
|
|
580
|
+
ifeq ($(enable_rpath), yes)
|
|
581
|
+
LDFLAGS += $(rpath)
|
|
582
|
+
endif
|
|
583
|
+
|
|
584
|
+
# Show the DLSUFFIX to build scripts (e.g. buildfarm)
|
|
585
|
+
.PHONY: show_dl_suffix
|
|
586
|
+
show_dl_suffix:
|
|
587
|
+
@echo $(DLSUFFIX)
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
##########################################################################
|
|
591
|
+
#
|
|
592
|
+
# Some variables needed to find some client interfaces
|
|
593
|
+
|
|
594
|
+
ifdef PGXS
|
|
595
|
+
# some contribs assumes headers and libs are in the source tree...
|
|
596
|
+
libpq_srcdir = $(includedir)
|
|
597
|
+
libpq_builddir = $(libdir)
|
|
598
|
+
else
|
|
599
|
+
libpq_srcdir = $(top_srcdir)/src/interfaces/libpq
|
|
600
|
+
libpq_builddir = $(top_builddir)/src/interfaces/libpq
|
|
601
|
+
endif
|
|
602
|
+
|
|
603
|
+
# How to link to libpq. (This macro may be used as-is by backend extensions.
|
|
604
|
+
# Client-side code should go through libpq_pgport or libpq_pgport_shlib,
|
|
605
|
+
# instead.)
|
|
606
|
+
libpq = -L$(libpq_builddir) -lpq
|
|
607
|
+
|
|
608
|
+
# libpq_pgport is for use by client executables (not libraries) that use libpq.
|
|
609
|
+
# We used to use this to force libpgport and libpgcommon to be linked before
|
|
610
|
+
# libpq, ensuring that clients would pull symbols from those libraries rather
|
|
611
|
+
# than possibly getting them from libpq (and thereby having an unwanted
|
|
612
|
+
# dependency on which symbols libpq uses). However, now that we can prevent
|
|
613
|
+
# libpq from exporting those symbols on all platforms of interest, we don't
|
|
614
|
+
# worry about that anymore. The previous technique resulted in duplicate
|
|
615
|
+
# libraries in link commands, since those libraries also appear in $(LIBS).
|
|
616
|
+
# Some platforms warn about that, so avoiding those warnings is now more
|
|
617
|
+
# important. Hence, $(libpq_pgport) is now equivalent to $(libpq), but we
|
|
618
|
+
# still recommend using it for client executables in case some other reason
|
|
619
|
+
# appears to handle them differently.
|
|
620
|
+
libpq_pgport = $(libpq)
|
|
621
|
+
|
|
622
|
+
# libpq_pgport_shlib is the same idea, but for use in client shared libraries.
|
|
623
|
+
# We need those clients to use the shlib variants. (Ideally, users of this
|
|
624
|
+
# macro would strip libpgport and libpgcommon from $(LIBS), but no harm is
|
|
625
|
+
# done if they don't, since they will have satisfied all their references
|
|
626
|
+
# from these libraries.)
|
|
627
|
+
ifdef PGXS
|
|
628
|
+
libpq_pgport_shlib = -L$(libdir) -lpgcommon_shlib -lpgport_shlib $(libpq)
|
|
629
|
+
else
|
|
630
|
+
libpq_pgport_shlib = -L$(top_builddir)/src/common -lpgcommon_shlib -L$(top_builddir)/src/port -lpgport_shlib $(libpq)
|
|
631
|
+
endif
|
|
632
|
+
|
|
633
|
+
# Cygwin seems to need ldap libraries to be mentioned here, too
|
|
634
|
+
ifeq ($(PORTNAME),cygwin)
|
|
635
|
+
libpq_pgport += $(LDAP_LIBS_FE)
|
|
636
|
+
endif
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
##########################################################################
|
|
640
|
+
#
|
|
641
|
+
# Commonly used submake targets
|
|
642
|
+
|
|
643
|
+
submake-libpq: | submake-generated-headers
|
|
644
|
+
$(MAKE) -C $(libpq_builddir) all
|
|
645
|
+
|
|
646
|
+
submake-libpgport: | submake-generated-headers
|
|
647
|
+
$(MAKE) -C $(top_builddir)/src/port all
|
|
648
|
+
$(MAKE) -C $(top_builddir)/src/common all
|
|
649
|
+
|
|
650
|
+
submake-libpgfeutils: | submake-generated-headers
|
|
651
|
+
$(MAKE) -C $(top_builddir)/src/port all
|
|
652
|
+
$(MAKE) -C $(top_builddir)/src/common all
|
|
653
|
+
$(MAKE) -C $(top_builddir)/src/fe_utils all
|
|
654
|
+
|
|
655
|
+
.PHONY: submake-libpq submake-libpgport submake-libpgfeutils
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
##########################################################################
|
|
659
|
+
#
|
|
660
|
+
# Testing support
|
|
661
|
+
|
|
662
|
+
# Store any configure-time setting for PG_TEST_EXTRA, but let environment
|
|
663
|
+
# variables override it to maintain the historical behavior of the tests.
|
|
664
|
+
# (Standard `=` assignment would require devs to use a commandline option.)
|
|
665
|
+
# This is skipped in PGXS mode to keep the setting from escaping into other
|
|
666
|
+
# projects' builds.
|
|
667
|
+
ifndef PGXS
|
|
668
|
+
PG_TEST_EXTRA ?=
|
|
669
|
+
export PG_TEST_EXTRA
|
|
670
|
+
endif
|
|
671
|
+
|
|
672
|
+
ifneq ($(USE_MODULE_DB),)
|
|
673
|
+
PL_TESTDB = pl_regression_$(NAME)
|
|
674
|
+
ifneq ($(MODULE_big),)
|
|
675
|
+
CONTRIB_TESTDB=contrib_regression_$(MODULE_big)
|
|
676
|
+
ISOLATION_TESTDB=isolation_regression_$(MODULE_big)
|
|
677
|
+
else
|
|
678
|
+
ifneq ($(MODULES),)
|
|
679
|
+
CONTRIB_TESTDB=contrib_regression_$(word 1,$(MODULES))
|
|
680
|
+
ISOLATION_TESTDB=isolation_regression_$(word 1,$(MODULES))
|
|
681
|
+
else
|
|
682
|
+
CONTRIB_TESTDB=contrib_regression_$(word 1,$(REGRESS))
|
|
683
|
+
ISOLATION_TESTDB=isolation_regression_$(word 1,$(ISOLATION))
|
|
684
|
+
endif
|
|
685
|
+
endif
|
|
686
|
+
else
|
|
687
|
+
PL_TESTDB = pl_regression
|
|
688
|
+
CONTRIB_TESTDB = contrib_regression
|
|
689
|
+
ISOLATION_TESTDB = isolation_regression
|
|
690
|
+
endif
|
|
691
|
+
|
|
692
|
+
ifdef NO_LOCALE
|
|
693
|
+
NOLOCALE += --no-locale
|
|
694
|
+
endif
|
|
695
|
+
|
|
696
|
+
# file with extra config for temp build
|
|
697
|
+
TEMP_CONF =
|
|
698
|
+
ifdef TEMP_CONFIG
|
|
699
|
+
TEMP_CONF += --temp-config=$(TEMP_CONFIG)
|
|
700
|
+
endif
|
|
701
|
+
|
|
702
|
+
pg_regress_locale_flags = $(if $(ENCODING),--encoding=$(ENCODING)) $(NOLOCALE)
|
|
703
|
+
pg_regress_clean_files = results/ regression.diffs regression.out tmp_check/ tmp_check_iso/ log/ output_iso/
|
|
704
|
+
|
|
705
|
+
pg_regress_check = \
|
|
706
|
+
echo "\# +++ regress check in $(subdir) +++" && \
|
|
707
|
+
$(with_temp_install) \
|
|
708
|
+
$(top_builddir)/src/test/regress/pg_regress \
|
|
709
|
+
--temp-instance=./tmp_check \
|
|
710
|
+
--inputdir=$(srcdir) \
|
|
711
|
+
--bindir= \
|
|
712
|
+
$(TEMP_CONF) \
|
|
713
|
+
$(pg_regress_locale_flags) $(EXTRA_REGRESS_OPTS)
|
|
714
|
+
pg_regress_installcheck = \
|
|
715
|
+
echo "\# +++ regress install-check in $(subdir) +++" && \
|
|
716
|
+
$(top_builddir)/src/test/regress/pg_regress \
|
|
717
|
+
--inputdir=$(srcdir) \
|
|
718
|
+
--bindir='$(bindir)' \
|
|
719
|
+
$(pg_regress_locale_flags) $(EXTRA_REGRESS_OPTS)
|
|
720
|
+
|
|
721
|
+
pg_isolation_regress_check = \
|
|
722
|
+
echo "\# +++ isolation check in $(subdir) +++" && \
|
|
723
|
+
$(with_temp_install) \
|
|
724
|
+
$(top_builddir)/src/test/isolation/pg_isolation_regress \
|
|
725
|
+
--temp-instance=./tmp_check_iso \
|
|
726
|
+
--inputdir=$(srcdir) --outputdir=output_iso \
|
|
727
|
+
--bindir= \
|
|
728
|
+
$(TEMP_CONF) \
|
|
729
|
+
$(pg_regress_locale_flags) $(EXTRA_REGRESS_OPTS)
|
|
730
|
+
pg_isolation_regress_installcheck = \
|
|
731
|
+
echo "\# +++ isolation install-check in $(subdir) +++" && \
|
|
732
|
+
$(top_builddir)/src/test/isolation/pg_isolation_regress \
|
|
733
|
+
--inputdir=$(srcdir) --outputdir=output_iso \
|
|
734
|
+
--bindir='$(bindir)' \
|
|
735
|
+
$(pg_regress_locale_flags) $(EXTRA_REGRESS_OPTS)
|
|
736
|
+
|
|
737
|
+
##########################################################################
|
|
738
|
+
#
|
|
739
|
+
# Customization
|
|
740
|
+
#
|
|
741
|
+
# This includes your local customizations if Makefile.custom exists
|
|
742
|
+
# in the source directory. This file doesn't exist in the original
|
|
743
|
+
# distribution so that it doesn't get overwritten when you upgrade.
|
|
744
|
+
#
|
|
745
|
+
# NOTE: Makefile.custom is from the pre-Autoconf days of PostgreSQL.
|
|
746
|
+
# You are liable to shoot yourself in the foot if you use it without
|
|
747
|
+
# knowing exactly what you're doing. The preferred (and more
|
|
748
|
+
# reliable) method is to communicate what you want to do to the
|
|
749
|
+
# configure script, and leave the makefiles alone.
|
|
750
|
+
|
|
751
|
+
-include $(top_srcdir)/src/Makefile.custom
|
|
752
|
+
|
|
753
|
+
ifneq ($(CUSTOM_INSTALL),)
|
|
754
|
+
INSTALL= $(CUSTOM_INSTALL)
|
|
755
|
+
endif
|
|
756
|
+
|
|
757
|
+
ifneq ($(CUSTOM_CC),)
|
|
758
|
+
CC= $(CUSTOM_CC)
|
|
759
|
+
endif
|
|
760
|
+
|
|
761
|
+
ifneq ($(CUSTOM_COPT),)
|
|
762
|
+
COPT= $(CUSTOM_COPT)
|
|
763
|
+
endif
|
|
764
|
+
|
|
765
|
+
#
|
|
766
|
+
# These variables are meant to be set in the environment of "make"
|
|
767
|
+
# to add flags to whatever configure picked. Unlike the ones above,
|
|
768
|
+
# they are documented.
|
|
769
|
+
#
|
|
770
|
+
ifdef COPT
|
|
771
|
+
CFLAGS += $(COPT)
|
|
772
|
+
CXXFLAGS += $(COPT)
|
|
773
|
+
LDFLAGS += $(COPT)
|
|
774
|
+
endif
|
|
775
|
+
|
|
776
|
+
ifdef PROFILE
|
|
777
|
+
CFLAGS += $(PROFILE)
|
|
778
|
+
LDFLAGS += $(PROFILE)
|
|
779
|
+
endif
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
##########################################################################
|
|
783
|
+
#
|
|
784
|
+
# substitute implementations of C library routines (see src/port/)
|
|
785
|
+
# note we already included -L.../src/port in LDFLAGS above
|
|
786
|
+
|
|
787
|
+
LIBOBJS = ${LIBOBJDIR}explicit_bzero$U.o ${LIBOBJDIR}getpeereid$U.o ${LIBOBJDIR}inet_aton$U.o ${LIBOBJDIR}mkdtemp$U.o ${LIBOBJDIR}strlcat$U.o ${LIBOBJDIR}strlcpy$U.o ${LIBOBJDIR}strsep$U.o ${LIBOBJDIR}timingsafe_bcmp$U.o ${LIBOBJDIR}strtof$U.o ${LIBOBJDIR}getopt$U.o ${LIBOBJDIR}getopt_long$U.o ${LIBOBJDIR}dirmod$U.o ${LIBOBJDIR}kill$U.o ${LIBOBJDIR}open$U.o ${LIBOBJDIR}system$U.o ${LIBOBJDIR}win32common$U.o ${LIBOBJDIR}win32dlopen$U.o ${LIBOBJDIR}win32env$U.o ${LIBOBJDIR}win32error$U.o ${LIBOBJDIR}win32fdatasync$U.o ${LIBOBJDIR}win32gai_strerror$U.o ${LIBOBJDIR}win32getrusage$U.o ${LIBOBJDIR}win32link$U.o ${LIBOBJDIR}win32ntdll$U.o ${LIBOBJDIR}win32pread$U.o ${LIBOBJDIR}win32pwrite$U.o ${LIBOBJDIR}win32security$U.o ${LIBOBJDIR}win32setlocale$U.o ${LIBOBJDIR}win32stat$U.o
|
|
788
|
+
|
|
789
|
+
# files needed for the chosen CRC-32C implementation
|
|
790
|
+
PG_CRC32C_OBJS = pg_crc32c_sse42.o pg_crc32c_sb8.o pg_crc32c_sse42_choose.o
|
|
791
|
+
|
|
792
|
+
LIBS := -lpgcommon -lpgport $(LIBS)
|
|
793
|
+
|
|
794
|
+
# to make ws2_32.lib the last library
|
|
795
|
+
ifeq ($(PORTNAME),win32)
|
|
796
|
+
LIBS += -lws2_32
|
|
797
|
+
endif
|
|
798
|
+
|
|
799
|
+
# Not really standard libc functions, used by the backend.
|
|
800
|
+
TAS =
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
##########################################################################
|
|
804
|
+
#
|
|
805
|
+
# Global targets and rules
|
|
806
|
+
|
|
807
|
+
%.c: %.l
|
|
808
|
+
$(FLEX) $(if $(FLEX_NO_BACKUP),-b) $(FLEXFLAGS) -o'$@' $<
|
|
809
|
+
@$(if $(FLEX_NO_BACKUP),if [ `wc -l <lex.backup` -eq 1 ]; then rm lex.backup; else echo "Scanner requires backup; see lex.backup." 1>&2; exit 1; fi)
|
|
810
|
+
|
|
811
|
+
%.c: %.y
|
|
812
|
+
$(if $(BISON_CHECK_CMD),$(BISON_CHECK_CMD))
|
|
813
|
+
$(BISON) $(BISONFLAGS) -o $@ $<
|
|
814
|
+
|
|
815
|
+
%.i: %.c
|
|
816
|
+
$(CPP) $(CPPFLAGS) -o $@ $<
|
|
817
|
+
|
|
818
|
+
%.gz: %
|
|
819
|
+
$(GZIP) --best -c $< >$@
|
|
820
|
+
|
|
821
|
+
%.bz2: %
|
|
822
|
+
$(BZIP2) -c $< >$@
|
|
823
|
+
|
|
824
|
+
# Direct builds of foo.c -> foo are disabled to avoid generating
|
|
825
|
+
# *.dSYM junk on Macs. All builds should normally go through the
|
|
826
|
+
# foo.c -> foo.o -> foo steps. This also ensures that dependency
|
|
827
|
+
# tracking (see below) is used.
|
|
828
|
+
%: %.c
|
|
829
|
+
|
|
830
|
+
# Replace gmake's default rule for linking a single .o file to produce an
|
|
831
|
+
# executable. The main point here is to put LDFLAGS after the .o file,
|
|
832
|
+
# since we put -l switches into LDFLAGS and those are order-sensitive.
|
|
833
|
+
# In addition, include CFLAGS and LDFLAGS_EX per project conventions.
|
|
834
|
+
%: %.o
|
|
835
|
+
$(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
|
|
836
|
+
|
|
837
|
+
ifndef PGXS
|
|
838
|
+
|
|
839
|
+
# Remake Makefile.global from Makefile.global.in if the latter
|
|
840
|
+
# changed. In order to trigger this rule, the including file must
|
|
841
|
+
# write `include $(top_builddir)/src/Makefile.global', not some
|
|
842
|
+
# shortcut thereof.
|
|
843
|
+
$(top_builddir)/src/Makefile.global: $(top_srcdir)/src/Makefile.global.in $(top_builddir)/config.status
|
|
844
|
+
cd $(top_builddir) && ./config.status src/Makefile.global
|
|
845
|
+
|
|
846
|
+
# Remake pg_config.h from pg_config.h.in if the latter changed.
|
|
847
|
+
# config.status will not change the timestamp on pg_config.h if it
|
|
848
|
+
# doesn't change, so as to avoid recompiling the entire tree
|
|
849
|
+
# unnecessarily. Therefore we make config.status update a timestamp file
|
|
850
|
+
# stamp-h every time it runs, so that we don't trigger this rule every time.
|
|
851
|
+
# (We do trigger the null rule for stamp-h to pg_config.h every time; so it's
|
|
852
|
+
# important for that rule to be empty!)
|
|
853
|
+
#
|
|
854
|
+
# Of course you need to turn on dependency tracking to get any
|
|
855
|
+
# dependencies on pg_config.h.
|
|
856
|
+
$(top_builddir)/src/include/pg_config.h: $(top_builddir)/src/include/stamp-h ;
|
|
857
|
+
|
|
858
|
+
$(top_builddir)/src/include/stamp-h: $(top_srcdir)/src/include/pg_config.h.in $(top_builddir)/config.status
|
|
859
|
+
cd $(top_builddir) && ./config.status src/include/pg_config.h
|
|
860
|
+
|
|
861
|
+
# Also remake ecpg_config.h from ecpg_config.h.in if the latter changed, same
|
|
862
|
+
# logic as above.
|
|
863
|
+
$(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h: $(top_builddir)/src/interfaces/ecpg/include/stamp-h ;
|
|
864
|
+
|
|
865
|
+
$(top_builddir)/src/interfaces/ecpg/include/stamp-h: $(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h.in $(top_builddir)/config.status
|
|
866
|
+
cd $(top_builddir) && ./config.status src/interfaces/ecpg/include/ecpg_config.h
|
|
867
|
+
|
|
868
|
+
# When configure changes, rerun configure with the same options as
|
|
869
|
+
# last time. To change configure, you need to run autoconf manually.
|
|
870
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure
|
|
871
|
+
cd $(top_builddir) && ./config.status --recheck
|
|
872
|
+
|
|
873
|
+
endif # not PGXS
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
install-strip:
|
|
877
|
+
# install-strip always uses install-sh, so that strip options can be
|
|
878
|
+
# passed.
|
|
879
|
+
$(MAKE) use_install_sh=yes \
|
|
880
|
+
INSTALL_PROGRAM_ENV="STRIPPROG='$(STRIP)'" \
|
|
881
|
+
INSTALL_STLIB_ENV="STRIPPROG='$(STRIP_STATIC_LIB)'" \
|
|
882
|
+
INSTALL_SHLIB_ENV="STRIPPROG='$(STRIP_SHARED_LIB)'" \
|
|
883
|
+
INSTALL_STRIP_FLAG=-s \
|
|
884
|
+
install
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
##########################################################################
|
|
888
|
+
#
|
|
889
|
+
# Recursive make support
|
|
890
|
+
# ----------------------
|
|
891
|
+
# Instead of recursing through subdirectories with a for loop or
|
|
892
|
+
# repeated $(MAKE) -C whatever calls, this is a little smarter: it
|
|
893
|
+
# allows parallel make across directories and lets make -k and -q work
|
|
894
|
+
# correctly.
|
|
895
|
+
|
|
896
|
+
# We need the ability to export target-specific variables, which was
|
|
897
|
+
# added in GNU make 3.81. That also happens to be the version
|
|
898
|
+
# where the .FEATURES variable was introduced, so this is a simple check.
|
|
899
|
+
ifndef .FEATURES
|
|
900
|
+
$(error GNU make 3.81 or newer is required. You are using version $(MAKE_VERSION))
|
|
901
|
+
endif
|
|
902
|
+
|
|
903
|
+
# This function is only for internal use below. It should be called
|
|
904
|
+
# using $(eval). It will set up a target so that it recurses into a
|
|
905
|
+
# given subdirectory. For the tree-wide all/install/check/installcheck cases,
|
|
906
|
+
# ensure we do our one-time tasks before recursing (see targets above).
|
|
907
|
+
# Note that to avoid a nasty bug in make 3.80,
|
|
908
|
+
# this function was written to not use any complicated constructs (like
|
|
909
|
+
# multiple targets on a line) and also not contain any lines that expand
|
|
910
|
+
# to more than about 200 bytes. This is why we make it apply to just one
|
|
911
|
+
# subdirectory at a time, rather than to a list of subdirectories.
|
|
912
|
+
# $1: target name, e.g., all
|
|
913
|
+
# $2: subdir name
|
|
914
|
+
# $3: target to run in subdir, usually same as $1
|
|
915
|
+
define _create_recursive_target
|
|
916
|
+
.PHONY: $(1)-$(2)-recurse
|
|
917
|
+
$(1): $(1)-$(2)-recurse
|
|
918
|
+
$(1)-$(2)-recurse: $(if $(filter all install check installcheck, $(3)), submake-generated-headers) $(if $(filter check, $(3)), temp-install)
|
|
919
|
+
$$(MAKE) -C $(2) $(3)
|
|
920
|
+
endef
|
|
921
|
+
# Note that the use of $$ on the last line above is important; we want
|
|
922
|
+
# $(MAKE) to be evaluated when the rule is run, not when the $(eval) is run
|
|
923
|
+
# to create the rule. This is necessary to get make -q working.
|
|
924
|
+
|
|
925
|
+
# Call this function in a makefile that needs to recurse into subdirectories.
|
|
926
|
+
# In the normal case all arguments can be defaulted.
|
|
927
|
+
# $1: targets to make recursive (defaults to list of standard targets)
|
|
928
|
+
# $2: list of subdirs (defaults to SUBDIRS variable)
|
|
929
|
+
# $3: target to run in subdir (defaults to current element of $1)
|
|
930
|
+
recurse = $(foreach target,$(if $1,$1,$(standard_targets)),$(foreach subdir,$(if $2,$2,$(SUBDIRS)),$(eval $(call _create_recursive_target,$(target),$(subdir),$(if $3,$3,$(target))))))
|
|
931
|
+
|
|
932
|
+
# If a makefile's list of SUBDIRS varies depending on configuration, then
|
|
933
|
+
# any subdirectories excluded from SUBDIRS should instead be added to
|
|
934
|
+
# ALWAYS_SUBDIRS, and then it must call recurse_always as well as recurse.
|
|
935
|
+
# This ensures that distclean, etc will apply to all subdirectories.
|
|
936
|
+
# In the normal case all arguments will be defaulted.
|
|
937
|
+
# $1: targets to make recursive (defaults to standard_always_targets)
|
|
938
|
+
# $2: list of subdirs (defaults to ALWAYS_SUBDIRS variable)
|
|
939
|
+
# $3: target to run in subdir (defaults to current element of $1)
|
|
940
|
+
recurse_always = $(foreach target,$(if $1,$1,$(standard_always_targets)),$(foreach subdir,$(if $2,$2,$(ALWAYS_SUBDIRS)),$(eval $(call _create_recursive_target,$(target),$(subdir),$(if $3,$3,$(target))))))
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
##########################################################################
|
|
944
|
+
#
|
|
945
|
+
# Automatic dependency generation
|
|
946
|
+
# -------------------------------
|
|
947
|
+
# When we configure with --enable-depend then we override the default
|
|
948
|
+
# compilation rule with the magic below. While or after creating the
|
|
949
|
+
# actual output file we also create a dependency list for the .c file.
|
|
950
|
+
# Next time we invoke make we will have top-notch information about
|
|
951
|
+
# whether this file needs to be updated. The dependency files are kept
|
|
952
|
+
# in the .deps subdirectory of each directory.
|
|
953
|
+
|
|
954
|
+
autodepend =
|
|
955
|
+
|
|
956
|
+
ifeq ($(autodepend), yes)
|
|
957
|
+
|
|
958
|
+
ifndef COMPILE.c
|
|
959
|
+
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c
|
|
960
|
+
endif
|
|
961
|
+
|
|
962
|
+
ifndef COMPILE.cc
|
|
963
|
+
COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c
|
|
964
|
+
endif
|
|
965
|
+
|
|
966
|
+
DEPDIR = .deps
|
|
967
|
+
|
|
968
|
+
ifeq ($(GCC), yes)
|
|
969
|
+
|
|
970
|
+
# GCC allows us to create object and dependency file in one invocation.
|
|
971
|
+
%.o : %.c
|
|
972
|
+
@if test ! -d $(DEPDIR); then mkdir -p $(DEPDIR); fi
|
|
973
|
+
$(COMPILE.c) -o $@ $< -MMD -MP -MF $(DEPDIR)/$(*F).Po
|
|
974
|
+
|
|
975
|
+
%.o : %.cpp
|
|
976
|
+
@if test ! -d $(DEPDIR); then mkdir -p $(DEPDIR); fi
|
|
977
|
+
$(COMPILE.cc) -o $@ $< -MMD -MP -MF $(DEPDIR)/$(*F).Po
|
|
978
|
+
|
|
979
|
+
endif # GCC
|
|
980
|
+
|
|
981
|
+
# Include all the dependency files generated for the current
|
|
982
|
+
# directory. Note that make would complain if include was called with
|
|
983
|
+
# no arguments.
|
|
984
|
+
Po_files := $(wildcard $(DEPDIR)/*.Po)
|
|
985
|
+
ifneq (,$(Po_files))
|
|
986
|
+
include $(Po_files)
|
|
987
|
+
endif
|
|
988
|
+
|
|
989
|
+
# hook for clean-up
|
|
990
|
+
clean distclean: clean-deps
|
|
991
|
+
|
|
992
|
+
.PHONY: clean-deps
|
|
993
|
+
clean-deps:
|
|
994
|
+
@rm -rf $(DEPDIR)
|
|
995
|
+
|
|
996
|
+
endif # autodepend
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
##########################################################################
|
|
1000
|
+
#
|
|
1001
|
+
# Native language support
|
|
1002
|
+
|
|
1003
|
+
ifeq ($(enable_nls), yes)
|
|
1004
|
+
ifneq (,$(wildcard $(srcdir)/nls.mk))
|
|
1005
|
+
|
|
1006
|
+
include $(top_srcdir)/src/nls-global.mk
|
|
1007
|
+
|
|
1008
|
+
endif # nls.mk
|
|
1009
|
+
endif # enable_nls
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
##########################################################################
|
|
1013
|
+
#
|
|
1014
|
+
# Coverage
|
|
1015
|
+
|
|
1016
|
+
# Explanation of involved files:
|
|
1017
|
+
# foo.c source file
|
|
1018
|
+
# foo.o object file
|
|
1019
|
+
# foo.gcno gcov graph (a.k.a. "notes") file, created at compile time
|
|
1020
|
+
# (by gcc -ftest-coverage)
|
|
1021
|
+
# foo.gcda gcov data file, created when the program is run (for
|
|
1022
|
+
# programs compiled with gcc -fprofile-arcs)
|
|
1023
|
+
# foo.c.gcov gcov output file with coverage information, created by
|
|
1024
|
+
# gcov from foo.gcda (by "make coverage")
|
|
1025
|
+
# foo.c.gcov.out stdout captured when foo.c.gcov is created, mildly
|
|
1026
|
+
# interesting
|
|
1027
|
+
# lcov_test.info
|
|
1028
|
+
# lcov tracefile, built from gcda files in one directory,
|
|
1029
|
+
# later collected by "make coverage-html"
|
|
1030
|
+
# lcov_base.info
|
|
1031
|
+
# tracefile for zero counters for every file, so that
|
|
1032
|
+
# even files that are not touched by tests are counted
|
|
1033
|
+
# for the overall coverage rate
|
|
1034
|
+
|
|
1035
|
+
ifeq ($(enable_coverage), yes)
|
|
1036
|
+
|
|
1037
|
+
# make coverage -- text output
|
|
1038
|
+
|
|
1039
|
+
local_gcda_files = $(wildcard *.gcda)
|
|
1040
|
+
|
|
1041
|
+
coverage: $(local_gcda_files:.gcda=.c.gcov)
|
|
1042
|
+
|
|
1043
|
+
%.c.gcov: %.gcda
|
|
1044
|
+
$(GCOV) -b -f -p -o . $(GCOVFLAGS) $*.c >$*.c.gcov.out
|
|
1045
|
+
|
|
1046
|
+
# make coverage-html -- HTML output via lcov
|
|
1047
|
+
|
|
1048
|
+
.PHONY: coverage-html
|
|
1049
|
+
coverage-html: coverage-html-stamp
|
|
1050
|
+
|
|
1051
|
+
GENHTML_FLAGS = -q --legend
|
|
1052
|
+
GENHTML_TITLE = PostgreSQL $(VERSION)
|
|
1053
|
+
|
|
1054
|
+
coverage-html-stamp: lcov_base.info lcov_test.info
|
|
1055
|
+
rm -rf coverage
|
|
1056
|
+
$(GENHTML) $(GENHTML_FLAGS) -o coverage --title='$(GENHTML_TITLE)' --num-spaces=4 $(if $(filter no,$(vpath_build)),--prefix='$(abs_top_srcdir)') $^
|
|
1057
|
+
touch $@
|
|
1058
|
+
|
|
1059
|
+
LCOV += --gcov-tool $(GCOV)
|
|
1060
|
+
LCOVFLAGS = -q --no-external
|
|
1061
|
+
|
|
1062
|
+
all_gcno_files = $(shell find . -name '*.gcno' -print)
|
|
1063
|
+
|
|
1064
|
+
lcov_base.info: $(all_gcno_files)
|
|
1065
|
+
$(LCOV) $(LCOVFLAGS) -c -i -d . -d $(srcdir) -o $@
|
|
1066
|
+
|
|
1067
|
+
all_gcda_files = $(shell find . -name '*.gcda' -print)
|
|
1068
|
+
|
|
1069
|
+
lcov_test.info: $(all_gcda_files)
|
|
1070
|
+
$(LCOV) $(LCOVFLAGS) -c -d . -d $(srcdir) -o $@
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
# hook for clean-up
|
|
1074
|
+
clean distclean: clean-coverage
|
|
1075
|
+
|
|
1076
|
+
.PHONY: clean-coverage
|
|
1077
|
+
clean-coverage:
|
|
1078
|
+
rm -rf coverage coverage-html-stamp
|
|
1079
|
+
rm -f *.gcda *.gcno lcov*.info *.gcov .*.gcov *.gcov.out
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
# User-callable target to reset counts between test runs
|
|
1083
|
+
coverage-clean:
|
|
1084
|
+
rm -f `find . -name '*.gcda' -print`
|
|
1085
|
+
|
|
1086
|
+
endif # enable_coverage
|
|
1087
|
+
|
|
1088
|
+
##########################################################################
|
|
1089
|
+
#
|
|
1090
|
+
# LLVM support
|
|
1091
|
+
#
|
|
1092
|
+
|
|
1093
|
+
ifndef COMPILE.c.bc
|
|
1094
|
+
# -Wno-ignored-attributes added so gnu_printf doesn't trigger
|
|
1095
|
+
# warnings, when the main binary is compiled with C.
|
|
1096
|
+
COMPILE.c.bc = $(CLANG) -Wno-ignored-attributes $(BITCODE_CFLAGS) $(CPPFLAGS) -flto=thin -emit-llvm -c
|
|
1097
|
+
endif
|
|
1098
|
+
|
|
1099
|
+
ifndef COMPILE.cxx.bc
|
|
1100
|
+
COMPILE.cxx.bc = $(CLANG) -xc++ -Wno-ignored-attributes $(BITCODE_CXXFLAGS) $(CPPFLAGS) -flto=thin -emit-llvm -c
|
|
1101
|
+
endif
|
|
1102
|
+
|
|
1103
|
+
%.bc : %.c
|
|
1104
|
+
$(COMPILE.c.bc) -o $@ $<
|
|
1105
|
+
|
|
1106
|
+
%.bc : %.cpp
|
|
1107
|
+
$(COMPILE.cxx.bc) -o $@ $<
|
|
1108
|
+
|
|
1109
|
+
# Install LLVM bitcode module (for JITing).
|
|
1110
|
+
#
|
|
1111
|
+
# The arguments are:
|
|
1112
|
+
# $(1) name of the module (e.g. an extension's name or postgres for core code)
|
|
1113
|
+
# $(2) source objects, with .o suffix
|
|
1114
|
+
#
|
|
1115
|
+
# The many INSTALL_DATA invocations aren't particularly fast, it'd be
|
|
1116
|
+
# good if we could coalesce them, but I didn't find a good way.
|
|
1117
|
+
#
|
|
1118
|
+
# Note: blank line at end of macro is necessary to let it be used in foreach
|
|
1119
|
+
define install_llvm_module
|
|
1120
|
+
$(MKDIR_P) '$(DESTDIR)${bitcodedir}/$(1)'
|
|
1121
|
+
$(MKDIR_P) $(sort $(dir $(addprefix '$(DESTDIR)${bitcodedir}'/$(1)/, $(2))))
|
|
1122
|
+
$(foreach obj, ${2}, $(INSTALL_DATA) $(patsubst %.o,%.bc, $(obj)) '$(DESTDIR)${bitcodedir}'/$(1)/$(dir $(obj))
|
|
1123
|
+
)
|
|
1124
|
+
cd '$(DESTDIR)${bitcodedir}' && $(LLVM_BINPATH)/llvm-lto -thinlto -thinlto-action=thinlink -o $(1).index.bc $(addprefix $(1)/,$(patsubst %.o,%.bc, $(2)))
|
|
1125
|
+
|
|
1126
|
+
endef
|
|
1127
|
+
|
|
1128
|
+
# Uninstall LLVM bitcode module.
|
|
1129
|
+
#
|
|
1130
|
+
# The arguments are:
|
|
1131
|
+
# $(1) name of the module (e.g. an extension's name or postgres for core code)
|
|
1132
|
+
#
|
|
1133
|
+
# This intentionally doesn't use the explicit installed file list,
|
|
1134
|
+
# seems too likely to change regularly.
|
|
1135
|
+
define uninstall_llvm_module
|
|
1136
|
+
rm -rf '$(DESTDIR)${bitcodedir}/$(1)/'
|
|
1137
|
+
rm -f '$(DESTDIR)${bitcodedir}/$(1).index.bc'
|
|
1138
|
+
|
|
1139
|
+
endef
|