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-2019, 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) entries.
23 *
24 * Note: gen_keywordlist.pl requires the entries to appear in ASCII order.
25 */
26
27/* name, value, category */
28PG_KEYWORD("abort", ABORT_P, UNRESERVED_KEYWORD)
29PG_KEYWORD("absolute", ABSOLUTE_P, UNRESERVED_KEYWORD)
30PG_KEYWORD("access", ACCESS, UNRESERVED_KEYWORD)
31PG_KEYWORD("action", ACTION, UNRESERVED_KEYWORD)
32PG_KEYWORD("add", ADD_P, UNRESERVED_KEYWORD)
33PG_KEYWORD("admin", ADMIN, UNRESERVED_KEYWORD)
34PG_KEYWORD("after", AFTER, UNRESERVED_KEYWORD)
35PG_KEYWORD("aggregate", AGGREGATE, UNRESERVED_KEYWORD)
36PG_KEYWORD("all", ALL, RESERVED_KEYWORD)
37PG_KEYWORD("also", ALSO, UNRESERVED_KEYWORD)
38PG_KEYWORD("alter", ALTER, UNRESERVED_KEYWORD)
39PG_KEYWORD("always", ALWAYS, UNRESERVED_KEYWORD)
40PG_KEYWORD("analyse", ANALYSE, RESERVED_KEYWORD) /* British spelling */
41PG_KEYWORD("analyze", ANALYZE, RESERVED_KEYWORD)
42PG_KEYWORD("and", AND, RESERVED_KEYWORD)
43PG_KEYWORD("any", ANY, RESERVED_KEYWORD)
44PG_KEYWORD("array", ARRAY, RESERVED_KEYWORD)
45PG_KEYWORD("as", AS, RESERVED_KEYWORD)
46PG_KEYWORD("asc", ASC, RESERVED_KEYWORD)
47PG_KEYWORD("assertion", ASSERTION, UNRESERVED_KEYWORD)
48PG_KEYWORD("assignment", ASSIGNMENT, UNRESERVED_KEYWORD)
49PG_KEYWORD("asymmetric", ASYMMETRIC, RESERVED_KEYWORD)
50PG_KEYWORD("at", AT, UNRESERVED_KEYWORD)
51PG_KEYWORD("attach", ATTACH, UNRESERVED_KEYWORD)
52PG_KEYWORD("attribute", ATTRIBUTE, UNRESERVED_KEYWORD)
53PG_KEYWORD("authorization", AUTHORIZATION, TYPE_FUNC_NAME_KEYWORD)
54PG_KEYWORD("backward", BACKWARD, UNRESERVED_KEYWORD)
55PG_KEYWORD("before", BEFORE, UNRESERVED_KEYWORD)
56PG_KEYWORD("begin", BEGIN_P, UNRESERVED_KEYWORD)
57PG_KEYWORD("between", BETWEEN, COL_NAME_KEYWORD)
58PG_KEYWORD("bigint", BIGINT, COL_NAME_KEYWORD)
59PG_KEYWORD("binary", BINARY, TYPE_FUNC_NAME_KEYWORD)
60PG_KEYWORD("bit", BIT, COL_NAME_KEYWORD)
61PG_KEYWORD("boolean", BOOLEAN_P, COL_NAME_KEYWORD)
62PG_KEYWORD("both", BOTH, RESERVED_KEYWORD)
63PG_KEYWORD("by", BY, UNRESERVED_KEYWORD)
64PG_KEYWORD("cache", CACHE, UNRESERVED_KEYWORD)
65PG_KEYWORD("call", CALL, UNRESERVED_KEYWORD)
66PG_KEYWORD("called", CALLED, UNRESERVED_KEYWORD)
67PG_KEYWORD("cascade", CASCADE, UNRESERVED_KEYWORD)
68PG_KEYWORD("cascaded", CASCADED, UNRESERVED_KEYWORD)
69PG_KEYWORD("case", CASE, RESERVED_KEYWORD)
70PG_KEYWORD("cast", CAST, RESERVED_KEYWORD)
71PG_KEYWORD("catalog", CATALOG_P, UNRESERVED_KEYWORD)
72PG_KEYWORD("chain", CHAIN, UNRESERVED_KEYWORD)
73PG_KEYWORD("char", CHAR_P, COL_NAME_KEYWORD)
74PG_KEYWORD("character", CHARACTER, COL_NAME_KEYWORD)
75PG_KEYWORD("characteristics", CHARACTERISTICS, UNRESERVED_KEYWORD)
76PG_KEYWORD("check", CHECK, RESERVED_KEYWORD)
77PG_KEYWORD("checkpoint", CHECKPOINT, UNRESERVED_KEYWORD)
78PG_KEYWORD("class", CLASS, UNRESERVED_KEYWORD)
79PG_KEYWORD("close", CLOSE, UNRESERVED_KEYWORD)
80PG_KEYWORD("cluster", CLUSTER, UNRESERVED_KEYWORD)
81PG_KEYWORD("coalesce", COALESCE, COL_NAME_KEYWORD)
82PG_KEYWORD("collate", COLLATE, RESERVED_KEYWORD)
83PG_KEYWORD("collation", COLLATION, TYPE_FUNC_NAME_KEYWORD)
84PG_KEYWORD("column", COLUMN, RESERVED_KEYWORD)
85PG_KEYWORD("columns", COLUMNS, UNRESERVED_KEYWORD)
86PG_KEYWORD("comment", COMMENT, UNRESERVED_KEYWORD)
87PG_KEYWORD("comments", COMMENTS, UNRESERVED_KEYWORD)
88PG_KEYWORD("commit", COMMIT, UNRESERVED_KEYWORD)
89PG_KEYWORD("committed", COMMITTED, UNRESERVED_KEYWORD)
90PG_KEYWORD("concurrently", CONCURRENTLY, TYPE_FUNC_NAME_KEYWORD)
91PG_KEYWORD("configuration", CONFIGURATION, UNRESERVED_KEYWORD)
92PG_KEYWORD("conflict", CONFLICT, UNRESERVED_KEYWORD)
93PG_KEYWORD("connection", CONNECTION, UNRESERVED_KEYWORD)
94PG_KEYWORD("constraint", CONSTRAINT, RESERVED_KEYWORD)
95PG_KEYWORD("constraints", CONSTRAINTS, UNRESERVED_KEYWORD)
96PG_KEYWORD("content", CONTENT_P, UNRESERVED_KEYWORD)
97PG_KEYWORD("continue", CONTINUE_P, UNRESERVED_KEYWORD)
98PG_KEYWORD("conversion", CONVERSION_P, UNRESERVED_KEYWORD)
99PG_KEYWORD("copy", COPY, UNRESERVED_KEYWORD)
100PG_KEYWORD("cost", COST, UNRESERVED_KEYWORD)
101PG_KEYWORD("create", CREATE, RESERVED_KEYWORD)
102PG_KEYWORD("cross", CROSS, TYPE_FUNC_NAME_KEYWORD)
103PG_KEYWORD("csv", CSV, UNRESERVED_KEYWORD)
104PG_KEYWORD("cube", CUBE, UNRESERVED_KEYWORD)
105PG_KEYWORD("current", CURRENT_P, UNRESERVED_KEYWORD)
106PG_KEYWORD("current_catalog", CURRENT_CATALOG, RESERVED_KEYWORD)
107PG_KEYWORD("current_date", CURRENT_DATE, RESERVED_KEYWORD)
108PG_KEYWORD("current_role", CURRENT_ROLE, RESERVED_KEYWORD)
109PG_KEYWORD("current_schema", CURRENT_SCHEMA, TYPE_FUNC_NAME_KEYWORD)
110PG_KEYWORD("current_time", CURRENT_TIME, RESERVED_KEYWORD)
111PG_KEYWORD("current_timestamp", CURRENT_TIMESTAMP, RESERVED_KEYWORD)
112PG_KEYWORD("current_user", CURRENT_USER, RESERVED_KEYWORD)
113PG_KEYWORD("cursor", CURSOR, UNRESERVED_KEYWORD)
114PG_KEYWORD("cycle", CYCLE, UNRESERVED_KEYWORD)
115PG_KEYWORD("data", DATA_P, UNRESERVED_KEYWORD)
116PG_KEYWORD("database", DATABASE, UNRESERVED_KEYWORD)
117PG_KEYWORD("day", DAY_P, UNRESERVED_KEYWORD)
118PG_KEYWORD("deallocate", DEALLOCATE, UNRESERVED_KEYWORD)
119PG_KEYWORD("dec", DEC, COL_NAME_KEYWORD)
120PG_KEYWORD("decimal", DECIMAL_P, COL_NAME_KEYWORD)
121PG_KEYWORD("declare", DECLARE, UNRESERVED_KEYWORD)
122PG_KEYWORD("default", DEFAULT, RESERVED_KEYWORD)
123PG_KEYWORD("defaults", DEFAULTS, UNRESERVED_KEYWORD)
124PG_KEYWORD("deferrable", DEFERRABLE, RESERVED_KEYWORD)
125PG_KEYWORD("deferred", DEFERRED, UNRESERVED_KEYWORD)
126PG_KEYWORD("definer", DEFINER, UNRESERVED_KEYWORD)
127PG_KEYWORD("delete", DELETE_P, UNRESERVED_KEYWORD)
128PG_KEYWORD("delimiter", DELIMITER, UNRESERVED_KEYWORD)
129PG_KEYWORD("delimiters", DELIMITERS, UNRESERVED_KEYWORD)
130PG_KEYWORD("depends", DEPENDS, UNRESERVED_KEYWORD)
131PG_KEYWORD("desc", DESC, RESERVED_KEYWORD)
132PG_KEYWORD("detach", DETACH, UNRESERVED_KEYWORD)
133PG_KEYWORD("dictionary", DICTIONARY, UNRESERVED_KEYWORD)
134PG_KEYWORD("disable", DISABLE_P, UNRESERVED_KEYWORD)
135PG_KEYWORD("discard", DISCARD, UNRESERVED_KEYWORD)
136PG_KEYWORD("distinct", DISTINCT, RESERVED_KEYWORD)
137PG_KEYWORD("do", DO, RESERVED_KEYWORD)
138PG_KEYWORD("document", DOCUMENT_P, UNRESERVED_KEYWORD)
139PG_KEYWORD("domain", DOMAIN_P, UNRESERVED_KEYWORD)
140PG_KEYWORD("double", DOUBLE_P, UNRESERVED_KEYWORD)
141PG_KEYWORD("drop", DROP, UNRESERVED_KEYWORD)
142PG_KEYWORD("each", EACH, UNRESERVED_KEYWORD)
143PG_KEYWORD("else", ELSE, RESERVED_KEYWORD)
144PG_KEYWORD("enable", ENABLE_P, UNRESERVED_KEYWORD)
145PG_KEYWORD("encoding", ENCODING, UNRESERVED_KEYWORD)
146PG_KEYWORD("encrypted", ENCRYPTED, UNRESERVED_KEYWORD)
147PG_KEYWORD("end", END_P, RESERVED_KEYWORD)
148PG_KEYWORD("enum", ENUM_P, UNRESERVED_KEYWORD)
149PG_KEYWORD("escape", ESCAPE, UNRESERVED_KEYWORD)
150PG_KEYWORD("event", EVENT, UNRESERVED_KEYWORD)
151PG_KEYWORD("except", EXCEPT, RESERVED_KEYWORD)
152PG_KEYWORD("exclude", EXCLUDE, UNRESERVED_KEYWORD)
153PG_KEYWORD("excluding", EXCLUDING, UNRESERVED_KEYWORD)
154PG_KEYWORD("exclusive", EXCLUSIVE, UNRESERVED_KEYWORD)
155PG_KEYWORD("execute", EXECUTE, UNRESERVED_KEYWORD)
156PG_KEYWORD("exists", EXISTS, COL_NAME_KEYWORD)
157PG_KEYWORD("explain", EXPLAIN, UNRESERVED_KEYWORD)
158PG_KEYWORD("extension", EXTENSION, UNRESERVED_KEYWORD)
159PG_KEYWORD("external", EXTERNAL, UNRESERVED_KEYWORD)
160PG_KEYWORD("extract", EXTRACT, COL_NAME_KEYWORD)
161PG_KEYWORD("false", FALSE_P, RESERVED_KEYWORD)
162PG_KEYWORD("family", FAMILY, UNRESERVED_KEYWORD)
163PG_KEYWORD("fetch", FETCH, RESERVED_KEYWORD)
164PG_KEYWORD("filter", FILTER, UNRESERVED_KEYWORD)
165PG_KEYWORD("first", FIRST_P, UNRESERVED_KEYWORD)
166PG_KEYWORD("float", FLOAT_P, COL_NAME_KEYWORD)
167PG_KEYWORD("following", FOLLOWING, UNRESERVED_KEYWORD)
168PG_KEYWORD("for", FOR, RESERVED_KEYWORD)
169PG_KEYWORD("force", FORCE, UNRESERVED_KEYWORD)
170PG_KEYWORD("foreign", FOREIGN, RESERVED_KEYWORD)
171PG_KEYWORD("forward", FORWARD, UNRESERVED_KEYWORD)
172PG_KEYWORD("freeze", FREEZE, TYPE_FUNC_NAME_KEYWORD)
173PG_KEYWORD("from", FROM, RESERVED_KEYWORD)
174PG_KEYWORD("full", FULL, TYPE_FUNC_NAME_KEYWORD)
175PG_KEYWORD("function", FUNCTION, UNRESERVED_KEYWORD)
176PG_KEYWORD("functions", FUNCTIONS, UNRESERVED_KEYWORD)
177PG_KEYWORD("generated", GENERATED, UNRESERVED_KEYWORD)
178PG_KEYWORD("global", GLOBAL, UNRESERVED_KEYWORD)
179PG_KEYWORD("grant", GRANT, RESERVED_KEYWORD)
180PG_KEYWORD("granted", GRANTED, UNRESERVED_KEYWORD)
181PG_KEYWORD("greatest", GREATEST, COL_NAME_KEYWORD)
182PG_KEYWORD("group", GROUP_P, RESERVED_KEYWORD)
183PG_KEYWORD("grouping", GROUPING, COL_NAME_KEYWORD)
184PG_KEYWORD("groups", GROUPS, UNRESERVED_KEYWORD)
185PG_KEYWORD("handler", HANDLER, UNRESERVED_KEYWORD)
186PG_KEYWORD("having", HAVING, RESERVED_KEYWORD)
187PG_KEYWORD("header", HEADER_P, UNRESERVED_KEYWORD)
188PG_KEYWORD("hold", HOLD, UNRESERVED_KEYWORD)
189PG_KEYWORD("hour", HOUR_P, UNRESERVED_KEYWORD)
190PG_KEYWORD("identity", IDENTITY_P, UNRESERVED_KEYWORD)
191PG_KEYWORD("if", IF_P, UNRESERVED_KEYWORD)
192PG_KEYWORD("ilike", ILIKE, TYPE_FUNC_NAME_KEYWORD)
193PG_KEYWORD("immediate", IMMEDIATE, UNRESERVED_KEYWORD)
194PG_KEYWORD("immutable", IMMUTABLE, UNRESERVED_KEYWORD)
195PG_KEYWORD("implicit", IMPLICIT_P, UNRESERVED_KEYWORD)
196PG_KEYWORD("import", IMPORT_P, UNRESERVED_KEYWORD)
197PG_KEYWORD("in", IN_P, RESERVED_KEYWORD)
198PG_KEYWORD("include", INCLUDE, UNRESERVED_KEYWORD)
199PG_KEYWORD("including", INCLUDING, UNRESERVED_KEYWORD)
200PG_KEYWORD("increment", INCREMENT, UNRESERVED_KEYWORD)
201PG_KEYWORD("index", INDEX, UNRESERVED_KEYWORD)
202PG_KEYWORD("indexes", INDEXES, UNRESERVED_KEYWORD)
203PG_KEYWORD("inherit", INHERIT, UNRESERVED_KEYWORD)
204PG_KEYWORD("inherits", INHERITS, UNRESERVED_KEYWORD)
205PG_KEYWORD("initially", INITIALLY, RESERVED_KEYWORD)
206PG_KEYWORD("inline", INLINE_P, UNRESERVED_KEYWORD)
207PG_KEYWORD("inner", INNER_P, TYPE_FUNC_NAME_KEYWORD)
208PG_KEYWORD("inout", INOUT, COL_NAME_KEYWORD)
209PG_KEYWORD("input", INPUT_P, UNRESERVED_KEYWORD)
210PG_KEYWORD("insensitive", INSENSITIVE, UNRESERVED_KEYWORD)
211PG_KEYWORD("insert", INSERT, UNRESERVED_KEYWORD)
212PG_KEYWORD("instead", INSTEAD, UNRESERVED_KEYWORD)
213PG_KEYWORD("int", INT_P, COL_NAME_KEYWORD)
214PG_KEYWORD("integer", INTEGER, COL_NAME_KEYWORD)
215PG_KEYWORD("intersect", INTERSECT, RESERVED_KEYWORD)
216PG_KEYWORD("interval", INTERVAL, COL_NAME_KEYWORD)
217PG_KEYWORD("into", INTO, RESERVED_KEYWORD)
218PG_KEYWORD("invoker", INVOKER, UNRESERVED_KEYWORD)
219PG_KEYWORD("is", IS, TYPE_FUNC_NAME_KEYWORD)
220PG_KEYWORD("isnull", ISNULL, TYPE_FUNC_NAME_KEYWORD)
221PG_KEYWORD("isolation", ISOLATION, UNRESERVED_KEYWORD)
222PG_KEYWORD("join", JOIN, TYPE_FUNC_NAME_KEYWORD)
223PG_KEYWORD("key", KEY, UNRESERVED_KEYWORD)
224PG_KEYWORD("label", LABEL, UNRESERVED_KEYWORD)
225PG_KEYWORD("language", LANGUAGE, UNRESERVED_KEYWORD)
226PG_KEYWORD("large", LARGE_P, UNRESERVED_KEYWORD)
227PG_KEYWORD("last", LAST_P, UNRESERVED_KEYWORD)
228PG_KEYWORD("lateral", LATERAL_P, RESERVED_KEYWORD)
229PG_KEYWORD("leading", LEADING, RESERVED_KEYWORD)
230PG_KEYWORD("leakproof", LEAKPROOF, UNRESERVED_KEYWORD)
231PG_KEYWORD("least", LEAST, COL_NAME_KEYWORD)
232PG_KEYWORD("left", LEFT, TYPE_FUNC_NAME_KEYWORD)
233PG_KEYWORD("level", LEVEL, UNRESERVED_KEYWORD)
234PG_KEYWORD("like", LIKE, TYPE_FUNC_NAME_KEYWORD)
235PG_KEYWORD("limit", LIMIT, RESERVED_KEYWORD)
236PG_KEYWORD("listen", LISTEN, UNRESERVED_KEYWORD)
237PG_KEYWORD("load", LOAD, UNRESERVED_KEYWORD)
238PG_KEYWORD("local", LOCAL, UNRESERVED_KEYWORD)
239PG_KEYWORD("localtime", LOCALTIME, RESERVED_KEYWORD)
240PG_KEYWORD("localtimestamp", LOCALTIMESTAMP, RESERVED_KEYWORD)
241PG_KEYWORD("location", LOCATION, UNRESERVED_KEYWORD)
242PG_KEYWORD("lock", LOCK_P, UNRESERVED_KEYWORD)
243PG_KEYWORD("locked", LOCKED, UNRESERVED_KEYWORD)
244PG_KEYWORD("logged", LOGGED, UNRESERVED_KEYWORD)
245PG_KEYWORD("mapping", MAPPING, UNRESERVED_KEYWORD)
246PG_KEYWORD("match", MATCH, UNRESERVED_KEYWORD)
247PG_KEYWORD("materialized", MATERIALIZED, UNRESERVED_KEYWORD)
248PG_KEYWORD("maxvalue", MAXVALUE, UNRESERVED_KEYWORD)
249PG_KEYWORD("method", METHOD, UNRESERVED_KEYWORD)
250PG_KEYWORD("minute", MINUTE_P, UNRESERVED_KEYWORD)
251PG_KEYWORD("minvalue", MINVALUE, UNRESERVED_KEYWORD)
252PG_KEYWORD("mode", MODE, UNRESERVED_KEYWORD)
253PG_KEYWORD("month", MONTH_P, UNRESERVED_KEYWORD)
254PG_KEYWORD("move", MOVE, UNRESERVED_KEYWORD)
255PG_KEYWORD("name", NAME_P, UNRESERVED_KEYWORD)
256PG_KEYWORD("names", NAMES, UNRESERVED_KEYWORD)
257PG_KEYWORD("national", NATIONAL, COL_NAME_KEYWORD)
258PG_KEYWORD("natural", NATURAL, TYPE_FUNC_NAME_KEYWORD)
259PG_KEYWORD("nchar", NCHAR, COL_NAME_KEYWORD)
260PG_KEYWORD("new", NEW, UNRESERVED_KEYWORD)
261PG_KEYWORD("next", NEXT, UNRESERVED_KEYWORD)
262PG_KEYWORD("no", NO, UNRESERVED_KEYWORD)
263PG_KEYWORD("none", NONE, COL_NAME_KEYWORD)
264PG_KEYWORD("not", NOT, RESERVED_KEYWORD)
265PG_KEYWORD("nothing", NOTHING, UNRESERVED_KEYWORD)
266PG_KEYWORD("notify", NOTIFY, UNRESERVED_KEYWORD)
267PG_KEYWORD("notnull", NOTNULL, TYPE_FUNC_NAME_KEYWORD)
268PG_KEYWORD("nowait", NOWAIT, UNRESERVED_KEYWORD)
269PG_KEYWORD("null", NULL_P, RESERVED_KEYWORD)
270PG_KEYWORD("nullif", NULLIF, COL_NAME_KEYWORD)
271PG_KEYWORD("nulls", NULLS_P, UNRESERVED_KEYWORD)
272PG_KEYWORD("numeric", NUMERIC, COL_NAME_KEYWORD)
273PG_KEYWORD("object", OBJECT_P, UNRESERVED_KEYWORD)
274PG_KEYWORD("of", OF, UNRESERVED_KEYWORD)
275PG_KEYWORD("off", OFF, UNRESERVED_KEYWORD)
276PG_KEYWORD("offset", OFFSET, RESERVED_KEYWORD)
277PG_KEYWORD("oids", OIDS, UNRESERVED_KEYWORD)
278PG_KEYWORD("old", OLD, UNRESERVED_KEYWORD)
279PG_KEYWORD("on", ON, RESERVED_KEYWORD)
280PG_KEYWORD("only", ONLY, RESERVED_KEYWORD)
281PG_KEYWORD("operator", OPERATOR, UNRESERVED_KEYWORD)
282PG_KEYWORD("option", OPTION, UNRESERVED_KEYWORD)
283PG_KEYWORD("options", OPTIONS, UNRESERVED_KEYWORD)
284PG_KEYWORD("or", OR, RESERVED_KEYWORD)
285PG_KEYWORD("order", ORDER, RESERVED_KEYWORD)
286PG_KEYWORD("ordinality", ORDINALITY, UNRESERVED_KEYWORD)
287PG_KEYWORD("others", OTHERS, UNRESERVED_KEYWORD)
288PG_KEYWORD("out", OUT_P, COL_NAME_KEYWORD)
289PG_KEYWORD("outer", OUTER_P, TYPE_FUNC_NAME_KEYWORD)
290PG_KEYWORD("over", OVER, UNRESERVED_KEYWORD)
291PG_KEYWORD("overlaps", OVERLAPS, TYPE_FUNC_NAME_KEYWORD)
292PG_KEYWORD("overlay", OVERLAY, COL_NAME_KEYWORD)
293PG_KEYWORD("overriding", OVERRIDING, UNRESERVED_KEYWORD)
294PG_KEYWORD("owned", OWNED, UNRESERVED_KEYWORD)
295PG_KEYWORD("owner", OWNER, UNRESERVED_KEYWORD)
296PG_KEYWORD("parallel", PARALLEL, UNRESERVED_KEYWORD)
297PG_KEYWORD("parser", PARSER, UNRESERVED_KEYWORD)
298PG_KEYWORD("partial", PARTIAL, UNRESERVED_KEYWORD)
299PG_KEYWORD("partition", PARTITION, UNRESERVED_KEYWORD)
300PG_KEYWORD("passing", PASSING, UNRESERVED_KEYWORD)
301PG_KEYWORD("password", PASSWORD, UNRESERVED_KEYWORD)
302PG_KEYWORD("placing", PLACING, RESERVED_KEYWORD)
303PG_KEYWORD("plans", PLANS, UNRESERVED_KEYWORD)
304PG_KEYWORD("policy", POLICY, UNRESERVED_KEYWORD)
305PG_KEYWORD("position", POSITION, COL_NAME_KEYWORD)
306PG_KEYWORD("preceding", PRECEDING, UNRESERVED_KEYWORD)
307PG_KEYWORD("precision", PRECISION, COL_NAME_KEYWORD)
308PG_KEYWORD("prepare", PREPARE, UNRESERVED_KEYWORD)
309PG_KEYWORD("prepared", PREPARED, UNRESERVED_KEYWORD)
310PG_KEYWORD("preserve", PRESERVE, UNRESERVED_KEYWORD)
311PG_KEYWORD("primary", PRIMARY, RESERVED_KEYWORD)
312PG_KEYWORD("prior", PRIOR, UNRESERVED_KEYWORD)
313PG_KEYWORD("privileges", PRIVILEGES, UNRESERVED_KEYWORD)
314PG_KEYWORD("procedural", PROCEDURAL, UNRESERVED_KEYWORD)
315PG_KEYWORD("procedure", PROCEDURE, UNRESERVED_KEYWORD)
316PG_KEYWORD("procedures", PROCEDURES, UNRESERVED_KEYWORD)
317PG_KEYWORD("program", PROGRAM, UNRESERVED_KEYWORD)
318PG_KEYWORD("publication", PUBLICATION, UNRESERVED_KEYWORD)
319PG_KEYWORD("quote", QUOTE, UNRESERVED_KEYWORD)
320PG_KEYWORD("range", RANGE, UNRESERVED_KEYWORD)
321PG_KEYWORD("read", READ, UNRESERVED_KEYWORD)
322PG_KEYWORD("real", REAL, COL_NAME_KEYWORD)
323PG_KEYWORD("reassign", REASSIGN, UNRESERVED_KEYWORD)
324PG_KEYWORD("recheck", RECHECK, UNRESERVED_KEYWORD)
325PG_KEYWORD("recursive", RECURSIVE, UNRESERVED_KEYWORD)
326PG_KEYWORD("ref", REF, UNRESERVED_KEYWORD)
327PG_KEYWORD("references", REFERENCES, RESERVED_KEYWORD)
328PG_KEYWORD("referencing", REFERENCING, UNRESERVED_KEYWORD)
329PG_KEYWORD("refresh", REFRESH, UNRESERVED_KEYWORD)
330PG_KEYWORD("reindex", REINDEX, UNRESERVED_KEYWORD)
331PG_KEYWORD("relative", RELATIVE_P, UNRESERVED_KEYWORD)
332PG_KEYWORD("release", RELEASE, UNRESERVED_KEYWORD)
333PG_KEYWORD("rename", RENAME, UNRESERVED_KEYWORD)
334PG_KEYWORD("repeatable", REPEATABLE, UNRESERVED_KEYWORD)
335PG_KEYWORD("replace", REPLACE, UNRESERVED_KEYWORD)
336PG_KEYWORD("replica", REPLICA, UNRESERVED_KEYWORD)
337PG_KEYWORD("reset", RESET, UNRESERVED_KEYWORD)
338PG_KEYWORD("restart", RESTART, UNRESERVED_KEYWORD)
339PG_KEYWORD("restrict", RESTRICT, UNRESERVED_KEYWORD)
340PG_KEYWORD("returning", RETURNING, RESERVED_KEYWORD)
341PG_KEYWORD("returns", RETURNS, UNRESERVED_KEYWORD)
342PG_KEYWORD("revoke", REVOKE, UNRESERVED_KEYWORD)
343PG_KEYWORD("right", RIGHT, TYPE_FUNC_NAME_KEYWORD)
344PG_KEYWORD("role", ROLE, UNRESERVED_KEYWORD)
345PG_KEYWORD("rollback", ROLLBACK, UNRESERVED_KEYWORD)
346PG_KEYWORD("rollup", ROLLUP, UNRESERVED_KEYWORD)
347PG_KEYWORD("routine", ROUTINE, UNRESERVED_KEYWORD)
348PG_KEYWORD("routines", ROUTINES, UNRESERVED_KEYWORD)
349PG_KEYWORD("row", ROW, COL_NAME_KEYWORD)
350PG_KEYWORD("rows", ROWS, UNRESERVED_KEYWORD)
351PG_KEYWORD("rule", RULE, UNRESERVED_KEYWORD)
352PG_KEYWORD("savepoint", SAVEPOINT, UNRESERVED_KEYWORD)
353PG_KEYWORD("schema", SCHEMA, UNRESERVED_KEYWORD)
354PG_KEYWORD("schemas", SCHEMAS, UNRESERVED_KEYWORD)
355PG_KEYWORD("scroll", SCROLL, UNRESERVED_KEYWORD)
356PG_KEYWORD("search", SEARCH, UNRESERVED_KEYWORD)
357PG_KEYWORD("second", SECOND_P, UNRESERVED_KEYWORD)
358PG_KEYWORD("security", SECURITY, UNRESERVED_KEYWORD)
359PG_KEYWORD("select", SELECT, RESERVED_KEYWORD)
360PG_KEYWORD("sequence", SEQUENCE, UNRESERVED_KEYWORD)
361PG_KEYWORD("sequences", SEQUENCES, UNRESERVED_KEYWORD)
362PG_KEYWORD("serializable", SERIALIZABLE, UNRESERVED_KEYWORD)
363PG_KEYWORD("server", SERVER, UNRESERVED_KEYWORD)
364PG_KEYWORD("session", SESSION, UNRESERVED_KEYWORD)
365PG_KEYWORD("session_user", SESSION_USER, RESERVED_KEYWORD)
366PG_KEYWORD("set", SET, UNRESERVED_KEYWORD)
367PG_KEYWORD("setof", SETOF, COL_NAME_KEYWORD)
368PG_KEYWORD("sets", SETS, UNRESERVED_KEYWORD)
369PG_KEYWORD("share", SHARE, UNRESERVED_KEYWORD)
370PG_KEYWORD("show", SHOW, UNRESERVED_KEYWORD)
371PG_KEYWORD("similar", SIMILAR, TYPE_FUNC_NAME_KEYWORD)
372PG_KEYWORD("simple", SIMPLE, UNRESERVED_KEYWORD)
373PG_KEYWORD("skip", SKIP, UNRESERVED_KEYWORD)
374PG_KEYWORD("smallint", SMALLINT, COL_NAME_KEYWORD)
375PG_KEYWORD("snapshot", SNAPSHOT, UNRESERVED_KEYWORD)
376PG_KEYWORD("some", SOME, RESERVED_KEYWORD)
377PG_KEYWORD("sql", SQL_P, UNRESERVED_KEYWORD)
378PG_KEYWORD("stable", STABLE, UNRESERVED_KEYWORD)
379PG_KEYWORD("standalone", STANDALONE_P, UNRESERVED_KEYWORD)
380PG_KEYWORD("start", START, UNRESERVED_KEYWORD)
381PG_KEYWORD("statement", STATEMENT, UNRESERVED_KEYWORD)
382PG_KEYWORD("statistics", STATISTICS, UNRESERVED_KEYWORD)
383PG_KEYWORD("stdin", STDIN, UNRESERVED_KEYWORD)
384PG_KEYWORD("stdout", STDOUT, UNRESERVED_KEYWORD)
385PG_KEYWORD("storage", STORAGE, UNRESERVED_KEYWORD)
386PG_KEYWORD("stored", STORED, UNRESERVED_KEYWORD)
387PG_KEYWORD("strict", STRICT_P, UNRESERVED_KEYWORD)
388PG_KEYWORD("strip", STRIP_P, UNRESERVED_KEYWORD)
389PG_KEYWORD("subscription", SUBSCRIPTION, UNRESERVED_KEYWORD)
390PG_KEYWORD("substring", SUBSTRING, COL_NAME_KEYWORD)
391PG_KEYWORD("support", SUPPORT, UNRESERVED_KEYWORD)
392PG_KEYWORD("symmetric", SYMMETRIC, RESERVED_KEYWORD)
393PG_KEYWORD("sysid", SYSID, UNRESERVED_KEYWORD)
394PG_KEYWORD("system", SYSTEM_P, UNRESERVED_KEYWORD)
395PG_KEYWORD("table", TABLE, RESERVED_KEYWORD)
396PG_KEYWORD("tables", TABLES, UNRESERVED_KEYWORD)
397PG_KEYWORD("tablesample", TABLESAMPLE, TYPE_FUNC_NAME_KEYWORD)
398PG_KEYWORD("tablespace", TABLESPACE, UNRESERVED_KEYWORD)
399PG_KEYWORD("temp", TEMP, UNRESERVED_KEYWORD)
400PG_KEYWORD("template", TEMPLATE, UNRESERVED_KEYWORD)
401PG_KEYWORD("temporary", TEMPORARY, UNRESERVED_KEYWORD)
402PG_KEYWORD("text", TEXT_P, UNRESERVED_KEYWORD)
403PG_KEYWORD("then", THEN, RESERVED_KEYWORD)
404PG_KEYWORD("ties", TIES, UNRESERVED_KEYWORD)
405PG_KEYWORD("time", TIME, COL_NAME_KEYWORD)
406PG_KEYWORD("timestamp", TIMESTAMP, COL_NAME_KEYWORD)
407PG_KEYWORD("to", TO, RESERVED_KEYWORD)
408PG_KEYWORD("trailing", TRAILING, RESERVED_KEYWORD)
409PG_KEYWORD("transaction", TRANSACTION, UNRESERVED_KEYWORD)
410PG_KEYWORD("transform", TRANSFORM, UNRESERVED_KEYWORD)
411PG_KEYWORD("treat", TREAT, COL_NAME_KEYWORD)
412PG_KEYWORD("trigger", TRIGGER, UNRESERVED_KEYWORD)
413PG_KEYWORD("trim", TRIM, COL_NAME_KEYWORD)
414PG_KEYWORD("true", TRUE_P, RESERVED_KEYWORD)
415PG_KEYWORD("truncate", TRUNCATE, UNRESERVED_KEYWORD)
416PG_KEYWORD("trusted", TRUSTED, UNRESERVED_KEYWORD)
417PG_KEYWORD("type", TYPE_P, UNRESERVED_KEYWORD)
418PG_KEYWORD("types", TYPES_P, UNRESERVED_KEYWORD)
419PG_KEYWORD("unbounded", UNBOUNDED, UNRESERVED_KEYWORD)
420PG_KEYWORD("uncommitted", UNCOMMITTED, UNRESERVED_KEYWORD)
421PG_KEYWORD("unencrypted", UNENCRYPTED, UNRESERVED_KEYWORD)
422PG_KEYWORD("union", UNION, RESERVED_KEYWORD)
423PG_KEYWORD("unique", UNIQUE, RESERVED_KEYWORD)
424PG_KEYWORD("unknown", UNKNOWN, UNRESERVED_KEYWORD)
425PG_KEYWORD("unlisten", UNLISTEN, UNRESERVED_KEYWORD)
426PG_KEYWORD("unlogged", UNLOGGED, UNRESERVED_KEYWORD)
427PG_KEYWORD("until", UNTIL, UNRESERVED_KEYWORD)
428PG_KEYWORD("update", UPDATE, UNRESERVED_KEYWORD)
429PG_KEYWORD("user", USER, RESERVED_KEYWORD)
430PG_KEYWORD("using", USING, RESERVED_KEYWORD)
431PG_KEYWORD("vacuum", VACUUM, UNRESERVED_KEYWORD)
432PG_KEYWORD("valid", VALID, UNRESERVED_KEYWORD)
433PG_KEYWORD("validate", VALIDATE, UNRESERVED_KEYWORD)
434PG_KEYWORD("validator", VALIDATOR, UNRESERVED_KEYWORD)
435PG_KEYWORD("value", VALUE_P, UNRESERVED_KEYWORD)
436PG_KEYWORD("values", VALUES, COL_NAME_KEYWORD)
437PG_KEYWORD("varchar", VARCHAR, COL_NAME_KEYWORD)
438PG_KEYWORD("variadic", VARIADIC, RESERVED_KEYWORD)
439PG_KEYWORD("varying", VARYING, UNRESERVED_KEYWORD)
440PG_KEYWORD("verbose", VERBOSE, TYPE_FUNC_NAME_KEYWORD)
441PG_KEYWORD("version", VERSION_P, UNRESERVED_KEYWORD)
442PG_KEYWORD("view", VIEW, UNRESERVED_KEYWORD)
443PG_KEYWORD("views", VIEWS, UNRESERVED_KEYWORD)
444PG_KEYWORD("volatile", VOLATILE, UNRESERVED_KEYWORD)
445PG_KEYWORD("when", WHEN, RESERVED_KEYWORD)
446PG_KEYWORD("where", WHERE, RESERVED_KEYWORD)
447PG_KEYWORD("whitespace", WHITESPACE_P, UNRESERVED_KEYWORD)
448PG_KEYWORD("window", WINDOW, RESERVED_KEYWORD)
449PG_KEYWORD("with", WITH, RESERVED_KEYWORD)
450PG_KEYWORD("within", WITHIN, UNRESERVED_KEYWORD)
451PG_KEYWORD("without", WITHOUT, UNRESERVED_KEYWORD)
452PG_KEYWORD("work", WORK, UNRESERVED_KEYWORD)
453PG_KEYWORD("wrapper", WRAPPER, UNRESERVED_KEYWORD)
454PG_KEYWORD("write", WRITE, UNRESERVED_KEYWORD)
455PG_KEYWORD("xml", XML_P, UNRESERVED_KEYWORD)
456PG_KEYWORD("xmlattributes", XMLATTRIBUTES, COL_NAME_KEYWORD)
457PG_KEYWORD("xmlconcat", XMLCONCAT, COL_NAME_KEYWORD)
458PG_KEYWORD("xmlelement", XMLELEMENT, COL_NAME_KEYWORD)
459PG_KEYWORD("xmlexists", XMLEXISTS, COL_NAME_KEYWORD)
460PG_KEYWORD("xmlforest", XMLFOREST, COL_NAME_KEYWORD)
461PG_KEYWORD("xmlnamespaces", XMLNAMESPACES, COL_NAME_KEYWORD)
462PG_KEYWORD("xmlparse", XMLPARSE, COL_NAME_KEYWORD)
463PG_KEYWORD("xmlpi", XMLPI, COL_NAME_KEYWORD)
464PG_KEYWORD("xmlroot", XMLROOT, COL_NAME_KEYWORD)
465PG_KEYWORD("xmlserialize", XMLSERIALIZE, COL_NAME_KEYWORD)
466PG_KEYWORD("xmltable", XMLTABLE, COL_NAME_KEYWORD)
467PG_KEYWORD("year", YEAR_P, UNRESERVED_KEYWORD)
468PG_KEYWORD("yes", YES_P, UNRESERVED_KEYWORD)
469PG_KEYWORD("zone", ZONE, UNRESERVED_KEYWORD)
470