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

Commit4b2c285

Browse files
committed
Clean up #include in /include directory. Add scripts for checking includes.
1 parent0df7614 commit4b2c285

File tree

286 files changed

+421
-737
lines changed

Some content is hidden

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

286 files changed

+421
-737
lines changed

‎doc/src/sgml/release.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Portability fixes for linux_ppc, Irix, linux_alpha, OpenBSD, alpha
3939
Remove QUERY_LIMIT, use SELECT...LIMIT
4040
Fix for EXPLAIN on inheritance(Tom)
4141
Patch to allow vacuum on multi-segment tables(Hiroshi)
42-
R=Tree optimizer selectivity fix(Tom)
42+
R-Tree optimizer selectivity fix(Tom)
4343
ACL file descriptor leak fix(Atsushi Ogawa)
4444
New expresssion subtree code(Tom)
4545
Avoid disk writes for read-only transactions(Vadim)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include<postgres.h>
1515

1616
#include<fmgr.h>
17+
#include<catalog/pg_index.h>
1718
#include<access/genam.h>
1819
#include<access/gist.h>
1920
#include<access/gistscan.h>

‎src/backend/access/hash/hashscan.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/hashscan.c,v 1.18 1999/07/14 01:19:36 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.19 1999/07/15 15:18:33 momjian Exp $
1111
*
1212
* NOTES
1313
* Because we can be doing an index scan on a relation while we
@@ -30,7 +30,6 @@
3030
#include<postgres.h>
3131

3232
#include<access/hash.h>
33-
#include<utils/mcxt.h>
3433

3534
staticvoid_hash_scandel(IndexScanDescscan,BlockNumberblkno,OffsetNumberoffno);
3635
staticbool_hash_scantouched(IndexScanDescscan,BlockNumberblkno,OffsetNumberoffno);

‎src/backend/access/hash/hashutil.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/hashutil.c,v 1.16 1999/07/14 01:19:36 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.17 1999/07/15 15:18:33 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -18,7 +18,6 @@
1818
#include<fmgr.h>
1919
#include<utils/memutils.h>
2020
#include<access/iqual.h>
21-
#include<utils/mcxt.h>
2221

2322
#ifndefHAVE_MEMMOVE
2423
#include<regex/utils.h>

‎src/backend/access/heap/heapam.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/heap/heapam.c,v 1.47 1999/07/14 01:19:37 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.48 1999/07/15 15:18:35 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -89,7 +89,6 @@
8989
#include<utils/inval.h>
9090
#include<utils/memutils.h>
9191
#include<utils/builtins.h>
92-
#include<utils/mcxt.h>
9392

9493
#ifndefHAVE_MEMMOVE
9594
#include<regex/utils.h>

‎src/backend/access/heap/stats.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/heap/Attic/stats.c,v 1.16 1999/07/03 00:32:36 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.17 1999/07/15 15:18:35 momjian Exp $
1111
*
1212
* NOTES
1313
* initam should be moved someplace else.
@@ -21,7 +21,6 @@
2121
#include<postgres.h>
2222

2323
#include<access/heapam.h>
24-
#include<utils/mcxt.h>
2524

2625
#ifndefHAVE_MEMMOVE
2726
#include<regex/utils.h>

‎src/backend/access/index/indexam.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/index/indexam.c,v 1.31 1999/07/14 01:19:38 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.32 1999/07/15 15:18:37 momjian Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
*index_open- open an index relation by relationId
@@ -70,7 +70,6 @@
7070
#include<fmgr.h>
7171
#include<storage/lmgr.h>
7272
#include<access/heapam.h>
73-
#include<utils/mcxt.h>
7473

7574
/* ----------------
7675
* undefine macros we aren't going to use that would otherwise

‎src/backend/access/nbtree/nbtinsert.c‎

Lines changed: 3 additions & 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/nbtree/nbtinsert.c,v 1.43 1999/07/14 01:19:39 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.44 1999/07/15 15:18:38 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -19,8 +19,9 @@
1919
#include<access/nbtree.h>
2020
#include<access/heapam.h>
2121
#include<access/xact.h>
22+
#include<storage/bufmgr.h>
23+
#include<access/transam.h>
2224
#include<fmgr.h>
23-
#include<utils/mcxt.h>
2425

2526
#ifndefHAVE_MEMMOVE
2627
#include<regex/utils.h>

‎src/backend/access/nbtree/nbtpage.c‎

Lines changed: 2 additions & 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/nbtree/nbtpage.c,v 1.25 1999/07/14 01:19:41 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.26 1999/07/15 15:18:39 momjian Exp $
1212
*
1313
*NOTES
1414
* Postgres btree pages look like ordinary relation pages.The opaque
@@ -28,7 +28,7 @@
2828
#include<access/nbtree.h>
2929
#include<miscadmin.h>
3030
#include<storage/lmgr.h>
31-
#include<utils/mcxt.h>
31+
#include<storage/bufmgr.h>
3232

3333
#ifndefHAVE_MEMMOVE
3434
#include<regex/utils.h>

‎src/backend/access/nbtree/nbtscan.c‎

Lines changed: 2 additions & 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/nbtree/Attic/nbtscan.c,v 1.24 1999/07/14 01:19:41 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.25 1999/07/15 15:18:40 momjian Exp $
1111
*
1212
*
1313
* NOTES
@@ -30,8 +30,8 @@
3030
#include<postgres.h>
3131

3232
#include<storage/bufpage.h>
33+
#include<storage/bufmgr.h>
3334
#include<access/nbtree.h>
34-
#include<utils/mcxt.h>
3535

3636
typedefstructBTScanListData
3737
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp