Skip to content

Commit 6416a82

Browse files
committed
Remove unnecessary #include references, per pgrminclude script.
1 parent 63d06ef commit 6416a82

File tree

308 files changed

+22
-647
lines changed

Some content is hidden

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

308 files changed

+22
-647
lines changed

contrib/auto_explain/auto_explain.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include "commands/explain.h"
1616
#include "executor/instrument.h"
17-
#include "utils/guc.h"
1817

1918
PG_MODULE_MAGIC;
2019

contrib/btree_gin/btree_gin.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include <limits.h>
77

8-
#include "fmgr.h"
98
#include "access/skey.h"
109
#include "utils/builtins.h"
1110
#include "utils/bytea.h"

contrib/btree_gist/btree_gist.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
#ifndef __BTREE_GIST_H__
55
#define __BTREE_GIST_H__
66

7-
#include "access/gist.h"
8-
#include "access/itup.h"
7+
#include "fmgr.h"
98
#include "access/nbtree.h"
109

1110
#define BtreeGistNotEqualStrategyNumber 6

contrib/btree_gist/btree_utils_num.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#define __BTREE_UTILS_NUM_H__
66

77
#include "btree_gist.h"
8+
#include "access/gist.h"
89
#include "utils/rel.h"
910

1011
#include <math.h>

contrib/btree_gist/btree_utils_var.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include "btree_gist.h"
88

9+
#include "access/gist.h"
910
#include "mb/pg_wchar.h"
1011

1112
/* Variable length key */

contrib/citext/citext.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include "access/hash.h"
77
#include "catalog/pg_collation.h"
8-
#include "fmgr.h"
98
#include "utils/builtins.h"
109
#include "utils/formatting.h"
1110

contrib/cube/cube.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
#include "access/gist.h"
1515
#include "access/skey.h"
16-
#include "lib/stringinfo.h"
17-
#include "utils/array.h"
1816
#include "utils/builtins.h"
1917

2018
#include "cubedata.h"

contrib/dblink/dblink.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,36 +35,21 @@
3535
#include <limits.h>
3636

3737
#include "libpq-fe.h"
38-
#include "fmgr.h"
3938
#include "funcapi.h"
40-
#include "access/genam.h"
41-
#include "access/heapam.h"
42-
#include "access/tupdesc.h"
4339
#include "catalog/indexing.h"
4440
#include "catalog/namespace.h"
45-
#include "catalog/pg_index.h"
4641
#include "catalog/pg_type.h"
47-
#include "executor/executor.h"
4842
#include "executor/spi.h"
4943
#include "foreign/foreign.h"
50-
#include "lib/stringinfo.h"
5144
#include "mb/pg_wchar.h"
5245
#include "miscadmin.h"
53-
#include "nodes/execnodes.h"
54-
#include "nodes/nodes.h"
55-
#include "nodes/pg_list.h"
56-
#include "parser/parse_type.h"
5746
#include "parser/scansup.h"
5847
#include "utils/acl.h"
59-
#include "utils/array.h"
6048
#include "utils/builtins.h"
61-
#include "utils/dynahash.h"
6249
#include "utils/fmgroids.h"
63-
#include "utils/hsearch.h"
6450
#include "utils/lsyscache.h"
6551
#include "utils/memutils.h"
6652
#include "utils/rel.h"
67-
#include "utils/syscache.h"
6853
#include "utils/tqual.h"
6954

7055
#include "dblink.h"

contrib/dict_int/dict_int.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "postgres.h"
1414

1515
#include "commands/defrem.h"
16-
#include "fmgr.h"
1716
#include "tsearch/ts_public.h"
1817

1918
PG_MODULE_MAGIC;

contrib/dict_xsyn/dict_xsyn.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <ctype.h>
1616

1717
#include "commands/defrem.h"
18-
#include "fmgr.h"
1918
#include "tsearch/ts_locale.h"
2019
#include "tsearch/ts_utils.h"
2120

contrib/fuzzystrmatch/fuzzystrmatch.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040

4141
#include <ctype.h>
4242

43-
#include "fmgr.h"
4443
#include "mb/pg_wchar.h"
4544
#include "utils/builtins.h"
4645

contrib/hstore/hstore_compat.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
*/
8484
#include "postgres.h"
8585

86-
#include "funcapi.h"
8786

8887
#include "hstore.h"
8988

contrib/hstore/hstore_gist.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include "postgres.h"
55

66
#include "access/gist.h"
7-
#include "access/itup.h"
87
#include "access/skey.h"
98
#include "catalog/pg_type.h"
109

contrib/hstore/hstore_io.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
#include <ctype.h>
77

8-
#include "access/heapam.h"
9-
#include "access/htup.h"
108
#include "catalog/pg_type.h"
119
#include "funcapi.h"
1210
#include "libpq/pqformat.h"

contrib/hstore/hstore_op.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#include "postgres.h"
55

66
#include "access/hash.h"
7-
#include "access/heapam.h"
8-
#include "access/htup.h"
97
#include "catalog/pg_type.h"
108
#include "funcapi.h"
119
#include "utils/builtins.h"

contrib/intarray/_int_op.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*/
44
#include "postgres.h"
55

6-
#include "lib/stringinfo.h"
76

87
#include "_int.h"
98

contrib/lo/lo.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "commands/trigger.h"
1111
#include "executor/spi.h"
1212
#include "libpq/be-fsstubs.h"
13-
#include "libpq/libpq-fs.h"
1413
#include "utils/rel.h"
1514

1615

contrib/ltree/_ltree_gist.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include "access/gist.h"
1111
#include "access/skey.h"
12-
#include "utils/array.h"
1312
#include "crc32.h"
1413
#include "ltree.h"
1514

contrib/ltree/_ltree_op.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include <ctype.h>
1111

12-
#include "utils/array.h"
1312
#include "ltree.h"
1413

1514
PG_FUNCTION_INFO_V1(_ltree_isparent);

contrib/ltree/lquery_op.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <ctype.h>
99

1010
#include "catalog/pg_collation.h"
11-
#include "utils/array.h"
1211
#include "utils/formatting.h"
1312
#include "ltree.h"
1413

contrib/ltree/ltree_gist.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
#include "postgres.h"
77

88
#include "access/gist.h"
9-
#include "access/nbtree.h"
109
#include "access/skey.h"
11-
#include "utils/array.h"
1210
#include "crc32.h"
1311
#include "ltree.h"
1412

contrib/ltree/ltree_op.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "utils/builtins.h"
1212
#include "utils/lsyscache.h"
1313
#include "utils/selfuncs.h"
14-
#include "utils/syscache.h"
1514
#include "ltree.h"
1615

1716
PG_MODULE_MAGIC;

contrib/pageinspect/btreefuncs.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@
2727

2828
#include "postgres.h"
2929

30-
#include "access/heapam.h"
3130
#include "access/nbtree.h"
3231
#include "catalog/namespace.h"
33-
#include "catalog/pg_type.h"
3432
#include "funcapi.h"
3533
#include "miscadmin.h"
36-
#include "storage/bufmgr.h"
3734
#include "utils/builtins.h"
3835
#include "utils/rel.h"
3936

contrib/pageinspect/fsmfuncs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919

2020
#include "postgres.h"
21-
#include "lib/stringinfo.h"
2221
#include "storage/fsm_internals.h"
2322
#include "utils/builtins.h"
2423
#include "miscadmin.h"

contrib/pageinspect/heapfuncs.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@
2525

2626
#include "postgres.h"
2727

28-
#include "fmgr.h"
2928
#include "funcapi.h"
30-
#include "access/heapam.h"
31-
#include "access/transam.h"
32-
#include "catalog/namespace.h"
33-
#include "catalog/pg_type.h"
3429
#include "utils/builtins.h"
3530
#include "miscadmin.h"
3631

contrib/pageinspect/rawpage.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@
1515

1616
#include "postgres.h"
1717

18-
#include "access/heapam.h"
19-
#include "access/transam.h"
2018
#include "catalog/catalog.h"
2119
#include "catalog/namespace.h"
22-
#include "catalog/pg_type.h"
23-
#include "fmgr.h"
2420
#include "funcapi.h"
2521
#include "miscadmin.h"
2622
#include "storage/bufmgr.h"

contrib/pg_buffercache/pg_buffercache_pages.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
*/
99
#include "postgres.h"
1010

11-
#include "access/heapam.h"
1211
#include "catalog/pg_type.h"
1312
#include "funcapi.h"
1413
#include "storage/buf_internals.h"
1514
#include "storage/bufmgr.h"
16-
#include "utils/relcache.h"
1715

1816

1917
#define NUM_BUFFERCACHE_PAGES_ELEM 8

contrib/pg_freespacemap/pg_freespacemap.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
*/
99
#include "postgres.h"
1010

11-
#include "access/heapam.h"
1211
#include "funcapi.h"
13-
#include "storage/block.h"
1412
#include "storage/freespace.h"
1513

1614

contrib/pg_stat_statements/pg_stat_statements.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,15 @@
2323
#include <unistd.h>
2424

2525
#include "access/hash.h"
26-
#include "catalog/pg_type.h"
27-
#include "executor/executor.h"
2826
#include "executor/instrument.h"
2927
#include "funcapi.h"
3028
#include "mb/pg_wchar.h"
3129
#include "miscadmin.h"
3230
#include "pgstat.h"
3331
#include "storage/fd.h"
3432
#include "storage/ipc.h"
35-
#include "storage/spin.h"
3633
#include "tcop/utility.h"
3734
#include "utils/builtins.h"
38-
#include "utils/hsearch.h"
39-
#include "utils/guc.h"
4035

4136

4237
PG_MODULE_MAGIC;

contrib/pg_trgm/trgm_gin.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@
66
#include "trgm.h"
77

88
#include "access/gin.h"
9-
#include "access/itup.h"
109
#include "access/skey.h"
11-
#include "access/tuptoaster.h"
12-
#include "storage/bufpage.h"
13-
#include "utils/array.h"
14-
#include "utils/builtins.h"
1510

1611

1712
PG_FUNCTION_INFO_V1(gin_extract_trgm);

contrib/pg_trgm/trgm_gist.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@
55

66
#include "trgm.h"
77

8-
#include "access/gist.h"
9-
#include "access/itup.h"
108
#include "access/skey.h"
11-
#include "access/tuptoaster.h"
12-
#include "storage/bufpage.h"
13-
#include "utils/array.h"
14-
#include "utils/builtins.h"
159

1610

1711
PG_FUNCTION_INFO_V1(gtrgm_in);

contrib/pg_trgm/trgm_op.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include "catalog/pg_type.h"
1111
#include "tsearch/ts_locale.h"
12-
#include "utils/array.h"
1312

1413

1514
PG_MODULE_MAGIC;

contrib/pg_upgrade/version.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
#include "pg_upgrade.h"
1313

14-
#include "access/transam.h"
1514

1615

1716
/*

contrib/pg_upgrade_support/pg_upgrade_support.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111

1212
#include "postgres.h"
1313

14-
#include "fmgr.h"
15-
#include "catalog/dependency.h"
1614
#include "catalog/namespace.h"
17-
#include "catalog/pg_class.h"
1815
#include "catalog/pg_type.h"
1916
#include "commands/extension.h"
2017
#include "miscadmin.h"

contrib/pgcrypto/crypt-blowfish.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434

3535
#include "postgres.h"
3636

37-
#include "px.h"
3837
#include "px-crypt.h"
3938

4039
#ifdef __i386__

contrib/pgcrypto/crypt-des.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262

6363
#include "postgres.h"
6464

65-
#include "px.h"
6665
#include "px-crypt.h"
6766

6867
/* for ntohl/htonl */

contrib/pgcrypto/crypt-gensalt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include "postgres.h"
1616

17-
#include "px.h"
1817
#include "px-crypt.h"
1918

2019
typedef unsigned int BF_word;

contrib/pgcrypto/internal.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
#include "px.h"
3737
#include "md5.h"
3838
#include "sha1.h"
39-
#include "sha2.h"
4039
#include "blf.h"
4140
#include "rijndael.h"
4241
#include "fortuna.h"

contrib/pgcrypto/md5.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535

3636
#include <sys/param.h>
3737

38-
#include "px.h"
3938
#include "md5.h"
4039

4140
#define SHIFT(X, s) (((X) << (s)) | ((X) >> (32 - (s))))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy