OSDN Git Service

Remove some no-longer-needed #includes.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 Jun 2004 01:19:11 +0000 (01:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 Jun 2004 01:19:11 +0000 (01:19 +0000)
src/backend/parser/gram.y
src/backend/parser/scan.l

index 9c94fe9..7446bc6 100644 (file)
@@ -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
 #include <ctype.h>
 #include <limits.h>
 
-#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 */
 
index b788a42..2f4910f 100644 (file)
@@ -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 $
  *
  *-------------------------------------------------------------------------
  */
 
 #include <ctype.h>
 #include <unistd.h>
-#include <errno.h>
 
-#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)))