Make the order of the header file includes consistent

Similar to commit 7e735035f2.

Author: Richard Guo <guofenglinux@gmail.com>
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAMbWs4-WhpCFMbXCjtJ%2BFzmjfPrp7Hw1pk4p%2BZpU95Kh3ofZ1A%40mail.gmail.com
This commit is contained in:
Peter Eisentraut 2024-03-13 15:07:00 +01:00
parent 97d4262683
commit 97d85be365
58 changed files with 69 additions and 69 deletions

View File

@ -21,8 +21,8 @@
#include "storage/itemptr.h" #include "storage/itemptr.h"
#include "utils/array.h" #include "utils/array.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/pg_lsn.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "utils/pg_lsn.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "utils/ruleutils.h" #include "utils/ruleutils.h"
#include "utils/varlena.h" #include "utils/varlena.h"

View File

@ -47,6 +47,7 @@
#include "catalog/pg_ts_dict.h" #include "catalog/pg_ts_dict.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "commands/defrem.h" #include "commands/defrem.h"
#include "commands/tablecmds.h"
#include "nodes/makefuncs.h" #include "nodes/makefuncs.h"
#include "nodes/nodeFuncs.h" #include "nodes/nodeFuncs.h"
#include "nodes/plannodes.h" #include "nodes/plannodes.h"
@ -60,7 +61,6 @@
#include "utils/rel.h" #include "utils/rel.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include "utils/typcache.h" #include "utils/typcache.h"
#include "commands/tablecmds.h"
/* /*
* Global context for foreign_expr_walker's search of an expression tree. * Global context for foreign_expr_walker's search of an expression tree.

View File

@ -13,9 +13,9 @@
#include "postgres.h" #include "postgres.h"
#include "fmgr.h"
#include "common/cryptohash.h" #include "common/cryptohash.h"
#include "common/sha1.h" #include "common/sha1.h"
#include "fmgr.h"
#include "port/pg_bswap.h" #include "port/pg_bswap.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/uuid.h" #include "utils/uuid.h"

View File

@ -114,22 +114,22 @@
*/ */
#include "postgres.h" #include "postgres.h"
#include "access/genam.h" #include <math.h>
#include "access/brin.h" #include "access/brin.h"
#include "access/brin_internal.h" #include "access/brin_internal.h"
#include "access/brin_page.h" #include "access/brin_page.h"
#include "access/brin_tuple.h" #include "access/brin_tuple.h"
#include "access/genam.h"
#include "access/htup_details.h" #include "access/htup_details.h"
#include "access/reloptions.h" #include "access/reloptions.h"
#include "catalog/pg_am.h" #include "catalog/pg_am.h"
#include "catalog/pg_type.h"
#include "catalog/pg_amop.h" #include "catalog/pg_amop.h"
#include "catalog/pg_type.h"
#include "common/hashfn.h" #include "common/hashfn.h"
#include "utils/fmgrprotos.h" #include "utils/fmgrprotos.h"
#include "utils/rel.h" #include "utils/rel.h"
#include <math.h>
#define BloomEqualStrategyNumber 1 #define BloomEqualStrategyNumber 1
/* /*

View File

@ -59,16 +59,16 @@
/* needed for PGSQL_AF_INET */ /* needed for PGSQL_AF_INET */
#include <sys/socket.h> #include <sys/socket.h>
#include "access/genam.h"
#include "access/brin.h" #include "access/brin.h"
#include "access/brin_internal.h" #include "access/brin_internal.h"
#include "access/brin_tuple.h" #include "access/brin_tuple.h"
#include "access/genam.h"
#include "access/htup_details.h"
#include "access/reloptions.h" #include "access/reloptions.h"
#include "access/stratnum.h" #include "access/stratnum.h"
#include "access/htup_details.h"
#include "catalog/pg_type.h"
#include "catalog/pg_am.h" #include "catalog/pg_am.h"
#include "catalog/pg_amop.h" #include "catalog/pg_amop.h"
#include "catalog/pg_type.h"
#include "utils/array.h" #include "utils/array.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/date.h" #include "utils/date.h"

View File

@ -20,8 +20,8 @@
#include "access/printsimple.h" #include "access/printsimple.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "libpq/protocol.h"
#include "libpq/pqformat.h" #include "libpq/pqformat.h"
#include "libpq/protocol.h"
#include "utils/builtins.h" #include "utils/builtins.h"
/* /*

View File

@ -27,8 +27,8 @@
#include "commands/vacuum.h" #include "commands/vacuum.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "nodes/execnodes.h" #include "nodes/execnodes.h"
#include "pgstat.h"
#include "optimizer/plancat.h" #include "optimizer/plancat.h"
#include "pgstat.h"
#include "utils/fmgrprotos.h" #include "utils/fmgrprotos.h"
#include "utils/index_selfuncs.h" #include "utils/index_selfuncs.h"
#include "utils/rel.h" #include "utils/rel.h"

View File

@ -23,8 +23,8 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "pgstat.h" #include "pgstat.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "utils/snapmgr.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "utils/snapmgr.h"
/* Working data for heap_page_prune and subroutines */ /* Working data for heap_page_prune and subroutines */
typedef struct typedef struct

View File

@ -40,8 +40,8 @@
#include "postgres.h" #include "postgres.h"
#include "access/spgist.h" #include "access/spgist.h"
#include "common/int.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "common/int.h"
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"
#include "utils/datum.h" #include "utils/datum.h"
#include "utils/fmgrprotos.h" #include "utils/fmgrprotos.h"

View File

@ -26,8 +26,8 @@
#include "common/percentrepl.h" #include "common/percentrepl.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "pgstat.h" #include "pgstat.h"
#include "postmaster/startup.h"
#include "postmaster/pgarch.h" #include "postmaster/pgarch.h"
#include "postmaster/startup.h"
#include "replication/walsender.h" #include "replication/walsender.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "storage/ipc.h" #include "storage/ipc.h"

View File

@ -32,16 +32,16 @@
#include "catalog/pg_control.h" #include "catalog/pg_control.h"
#include "catalog/storage_xlog.h" #include "catalog/storage_xlog.h"
#include "commands/dbcommands_xlog.h" #include "commands/dbcommands_xlog.h"
#include "utils/fmgrprotos.h"
#include "utils/timestamp.h"
#include "funcapi.h" #include "funcapi.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "port/atomics.h" #include "port/atomics.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "storage/shmem.h" #include "storage/shmem.h"
#include "storage/smgr.h" #include "storage/smgr.h"
#include "utils/fmgrprotos.h"
#include "utils/guc_hooks.h" #include "utils/guc_hooks.h"
#include "utils/hsearch.h" #include "utils/hsearch.h"
#include "utils/timestamp.h"
/* /*
* Every time we process this much WAL, we'll update the values in * Every time we process this much WAL, we'll update the values in

View File

@ -23,9 +23,9 @@
#include "backup/basebackup_incremental.h" #include "backup/basebackup_incremental.h"
#include "backup/walsummary.h" #include "backup/walsummary.h"
#include "common/blkreftable.h" #include "common/blkreftable.h"
#include "common/parse_manifest.h"
#include "common/hashfn.h" #include "common/hashfn.h"
#include "common/int.h" #include "common/int.h"
#include "common/parse_manifest.h"
#include "datatype/timestamp.h" #include "datatype/timestamp.h"
#include "postmaster/walsummarizer.h" #include "postmaster/walsummarizer.h"
#include "utils/timestamp.h" #include "utils/timestamp.h"

View File

@ -22,8 +22,8 @@
#include "catalog/dependency.h" #include "catalog/dependency.h"
#include "catalog/indexing.h" #include "catalog/indexing.h"
#include "catalog/namespace.h" #include "catalog/namespace.h"
#include "catalog/partition.h"
#include "catalog/objectaddress.h" #include "catalog/objectaddress.h"
#include "catalog/partition.h"
#include "catalog/pg_inherits.h" #include "catalog/pg_inherits.h"
#include "catalog/pg_namespace.h" #include "catalog/pg_namespace.h"
#include "catalog/pg_publication.h" #include "catalog/pg_publication.h"

View File

@ -32,8 +32,8 @@
#include "statistics/statistics.h" #include "statistics/statistics.h"
#include "utils/acl.h" #include "utils/acl.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/inval.h" #include "utils/inval.h"
#include "utils/lsyscache.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "utils/syscache.h" #include "utils/syscache.h"
#include "utils/typcache.h" #include "utils/typcache.h"

View File

@ -34,8 +34,8 @@
#include "access/tableam.h" #include "access/tableam.h"
#include "access/transam.h" #include "access/transam.h"
#include "access/xact.h" #include "access/xact.h"
#include "catalog/namespace.h"
#include "catalog/index.h" #include "catalog/index.h"
#include "catalog/namespace.h"
#include "catalog/pg_database.h" #include "catalog/pg_database.h"
#include "catalog/pg_inherits.h" #include "catalog/pg_inherits.h"
#include "commands/cluster.h" #include "commands/cluster.h"

View File

@ -29,8 +29,8 @@
#include "optimizer/plancat.h" #include "optimizer/plancat.h"
#include "optimizer/restrictinfo.h" #include "optimizer/restrictinfo.h"
#include "optimizer/tlist.h" #include "optimizer/tlist.h"
#include "rewrite/rewriteManip.h"
#include "parser/parse_relation.h" #include "parser/parse_relation.h"
#include "rewrite/rewriteManip.h"
#include "utils/hsearch.h" #include "utils/hsearch.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"

View File

@ -18,14 +18,14 @@
#include "access/sysattr.h" #include "access/sysattr.h"
#include "nodes/makefuncs.h" #include "nodes/makefuncs.h"
#include "parser/analyze.h" #include "parser/analyze.h"
#include "parser/parse_collate.h"
#include "parser/parsetree.h"
#include "parser/parse_clause.h" #include "parser/parse_clause.h"
#include "parser/parse_collate.h"
#include "parser/parse_cte.h" #include "parser/parse_cte.h"
#include "parser/parse_expr.h" #include "parser/parse_expr.h"
#include "parser/parse_merge.h" #include "parser/parse_merge.h"
#include "parser/parse_relation.h" #include "parser/parse_relation.h"
#include "parser/parse_target.h" #include "parser/parse_target.h"
#include "parser/parsetree.h"
#include "utils/rel.h" #include "utils/rel.h"
static void setNamespaceForMergeWhen(ParseState *pstate, static void setNamespaceForMergeWhen(ParseState *pstate,

View File

@ -21,8 +21,8 @@
#include "postgres.h" #include "postgres.h"
#include "mb/pg_wchar.h"
#include "gramparse.h" #include "gramparse.h"
#include "mb/pg_wchar.h"
#include "parser/parser.h" #include "parser/parser.h"
#include "parser/scansup.h" #include "parser/scansup.h"

View File

@ -38,8 +38,8 @@
#include "replication/walreceiver.h" #include "replication/walreceiver.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "storage/ipc.h" #include "storage/ipc.h"
#include "storage/lwlock.h"
#include "storage/latch.h" #include "storage/latch.h"
#include "storage/lwlock.h"
#include "storage/proc.h" #include "storage/proc.h"
#include "storage/procsignal.h" #include "storage/procsignal.h"
#include "storage/shmem.h" #include "storage/shmem.h"

View File

@ -107,10 +107,10 @@
#include "replication/logicallauncher.h" #include "replication/logicallauncher.h"
#include "replication/logicalrelation.h" #include "replication/logicalrelation.h"
#include "replication/logicalworker.h" #include "replication/logicalworker.h"
#include "replication/origin.h"
#include "replication/slot.h"
#include "replication/walreceiver.h" #include "replication/walreceiver.h"
#include "replication/worker_internal.h" #include "replication/worker_internal.h"
#include "replication/slot.h"
#include "replication/origin.h"
#include "storage/ipc.h" #include "storage/ipc.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#include "utils/acl.h" #include "utils/acl.h"

View File

@ -16,8 +16,8 @@
#include "catalog/pg_operator_d.h" #include "catalog/pg_operator_d.h"
#include "catalog/pg_type_d.h" #include "catalog/pg_type_d.h"
#include "nodes/makefuncs.h" #include "nodes/makefuncs.h"
#include "nodes/pg_list.h"
#include "nodes/parsenodes.h" #include "nodes/parsenodes.h"
#include "nodes/pg_list.h"
#include "nodes/primnodes.h" #include "nodes/primnodes.h"
#include "parser/analyze.h" #include "parser/analyze.h"
#include "parser/parsetree.h" #include "parser/parsetree.h"

View File

@ -23,9 +23,9 @@
#include "catalog/indexing.h" #include "catalog/indexing.h"
#include "catalog/pg_statistic_ext.h" #include "catalog/pg_statistic_ext.h"
#include "catalog/pg_statistic_ext_data.h" #include "catalog/pg_statistic_ext_data.h"
#include "executor/executor.h"
#include "commands/defrem.h" #include "commands/defrem.h"
#include "commands/progress.h" #include "commands/progress.h"
#include "executor/executor.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "nodes/nodeFuncs.h" #include "nodes/nodeFuncs.h"
#include "optimizer/optimizer.h" #include "optimizer/optimizer.h"

View File

@ -18,18 +18,18 @@
#include <unistd.h> #include <unistd.h>
#include "access/parallel.h" #include "access/parallel.h"
#include "port/pg_bitutils.h"
#include "commands/async.h" #include "commands/async.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "pgstat.h" #include "pgstat.h"
#include "port/pg_bitutils.h"
#include "replication/logicalworker.h" #include "replication/logicalworker.h"
#include "replication/walsender.h" #include "replication/walsender.h"
#include "storage/condition_variable.h" #include "storage/condition_variable.h"
#include "storage/ipc.h" #include "storage/ipc.h"
#include "storage/latch.h" #include "storage/latch.h"
#include "storage/shmem.h" #include "storage/shmem.h"
#include "storage/smgr.h"
#include "storage/sinval.h" #include "storage/sinval.h"
#include "storage/smgr.h"
#include "tcop/tcopprot.h" #include "tcop/tcopprot.h"
#include "utils/memutils.h" #include "utils/memutils.h"

View File

@ -18,8 +18,8 @@
#include <fcntl.h> #include <fcntl.h>
#include <sys/file.h> #include <sys/file.h>
#include "access/commit_ts.h"
#include "access/clog.h" #include "access/clog.h"
#include "access/commit_ts.h"
#include "access/multixact.h" #include "access/multixact.h"
#include "access/xlog.h" #include "access/xlog.h"
#include "miscadmin.h" #include "miscadmin.h"

View File

@ -17,9 +17,9 @@
#include "postgres.h" #include "postgres.h"
#include "storage/procsignal.h"
#include "utils/pgstat_internal.h" #include "utils/pgstat_internal.h"
#include "utils/timestamp.h" #include "utils/timestamp.h"
#include "storage/procsignal.h"
static bool pgstat_should_report_connstat(void); static bool pgstat_should_report_connstat(void);

View File

@ -19,12 +19,12 @@
#include "access/twophase_rmgr.h" #include "access/twophase_rmgr.h"
#include "access/xact.h" #include "access/xact.h"
#include "catalog/catalog.h"
#include "postmaster/autovacuum.h" #include "postmaster/autovacuum.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "utils/pgstat_internal.h" #include "utils/pgstat_internal.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "utils/timestamp.h" #include "utils/timestamp.h"
#include "catalog/catalog.h"
/* Record that's written to 2PC state file when pgstat state is persisted */ /* Record that's written to 2PC state file when pgstat state is persisted */

View File

@ -17,8 +17,8 @@
#include "postgres.h" #include "postgres.h"
#include "utils/pgstat_internal.h"
#include "executor/instrument.h" #include "executor/instrument.h"
#include "utils/pgstat_internal.h"
PgStat_PendingWalStats PendingWalStats = {0}; PgStat_PendingWalStats PendingWalStats = {0};

View File

@ -13,13 +13,13 @@
#include "postgres.h" #include "postgres.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "libpq/pqformat.h"
#include "common/int.h" #include "common/int.h"
#include "common/pg_prng.h" #include "common/pg_prng.h"
#include "libpq/pqformat.h"
#include "port/pg_bitutils.h" #include "port/pg_bitutils.h"
#include "utils/array.h" #include "utils/array.h"
#include "utils/datum.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/datum.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "utils/typcache.h" #include "utils/typcache.h"

View File

@ -19,8 +19,8 @@
#include "nodes/subscripting.h" #include "nodes/subscripting.h"
#include "parser/parse_coerce.h" #include "parser/parse_coerce.h"
#include "parser/parse_expr.h" #include "parser/parse_expr.h"
#include "utils/jsonb.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/jsonb.h"
/* SubscriptingRefState.workspace for jsonb subscripting execution */ /* SubscriptingRefState.workspace for jsonb subscripting execution */

View File

@ -65,8 +65,8 @@
#include "lib/stringinfo.h" #include "lib/stringinfo.h"
#include "libpq/pqformat.h" #include "libpq/pqformat.h"
#include "nodes/miscnodes.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "nodes/miscnodes.h"
#include "utils/fmgrprotos.h" #include "utils/fmgrprotos.h"
#include "utils/json.h" #include "utils/json.h"
#include "utils/jsonpath.h" #include "utils/jsonpath.h"

View File

@ -39,11 +39,11 @@
#include "libpq/pqformat.h" #include "libpq/pqformat.h"
#include "nodes/nodes.h" #include "nodes/nodes.h"
#include "port/pg_bitutils.h" #include "port/pg_bitutils.h"
#include "utils/array.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "utils/rangetypes.h"
#include "utils/multirangetypes.h" #include "utils/multirangetypes.h"
#include "utils/array.h" #include "utils/rangetypes.h"
/* fn_extra cache entry for one of the range I/O functions */ /* fn_extra cache entry for one of the range I/O functions */
typedef struct MultirangeIOData typedef struct MultirangeIOData

View File

@ -25,8 +25,8 @@
#include "utils/float.h" #include "utils/float.h"
#include "utils/fmgrprotos.h" #include "utils/fmgrprotos.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "utils/rangetypes.h"
#include "utils/multirangetypes.h" #include "utils/multirangetypes.h"
#include "utils/rangetypes.h"
#include "utils/selfuncs.h" #include "utils/selfuncs.h"
#include "utils/typcache.h" #include "utils/typcache.h"

View File

@ -18,8 +18,8 @@
#include <limits.h> #include <limits.h>
#include <ctype.h> #include <ctype.h>
#include "utils/builtins.h"
#include "port/pg_bitutils.h" #include "port/pg_bitutils.h"
#include "utils/builtins.h"
/* /*
* A table of all two-digit numbers. This is used to speed up decimal digit * A table of all two-digit numbers. This is used to speed up decimal digit

View File

@ -29,8 +29,8 @@
#include "utils/float.h" #include "utils/float.h"
#include "utils/fmgrprotos.h" #include "utils/fmgrprotos.h"
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "utils/rangetypes.h"
#include "utils/multirangetypes.h" #include "utils/multirangetypes.h"
#include "utils/rangetypes.h"
#include "varatt.h" #include "varatt.h"
static int float8_qsort_cmp(const void *a1, const void *a2, void *arg); static int float8_qsort_cmp(const void *a1, const void *a2, void *arg);

View File

@ -70,8 +70,8 @@
#include "libpq/libpq.h" #include "libpq/libpq.h"
#include "libpq/pqformat.h" #include "libpq/pqformat.h"
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"
#include "nodes/miscnodes.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "nodes/miscnodes.h"
#include "pgstat.h" #include "pgstat.h"
#include "postmaster/bgworker.h" #include "postmaster/bgworker.h"
#include "postmaster/postmaster.h" #include "postmaster/postmaster.h"

View File

@ -19,8 +19,8 @@
*/ */
#include "postgres.h" #include "postgres.h"
#include "mb/stringinfo_mb.h"
#include "mb/pg_wchar.h" #include "mb/pg_wchar.h"
#include "mb/stringinfo_mb.h"
/* /*

View File

@ -82,11 +82,11 @@
#include "utils/float.h" #include "utils/float.h"
#include "utils/guc_hooks.h" #include "utils/guc_hooks.h"
#include "utils/guc_tables.h" #include "utils/guc_tables.h"
#include "utils/inval.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "utils/pg_locale.h" #include "utils/pg_locale.h"
#include "utils/plancache.h" #include "utils/plancache.h"
#include "utils/ps_status.h" #include "utils/ps_status.h"
#include "utils/inval.h"
#include "utils/xml.h" #include "utils/xml.h"
/* This value is normally passed in from the Makefile */ /* This value is normally passed in from the Makefile */

View File

@ -26,10 +26,10 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "utils/datetime.h"
#include "utils/guc.h" #include "utils/guc.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "utils/tzparser.h" #include "utils/tzparser.h"
#include "utils/datetime.h"
#define WHITESPACE " \t\n\r" #define WHITESPACE " \t\n\r"

View File

@ -49,8 +49,8 @@
#include "port/pg_bitutils.h" #include "port/pg_bitutils.h"
#include "utils/memdebug.h" #include "utils/memdebug.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "utils/memutils_memorychunk.h"
#include "utils/memutils_internal.h" #include "utils/memutils_internal.h"
#include "utils/memutils_memorychunk.h"
/*-------------------- /*--------------------
* Chunk freelist k holds chunks of size 1 << (k + ALLOC_MINBITS), * Chunk freelist k holds chunks of size 1 << (k + ALLOC_MINBITS),

View File

@ -39,8 +39,8 @@
#include "port/pg_bitutils.h" #include "port/pg_bitutils.h"
#include "utils/memdebug.h" #include "utils/memdebug.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "utils/memutils_memorychunk.h"
#include "utils/memutils_internal.h" #include "utils/memutils_internal.h"
#include "utils/memutils_memorychunk.h"
#define Generation_BLOCKHDRSZ MAXALIGN(sizeof(GenerationBlock)) #define Generation_BLOCKHDRSZ MAXALIGN(sizeof(GenerationBlock))

View File

@ -71,8 +71,8 @@
#include "lib/ilist.h" #include "lib/ilist.h"
#include "utils/memdebug.h" #include "utils/memdebug.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#include "utils/memutils_memorychunk.h"
#include "utils/memutils_internal.h" #include "utils/memutils_internal.h"
#include "utils/memutils_memorychunk.h"
#define Slab_BLOCKHDRSZ MAXALIGN(sizeof(SlabBlock)) #define Slab_BLOCKHDRSZ MAXALIGN(sizeof(SlabBlock))

View File

@ -27,8 +27,8 @@
#include "executor/executor.h" #include "executor/executor.h"
#include "pg_trace.h" #include "pg_trace.h"
#include "utils/datum.h" #include "utils/datum.h"
#include "utils/lsyscache.h"
#include "utils/guc.h" #include "utils/guc.h"
#include "utils/lsyscache.h"
#include "utils/tuplesort.h" #include "utils/tuplesort.h"

View File

@ -14,8 +14,8 @@
#include <unistd.h> #include <unistd.h>
#include "bbstreamer.h" #include "bbstreamer.h"
#include "common/logging.h"
#include "common/file_perm.h" #include "common/file_perm.h"
#include "common/logging.h"
#include "common/string.h" #include "common/string.h"
typedef struct bbstreamer_plain_writer typedef struct bbstreamer_plain_writer

View File

@ -18,8 +18,8 @@
#endif #endif
#include "bbstreamer.h" #include "bbstreamer.h"
#include "common/logging.h"
#include "common/file_perm.h" #include "common/file_perm.h"
#include "common/logging.h"
#include "common/string.h" #include "common/string.h"
#ifdef HAVE_LIBZ #ifdef HAVE_LIBZ

View File

@ -18,8 +18,8 @@
#endif #endif
#include "bbstreamer.h" #include "bbstreamer.h"
#include "common/logging.h"
#include "common/file_perm.h" #include "common/file_perm.h"
#include "common/logging.h"
#include "common/string.h" #include "common/string.h"
#ifdef USE_LZ4 #ifdef USE_LZ4

View File

@ -15,8 +15,8 @@
#include "access/xlogdefs.h" #include "access/xlogdefs.h"
#include "backup_label.h" #include "backup_label.h"
#include "common/logging.h"
#include "common/file_perm.h" #include "common/file_perm.h"
#include "common/logging.h"
#include "write_manifest.h" #include "write_manifest.h"
static int get_eol_offset(StringInfo buf); static int get_eol_offset(StringInfo buf);

View File

@ -25,9 +25,9 @@
#include "common/logging.h" #include "common/logging.h"
#include "copy_file.h" #include "copy_file.h"
#include "fe_utils/option_utils.h" #include "fe_utils/option_utils.h"
#include "getopt_long.h"
#include "lib/stringinfo.h" #include "lib/stringinfo.h"
#include "load_manifest.h" #include "load_manifest.h"
#include "getopt_long.h"
#include "reconstruct.h" #include "reconstruct.h"
#include "write_manifest.h" #include "write_manifest.h"

View File

@ -15,8 +15,8 @@
#include <unistd.h> #include <unistd.h>
#include "backup/basebackup_incremental.h" #include "backup/basebackup_incremental.h"
#include "common/logging.h"
#include "common/file_perm.h" #include "common/file_perm.h"
#include "common/logging.h"
#include "copy_file.h" #include "copy_file.h"
#include "lib/stringinfo.h" #include "lib/stringinfo.h"
#include "reconstruct.h" #include "reconstruct.h"

View File

@ -12,9 +12,9 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
#include "pg_backup_utils.h"
#include "compress_lz4.h" #include "compress_lz4.h"
#include "pg_backup_utils.h"
#ifdef USE_LZ4 #ifdef USE_LZ4
#include <lz4frame.h> #include <lz4frame.h>

View File

@ -14,8 +14,8 @@
#include "postgres_fe.h" #include "postgres_fe.h"
#include "pg_backup_utils.h"
#include "compress_zstd.h" #include "compress_zstd.h"
#include "pg_backup_utils.h"
#ifndef USE_ZSTD #ifndef USE_ZSTD

View File

@ -11,8 +11,8 @@
#include <ctype.h> #include <ctype.h>
#include "pg_upgrade.h"
#include "common/string.h" #include "common/string.h"
#include "pg_upgrade.h"
/* /*

View File

@ -19,8 +19,8 @@
#include "common/int.h" #include "common/int.h"
#include "common/logging.h" #include "common/logging.h"
#include "fe_utils/option_utils.h" #include "fe_utils/option_utils.h"
#include "lib/stringinfo.h"
#include "getopt_long.h" #include "getopt_long.h"
#include "lib/stringinfo.h"
typedef struct ws_options typedef struct ws_options
{ {

View File

@ -18,9 +18,9 @@
#include "postgres_fe.h" #include "postgres_fe.h"
#include "pg_regress.h"
#include "common/string.h" #include "common/string.h"
#include "lib/stringinfo.h" #include "lib/stringinfo.h"
#include "pg_regress.h"
/* /*

View File

@ -8,9 +8,9 @@
#include "access/htup_details.h" #include "access/htup_details.h"
#include "access/transam.h" #include "access/transam.h"
#include "funcapi.h"
#include "catalog/pg_proc.h" #include "catalog/pg_proc.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "funcapi.h"
#include "plpy_elog.h" #include "plpy_elog.h"
#include "plpy_main.h" #include "plpy_main.h"
#include "plpy_procedure.h" #include "plpy_procedure.h"

View File

@ -19,9 +19,9 @@
#include "fmgr.h" #include "fmgr.h"
#include "storage/condition_variable.h" #include "storage/condition_variable.h"
#include "storage/dsm_registry.h"
#include "storage/lwlock.h" #include "storage/lwlock.h"
#include "storage/shmem.h" #include "storage/shmem.h"
#include "storage/dsm_registry.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/injection_point.h" #include "utils/injection_point.h"
#include "utils/wait_event.h" #include "utils/wait_event.h"

View File

@ -15,9 +15,9 @@
#include <float.h> #include <float.h>
#include <stdio.h> #include <stdio.h>
#include "libpq/auth.h"
#include "libpq/libpq.h" #include "libpq/libpq.h"
#include "libpq/libpq-be.h" #include "libpq/libpq-be.h"
#include "libpq/auth.h"
#include "utils/guc.h" #include "utils/guc.h"
PG_MODULE_MAGIC; PG_MODULE_MAGIC;

View File

@ -13,8 +13,8 @@
#include "postgres.h" #include "postgres.h"
#include "fmgr.h" #include "fmgr.h"
#include "utils/dsa.h"
#include "storage/lwlock.h" #include "storage/lwlock.h"
#include "utils/dsa.h"
#include "utils/resowner.h" #include "utils/resowner.h"
PG_MODULE_MAGIC; PG_MODULE_MAGIC;

View File

@ -39,10 +39,10 @@
#include "fmgr.h" #include "fmgr.h"
#include "lib/stringinfo.h" #include "lib/stringinfo.h"
#include "pgstat.h" #include "pgstat.h"
#include "tcop/utility.h"
#include "utils/acl.h" #include "utils/acl.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/snapmgr.h" #include "utils/snapmgr.h"
#include "tcop/utility.h"
PG_MODULE_MAGIC; PG_MODULE_MAGIC;