Skip to content

Commit 946e80c

Browse files
committed
Final #include cleanup.
1 parent df43800 commit 946e80c

File tree

26 files changed

+29
-68
lines changed

26 files changed

+29
-68
lines changed

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.70 2000/06/02 10:20:24 vadim Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.71 2000/06/15 04:09:34 momjian Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -81,7 +81,6 @@
8181
#include "access/valid.h"
8282
#include "catalog/catalog.h"
8383
#include "miscadmin.h"
84-
#include "utils/builtins.h"
8584
#include "utils/inval.h"
8685
#include "utils/relcache.h"
8786

src/backend/access/nbtree/nbtree.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.57 2000/06/14 05:24:37 tgl Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.58 2000/06/15 04:09:36 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -25,8 +25,6 @@
2525
#include "catalog/index.h"
2626
#include "executor/executor.h"
2727
#include "miscadmin.h"
28-
#include "tcop/tcopprot.h"
29-
#include "utils/guc.h"
3028

3129
bool BuildingBtree = false; /* see comment in btbuild() */
3230
bool FastBuild = true; /* use sort/build instead of insertion

src/backend/access/nbtree/nbtsort.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,14 @@
2828
* Portions Copyright (c) 1994, Regents of the University of California
2929
*
3030
* IDENTIFICATION
31-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsort.c,v 1.53 2000/05/31 00:28:14 petere Exp $
31+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsort.c,v 1.54 2000/06/15 04:09:36 momjian Exp $
3232
*
3333
*-------------------------------------------------------------------------
3434
*/
3535

3636
#include "postgres.h"
3737

3838
#include "access/nbtree.h"
39-
#include "tcop/tcopprot.h"
40-
#include "utils/guc.h"
4139
#include "utils/tuplesort.h"
4240

4341

src/backend/access/rtree/rtget.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.22 2000/06/15 03:32:00 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.23 2000/06/15 04:09:41 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -18,7 +18,6 @@
1818
#include "access/iqual.h"
1919
#include "access/relscan.h"
2020
#include "access/rtree.h"
21-
#include "storage/off.h"
2221

2322
static OffsetNumber findnext(IndexScanDesc s, Page p, OffsetNumber n,
2423
ScanDirection dir);

src/backend/commands/command.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.79 2000/06/12 03:40:29 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.80 2000/06/15 04:09:45 momjian Exp $
1212
*
1313
* NOTES
1414
* The PortalExecutorHeapMemory crap needs to be eliminated
@@ -37,11 +37,6 @@
3737
#include "commands/trigger.h"
3838
#ifdef _DROP_COLUMN_HACK__
3939
#include "catalog/pg_index.h"
40-
#include "catalog/pg_relcheck.h"
41-
#include "access/genam.h"
42-
#include "commands/comment.h"
43-
#include "commands/defrem.h"
44-
#include "optimizer/clauses.h"
4540
#include "parser/parse.h"
4641
#endif /* _DROP_COLUMN_HACK__ */
4742

src/backend/executor/execAmi.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: execAmi.c,v 1.46 2000/04/12 17:15:07 momjian Exp $
9+
* $Id: execAmi.c,v 1.47 2000/06/15 04:09:50 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -33,7 +33,6 @@
3333
#include "access/heapam.h"
3434
#include "catalog/heap.h"
3535
#include "executor/execdebug.h"
36-
#include "executor/executor.h"
3736
#include "executor/nodeAgg.h"
3837
#include "executor/nodeAppend.h"
3938
#include "executor/nodeGroup.h"

src/backend/executor/execMain.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
*
2929
* IDENTIFICATION
30-
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.116 2000/06/10 05:16:38 tgl Exp $
30+
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.117 2000/06/15 04:09:50 momjian Exp $
3131
*
3232
*-------------------------------------------------------------------------
3333
*/
@@ -38,7 +38,6 @@
3838
#include "commands/trigger.h"
3939
#include "executor/execdebug.h"
4040
#include "executor/execdefs.h"
41-
#include "executor/executor.h"
4241
#include "miscadmin.h"
4342
#include "optimizer/var.h"
4443
#include "parser/parsetree.h"

src/backend/executor/execQual.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.71 2000/06/13 07:34:58 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.72 2000/06/15 04:09:50 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -37,7 +37,6 @@
3737
#include "catalog/pg_language.h"
3838
#include "executor/execFlatten.h"
3939
#include "executor/execdebug.h"
40-
#include "executor/executor.h"
4140
#include "executor/functions.h"
4241
#include "executor/nodeSubplan.h"
4342
#include "utils/builtins.h"

src/backend/executor/execUtils.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.58 2000/06/15 03:32:09 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.59 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -50,7 +50,6 @@
5050
#include "catalog/catalog.h"
5151
#include "catalog/pg_index.h"
5252
#include "executor/execdebug.h"
53-
#include "executor/executor.h"
5453
#include "miscadmin.h"
5554
#include "utils/builtins.h"
5655
#include "utils/fmgroids.h"

src/backend/executor/nodeAppend.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.32 2000/06/10 05:16:38 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.33 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -59,7 +59,6 @@
5959

6060
#include "access/heapam.h"
6161
#include "executor/execdebug.h"
62-
#include "executor/executor.h"
6362
#include "executor/nodeAppend.h"
6463
#include "parser/parsetree.h"
6564

src/backend/executor/nodeHash.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
*
10-
* $Id: nodeHash.c,v 1.46 2000/05/31 00:28:17 petere Exp $
10+
* $Id: nodeHash.c,v 1.47 2000/06/15 04:09:52 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -24,7 +24,6 @@
2424

2525
#include "postgres.h"
2626
#include "executor/execdebug.h"
27-
#include "executor/executor.h"
2827
#include "executor/nodeHash.h"
2928
#include "executor/nodeHashjoin.h"
3029
#include "miscadmin.h"

src/backend/executor/nodeIndexscan.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.50 2000/05/23 16:56:37 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.51 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -36,7 +36,6 @@
3636
#include "access/genam.h"
3737
#include "access/heapam.h"
3838
#include "executor/execdebug.h"
39-
#include "executor/executor.h"
4039
#include "executor/nodeIndexscan.h"
4140
#include "nodes/nodeFuncs.h"
4241
#include "optimizer/clauses.h"

src/backend/executor/nodeMergejoin.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.34 2000/01/26 05:56:23 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.35 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -71,7 +71,6 @@
7171
#include "catalog/pg_operator.h"
7272
#include "executor/execdebug.h"
7373
#include "executor/execdefs.h"
74-
#include "executor/executor.h"
7574
#include "executor/nodeMergejoin.h"
7675
#include "utils/lsyscache.h"
7776
#include "utils/syscache.h"

src/backend/executor/nodeNestloop.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeNestloop.c,v 1.15 2000/01/26 05:56:23 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeNestloop.c,v 1.16 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -21,7 +21,6 @@
2121
#include "postgres.h"
2222

2323
#include "executor/execdebug.h"
24-
#include "executor/executor.h"
2524
#include "executor/nodeNestloop.h"
2625

2726
/* ----------------------------------------------------------------

src/backend/executor/nodeSeqscan.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSeqscan.c,v 1.22 2000/01/26 05:56:23 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSeqscan.c,v 1.23 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -27,7 +27,6 @@
2727

2828
#include "access/heapam.h"
2929
#include "executor/execdebug.h"
30-
#include "executor/executor.h"
3130
#include "executor/nodeSeqscan.h"
3231
#include "parser/parsetree.h"
3332

src/backend/executor/nodeSort.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSort.c,v 1.26 2000/04/12 17:15:09 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSort.c,v 1.27 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

1616
#include "postgres.h"
1717

18-
#include "executor/executor.h"
1918
#include "executor/execdebug.h"
2019
#include "executor/nodeSort.h"
2120
#include "utils/tuplesort.h"

src/backend/executor/nodeTidscan.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeTidscan.c,v 1.8 2000/06/08 22:37:03 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeTidscan.c,v 1.9 2000/06/15 04:09:52 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -24,7 +24,6 @@
2424
*/
2525
#include "postgres.h"
2626

27-
#include "executor/executor.h"
2827
#include "executor/execdebug.h"
2928
#include "executor/nodeTidscan.h"
3029
#include "access/heapam.h"

src/backend/parser/parse_func.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.84 2000/06/15 03:32:20 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.85 2000/06/15 04:09:54 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -22,16 +22,13 @@
2222
#include "catalog/pg_aggregate.h"
2323
#include "catalog/pg_inherits.h"
2424
#include "catalog/pg_proc.h"
25-
#include "miscadmin.h"
2625
#include "nodes/makefuncs.h"
2726
#include "parser/parse_agg.h"
2827
#include "parser/parse_coerce.h"
2928
#include "parser/parse_expr.h"
3029
#include "parser/parse_func.h"
3130
#include "parser/parse_relation.h"
3231
#include "parser/parse_type.h"
33-
#include "utils/acl.h"
34-
#include "utils/builtins.h"
3532
#include "utils/fmgroids.h"
3633
#include "utils/lsyscache.h"
3734
#include "utils/syscache.h"

src/backend/rewrite/rewriteDefine.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.45 2000/05/30 00:49:51 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.46 2000/06/15 04:09:58 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

1616
#include "postgres.h"
1717

1818
#include "access/heapam.h"
19-
#include "utils/builtins.h"
2019
#include "lib/stringinfo.h"
2120
#include "parser/parse_relation.h"
2221
#include "rewrite/rewriteDefine.h"

src/backend/storage/file/fd.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.60 2000/06/14 03:19:24 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.61 2000/06/15 04:10:00 momjian Exp $
1111
*
1212
* NOTES:
1313
*
@@ -49,7 +49,6 @@
4949
#include "postgres.h"
5050
#include "miscadmin.h"
5151
#include "storage/fd.h"
52-
#include "storage/ipc.h"
5352

5453
/*
5554
* Problem: Postgres does a system(ld...) to do dynamic loading.

src/backend/storage/lmgr/proc.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.74 2000/05/31 00:28:30 petere Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.75 2000/06/15 04:10:07 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -47,7 +47,7 @@
4747
* This is so that we can support more backends. (system-wide semaphore
4848
* sets run out pretty fast.) -ay 4/95
4949
*
50-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.74 2000/05/31 00:28:30 petere Exp $
50+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.75 2000/06/15 04:10:07 momjian Exp $
5151
*/
5252
#include <sys/time.h>
5353
#include <unistd.h>
@@ -66,7 +66,6 @@
6666
/* In Ultrix and QNX, sem.h must be included after ipc.h */
6767
#include <sys/sem.h>
6868

69-
#include "storage/lock.h"
7069
#include "storage/proc.h"
7170

7271
void HandleDeadLock(SIGNAL_ARGS);

src/backend/tcop/fastpath.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.41 2000/06/05 07:28:49 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.42 2000/06/15 04:10:18 momjian Exp $
1212
*
1313
* NOTES
1414
* This cruft is the server side of PQfn.
@@ -67,7 +67,6 @@
6767
#include "libpq/libpq.h"
6868
#include "libpq/pqformat.h"
6969
#include "tcop/fastpath.h"
70-
#include "utils/builtins.h"
7170
#include "utils/syscache.h"
7271

7372

0 commit comments

Comments
 (0)