Allow TIMESTAMP as a column name or general identifier.

timestamp had become a token a while ago, but had been omitted from the
 keywords.c until recently. This uncovered the omission in the ColId decl.
This commit is contained in:
Thomas G. Lockhart 1998-10-14 15:57:25 +00:00
parent acc9c38471
commit 56792f3729
2 changed files with 3 additions and 2 deletions

View File

@ -229,7 +229,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.45 1998/10/13 17:26:41 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.46 1998/10/14 15:57:25 thomas Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.36 1998/10/09 07:06:17 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.37 1998/10/14 15:56:43 thomas Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -4698,6 +4698,7 @@ ColId: IDENT { $$ = $1; }
| STDIN { $$ = "stdin"; }
| STDOUT { $$ = "stdout"; }
| TIME { $$ = "time"; }
| TIMESTAMP { $$ = "timestamp"; }
| TIMEZONE_HOUR { $$ = "timezone_hour"; }
| TIMEZONE_MINUTE { $$ = "timezone_minute"; }
| TRIGGER { $$ = "trigger"; }