PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
kwlist.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * kwlist.h
4  *
5  * The keyword lists are kept in their own source files for use by
6  * automatic tools. The exact representation of a keyword is determined
7  * by the PG_KEYWORD macro, which is not defined in this file; it can
8  * be defined by the caller for special purposes.
9  *
10  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
11  * Portions Copyright (c) 1994, Regents of the University of California
12  *
13  * IDENTIFICATION
14  * src/include/parser/kwlist.h
15  *
16  *-------------------------------------------------------------------------
17  */
18 
19 /* there is deliberately not an #ifndef KWLIST_H here */
20 
21 /*
22  * List of keyword (name, token-value, category, bare-label-status) entries.
23  *
24  * Note: gen_keywordlist.pl requires the entries to appear in ASCII order.
25  */
26 
27 /* name, value, category, is-bare-label */
28 PG_KEYWORD("abort", ABORT_P, UNRESERVED_KEYWORD, BARE_LABEL)
29 PG_KEYWORD("absent", ABSENT, UNRESERVED_KEYWORD, BARE_LABEL)
30 PG_KEYWORD("absolute", ABSOLUTE_P, UNRESERVED_KEYWORD, BARE_LABEL)
31 PG_KEYWORD("access", ACCESS, UNRESERVED_KEYWORD, BARE_LABEL)
32 PG_KEYWORD("action", ACTION, UNRESERVED_KEYWORD, BARE_LABEL)
36 PG_KEYWORD("aggregate", AGGREGATE, UNRESERVED_KEYWORD, BARE_LABEL)
40 PG_KEYWORD("always", ALWAYS, UNRESERVED_KEYWORD, BARE_LABEL)
41 PG_KEYWORD("analyse", ANALYSE, RESERVED_KEYWORD, BARE_LABEL) /* British spelling */
42 PG_KEYWORD("analyze", ANALYZE, RESERVED_KEYWORD, BARE_LABEL)
45 PG_KEYWORD("array", ARRAY, RESERVED_KEYWORD, AS_LABEL)
48 PG_KEYWORD("asensitive", ASENSITIVE, UNRESERVED_KEYWORD, BARE_LABEL)
49 PG_KEYWORD("assertion", ASSERTION, UNRESERVED_KEYWORD, BARE_LABEL)
50 PG_KEYWORD("assignment", ASSIGNMENT, UNRESERVED_KEYWORD, BARE_LABEL)
51 PG_KEYWORD("asymmetric", ASYMMETRIC, RESERVED_KEYWORD, BARE_LABEL)
53 PG_KEYWORD("atomic", ATOMIC, UNRESERVED_KEYWORD, BARE_LABEL)
54 PG_KEYWORD("attach", ATTACH, UNRESERVED_KEYWORD, BARE_LABEL)
55 PG_KEYWORD("attribute", ATTRIBUTE, UNRESERVED_KEYWORD, BARE_LABEL)
56 PG_KEYWORD("authorization", AUTHORIZATION, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
57 PG_KEYWORD("backward", BACKWARD, UNRESERVED_KEYWORD, BARE_LABEL)
58 PG_KEYWORD("before", BEFORE, UNRESERVED_KEYWORD, BARE_LABEL)
59 PG_KEYWORD("begin", BEGIN_P, UNRESERVED_KEYWORD, BARE_LABEL)
60 PG_KEYWORD("between", BETWEEN, COL_NAME_KEYWORD, BARE_LABEL)
61 PG_KEYWORD("bigint", BIGINT, COL_NAME_KEYWORD, BARE_LABEL)
64 PG_KEYWORD("boolean", BOOLEAN_P, COL_NAME_KEYWORD, BARE_LABEL)
66 PG_KEYWORD("breadth", BREADTH, UNRESERVED_KEYWORD, BARE_LABEL)
70 PG_KEYWORD("called", CALLED, UNRESERVED_KEYWORD, BARE_LABEL)
71 PG_KEYWORD("cascade", CASCADE, UNRESERVED_KEYWORD, BARE_LABEL)
72 PG_KEYWORD("cascaded", CASCADED, UNRESERVED_KEYWORD, BARE_LABEL)
75 PG_KEYWORD("catalog", CATALOG_P, UNRESERVED_KEYWORD, BARE_LABEL)
77 PG_KEYWORD("char", CHAR_P, COL_NAME_KEYWORD, AS_LABEL)
78 PG_KEYWORD("character", CHARACTER, COL_NAME_KEYWORD, AS_LABEL)
79 PG_KEYWORD("characteristics", CHARACTERISTICS, UNRESERVED_KEYWORD, BARE_LABEL)
80 PG_KEYWORD("check", CHECK, RESERVED_KEYWORD, BARE_LABEL)
81 PG_KEYWORD("checkpoint", CHECKPOINT, UNRESERVED_KEYWORD, BARE_LABEL)
84 PG_KEYWORD("cluster", CLUSTER, UNRESERVED_KEYWORD, BARE_LABEL)
85 PG_KEYWORD("coalesce", COALESCE, COL_NAME_KEYWORD, BARE_LABEL)
86 PG_KEYWORD("collate", COLLATE, RESERVED_KEYWORD, BARE_LABEL)
87 PG_KEYWORD("collation", COLLATION, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
88 PG_KEYWORD("column", COLUMN, RESERVED_KEYWORD, BARE_LABEL)
89 PG_KEYWORD("columns", COLUMNS, UNRESERVED_KEYWORD, BARE_LABEL)
90 PG_KEYWORD("comment", COMMENT, UNRESERVED_KEYWORD, BARE_LABEL)
91 PG_KEYWORD("comments", COMMENTS, UNRESERVED_KEYWORD, BARE_LABEL)
92 PG_KEYWORD("commit", COMMIT, UNRESERVED_KEYWORD, BARE_LABEL)
93 PG_KEYWORD("committed", COMMITTED, UNRESERVED_KEYWORD, BARE_LABEL)
94 PG_KEYWORD("compression", COMPRESSION, UNRESERVED_KEYWORD, BARE_LABEL)
95 PG_KEYWORD("concurrently", CONCURRENTLY, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
96 PG_KEYWORD("conditional", CONDITIONAL, UNRESERVED_KEYWORD, BARE_LABEL)
97 PG_KEYWORD("configuration", CONFIGURATION, UNRESERVED_KEYWORD, BARE_LABEL)
98 PG_KEYWORD("conflict", CONFLICT, UNRESERVED_KEYWORD, BARE_LABEL)
99 PG_KEYWORD("connection", CONNECTION, UNRESERVED_KEYWORD, BARE_LABEL)
100 PG_KEYWORD("constraint", CONSTRAINT, RESERVED_KEYWORD, BARE_LABEL)
101 PG_KEYWORD("constraints", CONSTRAINTS, UNRESERVED_KEYWORD, BARE_LABEL)
102 PG_KEYWORD("content", CONTENT_P, UNRESERVED_KEYWORD, BARE_LABEL)
103 PG_KEYWORD("continue", CONTINUE_P, UNRESERVED_KEYWORD, BARE_LABEL)
104 PG_KEYWORD("conversion", CONVERSION_P, UNRESERVED_KEYWORD, BARE_LABEL)
107 PG_KEYWORD("create", CREATE, RESERVED_KEYWORD, AS_LABEL)
111 PG_KEYWORD("current", CURRENT_P, UNRESERVED_KEYWORD, BARE_LABEL)
112 PG_KEYWORD("current_catalog", CURRENT_CATALOG, RESERVED_KEYWORD, BARE_LABEL)
113 PG_KEYWORD("current_date", CURRENT_DATE, RESERVED_KEYWORD, BARE_LABEL)
114 PG_KEYWORD("current_role", CURRENT_ROLE, RESERVED_KEYWORD, BARE_LABEL)
115 PG_KEYWORD("current_schema", CURRENT_SCHEMA, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
116 PG_KEYWORD("current_time", CURRENT_TIME, RESERVED_KEYWORD, BARE_LABEL)
117 PG_KEYWORD("current_timestamp", CURRENT_TIMESTAMP, RESERVED_KEYWORD, BARE_LABEL)
118 PG_KEYWORD("current_user", CURRENT_USER, RESERVED_KEYWORD, BARE_LABEL)
119 PG_KEYWORD("cursor", CURSOR, UNRESERVED_KEYWORD, BARE_LABEL)
120 PG_KEYWORD("cycle", CYCLE, UNRESERVED_KEYWORD, BARE_LABEL)
121 PG_KEYWORD("data", DATA_P, UNRESERVED_KEYWORD, BARE_LABEL)
122 PG_KEYWORD("database", DATABASE, UNRESERVED_KEYWORD, BARE_LABEL)
123 PG_KEYWORD("day", DAY_P, UNRESERVED_KEYWORD, AS_LABEL)
124 PG_KEYWORD("deallocate", DEALLOCATE, UNRESERVED_KEYWORD, BARE_LABEL)
126 PG_KEYWORD("decimal", DECIMAL_P, COL_NAME_KEYWORD, BARE_LABEL)
127 PG_KEYWORD("declare", DECLARE, UNRESERVED_KEYWORD, BARE_LABEL)
128 PG_KEYWORD("default", DEFAULT, RESERVED_KEYWORD, BARE_LABEL)
129 PG_KEYWORD("defaults", DEFAULTS, UNRESERVED_KEYWORD, BARE_LABEL)
130 PG_KEYWORD("deferrable", DEFERRABLE, RESERVED_KEYWORD, BARE_LABEL)
131 PG_KEYWORD("deferred", DEFERRED, UNRESERVED_KEYWORD, BARE_LABEL)
132 PG_KEYWORD("definer", DEFINER, UNRESERVED_KEYWORD, BARE_LABEL)
133 PG_KEYWORD("delete", DELETE_P, UNRESERVED_KEYWORD, BARE_LABEL)
134 PG_KEYWORD("delimiter", DELIMITER, UNRESERVED_KEYWORD, BARE_LABEL)
135 PG_KEYWORD("delimiters", DELIMITERS, UNRESERVED_KEYWORD, BARE_LABEL)
136 PG_KEYWORD("depends", DEPENDS, UNRESERVED_KEYWORD, BARE_LABEL)
137 PG_KEYWORD("depth", DEPTH, UNRESERVED_KEYWORD, BARE_LABEL)
138 PG_KEYWORD("desc", DESC, RESERVED_KEYWORD, BARE_LABEL)
139 PG_KEYWORD("detach", DETACH, UNRESERVED_KEYWORD, BARE_LABEL)
140 PG_KEYWORD("dictionary", DICTIONARY, UNRESERVED_KEYWORD, BARE_LABEL)
141 PG_KEYWORD("disable", DISABLE_P, UNRESERVED_KEYWORD, BARE_LABEL)
143 PG_KEYWORD("distinct", DISTINCT, RESERVED_KEYWORD, BARE_LABEL)
145 PG_KEYWORD("document", DOCUMENT_P, UNRESERVED_KEYWORD, BARE_LABEL)
146 PG_KEYWORD("domain", DOMAIN_P, UNRESERVED_KEYWORD, BARE_LABEL)
147 PG_KEYWORD("double", DOUBLE_P, UNRESERVED_KEYWORD, BARE_LABEL)
150 PG_KEYWORD("else", ELSE, RESERVED_KEYWORD, BARE_LABEL)
151 PG_KEYWORD("empty", EMPTY_P, UNRESERVED_KEYWORD, BARE_LABEL)
152 PG_KEYWORD("enable", ENABLE_P, UNRESERVED_KEYWORD, BARE_LABEL)
153 PG_KEYWORD("encoding", ENCODING, UNRESERVED_KEYWORD, BARE_LABEL)
154 PG_KEYWORD("encrypted", ENCRYPTED, UNRESERVED_KEYWORD, BARE_LABEL)
155 PG_KEYWORD("end", END_P, RESERVED_KEYWORD, BARE_LABEL)
156 PG_KEYWORD("enum", ENUM_P, UNRESERVED_KEYWORD, BARE_LABEL)
157 PG_KEYWORD("error", ERROR_P, UNRESERVED_KEYWORD, BARE_LABEL)
158 PG_KEYWORD("escape", ESCAPE, UNRESERVED_KEYWORD, BARE_LABEL)
159 PG_KEYWORD("event", EVENT, UNRESERVED_KEYWORD, BARE_LABEL)
160 PG_KEYWORD("except", EXCEPT, RESERVED_KEYWORD, AS_LABEL)
161 PG_KEYWORD("exclude", EXCLUDE, UNRESERVED_KEYWORD, BARE_LABEL)
162 PG_KEYWORD("excluding", EXCLUDING, UNRESERVED_KEYWORD, BARE_LABEL)
163 PG_KEYWORD("exclusive", EXCLUSIVE, UNRESERVED_KEYWORD, BARE_LABEL)
164 PG_KEYWORD("execute", EXECUTE, UNRESERVED_KEYWORD, BARE_LABEL)
165 PG_KEYWORD("exists", EXISTS, COL_NAME_KEYWORD, BARE_LABEL)
166 PG_KEYWORD("explain", EXPLAIN, UNRESERVED_KEYWORD, BARE_LABEL)
167 PG_KEYWORD("expression", EXPRESSION, UNRESERVED_KEYWORD, BARE_LABEL)
168 PG_KEYWORD("extension", EXTENSION, UNRESERVED_KEYWORD, BARE_LABEL)
169 PG_KEYWORD("external", EXTERNAL, UNRESERVED_KEYWORD, BARE_LABEL)
170 PG_KEYWORD("extract", EXTRACT, COL_NAME_KEYWORD, BARE_LABEL)
171 PG_KEYWORD("false", FALSE_P, RESERVED_KEYWORD, BARE_LABEL)
172 PG_KEYWORD("family", FAMILY, UNRESERVED_KEYWORD, BARE_LABEL)
173 PG_KEYWORD("fetch", FETCH, RESERVED_KEYWORD, AS_LABEL)
174 PG_KEYWORD("filter", FILTER, UNRESERVED_KEYWORD, AS_LABEL)
175 PG_KEYWORD("finalize", FINALIZE, UNRESERVED_KEYWORD, BARE_LABEL)
176 PG_KEYWORD("first", FIRST_P, UNRESERVED_KEYWORD, BARE_LABEL)
177 PG_KEYWORD("float", FLOAT_P, COL_NAME_KEYWORD, BARE_LABEL)
178 PG_KEYWORD("following", FOLLOWING, UNRESERVED_KEYWORD, BARE_LABEL)
180 PG_KEYWORD("force", FORCE, UNRESERVED_KEYWORD, BARE_LABEL)
181 PG_KEYWORD("foreign", FOREIGN, RESERVED_KEYWORD, BARE_LABEL)
182 PG_KEYWORD("format", FORMAT, UNRESERVED_KEYWORD, BARE_LABEL)
183 PG_KEYWORD("forward", FORWARD, UNRESERVED_KEYWORD, BARE_LABEL)
184 PG_KEYWORD("freeze", FREEZE, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
185 PG_KEYWORD("from", FROM, RESERVED_KEYWORD, AS_LABEL)
187 PG_KEYWORD("function", FUNCTION, UNRESERVED_KEYWORD, BARE_LABEL)
188 PG_KEYWORD("functions", FUNCTIONS, UNRESERVED_KEYWORD, BARE_LABEL)
189 PG_KEYWORD("generated", GENERATED, UNRESERVED_KEYWORD, BARE_LABEL)
190 PG_KEYWORD("global", GLOBAL, UNRESERVED_KEYWORD, BARE_LABEL)
191 PG_KEYWORD("grant", GRANT, RESERVED_KEYWORD, AS_LABEL)
192 PG_KEYWORD("granted", GRANTED, UNRESERVED_KEYWORD, BARE_LABEL)
193 PG_KEYWORD("greatest", GREATEST, COL_NAME_KEYWORD, BARE_LABEL)
194 PG_KEYWORD("group", GROUP_P, RESERVED_KEYWORD, AS_LABEL)
195 PG_KEYWORD("grouping", GROUPING, COL_NAME_KEYWORD, BARE_LABEL)
196 PG_KEYWORD("groups", GROUPS, UNRESERVED_KEYWORD, BARE_LABEL)
197 PG_KEYWORD("handler", HANDLER, UNRESERVED_KEYWORD, BARE_LABEL)
198 PG_KEYWORD("having", HAVING, RESERVED_KEYWORD, AS_LABEL)
199 PG_KEYWORD("header", HEADER_P, UNRESERVED_KEYWORD, BARE_LABEL)
201 PG_KEYWORD("hour", HOUR_P, UNRESERVED_KEYWORD, AS_LABEL)
202 PG_KEYWORD("identity", IDENTITY_P, UNRESERVED_KEYWORD, BARE_LABEL)
205 PG_KEYWORD("immediate", IMMEDIATE, UNRESERVED_KEYWORD, BARE_LABEL)
206 PG_KEYWORD("immutable", IMMUTABLE, UNRESERVED_KEYWORD, BARE_LABEL)
207 PG_KEYWORD("implicit", IMPLICIT_P, UNRESERVED_KEYWORD, BARE_LABEL)
208 PG_KEYWORD("import", IMPORT_P, UNRESERVED_KEYWORD, BARE_LABEL)
210 PG_KEYWORD("include", INCLUDE, UNRESERVED_KEYWORD, BARE_LABEL)
211 PG_KEYWORD("including", INCLUDING, UNRESERVED_KEYWORD, BARE_LABEL)
212 PG_KEYWORD("increment", INCREMENT, UNRESERVED_KEYWORD, BARE_LABEL)
213 PG_KEYWORD("indent", INDENT, UNRESERVED_KEYWORD, BARE_LABEL)
214 PG_KEYWORD("index", INDEX, UNRESERVED_KEYWORD, BARE_LABEL)
215 PG_KEYWORD("indexes", INDEXES, UNRESERVED_KEYWORD, BARE_LABEL)
216 PG_KEYWORD("inherit", INHERIT, UNRESERVED_KEYWORD, BARE_LABEL)
217 PG_KEYWORD("inherits", INHERITS, UNRESERVED_KEYWORD, BARE_LABEL)
218 PG_KEYWORD("initially", INITIALLY, RESERVED_KEYWORD, BARE_LABEL)
219 PG_KEYWORD("inline", INLINE_P, UNRESERVED_KEYWORD, BARE_LABEL)
220 PG_KEYWORD("inner", INNER_P, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
221 PG_KEYWORD("inout", INOUT, COL_NAME_KEYWORD, BARE_LABEL)
222 PG_KEYWORD("input", INPUT_P, UNRESERVED_KEYWORD, BARE_LABEL)
223 PG_KEYWORD("insensitive", INSENSITIVE, UNRESERVED_KEYWORD, BARE_LABEL)
224 PG_KEYWORD("insert", INSERT, UNRESERVED_KEYWORD, BARE_LABEL)
225 PG_KEYWORD("instead", INSTEAD, UNRESERVED_KEYWORD, BARE_LABEL)
226 PG_KEYWORD("int", INT_P, COL_NAME_KEYWORD, BARE_LABEL)
227 PG_KEYWORD("integer", INTEGER, COL_NAME_KEYWORD, BARE_LABEL)
228 PG_KEYWORD("intersect", INTERSECT, RESERVED_KEYWORD, AS_LABEL)
229 PG_KEYWORD("interval", INTERVAL, COL_NAME_KEYWORD, BARE_LABEL)
230 PG_KEYWORD("into", INTO, RESERVED_KEYWORD, AS_LABEL)
231 PG_KEYWORD("invoker", INVOKER, UNRESERVED_KEYWORD, BARE_LABEL)
233 PG_KEYWORD("isnull", ISNULL, TYPE_FUNC_NAME_KEYWORD, AS_LABEL)
234 PG_KEYWORD("isolation", ISOLATION, UNRESERVED_KEYWORD, BARE_LABEL)
236 PG_KEYWORD("json", JSON, COL_NAME_KEYWORD, BARE_LABEL)
237 PG_KEYWORD("json_array", JSON_ARRAY, COL_NAME_KEYWORD, BARE_LABEL)
238 PG_KEYWORD("json_arrayagg", JSON_ARRAYAGG, COL_NAME_KEYWORD, BARE_LABEL)
239 PG_KEYWORD("json_exists", JSON_EXISTS, COL_NAME_KEYWORD, BARE_LABEL)
240 PG_KEYWORD("json_object", JSON_OBJECT, COL_NAME_KEYWORD, BARE_LABEL)
241 PG_KEYWORD("json_objectagg", JSON_OBJECTAGG, COL_NAME_KEYWORD, BARE_LABEL)
242 PG_KEYWORD("json_query", JSON_QUERY, COL_NAME_KEYWORD, BARE_LABEL)
243 PG_KEYWORD("json_scalar", JSON_SCALAR, COL_NAME_KEYWORD, BARE_LABEL)
244 PG_KEYWORD("json_serialize", JSON_SERIALIZE, COL_NAME_KEYWORD, BARE_LABEL)
245 PG_KEYWORD("json_table", JSON_TABLE, COL_NAME_KEYWORD, BARE_LABEL)
246 PG_KEYWORD("json_value", JSON_VALUE, COL_NAME_KEYWORD, BARE_LABEL)
250 PG_KEYWORD("label", LABEL, UNRESERVED_KEYWORD, BARE_LABEL)
251 PG_KEYWORD("language", LANGUAGE, UNRESERVED_KEYWORD, BARE_LABEL)
252 PG_KEYWORD("large", LARGE_P, UNRESERVED_KEYWORD, BARE_LABEL)
253 PG_KEYWORD("last", LAST_P, UNRESERVED_KEYWORD, BARE_LABEL)
254 PG_KEYWORD("lateral", LATERAL_P, RESERVED_KEYWORD, BARE_LABEL)
255 PG_KEYWORD("leading", LEADING, RESERVED_KEYWORD, BARE_LABEL)
256 PG_KEYWORD("leakproof", LEAKPROOF, UNRESERVED_KEYWORD, BARE_LABEL)
257 PG_KEYWORD("least", LEAST, COL_NAME_KEYWORD, BARE_LABEL)
259 PG_KEYWORD("level", LEVEL, UNRESERVED_KEYWORD, BARE_LABEL)
261 PG_KEYWORD("limit", LIMIT, RESERVED_KEYWORD, AS_LABEL)
262 PG_KEYWORD("listen", LISTEN, UNRESERVED_KEYWORD, BARE_LABEL)
264 PG_KEYWORD("local", LOCAL, UNRESERVED_KEYWORD, BARE_LABEL)
265 PG_KEYWORD("localtime", LOCALTIME, RESERVED_KEYWORD, BARE_LABEL)
266 PG_KEYWORD("localtimestamp", LOCALTIMESTAMP, RESERVED_KEYWORD, BARE_LABEL)
267 PG_KEYWORD("location", LOCATION, UNRESERVED_KEYWORD, BARE_LABEL)
268 PG_KEYWORD("lock", LOCK_P, UNRESERVED_KEYWORD, BARE_LABEL)
270 PG_KEYWORD("logged", LOGGED, UNRESERVED_KEYWORD, BARE_LABEL)
271 PG_KEYWORD("mapping", MAPPING, UNRESERVED_KEYWORD, BARE_LABEL)
273 PG_KEYWORD("matched", MATCHED, UNRESERVED_KEYWORD, BARE_LABEL)
274 PG_KEYWORD("materialized", MATERIALIZED, UNRESERVED_KEYWORD, BARE_LABEL)
275 PG_KEYWORD("maxvalue", MAXVALUE, UNRESERVED_KEYWORD, BARE_LABEL)
276 PG_KEYWORD("merge", MERGE, UNRESERVED_KEYWORD, BARE_LABEL)
277 PG_KEYWORD("merge_action", MERGE_ACTION, COL_NAME_KEYWORD, BARE_LABEL)
278 PG_KEYWORD("method", METHOD, UNRESERVED_KEYWORD, BARE_LABEL)
279 PG_KEYWORD("minute", MINUTE_P, UNRESERVED_KEYWORD, AS_LABEL)
280 PG_KEYWORD("minvalue", MINVALUE, UNRESERVED_KEYWORD, BARE_LABEL)
282 PG_KEYWORD("month", MONTH_P, UNRESERVED_KEYWORD, AS_LABEL)
284 PG_KEYWORD("name", NAME_P, UNRESERVED_KEYWORD, BARE_LABEL)
285 PG_KEYWORD("names", NAMES, UNRESERVED_KEYWORD, BARE_LABEL)
286 PG_KEYWORD("national", NATIONAL, COL_NAME_KEYWORD, BARE_LABEL)
287 PG_KEYWORD("natural", NATURAL, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
288 PG_KEYWORD("nchar", NCHAR, COL_NAME_KEYWORD, BARE_LABEL)
289 PG_KEYWORD("nested", NESTED, UNRESERVED_KEYWORD, BARE_LABEL)
298 PG_KEYWORD("normalize", NORMALIZE, COL_NAME_KEYWORD, BARE_LABEL)
299 PG_KEYWORD("normalized", NORMALIZED, UNRESERVED_KEYWORD, BARE_LABEL)
301 PG_KEYWORD("nothing", NOTHING, UNRESERVED_KEYWORD, BARE_LABEL)
302 PG_KEYWORD("notify", NOTIFY, UNRESERVED_KEYWORD, BARE_LABEL)
303 PG_KEYWORD("notnull", NOTNULL, TYPE_FUNC_NAME_KEYWORD, AS_LABEL)
304 PG_KEYWORD("nowait", NOWAIT, UNRESERVED_KEYWORD, BARE_LABEL)
305 PG_KEYWORD("null", NULL_P, RESERVED_KEYWORD, BARE_LABEL)
306 PG_KEYWORD("nullif", NULLIF, COL_NAME_KEYWORD, BARE_LABEL)
307 PG_KEYWORD("nulls", NULLS_P, UNRESERVED_KEYWORD, BARE_LABEL)
308 PG_KEYWORD("numeric", NUMERIC, COL_NAME_KEYWORD, BARE_LABEL)
309 PG_KEYWORD("object", OBJECT_P, UNRESERVED_KEYWORD, BARE_LABEL)
312 PG_KEYWORD("offset", OFFSET, RESERVED_KEYWORD, AS_LABEL)
317 PG_KEYWORD("only", ONLY, RESERVED_KEYWORD, BARE_LABEL)
318 PG_KEYWORD("operator", OPERATOR, UNRESERVED_KEYWORD, BARE_LABEL)
319 PG_KEYWORD("option", OPTION, UNRESERVED_KEYWORD, BARE_LABEL)
320 PG_KEYWORD("options", OPTIONS, UNRESERVED_KEYWORD, BARE_LABEL)
322 PG_KEYWORD("order", ORDER, RESERVED_KEYWORD, AS_LABEL)
323 PG_KEYWORD("ordinality", ORDINALITY, UNRESERVED_KEYWORD, BARE_LABEL)
324 PG_KEYWORD("others", OTHERS, UNRESERVED_KEYWORD, BARE_LABEL)
325 PG_KEYWORD("out", OUT_P, COL_NAME_KEYWORD, BARE_LABEL)
326 PG_KEYWORD("outer", OUTER_P, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
327 PG_KEYWORD("over", OVER, UNRESERVED_KEYWORD, AS_LABEL)
328 PG_KEYWORD("overlaps", OVERLAPS, TYPE_FUNC_NAME_KEYWORD, AS_LABEL)
329 PG_KEYWORD("overlay", OVERLAY, COL_NAME_KEYWORD, BARE_LABEL)
330 PG_KEYWORD("overriding", OVERRIDING, UNRESERVED_KEYWORD, BARE_LABEL)
331 PG_KEYWORD("owned", OWNED, UNRESERVED_KEYWORD, BARE_LABEL)
332 PG_KEYWORD("owner", OWNER, UNRESERVED_KEYWORD, BARE_LABEL)
333 PG_KEYWORD("parallel", PARALLEL, UNRESERVED_KEYWORD, BARE_LABEL)
334 PG_KEYWORD("parameter", PARAMETER, UNRESERVED_KEYWORD, BARE_LABEL)
335 PG_KEYWORD("parser", PARSER, UNRESERVED_KEYWORD, BARE_LABEL)
336 PG_KEYWORD("partial", PARTIAL, UNRESERVED_KEYWORD, BARE_LABEL)
337 PG_KEYWORD("partition", PARTITION, UNRESERVED_KEYWORD, BARE_LABEL)
338 PG_KEYWORD("passing", PASSING, UNRESERVED_KEYWORD, BARE_LABEL)
339 PG_KEYWORD("password", PASSWORD, UNRESERVED_KEYWORD, BARE_LABEL)
341 PG_KEYWORD("period", PERIOD, UNRESERVED_KEYWORD, BARE_LABEL)
342 PG_KEYWORD("placing", PLACING, RESERVED_KEYWORD, BARE_LABEL)
344 PG_KEYWORD("plans", PLANS, UNRESERVED_KEYWORD, BARE_LABEL)
345 PG_KEYWORD("policy", POLICY, UNRESERVED_KEYWORD, BARE_LABEL)
346 PG_KEYWORD("position", POSITION, COL_NAME_KEYWORD, BARE_LABEL)
347 PG_KEYWORD("preceding", PRECEDING, UNRESERVED_KEYWORD, BARE_LABEL)
348 PG_KEYWORD("precision", PRECISION, COL_NAME_KEYWORD, AS_LABEL)
349 PG_KEYWORD("prepare", PREPARE, UNRESERVED_KEYWORD, BARE_LABEL)
350 PG_KEYWORD("prepared", PREPARED, UNRESERVED_KEYWORD, BARE_LABEL)
351 PG_KEYWORD("preserve", PRESERVE, UNRESERVED_KEYWORD, BARE_LABEL)
352 PG_KEYWORD("primary", PRIMARY, RESERVED_KEYWORD, BARE_LABEL)
353 PG_KEYWORD("prior", PRIOR, UNRESERVED_KEYWORD, BARE_LABEL)
354 PG_KEYWORD("privileges", PRIVILEGES, UNRESERVED_KEYWORD, BARE_LABEL)
355 PG_KEYWORD("procedural", PROCEDURAL, UNRESERVED_KEYWORD, BARE_LABEL)
356 PG_KEYWORD("procedure", PROCEDURE, UNRESERVED_KEYWORD, BARE_LABEL)
357 PG_KEYWORD("procedures", PROCEDURES, UNRESERVED_KEYWORD, BARE_LABEL)
358 PG_KEYWORD("program", PROGRAM, UNRESERVED_KEYWORD, BARE_LABEL)
359 PG_KEYWORD("publication", PUBLICATION, UNRESERVED_KEYWORD, BARE_LABEL)
360 PG_KEYWORD("quote", QUOTE, UNRESERVED_KEYWORD, BARE_LABEL)
361 PG_KEYWORD("quotes", QUOTES, UNRESERVED_KEYWORD, BARE_LABEL)
364 PG_KEYWORD("real", REAL, COL_NAME_KEYWORD, BARE_LABEL)
365 PG_KEYWORD("reassign", REASSIGN, UNRESERVED_KEYWORD, BARE_LABEL)
366 PG_KEYWORD("recursive", RECURSIVE, UNRESERVED_KEYWORD, BARE_LABEL)
368 PG_KEYWORD("references", REFERENCES, RESERVED_KEYWORD, BARE_LABEL)
369 PG_KEYWORD("referencing", REFERENCING, UNRESERVED_KEYWORD, BARE_LABEL)
370 PG_KEYWORD("refresh", REFRESH, UNRESERVED_KEYWORD, BARE_LABEL)
371 PG_KEYWORD("reindex", REINDEX, UNRESERVED_KEYWORD, BARE_LABEL)
372 PG_KEYWORD("relative", RELATIVE_P, UNRESERVED_KEYWORD, BARE_LABEL)
373 PG_KEYWORD("release", RELEASE, UNRESERVED_KEYWORD, BARE_LABEL)
374 PG_KEYWORD("rename", RENAME, UNRESERVED_KEYWORD, BARE_LABEL)
375 PG_KEYWORD("repeatable", REPEATABLE, UNRESERVED_KEYWORD, BARE_LABEL)
376 PG_KEYWORD("replace", REPLACE, UNRESERVED_KEYWORD, BARE_LABEL)
377 PG_KEYWORD("replica", REPLICA, UNRESERVED_KEYWORD, BARE_LABEL)
378 PG_KEYWORD("reset", RESET, UNRESERVED_KEYWORD, BARE_LABEL)
379 PG_KEYWORD("restart", RESTART, UNRESERVED_KEYWORD, BARE_LABEL)
380 PG_KEYWORD("restrict", RESTRICT, UNRESERVED_KEYWORD, BARE_LABEL)
381 PG_KEYWORD("return", RETURN, UNRESERVED_KEYWORD, BARE_LABEL)
382 PG_KEYWORD("returning", RETURNING, RESERVED_KEYWORD, AS_LABEL)
383 PG_KEYWORD("returns", RETURNS, UNRESERVED_KEYWORD, BARE_LABEL)
384 PG_KEYWORD("revoke", REVOKE, UNRESERVED_KEYWORD, BARE_LABEL)
387 PG_KEYWORD("rollback", ROLLBACK, UNRESERVED_KEYWORD, BARE_LABEL)
388 PG_KEYWORD("rollup", ROLLUP, UNRESERVED_KEYWORD, BARE_LABEL)
389 PG_KEYWORD("routine", ROUTINE, UNRESERVED_KEYWORD, BARE_LABEL)
390 PG_KEYWORD("routines", ROUTINES, UNRESERVED_KEYWORD, BARE_LABEL)
394 PG_KEYWORD("savepoint", SAVEPOINT, UNRESERVED_KEYWORD, BARE_LABEL)
395 PG_KEYWORD("scalar", SCALAR, UNRESERVED_KEYWORD, BARE_LABEL)
396 PG_KEYWORD("schema", SCHEMA, UNRESERVED_KEYWORD, BARE_LABEL)
397 PG_KEYWORD("schemas", SCHEMAS, UNRESERVED_KEYWORD, BARE_LABEL)
398 PG_KEYWORD("scroll", SCROLL, UNRESERVED_KEYWORD, BARE_LABEL)
399 PG_KEYWORD("search", SEARCH, UNRESERVED_KEYWORD, BARE_LABEL)
400 PG_KEYWORD("second", SECOND_P, UNRESERVED_KEYWORD, AS_LABEL)
401 PG_KEYWORD("security", SECURITY, UNRESERVED_KEYWORD, BARE_LABEL)
402 PG_KEYWORD("select", SELECT, RESERVED_KEYWORD, BARE_LABEL)
403 PG_KEYWORD("sequence", SEQUENCE, UNRESERVED_KEYWORD, BARE_LABEL)
404 PG_KEYWORD("sequences", SEQUENCES, UNRESERVED_KEYWORD, BARE_LABEL)
405 PG_KEYWORD("serializable", SERIALIZABLE, UNRESERVED_KEYWORD, BARE_LABEL)
406 PG_KEYWORD("server", SERVER, UNRESERVED_KEYWORD, BARE_LABEL)
407 PG_KEYWORD("session", SESSION, UNRESERVED_KEYWORD, BARE_LABEL)
408 PG_KEYWORD("session_user", SESSION_USER, RESERVED_KEYWORD, BARE_LABEL)
410 PG_KEYWORD("setof", SETOF, COL_NAME_KEYWORD, BARE_LABEL)
412 PG_KEYWORD("share", SHARE, UNRESERVED_KEYWORD, BARE_LABEL)
414 PG_KEYWORD("similar", SIMILAR, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
415 PG_KEYWORD("simple", SIMPLE, UNRESERVED_KEYWORD, BARE_LABEL)
417 PG_KEYWORD("smallint", SMALLINT, COL_NAME_KEYWORD, BARE_LABEL)
418 PG_KEYWORD("snapshot", SNAPSHOT, UNRESERVED_KEYWORD, BARE_LABEL)
420 PG_KEYWORD("source", SOURCE, UNRESERVED_KEYWORD, BARE_LABEL)
422 PG_KEYWORD("stable", STABLE, UNRESERVED_KEYWORD, BARE_LABEL)
423 PG_KEYWORD("standalone", STANDALONE_P, UNRESERVED_KEYWORD, BARE_LABEL)
424 PG_KEYWORD("start", START, UNRESERVED_KEYWORD, BARE_LABEL)
425 PG_KEYWORD("statement", STATEMENT, UNRESERVED_KEYWORD, BARE_LABEL)
426 PG_KEYWORD("statistics", STATISTICS, UNRESERVED_KEYWORD, BARE_LABEL)
428 PG_KEYWORD("stdout", STDOUT, UNRESERVED_KEYWORD, BARE_LABEL)
429 PG_KEYWORD("storage", STORAGE, UNRESERVED_KEYWORD, BARE_LABEL)
430 PG_KEYWORD("stored", STORED, UNRESERVED_KEYWORD, BARE_LABEL)
431 PG_KEYWORD("strict", STRICT_P, UNRESERVED_KEYWORD, BARE_LABEL)
432 PG_KEYWORD("string", STRING_P, UNRESERVED_KEYWORD, BARE_LABEL)
433 PG_KEYWORD("strip", STRIP_P, UNRESERVED_KEYWORD, BARE_LABEL)
434 PG_KEYWORD("subscription", SUBSCRIPTION, UNRESERVED_KEYWORD, BARE_LABEL)
435 PG_KEYWORD("substring", SUBSTRING, COL_NAME_KEYWORD, BARE_LABEL)
436 PG_KEYWORD("support", SUPPORT, UNRESERVED_KEYWORD, BARE_LABEL)
437 PG_KEYWORD("symmetric", SYMMETRIC, RESERVED_KEYWORD, BARE_LABEL)
438 PG_KEYWORD("sysid", SYSID, UNRESERVED_KEYWORD, BARE_LABEL)
439 PG_KEYWORD("system", SYSTEM_P, UNRESERVED_KEYWORD, BARE_LABEL)
440 PG_KEYWORD("system_user", SYSTEM_USER, RESERVED_KEYWORD, BARE_LABEL)
441 PG_KEYWORD("table", TABLE, RESERVED_KEYWORD, BARE_LABEL)
442 PG_KEYWORD("tables", TABLES, UNRESERVED_KEYWORD, BARE_LABEL)
443 PG_KEYWORD("tablesample", TABLESAMPLE, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
444 PG_KEYWORD("tablespace", TABLESPACE, UNRESERVED_KEYWORD, BARE_LABEL)
445 PG_KEYWORD("target", TARGET, UNRESERVED_KEYWORD, BARE_LABEL)
447 PG_KEYWORD("template", TEMPLATE, UNRESERVED_KEYWORD, BARE_LABEL)
448 PG_KEYWORD("temporary", TEMPORARY, UNRESERVED_KEYWORD, BARE_LABEL)
449 PG_KEYWORD("text", TEXT_P, UNRESERVED_KEYWORD, BARE_LABEL)
450 PG_KEYWORD("then", THEN, RESERVED_KEYWORD, BARE_LABEL)
452 PG_KEYWORD("time", TIME, COL_NAME_KEYWORD, BARE_LABEL)
453 PG_KEYWORD("timestamp", TIMESTAMP, COL_NAME_KEYWORD, BARE_LABEL)
455 PG_KEYWORD("trailing", TRAILING, RESERVED_KEYWORD, BARE_LABEL)
456 PG_KEYWORD("transaction", TRANSACTION, UNRESERVED_KEYWORD, BARE_LABEL)
457 PG_KEYWORD("transform", TRANSFORM, UNRESERVED_KEYWORD, BARE_LABEL)
458 PG_KEYWORD("treat", TREAT, COL_NAME_KEYWORD, BARE_LABEL)
459 PG_KEYWORD("trigger", TRIGGER, UNRESERVED_KEYWORD, BARE_LABEL)
460 PG_KEYWORD("trim", TRIM, COL_NAME_KEYWORD, BARE_LABEL)
461 PG_KEYWORD("true", TRUE_P, RESERVED_KEYWORD, BARE_LABEL)
462 PG_KEYWORD("truncate", TRUNCATE, UNRESERVED_KEYWORD, BARE_LABEL)
463 PG_KEYWORD("trusted", TRUSTED, UNRESERVED_KEYWORD, BARE_LABEL)
464 PG_KEYWORD("type", TYPE_P, UNRESERVED_KEYWORD, BARE_LABEL)
465 PG_KEYWORD("types", TYPES_P, UNRESERVED_KEYWORD, BARE_LABEL)
466 PG_KEYWORD("uescape", UESCAPE, UNRESERVED_KEYWORD, BARE_LABEL)
467 PG_KEYWORD("unbounded", UNBOUNDED, UNRESERVED_KEYWORD, BARE_LABEL)
468 PG_KEYWORD("uncommitted", UNCOMMITTED, UNRESERVED_KEYWORD, BARE_LABEL)
469 PG_KEYWORD("unconditional", UNCONDITIONAL, UNRESERVED_KEYWORD, BARE_LABEL)
470 PG_KEYWORD("unencrypted", UNENCRYPTED, UNRESERVED_KEYWORD, BARE_LABEL)
471 PG_KEYWORD("union", UNION, RESERVED_KEYWORD, AS_LABEL)
472 PG_KEYWORD("unique", UNIQUE, RESERVED_KEYWORD, BARE_LABEL)
473 PG_KEYWORD("unknown", UNKNOWN, UNRESERVED_KEYWORD, BARE_LABEL)
474 PG_KEYWORD("unlisten", UNLISTEN, UNRESERVED_KEYWORD, BARE_LABEL)
475 PG_KEYWORD("unlogged", UNLOGGED, UNRESERVED_KEYWORD, BARE_LABEL)
476 PG_KEYWORD("until", UNTIL, UNRESERVED_KEYWORD, BARE_LABEL)
477 PG_KEYWORD("update", UPDATE, UNRESERVED_KEYWORD, BARE_LABEL)
478 PG_KEYWORD("user", USER, RESERVED_KEYWORD, BARE_LABEL)
479 PG_KEYWORD("using", USING, RESERVED_KEYWORD, BARE_LABEL)
480 PG_KEYWORD("vacuum", VACUUM, UNRESERVED_KEYWORD, BARE_LABEL)
481 PG_KEYWORD("valid", VALID, UNRESERVED_KEYWORD, BARE_LABEL)
482 PG_KEYWORD("validate", VALIDATE, UNRESERVED_KEYWORD, BARE_LABEL)
483 PG_KEYWORD("validator", VALIDATOR, UNRESERVED_KEYWORD, BARE_LABEL)
484 PG_KEYWORD("value", VALUE_P, UNRESERVED_KEYWORD, BARE_LABEL)
485 PG_KEYWORD("values", VALUES, COL_NAME_KEYWORD, BARE_LABEL)
486 PG_KEYWORD("varchar", VARCHAR, COL_NAME_KEYWORD, BARE_LABEL)
487 PG_KEYWORD("variadic", VARIADIC, RESERVED_KEYWORD, BARE_LABEL)
488 PG_KEYWORD("varying", VARYING, UNRESERVED_KEYWORD, AS_LABEL)
489 PG_KEYWORD("verbose", VERBOSE, TYPE_FUNC_NAME_KEYWORD, BARE_LABEL)
490 PG_KEYWORD("version", VERSION_P, UNRESERVED_KEYWORD, BARE_LABEL)
492 PG_KEYWORD("views", VIEWS, UNRESERVED_KEYWORD, BARE_LABEL)
493 PG_KEYWORD("volatile", VOLATILE, UNRESERVED_KEYWORD, BARE_LABEL)
494 PG_KEYWORD("when", WHEN, RESERVED_KEYWORD, BARE_LABEL)
495 PG_KEYWORD("where", WHERE, RESERVED_KEYWORD, AS_LABEL)
496 PG_KEYWORD("whitespace", WHITESPACE_P, UNRESERVED_KEYWORD, BARE_LABEL)
497 PG_KEYWORD("window", WINDOW, RESERVED_KEYWORD, AS_LABEL)
498 PG_KEYWORD("with", WITH, RESERVED_KEYWORD, AS_LABEL)
499 PG_KEYWORD("within", WITHIN, UNRESERVED_KEYWORD, AS_LABEL)
500 PG_KEYWORD("without", WITHOUT, UNRESERVED_KEYWORD, AS_LABEL)
502 PG_KEYWORD("wrapper", WRAPPER, UNRESERVED_KEYWORD, BARE_LABEL)
503 PG_KEYWORD("write", WRITE, UNRESERVED_KEYWORD, BARE_LABEL)
505 PG_KEYWORD("xmlattributes", XMLATTRIBUTES, COL_NAME_KEYWORD, BARE_LABEL)
506 PG_KEYWORD("xmlconcat", XMLCONCAT, COL_NAME_KEYWORD, BARE_LABEL)
507 PG_KEYWORD("xmlelement", XMLELEMENT, COL_NAME_KEYWORD, BARE_LABEL)
508 PG_KEYWORD("xmlexists", XMLEXISTS, COL_NAME_KEYWORD, BARE_LABEL)
509 PG_KEYWORD("xmlforest", XMLFOREST, COL_NAME_KEYWORD, BARE_LABEL)
510 PG_KEYWORD("xmlnamespaces", XMLNAMESPACES, COL_NAME_KEYWORD, BARE_LABEL)
511 PG_KEYWORD("xmlparse", XMLPARSE, COL_NAME_KEYWORD, BARE_LABEL)
512 PG_KEYWORD("xmlpi", XMLPI, COL_NAME_KEYWORD, BARE_LABEL)
513 PG_KEYWORD("xmlroot", XMLROOT, COL_NAME_KEYWORD, BARE_LABEL)
514 PG_KEYWORD("xmlserialize", XMLSERIALIZE, COL_NAME_KEYWORD, BARE_LABEL)
515 PG_KEYWORD("xmltable", XMLTABLE, COL_NAME_KEYWORD, BARE_LABEL)
516 PG_KEYWORD("year", YEAR_P, UNRESERVED_KEYWORD, AS_LABEL)
#define CLOSE
Definition: _int.h:165
#define STDIN
Definition: args.c:68
#define BARE_LABEL
Definition: keywords.c:39
#define PG_KEYWORD(kwname, value, category, collabel)
Definition: keywords.c:37
#define AS_LABEL
Definition: keywords.c:40
#define ON(var)
Definition: help.c:39
@ ANY
Definition: isn.c:37
#define COL_NAME_KEYWORD
Definition: keywords.h:21
#define UNRESERVED_KEYWORD
Definition: keywords.h:20
#define TYPE_FUNC_NAME_KEYWORD
Definition: keywords.h:22
#define RESERVED_KEYWORD
Definition: keywords.h:23
@ PLAN
Definition: pg_regress.c:92
@ NONE
Definition: pg_regress.c:93
#define MATCH(tokname, namelen)
#define SET(c)
Definition: regc_lex.c:43
#define SOME
#define RANGE
Definition: regcomp.c:340
#define NEXT()
Definition: regcomp.c:313
#define LOCKED
Definition: regexec.c:55
#define WORK
Definition: regexec.c:87
#define OFF(p)
Definition: regexec.c:131
#define DISCARD
Definition: regguts.h:58
#define KEY(...)
Definition: syscache.c:79
#define ASC
Definition: wchar.c:1761
#define DO(field)