Add SQL/92 types decimal and numeric.

Add SQL/92 "constants" current_date, current_time, and current_timestamp.
This commit is contained in:
Thomas G. Lockhart 1997-09-24 17:49:56 +00:00
parent 53ad0aa262
commit ba8763c500

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.18 1997/09/20 16:11:44 thomas Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.19 1997/09/24 17:49:56 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -66,9 +66,13 @@ static ScanKeyword ScanKeywords[] = {
{"create", CREATE}, {"create", CREATE},
{"cross", CROSS}, {"cross", CROSS},
{"current", CURRENT}, {"current", CURRENT},
{"current_date", CURRENT_DATE},
{"current_time", CURRENT_TIME},
{"current_timestamp", CURRENT_TIMESTAMP},
{"cursor", CURSOR}, {"cursor", CURSOR},
{"database", DATABASE}, {"database", DATABASE},
{"day", DAYINTERVAL}, {"day", DAYINTERVAL},
{"decimal", DECIMAL},
{"declare", DECLARE}, {"declare", DECLARE},
{"default", DEFAULT}, {"default", DEFAULT},
{"delete", DELETE}, {"delete", DELETE},
@ -127,6 +131,7 @@ static ScanKeyword ScanKeywords[] = {
{"notify", NOTIFY}, {"notify", NOTIFY},
{"notnull", NOTNULL}, {"notnull", NOTNULL},
{"null", PNULL}, {"null", PNULL},
{"numeric", NUMERIC},
{"oids", OIDS}, {"oids", OIDS},
{"on", ON}, {"on", ON},
{"operator", OPERATOR}, {"operator", OPERATOR},