Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a9c0185

Browse files
committed
doc: Update SQL keywords for SQL:2016 technical corrigenda
Several keywords were missing or misclassified in the original SQL:2016 standard. This has been corrected in later technical corrigenda. This change updates the PostgreSQL documentation accordingly. This also fixes a mistake in 606948b: The keywords JSON_SCALAR and JSON_SERIALIZE added there are not from SQL:2016 but from future SQL:202x, so they don't belong in that list yet. (606948b also added JSON to the reserved list, which is what the corrigendum also does, but failed to remove it from the nonreserved list.)
1 parent 3c53494 commit a9c0185

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

doc/src/sgml/keywords/sql2016-02-nonreserved.txt

+9-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ INSTANTIABLE
100100
INSTEAD
101101
INVOKER
102102
ISOLATION
103-
JSON
104103
K
105104
KEEP
106105
KEY
@@ -115,6 +114,7 @@ M
115114
MAP
116115
MATCHED
117116
MAXVALUE
117+
MEASURES
118118
MESSAGE_LENGTH
119119
MESSAGE_OCTET_LENGTH
120120
MESSAGE_TEXT
@@ -131,10 +131,12 @@ NFD
131131
NFKC
132132
NFKD
133133
NORMALIZED
134+
NULL_ORDERING
134135
NULLABLE
135136
NULLS
136137
NUMBER
137138
OBJECT
139+
OCCURRENCE
138140
OCTETS
139141
OPTION
140142
OPTIONS
@@ -158,11 +160,14 @@ PASS
158160
PASSING
159161
PAST
160162
PATH
163+
PERMUTE
164+
PIPE
161165
PLACING
162166
PLAN
163167
PLI
164168
PRECEDING
165169
PRESERVE
170+
PREV
166171
PRIOR
167172
PRIVATE
168173
PRIVILEGES
@@ -196,13 +201,15 @@ SCOPE_SCHEMA
196201
SECTION
197202
SECURITY
198203
SELF
204+
SEMANTICS
199205
SEQUENCE
200206
SERIALIZABLE
201207
SERVER_NAME
202208
SESSION
203209
SETS
204210
SIMPLE
205211
SIZE
212+
SORT_DIRECTION
206213
SOURCE
207214
SPACE
208215
SPECIFIC_NAME
@@ -232,6 +239,7 @@ UNBOUNDED
232239
UNCOMMITTED
233240
UNCONDITIONAL
234241
UNDER
242+
UNMATCHED
235243
UNNAMED
236244
USAGE
237245
USER_DEFINED_TYPE_CATALOG

doc/src/sgml/keywords/sql2016-02-reserved.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ABS
2+
ABSENT
23
ACOS
34
ALL
45
ALLOCATE
@@ -163,8 +164,6 @@ JSON_EXISTS
163164
JSON_OBJECT
164165
JSON_OBJECTAGG
165166
JSON_QUERY
166-
JSON_SCALAR
167-
JSON_SERIALIZE
168167
JSON_TABLE
169168
JSON_TABLE_PRIMITIVE
170169
JSON_VALUE

0 commit comments

Comments
 (0)