]> granicus.if.org Git - postgresql/commitdiff
Allow ISOLATION and LEVEL as column names. These are SQL92 reserved words
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 14 Sep 1999 06:06:31 +0000 (06:06 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 14 Sep 1999 06:06:31 +0000 (06:06 +0000)
 which do not need to be so for our parser. Apparently omitted earlier.

src/backend/parser/gram.y

index c315818cfa0d7176c6b4b85a3ad7831c220de467..20c33bc20c75161790ca90ab6f47fec9c9a03652 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.97 1999/08/18 13:04:45 ishii Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.98 1999/09/14 06:06:31 thomas Exp $
  *
  * HISTORY
  *       AUTHOR                        DATE                    MAJOR EVENT
@@ -5001,9 +5001,11 @@ ColId:  IDENT                                                    { $$ = $1; }
                | INSENSITIVE                                   { $$ = "insensitive"; }
                | INSTEAD                                               { $$ = "instead"; }
                | ISNULL                                                { $$ = "isnull"; }
+               | ISOLATION                                             { $$ = "isolation"; }
                | KEY                                                   { $$ = "key"; }
                | LANGUAGE                                              { $$ = "language"; }
                | LANCOMPILER                                   { $$ = "lancompiler"; }
+               | LEVEL                                                 { $$ = "level"; }
                | LOCATION                                              { $$ = "location"; }
                | MATCH                                                 { $$ = "match"; }
                | MAXVALUE                                              { $$ = "maxvalue"; }