Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

Commit 5070f76

Browse files
author
Alex Anderson
committed
Update SQL reserved Key Words list for Postgres 13
1 parent 3157b52 commit 5070f76

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/reserved.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//
22
// PostgreSQL reserved words
3+
// see: https://www.postgresql.org/docs/current/sql-keywords-appendix.html
34
//
45
module.exports = {
56
"AES128": true,
@@ -13,6 +14,7 @@ module.exports = {
1314
"ARRAY": true,
1415
"AS": true,
1516
"ASC": true,
17+
"ASYMMETRIC": true,
1618
"AUTHORIZATION": true,
1719
"BACKUP": true,
1820
"BETWEEN": true,
@@ -29,7 +31,9 @@ module.exports = {
2931
"CREATE": true,
3032
"CREDENTIALS": true,
3133
"CROSS": true,
34+
"CURRENT_CATALOG": true,
3235
"CURRENT_DATE": true,
36+
"CURRENT_ROLE": true,
3337
"CURRENT_TIME": true,
3438
"CURRENT_TIMESTAMP": true,
3539
"CURRENT_USER": true,
@@ -54,6 +58,7 @@ module.exports = {
5458
"EXCEPT": true,
5559
"EXPLICIT": true,
5660
"FALSE": true,
61+
"FETCH": true,
5762
"FOR": true,
5863
"FOREIGN": true,
5964
"FREEZE": true,
@@ -76,6 +81,7 @@ module.exports = {
7681
"IS": true,
7782
"ISNULL": true,
7883
"JOIN": true,
84+
"LATERAL": true,
7985
"LEADING": true,
8086
"LEFT": true,
8187
"LIKE": true,
@@ -119,11 +125,13 @@ module.exports = {
119125
"REJECTLOG": true,
120126
"RESORT": true,
121127
"RESTORE": true,
128+
"RETURNING": true,
122129
"RIGHT": true,
123130
"SELECT": true,
124131
"SESSION_USER": true,
125132
"SIMILAR": true,
126133
"SOME": true,
134+
"SYMMETRIC": true,
127135
"SYSDATE": true,
128136
"SYSTEM": true,
129137
"TABLE": true,
@@ -141,10 +149,12 @@ module.exports = {
141149
"UNIQUE": true,
142150
"USER": true,
143151
"USING": true,
152+
"VARIADIC": true,
144153
"VERBOSE": true,
145154
"WALLET": true,
146155
"WHEN": true,
147156
"WHERE": true,
157+
"WINDOW": true,
148158
"WITH": true,
149159
"WITHOUT": true,
150160
};

0 commit comments

Comments
 (0)