Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e052250

Browse files
committed
Remove 576 references of include files that were not needed.
1 parent ae64374 commit e052250

File tree

246 files changed

+251
-826
lines changed

Some content is hidden

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

246 files changed

+251
-826
lines changed

src/backend/access/common/heaptuple.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*
1818
* IDENTIFICATION
19-
* $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.109 2006/07/03 22:45:36 tgl Exp $
19+
* $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.110 2006/07/14 14:52:16 momjian Exp $
2020
*
2121
*-------------------------------------------------------------------------
2222
*/
@@ -25,7 +25,6 @@
2525

2626
#include "access/heapam.h"
2727
#include "access/tuptoaster.h"
28-
#include "catalog/pg_type.h"
2928
#include "executor/tuptable.h"
3029

3130

src/backend/access/common/indextuple.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/access/common/indextuple.c,v 1.77 2006/07/11 17:04:12 momjian Exp $
12+
* $PostgreSQL: pgsql/src/backend/access/common/indextuple.c,v 1.78 2006/07/14 14:52:16 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -18,8 +18,6 @@
1818

1919
#include "access/heapam.h"
2020
#include "access/itup.h"
21-
#include "access/tuptoaster.h"
22-
#include "catalog/pg_type.h"
2321

2422

2523
/* ----------------------------------------------------------------

src/backend/access/common/printtup.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/access/common/printtup.c,v 1.96 2006/04/05 22:11:54 tgl Exp $
12+
* $PostgreSQL: pgsql/src/backend/access/common/printtup.c,v 1.97 2006/07/14 14:52:16 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
1616
#include "postgres.h"
1717

18-
#include "access/heapam.h"
1918
#include "access/printtup.h"
2019
#include "libpq/libpq.h"
2120
#include "libpq/pqformat.h"
2221
#include "tcop/pquery.h"
2322
#include "utils/lsyscache.h"
24-
#include "utils/portal.h"
2523

2624

2725
static void printtup_startup(DestReceiver *self, int operation,

src/backend/access/common/tupdesc.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/common/tupdesc.c,v 1.117 2006/06/16 18:42:21 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/common/tupdesc.c,v 1.118 2006/07/14 14:52:16 momjian Exp $
1212
*
1313
* NOTES
1414
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -19,7 +19,6 @@
1919

2020
#include "postgres.h"
2121

22-
#include "access/heapam.h"
2322
#include "catalog/pg_type.h"
2423
#include "parser/parse_type.h"
2524
#include "utils/builtins.h"

src/backend/access/gin/ginarrayproc.c

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,14 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginarrayproc.c,v 1.3 2006/07/11 19:49:13 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginarrayproc.c,v 1.4 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
16-
#include "access/genam.h"
17-
#include "access/heapam.h"
18-
#include "catalog/index.h"
19-
#include "miscadmin.h"
20-
#include "storage/freespace.h"
2116
#include "utils/array.h"
2217
#include "utils/builtins.h"
2318
#include "utils/lsyscache.h"
24-
#include "utils/syscache.h"
2519
#include "utils/typcache.h"
2620
#include "access/gin.h"
2721

src/backend/access/gin/ginbtree.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginbtree.c,v 1.3 2006/05/29 08:39:44 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginbtree.c,v 1.4 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
16-
#include "access/genam.h"
1716
#include "access/gin.h"
18-
#include "access/heapam.h"
19-
#include "catalog/index.h"
2017
#include "miscadmin.h"
21-
#include "storage/freespace.h"
2218

2319
/*
2420
* Locks buffer by needed method for search.

src/backend/access/gin/ginbulk.c

+1-8
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginbulk.c,v 1.2 2006/07/11 16:55:34 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginbulk.c,v 1.3 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
16-
#include "access/genam.h"
1716
#include "access/gin.h"
18-
#include "access/heapam.h"
19-
#include "catalog/index.h"
20-
#include "miscadmin.h"
21-
#include "storage/freespace.h"
22-
#include "utils/memutils.h"
23-
#include "access/tuptoaster.h"
2417

2518
#define DEF_NENTRY 2048
2619
#define DEF_NPTR 4

src/backend/access/gin/gindatapage.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,12 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/gindatapage.c,v 1.1 2006/05/02 11:28:54 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/gindatapage.c,v 1.2 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
16-
#include "access/genam.h"
1716
#include "access/gin.h"
18-
#include "access/heapam.h"
19-
#include "catalog/index.h"
20-
#include "miscadmin.h"
21-
#include "storage/freespace.h"
2217

2318
int
2419
compareItemPointers( ItemPointer a, ItemPointer b ) {

src/backend/access/gin/ginentrypage.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,12 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginentrypage.c,v 1.2 2006/05/02 15:48:11 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginentrypage.c,v 1.3 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
16-
#include "access/genam.h"
1716
#include "access/gin.h"
18-
#include "access/heapam.h"
19-
#include "catalog/index.h"
20-
#include "miscadmin.h"
21-
#include "storage/freespace.h"
2217
#include "access/tuptoaster.h"
2318

2419
/*

src/backend/access/gin/ginget.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.1 2006/05/02 11:28:54 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.2 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
16-
#include "access/genam.h"
1716
#include "access/gin.h"
18-
#include "access/heapam.h"
1917
#include "catalog/index.h"
20-
#include "miscadmin.h"
21-
#include "storage/freespace.h"
2218
#include "utils/memutils.h"
2319

2420
static OffsetNumber

src/backend/access/gin/gininsert.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,16 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/gininsert.c,v 1.3 2006/07/11 16:55:34 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/gininsert.c,v 1.4 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
1616
#include "access/genam.h"
1717
#include "access/gin.h"
18-
#include "access/heapam.h"
1918
#include "catalog/index.h"
2019
#include "miscadmin.h"
21-
#include "storage/freespace.h"
2220
#include "utils/memutils.h"
23-
#include "access/tuptoaster.h"
2421

2522
typedef struct {
2623
GinState ginstate;

src/backend/access/gin/ginscan.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.2 2006/05/02 15:48:11 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.3 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
1616
#include "access/genam.h"
1717
#include "access/gin.h"
18-
#include "access/heapam.h"
19-
#include "catalog/index.h"
20-
#include "miscadmin.h"
21-
#include "storage/freespace.h"
2218
#include "utils/memutils.h"
2319

2420

src/backend/access/gin/ginutil.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginutil.c,v 1.4 2006/07/11 21:05:57 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginutil.c,v 1.5 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -17,7 +17,6 @@
1717
#include "access/gin.h"
1818
#include "access/heapam.h"
1919
#include "access/reloptions.h"
20-
#include "miscadmin.h"
2120
#include "storage/freespace.h"
2221

2322
void

src/backend/access/gin/ginvacuum.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,17 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.3 2006/07/11 17:04:12 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.4 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
1616
#include "access/genam.h"
1717
#include "access/gin.h"
1818
#include "access/heapam.h"
19-
#include "catalog/index.h"
2019
#include "miscadmin.h"
2120
#include "storage/freespace.h"
2221
#include "storage/freespace.h"
23-
#include "storage/smgr.h"
24-
#include "utils/memutils.h"
2522
#include "commands/vacuum.h"
2623

2724
typedef struct {

src/backend/access/gin/ginxlog.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginxlog.c,v 1.2 2006/05/03 06:56:47 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginxlog.c,v 1.3 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include "postgres.h"
1515

16-
#include "access/genam.h"
1716
#include "access/gin.h"
1817
#include "access/heapam.h"
19-
#include "catalog/index.h"
20-
#include "commands/vacuum.h"
21-
#include "miscadmin.h"
2218
#include "utils/memutils.h"
2319

2420
static MemoryContext opCtx; /* working memory for operations */

src/backend/access/gist/gist.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gist/gist.c,v 1.141 2006/07/03 22:45:36 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gist/gist.c,v 1.142 2006/07/14 14:52:16 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515
#include "postgres.h"
1616

1717
#include "access/genam.h"
1818
#include "access/gist_private.h"
19-
#include "access/gistscan.h"
20-
#include "access/heapam.h"
2119
#include "catalog/index.h"
22-
#include "commands/vacuum.h"
2320
#include "miscadmin.h"
2421
#include "utils/memutils.h"
2522

src/backend/access/gist/gistget.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gist/gistget.c,v 1.59 2006/07/11 17:04:12 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gist/gistget.c,v 1.60 2006/07/14 14:52:16 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515
#include "postgres.h"
1616

1717
#include "access/gist_private.h"
18-
#include "access/itup.h"
1918
#include "executor/execdebug.h"
2019
#include "pgstat.h"
2120
#include "utils/memutils.h"

src/backend/access/gist/gistproc.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/access/gist/gistproc.c,v 1.6 2006/06/28 12:00:14 teodor Exp $
13+
* $PostgreSQL: pgsql/src/backend/access/gist/gistproc.c,v 1.7 2006/07/14 14:52:16 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
1717
#include "postgres.h"
1818

1919
#include "access/gist.h"
20-
#include "access/itup.h"
2120
#include "access/skey.h"
2221
#include "utils/geo_decls.h"
2322

src/backend/access/gist/gistscan.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.63 2006/04/03 13:44:33 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.64 2006/07/14 14:52:16 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -18,7 +18,6 @@
1818
#include "access/gist_private.h"
1919
#include "access/gistscan.h"
2020
#include "utils/memutils.h"
21-
#include "utils/resowner.h"
2221

2322
static void gistfreestack(GISTSearchStack *s);
2423

src/backend/access/gist/gistsplit.c

+1-8
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,13 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gist/gistsplit.c,v 1.1 2006/06/28 12:08:35 teodor Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gist/gistsplit.c,v 1.2 2006/07/14 14:52:16 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515
#include "postgres.h"
1616

17-
#include "access/genam.h"
1817
#include "access/gist_private.h"
19-
#include "access/gistscan.h"
20-
#include "access/heapam.h"
21-
#include "catalog/index.h"
22-
#include "commands/vacuum.h"
23-
#include "miscadmin.h"
24-
#include "utils/memutils.h"
2518

2619
typedef struct {
2720
Datum *attr;

src/backend/access/gist/gistutil.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gist/gistutil.c,v 1.18 2006/07/03 22:45:36 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gist/gistutil.c,v 1.19 2006/07/14 14:52:16 momjian Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include "postgres.h"
1515

16-
#include "access/genam.h"
1716
#include "access/gist_private.h"
18-
#include "access/gistscan.h"
1917
#include "access/heapam.h"
2018
#include "access/reloptions.h"
21-
#include "miscadmin.h"
2219
#include "storage/freespace.h"
2320

2421
/*

0 commit comments

Comments
 (0)