Skip to content

Commit 04ab0cb

Browse files
committed
Remove some no-longer-needed #includes.
1 parent adc507f commit 04ab0cb

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/28 00:18:47 tgl Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.465 2004/06/28 01:19:11 tgl Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR 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
#define fprintf(file, fmt, msg) ereport(ERROR, (errmsg_internal("%s", msg)))
3632

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy