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

Commit04ab0cb

Browse files
committed
Remove some no-longer-needed #includes.
1 parentadc507f commit04ab0cb

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

‎src/backend/parser/gram.y

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.464 2004/06/2800:18:47 tgl Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.465 2004/06/2801:19:11 tgl Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -51,18 +51,15 @@
5151
#include<ctype.h>
5252
#include<limits.h>
5353

54-
#include"access/htup.h"
5554
#include"catalog/index.h"
5655
#include"catalog/namespace.h"
57-
#include"catalog/pg_type.h"
5856
#include"nodes/makefuncs.h"
59-
#include"nodes/params.h"
60-
#include"nodes/parsenodes.h"
6157
#include"parser/gramparse.h"
6258
#include"storage/lmgr.h"
63-
#include"utils/numeric.h"
64-
#include"utils/datetime.h"
6559
#include"utils/date.h"
60+
#include"utils/datetime.h"
61+
#include"utils/numeric.h"
62+
6663

6764
extern List *parsetree;/* final parse result is delivered here*/
6865

‎src/backend/parser/scan.l

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,23 @@
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.115 2004/02/24 21:45:18 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.116 2004/06/28 01:19:11 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
1717
#include"postgres.h"
1818

1919
#include<ctype.h>
2020
#include<unistd.h>
21-
#include<errno.h>
2221

23-
#include"miscadmin.h"
24-
#include"nodes/parsenodes.h"
25-
#include"nodes/pg_list.h"
2622
#include"parser/gramparse.h"
2723
#include"parser/keywords.h"
2824
/* Not needed now that this file is compiled as part of gram.y*/
2925
/* #include "parser/parse.h"*/
3026
#include"parser/scansup.h"
31-
#include"utils/builtins.h"
3227
#include"mb/pg_wchar.h"
3328

29+
3430
/* Avoid exit() on fatal scanner errors (a bit ugly -- see yy_fatal_error)*/
3531
#definefprintf(file, fmt, msg) ereport(ERROR, (errmsg_internal("%s", msg)))
3632

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp