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

Commit9b55632

Browse files
committed
Fix some missing inclusions identified with new pgcheckdefines tool.
1 parenta7143b3 commit9b55632

File tree

6 files changed

+20
-15
lines changed

6 files changed

+20
-15
lines changed

‎src/backend/optimizer/geqo/geqo_misc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/backend/optimizer/geqo/geqo_misc.c,v 1.45 2006/07/14 14:52:20 momjian Exp $
9+
* $PostgreSQL: pgsql/src/backend/optimizer/geqo/geqo_misc.c,v 1.46 2006/07/15 03:35:21 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -21,6 +21,7 @@
2121

2222
#include"postgres.h"
2323

24+
#include"optimizer/geqo_misc.h"
2425

2526

2627
#ifdefGEQO_DEBUG

‎src/backend/parser/keywords.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.172 2006/06/27 03:43:20 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.173 2006/07/15 03:35:21 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -17,6 +17,7 @@
1717
#include<ctype.h>
1818

1919
#include"nodes/parsenodes.h"
20+
#include"parser/gramparse.h"/* required before parser/parse.h! */
2021
#include"parser/keywords.h"
2122
#include"parser/parse.h"
2223

‎src/backend/parser/parser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* Portions Copyright (c) 1994, Regents of the University of California
1515
*
1616
* IDENTIFICATION
17-
* $PostgreSQL: pgsql/src/backend/parser/parser.c,v 1.66 2006/05/27 17:38:46 tgl Exp $
17+
* $PostgreSQL: pgsql/src/backend/parser/parser.c,v 1.67 2006/07/15 03:35:21 tgl Exp $
1818
*
1919
*-------------------------------------------------------------------------
2020
*/
2121

2222
#include"postgres.h"
2323

24-
#include"parser/gramparse.h"
24+
#include"parser/gramparse.h"/* required before parser/parse.h! */
2525
#include"parser/parse.h"
2626
#include"parser/parser.h"
2727

‎src/bin/psql/help.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
*
44
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.113 2006/07/14 14:52:26 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.114 2006/07/15 03:35:21 tgl Exp $
77
*/
88
#include"postgres_fe.h"
9-
#include"common.h"
10-
#include"help.h"
119

1210
#include<signal.h>
1311

@@ -23,10 +21,13 @@
2321

2422
#include"pqsignal.h"
2523

26-
#include"settings.h"
2724
#include"common.h"
25+
#include"help.h"
26+
#include"input.h"
27+
#include"settings.h"
2828
#include"sql_help.h"
2929

30+
3031
/*
3132
* PLEASE:
3233
* If you change something in this file, also make the same changes

‎src/bin/psql/prompt.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33
*
44
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.46 2006/07/14 14:52:26 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.47 2006/07/15 03:35:21 tgl Exp $
77
*/
88
#include"postgres_fe.h"
9-
#include"prompt.h"
10-
11-
12-
#include"settings.h"
13-
#include"common.h"
149

1510
#ifdefWIN32
1611
#include<io.h>
@@ -22,6 +17,12 @@
2217
#include<netdb.h>
2318
#endif
2419

20+
#include"common.h"
21+
#include"input.h"
22+
#include"prompt.h"
23+
#include"settings.h"
24+
25+
2526
/*--------------------------
2627
* get_prompt
2728
*

‎src/include/optimizer/geqo_misc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/optimizer/geqo_misc.h,v 1.29 2006/07/13 16:49:19 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/optimizer/geqo_misc.h,v 1.30 2006/07/15 03:35:21 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -22,6 +22,7 @@
2222
#ifndefGEQO_MISC_H
2323
#defineGEQO_MISC_H
2424

25+
#include"optimizer/geqo.h"
2526
#include"optimizer/geqo_recombination.h"
2627

2728
#ifdefGEQO_DEBUG

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp