Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e6b1e6

Browse files
committed
Remove unused #includes in *.c files.
1 parent40a89e0 commit2e6b1e6

File tree

238 files changed

+242
-1463
lines changed

Some content is hidden

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

238 files changed

+242
-1463
lines changed

‎src/backend/access/common/heaptuple.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.53 1999/06/12 14:07:20 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.54 1999/07/15 22:38:31 momjian Exp $
1212
*
1313
* NOTES
1414
* The old interface functions have been converted to macros
@@ -20,15 +20,9 @@
2020
#include<postgres.h>
2121

2222
#include<access/heapam.h>
23-
#include<access/htup.h>
24-
#include<access/transam.h>
25-
#include<access/tupmacs.h>
2623
#include<catalog/pg_type.h>
27-
#include<storage/bufpage.h>
28-
#include<utils/memutils.h>
2924

3025
#ifndefHAVE_MEMMOVE
31-
#include<regex/utils.h>
3226
#else
3327
#include<string.h>
3428
#endif

‎src/backend/access/common/indextuple.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,18 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.33 1999/02/13 23:14:11 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.34 1999/07/15 22:38:32 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

1616
#include<postgres.h>
1717

1818
#include<access/heapam.h>
19-
#include<access/ibit.h>
2019
#include<access/itup.h>
21-
#include<access/tupmacs.h>
2220
#include<catalog/pg_type.h>
2321

2422
#ifndefHAVE_MEMMOVE
25-
#include<regex/utils.h>
2623
#else
2724
#include<string.h>
2825
#endif

‎src/backend/access/common/indexvalid.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,14 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.21 1999/02/13 23:14:12 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.22 1999/07/15 22:38:32 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<postgres.h>
16-
#include<fmgr.h>
1716

18-
#include<access/htup.h>
1917
#include<access/iqual.h>
20-
#include<access/itup.h>
21-
#include<access/skey.h>
2218
#include<executor/execdebug.h>
2319

2420
/* ----------------------------------------------------------------

‎src/backend/access/common/printtup.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.47 1999/05/25 22:40:47 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.48 1999/07/15 22:38:32 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -17,11 +17,9 @@
1717

1818
#include"postgres.h"
1919

20-
#include"fmgr.h"
2120
#include"access/heapam.h"
2221
#include"access/printtup.h"
2322
#include"catalog/pg_type.h"
24-
#include"libpq/libpq.h"
2523
#include"libpq/pqformat.h"
2624
#include"utils/syscache.h"
2725

‎src/backend/access/common/scankey.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.14 1999/05/25 16:06:41 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.15 1999/07/15 22:38:32 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<postgres.h>
1616

17-
#include<fmgr.h>
1817
#include<access/skey.h>
1918

2019
/*

‎src/backend/access/common/tupdesc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.50 1999/05/25 22:40:48 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.51 1999/07/15 22:38:33 momjian Exp $
1111
*
1212
* NOTES
1313
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -24,11 +24,9 @@
2424
#include<nodes/parsenodes.h>
2525
#include<parser/parse_type.h>
2626
#include<utils/builtins.h>
27-
#include<utils/fcache.h>
2827
#include<utils/syscache.h>
2928

3029
#ifndefHAVE_MEMMOVE
31-
#include<regex/utils.h>
3230
#else
3331
#include<string.h>
3432
#endif

‎src/backend/access/gist/gist.c

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

1414
#include<postgres.h>
1515

16-
#include<fmgr.h>
1716
#include<catalog/pg_index.h>
1817
#include<access/genam.h>
1918
#include<access/gist.h>
2019
#include<access/gistscan.h>
2120
#include<access/heapam.h>
2221
#include<catalog/index.h>
2322
#include<executor/executor.h>
24-
#include<storage/bufmgr.h>
25-
#include<storage/bufpage.h>
26-
#include<storage/lmgr.h>
2723
#include<utils/syscache.h>
28-
#include<utils/tqual.h>
2924

3025
#ifndefHAVE_MEMMOVE
31-
#include<regex/utils.h>
3226
#else
3327
#include<string.h>
3428
#endif

‎src/backend/access/gist/gistget.c

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

1414
#include<postgres.h>
1515

16-
#include<access/relscan.h>
17-
#include<storage/bufpage.h>
18-
#include<access/sdir.h>
19-
#include<access/itup.h>
2016
#include<access/gist.h>
2117
#include<executor/execdebug.h>
22-
#include<storage/bufmgr.h>
2318

2419
#ifndefHAVE_MEMMOVE
25-
#include<regex/utils.h>
2620
#else
2721
#include<string.h>
2822
#endif

‎src/backend/access/gist/gistscan.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@
1515
#include<access/gist.h>
1616
#include<access/gistscan.h>
1717
#include<access/genam.h>
18-
#include<access/rtree.h>
19-
#include<storage/bufmgr.h>
20-
#include<access/giststrat.h>
21-
#include<storage/lmgr.h>
2218

2319
#ifndefHAVE_MEMMOVE
24-
#include<regex/utils.h>
2520
#else
2621
#include<string.h>
2722
#endif

‎src/backend/access/hash/hash.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.26 1999/05/25 16:06:54 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.27 1999/07/15 22:38:35 momjian Exp $
1111
*
1212
* NOTES
1313
* This file contains only the public interface routines.
@@ -22,11 +22,9 @@
2222
#include<access/heapam.h>
2323
#include<access/genam.h>
2424
#include<catalog/index.h>
25-
#include<storage/bufmgr.h>
2625
#include<miscadmin.h>
2726

2827
#ifndefHAVE_MEMMOVE
29-
#include<regex/utils.h>
3028
#else
3129
#include<string.h>
3230
#endif

‎src/backend/access/hash/hashfunc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.18 1999/05/25 22:40:49 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.19 1999/07/15 22:38:35 momjian Exp $
1111
*
1212
* NOTES
1313
* These functions are stored in pg_amproc.For each operator class
@@ -19,7 +19,6 @@
1919
#include"postgres.h"
2020

2121
#include"access/hash.h"
22-
#include"utils/int8.h"
2322

2423
uint32
2524
hashint2(int16key)

‎src/backend/access/hash/hashinsert.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.15 1999/02/13 23:14:19 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.16 1999/07/15 22:38:36 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<postgres.h>
1616

1717
#include<access/hash.h>
18-
#include<storage/bufmgr.h>
19-
#include<utils/memutils.h>
2018

2119
staticInsertIndexResult_hash_insertonpg(Relationrel,Bufferbuf,intkeysz,ScanKeyscankey,HashItemhitem,Buffermetabuf);
2220
staticOffsetNumber_hash_pgaddtup(Relationrel,Bufferbuf,intkeysz,ScanKeyitup_scankey,Sizeitemsize,HashItemhitem);

‎src/backend/access/hash/hashovfl.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.20 1999/02/13 23:14:19 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.21 1999/07/15 22:38:37 momjian Exp $
1111
*
1212
* NOTES
1313
* Overflow pages look like ordinary relation pages.
@@ -17,11 +17,8 @@
1717
#include<postgres.h>
1818

1919
#include<access/hash.h>
20-
#include<storage/bufmgr.h>
21-
#include<utils/memutils.h>
2220

2321
#ifndefHAVE_MEMMOVE
24-
#include<regex/utils.h>
2522
#else
2623
#include<string.h>
2724
#endif

‎src/backend/access/hash/hashpage.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.20 1999/05/25 16:06:58 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.21 1999/07/15 22:38:37 momjian Exp $
1111
*
1212
* NOTES
1313
* Postgres hash pages look like ordinary relation pages. The opaque
@@ -26,14 +26,10 @@
2626
#include<postgres.h>
2727

2828
#include<access/hash.h>
29-
#include<storage/bufmgr.h>
3029
#include<miscadmin.h>
31-
#include<utils/memutils.h>
32-
#include<storage/lmgr.h>
3330
#include<access/genam.h>
3431

3532
#ifndefHAVE_MEMMOVE
36-
#include<regex/utils.h>
3733
#else
3834
#include<string.h>
3935
#endif

‎src/backend/access/hash/hashsearch.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.17 1999/02/13 23:14:20 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.18 1999/07/15 22:38:38 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<postgres.h>
1616

1717
#include<access/hash.h>
18-
#include<storage/bufmgr.h>
1918

2019
#ifndefHAVE_MEMMOVE
21-
#include"regex/utils.h"
2220
#else
2321
#include<string.h>
2422
#endif

‎src/backend/access/hash/hashstrat.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.13 1999/02/13 23:14:21 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.14 1999/07/15 22:38:38 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<postgres.h>
1616

17-
#include<access/hash.h>
18-
#include<access/istrat.h>
1917

2018
/*
2119
*only one valid strategy for hash tables: equality.

‎src/backend/access/hash/hashutil.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,17 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.17 1999/07/1515:18:33 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.18 1999/07/1522:38:39 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<postgres.h>
1616

1717
#include<access/hash.h>
18-
#include<fmgr.h>
19-
#include<utils/memutils.h>
2018
#include<access/iqual.h>
2119

2220
#ifndefHAVE_MEMMOVE
23-
#include<regex/utils.h>
2421
#else
2522
#include<string.h>
2623
#endif

‎src/backend/access/heap/heapam.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.48 1999/07/1515:18:35 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.49 1999/07/1522:38:40 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -75,23 +75,17 @@
7575

7676
#include<postgres.h>
7777

78-
#include<storage/bufpage.h>
7978
#include<access/heapam.h>
8079
#include<miscadmin.h>
8180
#include<utils/relcache.h>
8281
#include<access/valid.h>
8382
#include<access/hio.h>
84-
#include<storage/lmgr.h>
8583
#include<storage/smgr.h>
8684
#include<catalog/catalog.h>
87-
#include<access/transam.h>
88-
#include<access/xact.h>
8985
#include<utils/inval.h>
90-
#include<utils/memutils.h>
9186
#include<utils/builtins.h>
9287

9388
#ifndefHAVE_MEMMOVE
94-
#include<regex/utils.h>
9589
#else
9690
#include<string.h>
9791
#endif

‎src/backend/access/heap/hio.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,15 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Id: hio.c,v 1.22 1999/07/03 01:56:16 momjian Exp $
10+
* $Id: hio.c,v 1.23 1999/07/15 22:38:41 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include<postgres.h>
1616

17-
#include<storage/bufpage.h>
1817
#include<access/hio.h>
19-
#include<access/htup.h>
2018
#include<access/heapam.h>
21-
#include<storage/bufmgr.h>
22-
#include<utils/memutils.h>
2319

2420
/*
2521
* amputunique- place tuple at tid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp