PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
kwlist.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * kwlist.h
4  *
5  * The keyword list is kept in its own source file for possible 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-2017, 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  * !!WARNING!!: This list must be sorted by ASCII name, because binary
25  * search is used to locate entries.
26  */
27 
28 /* name, value, category */
29 PG_KEYWORD("abort", ABORT_P, UNRESERVED_KEYWORD)
30 PG_KEYWORD("absolute", ABSOLUTE_P, UNRESERVED_KEYWORD)
31 PG_KEYWORD("access", ACCESS, UNRESERVED_KEYWORD)
32 PG_KEYWORD("action", ACTION, UNRESERVED_KEYWORD)
33 PG_KEYWORD("add", ADD_P, UNRESERVED_KEYWORD)
34 PG_KEYWORD("admin", ADMIN, UNRESERVED_KEYWORD)
35 PG_KEYWORD("after", AFTER, UNRESERVED_KEYWORD)
36 PG_KEYWORD("aggregate", AGGREGATE, UNRESERVED_KEYWORD)
37 PG_KEYWORD("all", ALL, RESERVED_KEYWORD)
38 PG_KEYWORD("also", ALSO, UNRESERVED_KEYWORD)
39 PG_KEYWORD("alter", ALTER, UNRESERVED_KEYWORD)
40 PG_KEYWORD("always", ALWAYS, UNRESERVED_KEYWORD)
41 PG_KEYWORD("analyse", ANALYSE, RESERVED_KEYWORD) /* British spelling */
43 PG_KEYWORD("and", AND, RESERVED_KEYWORD)
45 PG_KEYWORD("array", ARRAY, RESERVED_KEYWORD)
47 PG_KEYWORD("asc", ASC, RESERVED_KEYWORD)
48 PG_KEYWORD("assertion", ASSERTION, UNRESERVED_KEYWORD)
50 PG_KEYWORD("asymmetric", ASYMMETRIC, RESERVED_KEYWORD)
52 PG_KEYWORD("attach", ATTACH, UNRESERVED_KEYWORD)
53 PG_KEYWORD("attribute", ATTRIBUTE, UNRESERVED_KEYWORD)
54 PG_KEYWORD("authorization", AUTHORIZATION, TYPE_FUNC_NAME_KEYWORD)
55 PG_KEYWORD("backward", BACKWARD, UNRESERVED_KEYWORD)
57 PG_KEYWORD("begin", BEGIN_P, UNRESERVED_KEYWORD)
58 PG_KEYWORD("between", BETWEEN, COL_NAME_KEYWORD)
59 PG_KEYWORD("bigint", BIGINT, COL_NAME_KEYWORD)
60 PG_KEYWORD("binary", BINARY, TYPE_FUNC_NAME_KEYWORD)
62 PG_KEYWORD("boolean", BOOLEAN_P, COL_NAME_KEYWORD)
63 PG_KEYWORD("both", BOTH, RESERVED_KEYWORD)
65 PG_KEYWORD("cache", CACHE, UNRESERVED_KEYWORD)
66 PG_KEYWORD("called", CALLED, UNRESERVED_KEYWORD)
67 PG_KEYWORD("cascade", CASCADE, UNRESERVED_KEYWORD)
68 PG_KEYWORD("cascaded", CASCADED, UNRESERVED_KEYWORD)
69 PG_KEYWORD("case", CASE, RESERVED_KEYWORD)
70 PG_KEYWORD("cast", CAST, RESERVED_KEYWORD)
71 PG_KEYWORD("catalog", CATALOG_P, UNRESERVED_KEYWORD)
72 PG_KEYWORD("chain", CHAIN, UNRESERVED_KEYWORD)
73 PG_KEYWORD("char", CHAR_P, COL_NAME_KEYWORD)
74 PG_KEYWORD("character", CHARACTER, COL_NAME_KEYWORD)
75 PG_KEYWORD("characteristics", CHARACTERISTICS, UNRESERVED_KEYWORD)
77 PG_KEYWORD("checkpoint", CHECKPOINT, UNRESERVED_KEYWORD)
78 PG_KEYWORD("class", CLASS, UNRESERVED_KEYWORD)
81 PG_KEYWORD("coalesce", COALESCE, COL_NAME_KEYWORD)
82 PG_KEYWORD("collate", COLLATE, RESERVED_KEYWORD)
83 PG_KEYWORD("collation", COLLATION, TYPE_FUNC_NAME_KEYWORD)
84 PG_KEYWORD("column", COLUMN, RESERVED_KEYWORD)
85 PG_KEYWORD("columns", COLUMNS, UNRESERVED_KEYWORD)
86 PG_KEYWORD("comment", COMMENT, UNRESERVED_KEYWORD)
87 PG_KEYWORD("comments", COMMENTS, UNRESERVED_KEYWORD)
88 PG_KEYWORD("commit", COMMIT, UNRESERVED_KEYWORD)
89 PG_KEYWORD("committed", COMMITTED, UNRESERVED_KEYWORD)
90 PG_KEYWORD("concurrently", CONCURRENTLY, TYPE_FUNC_NAME_KEYWORD)
91 PG_KEYWORD("configuration", CONFIGURATION, UNRESERVED_KEYWORD)
92 PG_KEYWORD("conflict", CONFLICT, UNRESERVED_KEYWORD)
94 PG_KEYWORD("constraint", CONSTRAINT, RESERVED_KEYWORD)
95 PG_KEYWORD("constraints", CONSTRAINTS, UNRESERVED_KEYWORD)
96 PG_KEYWORD("content", CONTENT_P, UNRESERVED_KEYWORD)
97 PG_KEYWORD("continue", CONTINUE_P, UNRESERVED_KEYWORD)
98 PG_KEYWORD("conversion", CONVERSION_P, UNRESERVED_KEYWORD)
100 PG_KEYWORD("cost", COST, UNRESERVED_KEYWORD)
101 PG_KEYWORD("create", CREATE, RESERVED_KEYWORD)
102 PG_KEYWORD("cross", CROSS, TYPE_FUNC_NAME_KEYWORD)
103 PG_KEYWORD("csv", CSV, UNRESERVED_KEYWORD)
104 PG_KEYWORD("cube", CUBE, UNRESERVED_KEYWORD)
105 PG_KEYWORD("current", CURRENT_P, UNRESERVED_KEYWORD)
106 PG_KEYWORD("current_catalog", CURRENT_CATALOG, RESERVED_KEYWORD)
107 PG_KEYWORD("current_date", CURRENT_DATE, RESERVED_KEYWORD)
108 PG_KEYWORD("current_role", CURRENT_ROLE, RESERVED_KEYWORD)
110 PG_KEYWORD("current_time", CURRENT_TIME, RESERVED_KEYWORD)
111 PG_KEYWORD("current_timestamp", CURRENT_TIMESTAMP, RESERVED_KEYWORD)
112 PG_KEYWORD("current_user", CURRENT_USER, RESERVED_KEYWORD)
114 PG_KEYWORD("cycle", CYCLE, UNRESERVED_KEYWORD)
115 PG_KEYWORD("data", DATA_P, UNRESERVED_KEYWORD)
116 PG_KEYWORD("database", DATABASE, UNRESERVED_KEYWORD)
117 PG_KEYWORD("day", DAY_P, UNRESERVED_KEYWORD)
118 PG_KEYWORD("deallocate", DEALLOCATE, UNRESERVED_KEYWORD)
119 PG_KEYWORD("dec", DEC, COL_NAME_KEYWORD)
120 PG_KEYWORD("decimal", DECIMAL_P, COL_NAME_KEYWORD)
121 PG_KEYWORD("declare", DECLARE, UNRESERVED_KEYWORD)
122 PG_KEYWORD("default", DEFAULT, RESERVED_KEYWORD)
123 PG_KEYWORD("defaults", DEFAULTS, UNRESERVED_KEYWORD)
124 PG_KEYWORD("deferrable", DEFERRABLE, RESERVED_KEYWORD)
125 PG_KEYWORD("deferred", DEFERRED, UNRESERVED_KEYWORD)
126 PG_KEYWORD("definer", DEFINER, UNRESERVED_KEYWORD)
127 PG_KEYWORD("delete", DELETE_P, UNRESERVED_KEYWORD)
128 PG_KEYWORD("delimiter", DELIMITER, UNRESERVED_KEYWORD)
129 PG_KEYWORD("delimiters", DELIMITERS, UNRESERVED_KEYWORD)
130 PG_KEYWORD("depends", DEPENDS, UNRESERVED_KEYWORD)
131 PG_KEYWORD("desc", DESC, RESERVED_KEYWORD)
132 PG_KEYWORD("detach", DETACH, UNRESERVED_KEYWORD)
133 PG_KEYWORD("dictionary", DICTIONARY, UNRESERVED_KEYWORD)
134 PG_KEYWORD("disable", DISABLE_P, UNRESERVED_KEYWORD)
136 PG_KEYWORD("distinct", DISTINCT, RESERVED_KEYWORD)
138 PG_KEYWORD("document", DOCUMENT_P, UNRESERVED_KEYWORD)
139 PG_KEYWORD("domain", DOMAIN_P, UNRESERVED_KEYWORD)
140 PG_KEYWORD("double", DOUBLE_P, UNRESERVED_KEYWORD)
141 PG_KEYWORD("drop", DROP, UNRESERVED_KEYWORD)
142 PG_KEYWORD("each", EACH, UNRESERVED_KEYWORD)
143 PG_KEYWORD("else", ELSE, RESERVED_KEYWORD)
144 PG_KEYWORD("enable", ENABLE_P, UNRESERVED_KEYWORD)
146 PG_KEYWORD("encrypted", ENCRYPTED, UNRESERVED_KEYWORD)
147 PG_KEYWORD("end", END_P, RESERVED_KEYWORD)
148 PG_KEYWORD("enum", ENUM_P, UNRESERVED_KEYWORD)
149 PG_KEYWORD("escape", ESCAPE, UNRESERVED_KEYWORD)
150 PG_KEYWORD("event", EVENT, UNRESERVED_KEYWORD)
151 PG_KEYWORD("except", EXCEPT, RESERVED_KEYWORD)
152 PG_KEYWORD("exclude", EXCLUDE, UNRESERVED_KEYWORD)
153 PG_KEYWORD("excluding", EXCLUDING, UNRESERVED_KEYWORD)
154 PG_KEYWORD("exclusive", EXCLUSIVE, UNRESERVED_KEYWORD)
156 PG_KEYWORD("exists", EXISTS, COL_NAME_KEYWORD)
157 PG_KEYWORD("explain", EXPLAIN, UNRESERVED_KEYWORD)
158 PG_KEYWORD("extension", EXTENSION, UNRESERVED_KEYWORD)
159 PG_KEYWORD("external", EXTERNAL, UNRESERVED_KEYWORD)
160 PG_KEYWORD("extract", EXTRACT, COL_NAME_KEYWORD)
161 PG_KEYWORD("false", FALSE_P, RESERVED_KEYWORD)
162 PG_KEYWORD("family", FAMILY, UNRESERVED_KEYWORD)
163 PG_KEYWORD("fetch", FETCH, RESERVED_KEYWORD)
164 PG_KEYWORD("filter", FILTER, UNRESERVED_KEYWORD)
165 PG_KEYWORD("first", FIRST_P, UNRESERVED_KEYWORD)
166 PG_KEYWORD("float", FLOAT_P, COL_NAME_KEYWORD)
167 PG_KEYWORD("following", FOLLOWING, UNRESERVED_KEYWORD)
168 PG_KEYWORD("for", FOR, RESERVED_KEYWORD)
169 PG_KEYWORD("force", FORCE, UNRESERVED_KEYWORD)
170 PG_KEYWORD("foreign", FOREIGN, RESERVED_KEYWORD)
171 PG_KEYWORD("forward", FORWARD, UNRESERVED_KEYWORD)
172 PG_KEYWORD("freeze", FREEZE, TYPE_FUNC_NAME_KEYWORD)
173 PG_KEYWORD("from", FROM, RESERVED_KEYWORD)
174 PG_KEYWORD("full", FULL, TYPE_FUNC_NAME_KEYWORD)
177 PG_KEYWORD("global", GLOBAL, UNRESERVED_KEYWORD)
178 PG_KEYWORD("grant", GRANT, RESERVED_KEYWORD)
179 PG_KEYWORD("granted", GRANTED, UNRESERVED_KEYWORD)
180 PG_KEYWORD("greatest", GREATEST, COL_NAME_KEYWORD)
181 PG_KEYWORD("group", GROUP_P, RESERVED_KEYWORD)
182 PG_KEYWORD("grouping", GROUPING, COL_NAME_KEYWORD)
183 PG_KEYWORD("handler", HANDLER, UNRESERVED_KEYWORD)
184 PG_KEYWORD("having", HAVING, RESERVED_KEYWORD)
186 PG_KEYWORD("hold", HOLD, UNRESERVED_KEYWORD)
187 PG_KEYWORD("hour", HOUR_P, UNRESERVED_KEYWORD)
188 PG_KEYWORD("identity", IDENTITY_P, UNRESERVED_KEYWORD)
189 PG_KEYWORD("if", IF_P, UNRESERVED_KEYWORD)
190 PG_KEYWORD("ilike", ILIKE, TYPE_FUNC_NAME_KEYWORD)
191 PG_KEYWORD("immediate", IMMEDIATE, UNRESERVED_KEYWORD)
192 PG_KEYWORD("immutable", IMMUTABLE, UNRESERVED_KEYWORD)
193 PG_KEYWORD("implicit", IMPLICIT_P, UNRESERVED_KEYWORD)
194 PG_KEYWORD("import", IMPORT_P, UNRESERVED_KEYWORD)
195 PG_KEYWORD("in", IN_P, RESERVED_KEYWORD)
196 PG_KEYWORD("including", INCLUDING, UNRESERVED_KEYWORD)
197 PG_KEYWORD("increment", INCREMENT, UNRESERVED_KEYWORD)
199 PG_KEYWORD("indexes", INDEXES, UNRESERVED_KEYWORD)
200 PG_KEYWORD("inherit", INHERIT, UNRESERVED_KEYWORD)
201 PG_KEYWORD("inherits", INHERITS, UNRESERVED_KEYWORD)
202 PG_KEYWORD("initially", INITIALLY, RESERVED_KEYWORD)
203 PG_KEYWORD("inline", INLINE_P, UNRESERVED_KEYWORD)
204 PG_KEYWORD("inner", INNER_P, TYPE_FUNC_NAME_KEYWORD)
205 PG_KEYWORD("inout", INOUT, COL_NAME_KEYWORD)
206 PG_KEYWORD("input", INPUT_P, UNRESERVED_KEYWORD)
207 PG_KEYWORD("insensitive", INSENSITIVE, UNRESERVED_KEYWORD)
208 PG_KEYWORD("insert", INSERT, UNRESERVED_KEYWORD)
209 PG_KEYWORD("instead", INSTEAD, UNRESERVED_KEYWORD)
210 PG_KEYWORD("int", INT_P, COL_NAME_KEYWORD)
211 PG_KEYWORD("integer", INTEGER, COL_NAME_KEYWORD)
212 PG_KEYWORD("intersect", INTERSECT, RESERVED_KEYWORD)
214 PG_KEYWORD("into", INTO, RESERVED_KEYWORD)
215 PG_KEYWORD("invoker", INVOKER, UNRESERVED_KEYWORD)
217 PG_KEYWORD("isnull", ISNULL, TYPE_FUNC_NAME_KEYWORD)
218 PG_KEYWORD("isolation", ISOLATION, UNRESERVED_KEYWORD)
219 PG_KEYWORD("join", JOIN, TYPE_FUNC_NAME_KEYWORD)
220 PG_KEYWORD("key", KEY, UNRESERVED_KEYWORD)
222 PG_KEYWORD("language", LANGUAGE, UNRESERVED_KEYWORD)
223 PG_KEYWORD("large", LARGE_P, UNRESERVED_KEYWORD)
224 PG_KEYWORD("last", LAST_P, UNRESERVED_KEYWORD)
225 PG_KEYWORD("lateral", LATERAL_P, RESERVED_KEYWORD)
226 PG_KEYWORD("leading", LEADING, RESERVED_KEYWORD)
227 PG_KEYWORD("leakproof", LEAKPROOF, UNRESERVED_KEYWORD)
228 PG_KEYWORD("least", LEAST, COL_NAME_KEYWORD)
229 PG_KEYWORD("left", LEFT, TYPE_FUNC_NAME_KEYWORD)
230 PG_KEYWORD("level", LEVEL, UNRESERVED_KEYWORD)
231 PG_KEYWORD("like", LIKE, TYPE_FUNC_NAME_KEYWORD)
232 PG_KEYWORD("limit", LIMIT, RESERVED_KEYWORD)
235 PG_KEYWORD("local", LOCAL, UNRESERVED_KEYWORD)
236 PG_KEYWORD("localtime", LOCALTIME, RESERVED_KEYWORD)
237 PG_KEYWORD("localtimestamp", LOCALTIMESTAMP, RESERVED_KEYWORD)
238 PG_KEYWORD("location", LOCATION, UNRESERVED_KEYWORD)
239 PG_KEYWORD("lock", LOCK_P, UNRESERVED_KEYWORD)
241 PG_KEYWORD("logged", LOGGED, UNRESERVED_KEYWORD)
242 PG_KEYWORD("mapping", MAPPING, UNRESERVED_KEYWORD)
244 PG_KEYWORD("materialized", MATERIALIZED, UNRESERVED_KEYWORD)
245 PG_KEYWORD("maxvalue", MAXVALUE, UNRESERVED_KEYWORD)
246 PG_KEYWORD("method", METHOD, UNRESERVED_KEYWORD)
247 PG_KEYWORD("minute", MINUTE_P, UNRESERVED_KEYWORD)
248 PG_KEYWORD("minvalue", MINVALUE, UNRESERVED_KEYWORD)
249 PG_KEYWORD("mode", MODE, UNRESERVED_KEYWORD)
250 PG_KEYWORD("month", MONTH_P, UNRESERVED_KEYWORD)
251 PG_KEYWORD("move", MOVE, UNRESERVED_KEYWORD)
253 PG_KEYWORD("names", NAMES, UNRESERVED_KEYWORD)
254 PG_KEYWORD("national", NATIONAL, COL_NAME_KEYWORD)
255 PG_KEYWORD("natural", NATURAL, TYPE_FUNC_NAME_KEYWORD)
256 PG_KEYWORD("nchar", NCHAR, COL_NAME_KEYWORD)
257 PG_KEYWORD("new", NEW, UNRESERVED_KEYWORD)
261 PG_KEYWORD("norefresh", NOREFRESH, UNRESERVED_KEYWORD)
262 PG_KEYWORD("not", NOT, RESERVED_KEYWORD)
263 PG_KEYWORD("nothing", NOTHING, UNRESERVED_KEYWORD)
264 PG_KEYWORD("notify", NOTIFY, UNRESERVED_KEYWORD)
265 PG_KEYWORD("notnull", NOTNULL, TYPE_FUNC_NAME_KEYWORD)
266 PG_KEYWORD("nowait", NOWAIT, UNRESERVED_KEYWORD)
267 PG_KEYWORD("null", NULL_P, RESERVED_KEYWORD)
268 PG_KEYWORD("nullif", NULLIF, COL_NAME_KEYWORD)
269 PG_KEYWORD("nulls", NULLS_P, UNRESERVED_KEYWORD)
271 PG_KEYWORD("object", OBJECT_P, UNRESERVED_KEYWORD)
274 PG_KEYWORD("offset", OFFSET, RESERVED_KEYWORD)
275 PG_KEYWORD("oids", OIDS, UNRESERVED_KEYWORD)
276 PG_KEYWORD("old", OLD, UNRESERVED_KEYWORD)
278 PG_KEYWORD("only", ONLY, RESERVED_KEYWORD)
279 PG_KEYWORD("operator", OPERATOR, UNRESERVED_KEYWORD)
283 PG_KEYWORD("order", ORDER, RESERVED_KEYWORD)
284 PG_KEYWORD("ordinality", ORDINALITY, UNRESERVED_KEYWORD)
285 PG_KEYWORD("out", OUT_P, COL_NAME_KEYWORD)
286 PG_KEYWORD("outer", OUTER_P, TYPE_FUNC_NAME_KEYWORD)
287 PG_KEYWORD("over", OVER, UNRESERVED_KEYWORD)
288 PG_KEYWORD("overlaps", OVERLAPS, TYPE_FUNC_NAME_KEYWORD)
289 PG_KEYWORD("overlay", OVERLAY, COL_NAME_KEYWORD)
290 PG_KEYWORD("owned", OWNED, UNRESERVED_KEYWORD)
291 PG_KEYWORD("owner", OWNER, UNRESERVED_KEYWORD)
292 PG_KEYWORD("parallel", PARALLEL, UNRESERVED_KEYWORD)
294 PG_KEYWORD("partial", PARTIAL, UNRESERVED_KEYWORD)
295 PG_KEYWORD("partition", PARTITION, UNRESERVED_KEYWORD)
296 PG_KEYWORD("passing", PASSING, UNRESERVED_KEYWORD)
298 PG_KEYWORD("placing", PLACING, RESERVED_KEYWORD)
299 PG_KEYWORD("plans", PLANS, UNRESERVED_KEYWORD)
300 PG_KEYWORD("policy", POLICY, UNRESERVED_KEYWORD)
301 PG_KEYWORD("position", POSITION, COL_NAME_KEYWORD)
302 PG_KEYWORD("preceding", PRECEDING, UNRESERVED_KEYWORD)
303 PG_KEYWORD("precision", PRECISION, COL_NAME_KEYWORD)
304 PG_KEYWORD("prepare", PREPARE, UNRESERVED_KEYWORD)
305 PG_KEYWORD("prepared", PREPARED, UNRESERVED_KEYWORD)
306 PG_KEYWORD("preserve", PRESERVE, UNRESERVED_KEYWORD)
307 PG_KEYWORD("primary", PRIMARY, RESERVED_KEYWORD)
308 PG_KEYWORD("prior", PRIOR, UNRESERVED_KEYWORD)
309 PG_KEYWORD("privileges", PRIVILEGES, UNRESERVED_KEYWORD)
310 PG_KEYWORD("procedural", PROCEDURAL, UNRESERVED_KEYWORD)
311 PG_KEYWORD("procedure", PROCEDURE, UNRESERVED_KEYWORD)
312 PG_KEYWORD("program", PROGRAM, UNRESERVED_KEYWORD)
313 PG_KEYWORD("publication", PUBLICATION, UNRESERVED_KEYWORD)
314 PG_KEYWORD("quote", QUOTE, UNRESERVED_KEYWORD)
317 PG_KEYWORD("real", REAL, COL_NAME_KEYWORD)
318 PG_KEYWORD("reassign", REASSIGN, UNRESERVED_KEYWORD)
319 PG_KEYWORD("recheck", RECHECK, UNRESERVED_KEYWORD)
320 PG_KEYWORD("recursive", RECURSIVE, UNRESERVED_KEYWORD)
321 PG_KEYWORD("ref", REF, UNRESERVED_KEYWORD)
322 PG_KEYWORD("references", REFERENCES, RESERVED_KEYWORD)
323 PG_KEYWORD("referencing", REFERENCING, UNRESERVED_KEYWORD)
324 PG_KEYWORD("refresh", REFRESH, UNRESERVED_KEYWORD)
325 PG_KEYWORD("reindex", REINDEX, UNRESERVED_KEYWORD)
326 PG_KEYWORD("relative", RELATIVE_P, UNRESERVED_KEYWORD)
327 PG_KEYWORD("release", RELEASE, UNRESERVED_KEYWORD)
328 PG_KEYWORD("rename", RENAME, UNRESERVED_KEYWORD)
329 PG_KEYWORD("repeatable", REPEATABLE, UNRESERVED_KEYWORD)
330 PG_KEYWORD("replace", REPLACE, UNRESERVED_KEYWORD)
331 PG_KEYWORD("replica", REPLICA, UNRESERVED_KEYWORD)
332 PG_KEYWORD("reset", RESET, UNRESERVED_KEYWORD)
333 PG_KEYWORD("restart", RESTART, UNRESERVED_KEYWORD)
334 PG_KEYWORD("restrict", RESTRICT, UNRESERVED_KEYWORD)
335 PG_KEYWORD("returning", RETURNING, RESERVED_KEYWORD)
336 PG_KEYWORD("returns", RETURNS, UNRESERVED_KEYWORD)
337 PG_KEYWORD("revoke", REVOKE, UNRESERVED_KEYWORD)
338 PG_KEYWORD("right", RIGHT, TYPE_FUNC_NAME_KEYWORD)
339 PG_KEYWORD("role", ROLE, UNRESERVED_KEYWORD)
340 PG_KEYWORD("rollback", ROLLBACK, UNRESERVED_KEYWORD)
341 PG_KEYWORD("rollup", ROLLUP, UNRESERVED_KEYWORD)
342 PG_KEYWORD("row", ROW, COL_NAME_KEYWORD)
343 PG_KEYWORD("rows", ROWS, UNRESERVED_KEYWORD)
345 PG_KEYWORD("savepoint", SAVEPOINT, UNRESERVED_KEYWORD)
346 PG_KEYWORD("schema", SCHEMA, UNRESERVED_KEYWORD)
347 PG_KEYWORD("scroll", SCROLL, UNRESERVED_KEYWORD)
348 PG_KEYWORD("search", SEARCH, UNRESERVED_KEYWORD)
349 PG_KEYWORD("second", SECOND_P, UNRESERVED_KEYWORD)
350 PG_KEYWORD("security", SECURITY, UNRESERVED_KEYWORD)
352 PG_KEYWORD("sequence", SEQUENCE, UNRESERVED_KEYWORD)
353 PG_KEYWORD("sequences", SEQUENCES, UNRESERVED_KEYWORD)
354 PG_KEYWORD("serializable", SERIALIZABLE, UNRESERVED_KEYWORD)
355 PG_KEYWORD("server", SERVER, UNRESERVED_KEYWORD)
356 PG_KEYWORD("session", SESSION, UNRESERVED_KEYWORD)
357 PG_KEYWORD("session_user", SESSION_USER, RESERVED_KEYWORD)
359 PG_KEYWORD("setof", SETOF, COL_NAME_KEYWORD)
360 PG_KEYWORD("sets", SETS, UNRESERVED_KEYWORD)
361 PG_KEYWORD("share", SHARE, UNRESERVED_KEYWORD)
362 PG_KEYWORD("show", SHOW, UNRESERVED_KEYWORD)
363 PG_KEYWORD("similar", SIMILAR, TYPE_FUNC_NAME_KEYWORD)
364 PG_KEYWORD("simple", SIMPLE, UNRESERVED_KEYWORD)
366 PG_KEYWORD("slot", SLOT, UNRESERVED_KEYWORD)
367 PG_KEYWORD("smallint", SMALLINT, COL_NAME_KEYWORD)
368 PG_KEYWORD("snapshot", SNAPSHOT, UNRESERVED_KEYWORD)
370 PG_KEYWORD("sql", SQL_P, UNRESERVED_KEYWORD)
371 PG_KEYWORD("stable", STABLE, UNRESERVED_KEYWORD)
372 PG_KEYWORD("standalone", STANDALONE_P, UNRESERVED_KEYWORD)
373 PG_KEYWORD("start", START, UNRESERVED_KEYWORD)
375 PG_KEYWORD("statistics", STATISTICS, UNRESERVED_KEYWORD)
376 PG_KEYWORD("stdin", STDIN, UNRESERVED_KEYWORD)
377 PG_KEYWORD("stdout", STDOUT, UNRESERVED_KEYWORD)
378 PG_KEYWORD("storage", STORAGE, UNRESERVED_KEYWORD)
379 PG_KEYWORD("strict", STRICT_P, UNRESERVED_KEYWORD)
380 PG_KEYWORD("strip", STRIP_P, UNRESERVED_KEYWORD)
381 PG_KEYWORD("subscription", SUBSCRIPTION, UNRESERVED_KEYWORD)
382 PG_KEYWORD("substring", SUBSTRING, COL_NAME_KEYWORD)
383 PG_KEYWORD("symmetric", SYMMETRIC, RESERVED_KEYWORD)
384 PG_KEYWORD("sysid", SYSID, UNRESERVED_KEYWORD)
385 PG_KEYWORD("system", SYSTEM_P, UNRESERVED_KEYWORD)
386 PG_KEYWORD("table", TABLE, RESERVED_KEYWORD)
387 PG_KEYWORD("tables", TABLES, UNRESERVED_KEYWORD)
388 PG_KEYWORD("tablesample", TABLESAMPLE, TYPE_FUNC_NAME_KEYWORD)
391 PG_KEYWORD("template", TEMPLATE, UNRESERVED_KEYWORD)
392 PG_KEYWORD("temporary", TEMPORARY, UNRESERVED_KEYWORD)
394 PG_KEYWORD("then", THEN, RESERVED_KEYWORD)
395 PG_KEYWORD("time", TIME, COL_NAME_KEYWORD)
397 PG_KEYWORD("to", TO, RESERVED_KEYWORD)
398 PG_KEYWORD("trailing", TRAILING, RESERVED_KEYWORD)
399 PG_KEYWORD("transaction", TRANSACTION, UNRESERVED_KEYWORD)
400 PG_KEYWORD("transform", TRANSFORM, UNRESERVED_KEYWORD)
401 PG_KEYWORD("treat", TREAT, COL_NAME_KEYWORD)
402 PG_KEYWORD("trigger", TRIGGER, UNRESERVED_KEYWORD)
403 PG_KEYWORD("trim", TRIM, COL_NAME_KEYWORD)
404 PG_KEYWORD("true", TRUE_P, RESERVED_KEYWORD)
405 PG_KEYWORD("truncate", TRUNCATE, UNRESERVED_KEYWORD)
406 PG_KEYWORD("trusted", TRUSTED, UNRESERVED_KEYWORD)
407 PG_KEYWORD("type", TYPE_P, UNRESERVED_KEYWORD)
409 PG_KEYWORD("unbounded", UNBOUNDED, UNRESERVED_KEYWORD)
410 PG_KEYWORD("uncommitted", UNCOMMITTED, UNRESERVED_KEYWORD)
411 PG_KEYWORD("unencrypted", UNENCRYPTED, UNRESERVED_KEYWORD)
412 PG_KEYWORD("union", UNION, RESERVED_KEYWORD)
413 PG_KEYWORD("unique", UNIQUE, RESERVED_KEYWORD)
415 PG_KEYWORD("unlisten", UNLISTEN, UNRESERVED_KEYWORD)
416 PG_KEYWORD("unlogged", UNLOGGED, UNRESERVED_KEYWORD)
417 PG_KEYWORD("until", UNTIL, UNRESERVED_KEYWORD)
418 PG_KEYWORD("update", UPDATE, UNRESERVED_KEYWORD)
420 PG_KEYWORD("using", USING, RESERVED_KEYWORD)
422 PG_KEYWORD("valid", VALID, UNRESERVED_KEYWORD)
423 PG_KEYWORD("validate", VALIDATE, UNRESERVED_KEYWORD)
424 PG_KEYWORD("validator", VALIDATOR, UNRESERVED_KEYWORD)
428 PG_KEYWORD("variadic", VARIADIC, RESERVED_KEYWORD)
429 PG_KEYWORD("varying", VARYING, UNRESERVED_KEYWORD)
431 PG_KEYWORD("version", VERSION_P, UNRESERVED_KEYWORD)
432 PG_KEYWORD("view", VIEW, UNRESERVED_KEYWORD)
433 PG_KEYWORD("views", VIEWS, UNRESERVED_KEYWORD)
434 PG_KEYWORD("volatile", VOLATILE, UNRESERVED_KEYWORD)
436 PG_KEYWORD("where", WHERE, RESERVED_KEYWORD)
437 PG_KEYWORD("whitespace", WHITESPACE_P, UNRESERVED_KEYWORD)
438 PG_KEYWORD("window", WINDOW, RESERVED_KEYWORD)
439 PG_KEYWORD("with", WITH, RESERVED_KEYWORD)
440 PG_KEYWORD("within", WITHIN, UNRESERVED_KEYWORD)
441 PG_KEYWORD("without", WITHOUT, UNRESERVED_KEYWORD)
443 PG_KEYWORD("wrapper", WRAPPER, UNRESERVED_KEYWORD)
445 PG_KEYWORD("xml", XML_P, UNRESERVED_KEYWORD)
446 PG_KEYWORD("xmlattributes", XMLATTRIBUTES, COL_NAME_KEYWORD)
448 PG_KEYWORD("xmlelement", XMLELEMENT, COL_NAME_KEYWORD)
450 PG_KEYWORD("xmlforest", XMLFOREST, COL_NAME_KEYWORD)
451 PG_KEYWORD("xmlnamespaces", XMLNAMESPACES, COL_NAME_KEYWORD)
455 PG_KEYWORD("xmlserialize", XMLSERIALIZE, COL_NAME_KEYWORD)
456 PG_KEYWORD("xmltable", XMLTABLE, COL_NAME_KEYWORD)
457 PG_KEYWORD("year", YEAR_P, UNRESERVED_KEYWORD)
458 PG_KEYWORD("yes", YES_P, UNRESERVED_KEYWORD)
#define RANGE
Definition: regcomp.c:283
static char password[100]
Definition: streamutil.c:41
static void skip(struct vars *v)
Definition: regc_lex.c:1109
Datum current_schema(PG_FUNCTION_ARGS)
Definition: name.c:280
static int32 next
Definition: blutils.c:210
#define none
Definition: predtest.c:1314
struct typedefs * types
Definition: ecpg.c:29
#define write(a, b, c)
Definition: win32.h:19
int64 timestamp
#define NEXT()
Definition: regcomp.c:258
#define WORK
Definition: regexec.c:84
xmltype * xmlconcat(List *args)
Definition: xml.c:506
Datum varchar(PG_FUNCTION_ARGS)
Definition: varchar.c:593
#define ON(var)
Definition: help.c:45
#define select(n, r, w, e, timeout)
Definition: win32.h:384
#define false
Definition: c.h:210
#define UNRESERVED_KEYWORD
Definition: keywords.h:18
Definition: localtime.c:74
#define SOME
Definition: type.h:90
static struct @114 value
#define true
Definition: c.h:206
static int before(chr x, chr y)
Definition: regc_locale.c:496
#define CLOSE
Definition: _int.h:150
#define OR(d, d0, d1, bl)
Definition: crypt.c:260
#define TYPE_FUNC_NAME_KEYWORD
Definition: keywords.h:20
Datum current_user(PG_FUNCTION_ARGS)
Definition: name.c:264
char * tablespace
Definition: pgbench.c:146
xmltype * xmlroot(xmltype *data, text *version, int standalone)
Definition: xml.c:816
Definition: type.h:125
void cluster(ClusterStmt *stmt, bool isTopLevel)
Definition: cluster.c:106
Definition: type.h:83
static struct cvec * range(struct vars *v, chr a, chr b, int cases)
Definition: regc_locale.c:416
#define MATCH(tokname, namelen)
Definition: isn.c:33
#define TEMP(K)
Definition: imath.c:142
static int verbose
Definition: pg_basebackup.c:84
Datum session_user(PG_FUNCTION_ARGS)
Definition: name.c:270
#define listen(s, backlog)
Definition: win32.h:381
static char * label
Definition: pg_basebackup.c:81
#define RESERVED_KEYWORD
Definition: keywords.h:21
void vacuum(int options, RangeVar *relation, Oid relid, VacuumParams *params, List *va_cols, BufferAccessStrategy bstrategy, bool isTopLevel)
Definition: vacuum.c:149
#define SET(c)
Definition: regc_lex.c:43
static char * encoding
Definition: initdb.c:122
Datum bit(PG_FUNCTION_ARGS)
Definition: varbit.c:361
Datum xmlexists(PG_FUNCTION_ARGS)
Definition: xml.c:4023
#define OFF(p)
Definition: regexec.c:128
static bool execute(ITEM *curitem, void *checkval, bool calcnot, bool(*chkcond)(void *checkval, ITEM *item))
Definition: _int_bool.c:267
static const struct fns functions
Definition: regcomp.c:299
static void header(const char *fmt,...) pg_attribute_printf(1
Definition: pg_regress.c:207
const char * name
Definition: encode.c:521
on_exit_nicely_callback function
#define COL_NAME_KEYWORD
Definition: keywords.h:19
#define PG_KEYWORD(a, b, c)
Definition: keywords.c:26
static Datum values[MAXATTR]
Definition: bootstrap.c:162
Definition: zic.c:90
static char * user
Definition: pg_regress.c:92
#define LOCKED
Definition: regexec.c:55
#define CHECK(TEST)
Definition: imath.c:74
xmltype * xmlelement(XmlExpr *xexpr, Datum *named_argvalue, bool *named_argnull, Datum *argvalue, bool *argnull)
Definition: xml.c:622
#define DISCARD
Definition: regguts.h:58
xmltype * xmlpi(char *target, text *arg, bool arg_is_null, bool *result_is_null)
Definition: xml.c:764
#define LOAD(d, d0, d1, bl)
Definition: crypt.c:258
Definition: c.h:439
#define close(a)
Definition: win32.h:17
#define DO(field)
static long analyze(struct nfa *nfa)
Definition: regc_nfa.c:2816
#define read(a, b, c)
Definition: win32.h:18
xmltype * xmlparse(text *data, XmlOptionType xmloption_arg, bool preserve_whitespace)
Definition: xml.c:746
#define COPY(P, Q, S)
Definition: imath.c:120