aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/gramparse.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-05-03 00:32:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-05-03 00:32:19 +0000
commit53cedcac22bca29bb6ac766b04d5dd08db77ac03 (patch)
tree52a9ada483515c730714941cac9cb494edfd6cd0 /src/include/parser/gramparse.h
parentc2def1b1287eca171212de0cd9d1de21de469961 (diff)
downloadpostgresql-53cedcac22bca29bb6ac766b04d5dd08db77ac03.tar.gz
postgresql-53cedcac22bca29bb6ac766b04d5dd08db77ac03.zip
Retire xlateSqlType/xlateSqlFunc; all type name translations are now
handled as special productions. This is needed to keep us honest about user-schema type names that happen to coincide with system type names. Per pghackers discussion 24-Apr. To avoid bloating the keyword list too much, I removed the translations for datetime, timespan, and lztext, all of which were slated for destruction several versions back anyway.
Diffstat (limited to 'src/include/parser/gramparse.h')
-rw-r--r--src/include/parser/gramparse.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h
index 3a1c9353bbf..1e4b633c225 100644
--- a/src/include/parser/gramparse.h
+++ b/src/include/parser/gramparse.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: gramparse.h,v 1.21 2002/04/20 21:56:15 petere Exp $
+ * $Id: gramparse.h,v 1.22 2002/05/03 00:32:18 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,6 +16,7 @@
#define GRAMPARSE_H
#include "lib/stringinfo.h"
+#include "nodes/parsenodes.h"
/* from parser.c */
extern int yylex(void);
@@ -30,9 +31,8 @@ extern void yyerror(const char *message);
extern void parser_init(Oid *typev, int nargs);
extern Oid param_type(int t);
extern int yyparse(void);
-extern char *xlateSqlFunc(char *name);
-extern char *xlateSqlType(char *name);
extern List *SystemFuncName(char *name);
-bool exprIsNullConstant(Node *arg);
+extern TypeName *SystemTypeName(char *name);
+extern bool exprIsNullConstant(Node *arg);
#endif /* GRAMPARSE_H */