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

Commit9b645d4

Browse files
committed
Update #include cleanups
1 parenta9591ce commit9b645d4

File tree

109 files changed

+261
-264
lines changed

Some content is hidden

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

109 files changed

+261
-264
lines changed

‎src/backend/bootstrap/bootstrap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.62 1999/07/15 22:38:55 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.63 1999/07/16 03:12:46 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14-
#include<unistd.h>/* For getopt() */
14+
#include<unistd.h>
1515
#include<time.h>
1616
#include<stdio.h>
1717
#include<signal.h>

‎src/backend/catalog/aclchk.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/catalog/aclchk.c,v 1.23 1999/07/15 22:38:57 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.24 1999/07/16 03:12:46 momjian Exp $
1111
*
1212
* NOTES
1313
* See acl.h.
@@ -17,7 +17,7 @@
1717
#include<string.h>
1818
#include"postgres.h"
1919

20-
#include"utils/acl.h"/* where declarations for this file go */
20+
#include"utils/acl.h"
2121
#include"access/heapam.h"
2222
#include"catalog/indexing.h"
2323
#include"catalog/catalog.h"

‎src/backend/catalog/catalog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.22 1999/07/15 23:03:04 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.23 1999/07/1603:12:47 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include<string.h>
1515

1616
#include"postgres.h"
1717

18-
#include<miscadmin.h>/* for DataDir */
18+
#include"miscadmin.h"
1919
#include"utils/syscache.h"
20-
#include<catalog/catname.h>/* NameIs{,Shared}SystemRelationName */
20+
#include"catalog/catname.h"
2121
#include"catalog/pg_type.h"
2222
#include"catalog/catalog.h"
2323
#include"access/transam.h"

‎src/backend/commands/_deadcode/recipe.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/commands/_deadcode/Attic/recipe.c,v 1.5 1999/07/15 23:03:09 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.6 1999/07/1603:12:49 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,7 @@
2222
#include"libpq/libpq-be.h"
2323
#include"parser/parse_node.h"
2424
#include"utils/builtins.h"
25-
#include<utils/relcache.h>/* for RelationNameGetRelation */
25+
#include"utils/relcache.h"
2626
#include"rewrite/rewriteHandler.h"
2727
#include"rewrite/rewriteManip.h"
2828
#include"tcop/pquery.h"

‎src/backend/commands/async.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.49 1999/07/15 23:03:06 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.50 1999/07/1603:12:47 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -80,7 +80,7 @@
8080
#include<signal.h>
8181
#include<string.h>
8282
#include<errno.h>
83-
#include<sys/types.h>/* Needed by in.h on Ultrix */
83+
#include<sys/types.h>
8484
#include<netinet/in.h>
8585

8686
#include"postgres.h"

‎src/backend/commands/dbcommands.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/commands/dbcommands.c,v 1.36 1999/07/15 22:39:01 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.37 1999/07/16 03:12:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,7 @@
2222
#include"catalog/catname.h"
2323
#include"catalog/pg_database.h"
2424
#include"catalog/pg_shadow.h"
25-
#include"miscadmin.h"/* for DataDir */
25+
#include"miscadmin.h"
2626
#include"tcop/tcopprot.h"
2727
#include"commands/dbcommands.h"
2828
#include"utils/syscache.h"

‎src/backend/commands/define.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.31 1999/07/15 23:03:08 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.32 1999/07/1603:12:48 momjian Exp $
1313
*
1414
* DESCRIPTION
1515
* The "DefineFoo" routines take the parse tree and pick out the
@@ -47,8 +47,8 @@
4747
#include"catalog/pg_type.h"
4848
#include"catalog/pg_language.h"
4949
#include"utils/syscache.h"
50-
#include<fmgr.h>/* for fmgr */
51-
#include<utils/builtins.h>/* prototype for textin() */
50+
#include"fmgr.h"
51+
#include"utils/builtins.h"
5252
#include"commands/defrem.h"
5353
#include"tcop/dest.h"
5454
#include"catalog/pg_shadow.h"

‎src/backend/commands/indexcmds.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/commands/indexcmds.c,v 1.6 1999/07/15 23:03:08 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.7 1999/07/1603:12:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,7 +26,7 @@
2626
#include"catalog/pg_type.h"
2727
#include"catalog/pg_opclass.h"
2828
#include"commands/defrem.h"
29-
#include<parser/parsetree.h>/* for getrelid() */
29+
#include"parser/parsetree.h"
3030
#include"optimizer/prep.h"
3131
#include"optimizer/clauses.h"
3232

‎src/backend/commands/rename.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/commands/Attic/rename.c,v 1.28 1999/07/15 23:03:08 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.29 1999/07/1603:12:49 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -21,7 +21,7 @@
2121
#include"catalog/catalog.h"
2222
#include"commands/rename.h"
2323
#include"miscadmin.h"
24-
#include<optimizer/prep.h>/* for find_all_inheritors */
24+
#include"optimizer/prep.h"
2525
#ifndefNO_SECURITY
2626
#include"utils/acl.h"
2727
#endif/* !NO_SECURITY */

‎src/backend/executor/execAmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
*$Id: execAmi.c,v 1.38 1999/07/15 22:39:04 momjian Exp $
8+
*$Id: execAmi.c,v 1.39 1999/07/16 03:12:50 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -46,7 +46,7 @@
4646
#include"executor/nodeAppend.h"
4747
#include"executor/nodeSubplan.h"
4848
#include"executor/execdebug.h"
49-
#include"optimizer/internal.h"/* for _NONAME_RELATION_ID_ */
49+
#include"optimizer/internal.h"
5050
#include"access/genam.h"
5151
#include"access/heapam.h"
5252
#include"catalog/heap.h"

‎src/backend/executor/execMain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
*
2828
* IDENTIFICATION
29-
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.90 1999/07/15 22:39:05 momjian Exp $
29+
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.91 1999/07/16 03:12:50 momjian Exp $
3030
*
3131
*-------------------------------------------------------------------------
3232
*/
@@ -40,7 +40,7 @@
4040
#include"utils/builtins.h"
4141
#include"utils/acl.h"
4242
#include"utils/syscache.h"
43-
#include"parser/parsetree.h"/* rt_fetch() */
43+
#include"parser/parsetree.h"
4444
/* #include "access/localam.h" */
4545
#include"optimizer/var.h"
4646
#include"access/heapam.h"

‎src/backend/executor/nodeAppend.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/executor/nodeAppend.c,v 1.21 1999/07/15 22:39:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.22 1999/07/16 03:12:52 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -60,7 +60,7 @@
6060
#include"executor/executor.h"
6161
#include"executor/execdebug.h"
6262
#include"executor/nodeAppend.h"
63-
#include"parser/parsetree.h"/* for rt_store() macro */
63+
#include"parser/parsetree.h"
6464

6565
staticboolexec_append_initialize_next(Append*node);
6666

‎src/backend/executor/nodeHashjoin.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/executor/nodeHashjoin.c,v 1.23 1999/07/15 22:39:09 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.24 1999/07/16 03:12:52 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -19,7 +19,7 @@
1919
#include"executor/executor.h"
2020
#include"executor/nodeHash.h"
2121
#include"executor/nodeHashjoin.h"
22-
#include"optimizer/clauses.h"/* for get_leftop */
22+
#include"optimizer/clauses.h"
2323

2424
staticTupleTableSlot*ExecHashJoinOuterGetTuple(Plan*node,Plan*parent,
2525
HashJoinState*hjstate);

‎src/backend/executor/nodeIndexscan.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.38 1999/07/15 22:39:09 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.39 1999/07/16 03:12:53 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -34,8 +34,8 @@
3434
#include"executor/execdebug.h"
3535
#include"executor/nodeIndexscan.h"
3636

37-
#include"optimizer/clauses.h"/* for get_op, get_leftop, get_rightop */
38-
#include"parser/parsetree.h"/* for rt_fetch() */
37+
#include"optimizer/clauses.h"
38+
#include"parser/parsetree.h"
3939

4040
#include"access/heapam.h"
4141
#include"access/genam.h"

‎src/backend/executor/nodeMaterial.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/executor/nodeMaterial.c,v 1.23 1999/07/15 22:39:10 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.24 1999/07/16 03:12:53 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -24,7 +24,7 @@
2424
#include"executor/executor.h"
2525
#include"executor/nodeMaterial.h"
2626
#include"catalog/heap.h"
27-
#include"optimizer/internal.h"/* for _NONAME_RELATION_ID_ */
27+
#include"optimizer/internal.h"
2828
#include"access/heapam.h"
2929

3030
/* ----------------------------------------------------------------

‎src/backend/executor/nodeUnique.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/executor/nodeUnique.c,v 1.21 1999/07/15 22:39:11 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeUnique.c,v 1.22 1999/07/16 03:12:54 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -29,7 +29,7 @@
2929
#include"executor/executor.h"
3030
#include"executor/nodeUnique.h"
3131
#include"access/heapam.h"
32-
#include"access/printtup.h"/* for getTypeOutAndElem() */
32+
#include"access/printtup.h"
3333

3434
/* ----------------------------------------------------------------
3535
*ExecIdenticalTuples

‎src/backend/libpq/be-fsstubs.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/libpq/be-fsstubs.c,v 1.38 1999/07/15 23:03:13 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.39 1999/07/1603:12:55 momjian Exp $
1111
*
1212
* NOTES
1313
* This should be moved to a more appropriate place. It is here
@@ -38,7 +38,7 @@
3838
#include"postgres.h"
3939

4040
#include"libpq/libpq-fs.h"
41-
#include<catalog/pg_shadow.h>/* for superuser() */
41+
#include"catalog/pg_shadow.h"
4242
#include"storage/large_object.h"
4343
#include"libpq/be-fsstubs.h"
4444

‎src/backend/libpq/portal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
*$Id: portal.c,v 1.24 1999/07/15 23:03:14 momjian Exp $
8+
*$Id: portal.c,v 1.25 1999/07/1603:12:56 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -55,7 +55,7 @@
5555

5656
#include"postgres.h"
5757

58-
#include<libpq/libpq.h>/* where the declarations go */
58+
#include"libpq/libpq.h"
5959

6060

6161
/* ----------------------------------------------------------------

‎src/backend/libpq/portalbuf.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/libpq/Attic/portalbuf.c,v 1.18 1999/07/15 23:03:14 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.19 1999/07/1603:12:56 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -52,7 +52,7 @@
5252

5353
#include"postgres.h"
5454

55-
#include<libpq/libpq.h>/* where the declarations go */
55+
#include"libpq/libpq.h"
5656

5757
PortalEntry**portals= (PortalEntry**)NULL;
5858
size_tportals_array_size=0;

‎src/backend/libpq/pqcomm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* Copyright (c) 1994, Regents of the University of California
3030
*
31-
*$Id: pqcomm.c,v 1.74 1999/07/15 22:39:15 momjian Exp $
31+
*$Id: pqcomm.c,v 1.75 1999/07/16 03:12:57 momjian Exp $
3232
*
3333
*-------------------------------------------------------------------------
3434
*/
@@ -69,7 +69,7 @@
6969
#include<signal.h>
7070
#include<errno.h>
7171
#include<fcntl.h>
72-
#include<unistd.h>/* for ttyname() */
72+
#include<unistd.h>
7373
#include<sys/types.h>
7474
#include<sys/stat.h>
7575
#include<sys/socket.h>
@@ -79,7 +79,7 @@
7979
#include<arpa/inet.h>
8080
#include<sys/file.h>
8181

82-
#include"libpq/libpq.h"/* where my declarations go */
82+
#include"libpq/libpq.h"
8383
#include"miscadmin.h"
8484

8585
#ifndefSOMAXCONN

‎src/backend/libpq/util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
*$Id: util.c,v 1.11 1999/07/15 23:03:14 momjian Exp $
8+
*$Id: util.c,v 1.12 1999/07/1603:12:57 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -21,7 +21,7 @@
2121
#include<string.h>
2222

2323
#include"postgres.h"
24-
#include<libpq/libpq.h>/* where the declarations go */
24+
#include"libpq/libpq.h"
2525

2626

2727
/* ----------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp