8000 Make the order of the header file includes consistent · postgrespro/postgres@97d85be · GitHub
[go: up one dir, main page]

Skip to content

Commit 97d85be

Browse files
committed
Make the order of the header file includes consistent
Similar to commit 7e73503. 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
1 parent 97d4262 commit 97d85be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+69
-69
lines changed

contrib/pageinspect/gistfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#include "storage/itemptr.h"
2222
#include "utils/array.h"
2323
#include "utils/builtins.h"
24-
#include "utils/pg_lsn.h"
2524
#include "utils/lsyscache.h"
25+
#include "utils/pg_lsn.h"
2626
#include "utils/rel.h"
2727
#include "utils/ruleutils.h"
2828
#include "utils/varlena.h"

contrib/postgres_fdw/deparse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include "catalog/pg_ts_dict.h"
4848
#include "catalog/pg_type.h"
4949
#include "commands/defrem.h"
50+
#include "commands/tablecmds.h"
5051
#include "nodes/makefuncs.h"
5152
#include "nodes/nodeFuncs.h"
5253
#include "nodes/plannodes.h"
@@ -60,7 +61,6 @@
6061
#include "utils/rel.h"
6162
#include "utils/syscache.h"
6263
#include "utils/typcache.h"
63-
#include "commands/tablecmds.h"
6464

6565
/*
6666
* Global context for foreign_expr_walker's search of an expression tree.

contrib/uuid-ossp/uuid-ossp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
#include "postgres.h"
1515

16-
#include "fmgr.h"
1716
#include "common/cryptohash.h"
1817
#include "common/sha1.h"
18+
#include "fmgr.h"
1919
#include "port/pg_bswap.h"
2020
#include "utils/builtins.h"
2121
#include "utils/uuid.h"

src/backend/access/brin/brin_bloom.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,22 @@
114114
*/
115115
#include "postgres.h"
116116

117-
#include "access/genam.h"
117+
#include <math.h>
118+
118119
#include "access/brin.h"
119120
#include "access/brin_internal.h"
120121
#include "access/brin_page.h"
121122
#include "access/brin_tuple.h"
123+
#include "access/genam.h"
122124
#include "access/htup_details.h"
123125
#include "access/reloptions.h"
124126
#include "catalog/pg_am.h"
125-
#include "catalog/pg_type.h"
126127
#include "catalog/pg_amop.h"
128+
#include "catalog/pg_type.h"
127129
#include "common/hashfn.h"
128130
#include "utils/fmgrprotos.h"
129131
#include "utils/rel.h"
130132

131-
#include <math.h>
132-
133133
#define BloomEqualStrategyNumber 1
134134

135135
/*

src/backend/access/brin/brin_minmax_multi.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,16 @@
5959
/* needed for PGSQL_AF_INET */
6060
#include <sys/socket.h>
6161

62-
#include "access/genam.h"
6362
#include "access/brin.h"
6463
#include "access/brin_internal.h"
6564
#include "access/brin_tuple.h"
65+
#include "access/genam.h"
66+
#include "access/htup_details.h"
6667
#include "access/reloptions.h"
6768
#include "access/stratnum.h"
68-
#include "access/htup_details.h"
69-
#include "catalog/pg_type.h"
7069
#include "catalog/pg_am.h"
7170
#include "catalog/pg_amop.h"
71+
#include "catalog/pg_type.h"
7272
#include "utils/array.h"
7373
#include "utils/builtins.h"
7474
#include "utils/date.h"

src/backend/access/common/printsimple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
#include "access/printsimple.h"
2222
#include "catalog/pg_type.h"
23-
#include "libpq/protocol.h"
2423
#include "libpq/pqformat.h"
24+
#include "libpq/protocol.h"
2525
#include "utils/builtins.h"
2626

2727
/*

src/backend/access/hash/hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#include "commands/vacuum.h"
2828
#include "miscadmin.h"
2929
#include "nodes/execnodes.h"
30-
#include "pgstat.h"
3130
#include "optimizer/plancat.h"
31+
#include "pgstat.h"
3232
#include "utils/fmgrprotos.h"
3333
#include "utils/index_selfuncs.h"
3434
#include "utils/rel.h"

src/backend/access/heap/pruneheap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include "miscadmin.h"
2424
#include "pgstat.h"
2525
#include "storage/bufmgr.h"
26-
#include "utils/snapmgr.h"
2726
#include "utils/rel.h"
27+
#include "utils/snapmgr.h"
2828

2929
/* Working data for heap_page_prune and subroutines */
3030
typedef struct

src/backend/access/spgist/spgtextproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
#include "postgres.h"
4141

4242
#include "access/spgist.h"
43-
#include "common/int.h"
4443
#include "catalog/pg_type.h"
44+
#include "common/int.h"
4545
#include "mb/pg_wchar.h"
4646
#include "utils/datum.h"
4747
#include "utils/fmgrprotos.h"

src/backend/access/transam/xlogarchive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#include "common/percentrepl.h"
2727
#include "miscadmin.h"
2828
#include "pgstat.h"
29-
#include "postmaster/startup.h"
3029
#include "postmaster/pgarch.h"
30+
#include "postmaster/startup.h"
3131
#include "replication/walsender.h"
3232
#include "storage/fd.h"
3333
#include "storage/ipc.h"

0 commit comments

Comments
 (0)
0