Commit ba8763c5 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add SQL/92 types decimal and numeric.

Add SQL/92 "constants" current_date, current_time, and current_timestamp.
parent 53ad0aa2
...@@ -7,7 +7,7 @@ ...@@ -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[] = { ...@@ -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[] = { ...@@ -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},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment