From 04ab0cb5c1c0a396aa888187fa45d2ce33ab47b6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 28 Jun 2004 01:19:11 +0000 Subject: [PATCH] Remove some no-longer-needed #includes. --- src/backend/parser/gram.y | 11 ++++------- src/backend/parser/scan.l | 8 ++------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 9c94fe9a4f..7446bc612d 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -11,7 +11,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.464 2004/06/28 00:18:47 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.465 2004/06/28 01:19:11 tgl Exp $ * * HISTORY * AUTHOR DATE MAJOR EVENT @@ -51,18 +51,15 @@ #include #include -#include "access/htup.h" #include "catalog/index.h" #include "catalog/namespace.h" -#include "catalog/pg_type.h" #include "nodes/makefuncs.h" -#include "nodes/params.h" -#include "nodes/parsenodes.h" #include "parser/gramparse.h" #include "storage/lmgr.h" -#include "utils/numeric.h" -#include "utils/datetime.h" #include "utils/date.h" +#include "utils/datetime.h" +#include "utils/numeric.h" + extern List *parsetree; /* final parse result is delivered here */ diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l index b788a42bc9..2f4910f137 100644 --- a/src/backend/parser/scan.l +++ b/src/backend/parser/scan.l @@ -10,7 +10,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.115 2004/02/24 21:45:18 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.116 2004/06/28 01:19:11 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,19 +18,15 @@ #include #include -#include -#include "miscadmin.h" -#include "nodes/parsenodes.h" -#include "nodes/pg_list.h" #include "parser/gramparse.h" #include "parser/keywords.h" /* Not needed now that this file is compiled as part of gram.y */ /* #include "parser/parse.h" */ #include "parser/scansup.h" -#include "utils/builtins.h" #include "mb/pg_wchar.h" + /* Avoid exit() on fatal scanner errors (a bit ugly -- see yy_fatal_error) */ #define fprintf(file, fmt, msg) ereport(ERROR, (errmsg_internal("%s", msg))) -- 2.40.0