From 012abebab1bc72043f3f670bf32e91ae4ee04bd2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 7 Mar 2006 01:00:19 +0000 Subject: Remove the stub support we had for UNION JOIN; per discussion, this is not likely ever to be implemented seeing it's been removed from SQL2003. This allows getting rid of the 'filter' version of yylex() that we had in parser.c, which should save at least a few microseconds in parsing. --- src/include/parser/gramparse.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/include/parser/gramparse.h') diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h index eb043965d0..054604521b 100644 --- a/src/include/parser/gramparse.h +++ b/src/include/parser/gramparse.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.32 2006/03/05 15:58:57 momjian Exp $ + * $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.33 2006/03/07 01:00:18 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,18 +18,15 @@ #include "nodes/parsenodes.h" -/* from parser.c */ -extern int yylex(void); - /* from scan.l */ extern void scanner_init(const char *str); extern void scanner_finish(void); extern int base_yylex(void); -extern void yyerror(const char *message); +extern void base_yyerror(const char *message); /* from gram.y */ extern void parser_init(void); -extern int yyparse(void); +extern int base_yyparse(void); extern List *SystemFuncName(char *name); extern TypeName *SystemTypeName(char *name); extern bool exprIsNullConstant(Node *arg); -- cgit v1.2.1