aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1997-09-24 17:49:56 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1997-09-24 17:49:56 +0000
commitba8763c500502852261e82e5d586344ffb34f492 (patch)
tree035c04bd4bd4d6c8c606222c7e3c0b1e464ec070 /src
parent53ad0aa262a3cf36e741131cabf938fda9ea1119 (diff)
downloadpostgresql-ba8763c500502852261e82e5d586344ffb34f492.tar.gz
postgresql-ba8763c500502852261e82e5d586344ffb34f492.zip
Add SQL/92 types decimal and numeric.
Add SQL/92 "constants" current_date, current_time, and current_timestamp.
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/keywords.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/parser/keywords.c b/src/backend/parser/keywords.c
index d5a90bbd48f..f515e089bd0 100644
--- a/src/backend/parser/keywords.c
+++ b/src/backend/parser/keywords.c
@@ -7,7 +7,7 @@
*
*
* 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},
{"cross", CROSS},
{"current", CURRENT},
+ {"current_date", CURRENT_DATE},
+ {"current_time", CURRENT_TIME},
+ {"current_timestamp", CURRENT_TIMESTAMP},
{"cursor", CURSOR},
{"database", DATABASE},
{"day", DAYINTERVAL},
+ {"decimal", DECIMAL},
{"declare", DECLARE},
{"default", DEFAULT},
{"delete", DELETE},
@@ -127,6 +131,7 @@ static ScanKeyword ScanKeywords[] = {
{"notify", NOTIFY},
{"notnull", NOTNULL},
{"null", PNULL},
+ {"numeric", NUMERIC},
{"oids", OIDS},
{"on", ON},
{"operator", OPERATOR},