projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b043d4
)
Allow ISOLATION and LEVEL as column names. These are SQL92 reserved words
author
Thomas G. Lockhart
<
[email protected]
>
Tue, 14 Sep 1999 06:07:35 +0000
(06:07 +0000)
committer
Thomas G. Lockhart
<
[email protected]
>
Tue, 14 Sep 1999 06:07:35 +0000
(06:07 +0000)
which do not need to be so for our parser. Apparently omitted earlier.
src/backend/parser/gram.y
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/parser/gram.y
b/src/backend/parser/gram.y
index 7d88512c5ecd0db3593748680549675f16dda90a..0d29cc3dbbb978f7121e6666e12888955270d04d 100644
(file)
--- a/
src/backend/parser/gram.y
+++ b/
src/backend/parser/gram.y
@@
-5159,9
+5159,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"; }