PostgreSQL Source Code  git master
pl_unreserved_kwlist.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pl_unreserved_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-2021, PostgreSQL Global Development Group
11  * Portions Copyright (c) 1994, Regents of the University of California
12  *
13  * src/pl/plpgsql/src/pl_unreserved_kwlist.h
14  *
15  *-------------------------------------------------------------------------
16  */
17 
18 /* There is deliberately not an #ifndef PL_UNRESERVED_KWLIST_H here. */
19 
20 /*
21  * List of (keyword-name, keyword-token-value) pairs.
22  *
23  * Be careful not to put the same word into pl_reserved_kwlist.h. Also be
24  * sure that pl_gram.y's unreserved_keyword production agrees with this list.
25  *
26  * Note: gen_keywordlist.pl requires the entries to appear in ASCII order.
27  */
28 
29 /* name, value */
30 PG_KEYWORD("absolute", K_ABSOLUTE)
31 PG_KEYWORD("alias", K_ALIAS)
32 PG_KEYWORD("and", K_AND)
33 PG_KEYWORD("array", K_ARRAY)
34 PG_KEYWORD("assert", K_ASSERT)
35 PG_KEYWORD("backward", K_BACKWARD)
36 PG_KEYWORD("call", K_CALL)
37 PG_KEYWORD("chain", K_CHAIN)
38 PG_KEYWORD("close", K_CLOSE)
39 PG_KEYWORD("collate", K_COLLATE)
40 PG_KEYWORD("column", K_COLUMN)
41 PG_KEYWORD("column_name", K_COLUMN_NAME)
42 PG_KEYWORD("commit", K_COMMIT)
43 PG_KEYWORD("constant", K_CONSTANT)
44 PG_KEYWORD("constraint", K_CONSTRAINT)
45 PG_KEYWORD("constraint_name", K_CONSTRAINT_NAME)
46 PG_KEYWORD("continue", K_CONTINUE)
47 PG_KEYWORD("current", K_CURRENT)
48 PG_KEYWORD("cursor", K_CURSOR)
49 PG_KEYWORD("datatype", K_DATATYPE)
50 PG_KEYWORD("debug", K_DEBUG)
51 PG_KEYWORD("default", K_DEFAULT)
52 PG_KEYWORD("detail", K_DETAIL)
53 PG_KEYWORD("diagnostics", K_DIAGNOSTICS)
54 PG_KEYWORD("do", K_DO)
55 PG_KEYWORD("dump", K_DUMP)
56 PG_KEYWORD("elseif", K_ELSIF)
57 PG_KEYWORD("elsif", K_ELSIF)
58 PG_KEYWORD("errcode", K_ERRCODE)
59 PG_KEYWORD("error", K_ERROR)
60 PG_KEYWORD("exception", K_EXCEPTION)
61 PG_KEYWORD("exit", K_EXIT)
62 PG_KEYWORD("fetch", K_FETCH)
63 PG_KEYWORD("first", K_FIRST)
64 PG_KEYWORD("forward", K_FORWARD)
65 PG_KEYWORD("get", K_GET)
66 PG_KEYWORD("hint", K_HINT)
67 PG_KEYWORD("import", K_IMPORT)
68 PG_KEYWORD("info", K_INFO)
69 PG_KEYWORD("insert", K_INSERT)
70 PG_KEYWORD("is", K_IS)
71 PG_KEYWORD("last", K_LAST)
72 PG_KEYWORD("log", K_LOG)
73 PG_KEYWORD("message", K_MESSAGE)
74 PG_KEYWORD("message_text", K_MESSAGE_TEXT)
75 PG_KEYWORD("move", K_MOVE)
76 PG_KEYWORD("next", K_NEXT)
77 PG_KEYWORD("no", K_NO)
78 PG_KEYWORD("notice", K_NOTICE)
79 PG_KEYWORD("open", K_OPEN)
80 PG_KEYWORD("option", K_OPTION)
81 PG_KEYWORD("perform", K_PERFORM)
82 PG_KEYWORD("pg_context", K_PG_CONTEXT)
83 PG_KEYWORD("pg_datatype_name", K_PG_DATATYPE_NAME)
84 PG_KEYWORD("pg_exception_context", K_PG_EXCEPTION_CONTEXT)
85 PG_KEYWORD("pg_exception_detail", K_PG_EXCEPTION_DETAIL)
86 PG_KEYWORD("pg_exception_hint", K_PG_EXCEPTION_HINT)
87 PG_KEYWORD("print_strict_params", K_PRINT_STRICT_PARAMS)
88 PG_KEYWORD("prior", K_PRIOR)
89 PG_KEYWORD("query", K_QUERY)
90 PG_KEYWORD("raise", K_RAISE)
91 PG_KEYWORD("relative", K_RELATIVE)
92 PG_KEYWORD("reset", K_RESET)
93 PG_KEYWORD("return", K_RETURN)
94 PG_KEYWORD("returned_sqlstate", K_RETURNED_SQLSTATE)
95 PG_KEYWORD("reverse", K_REVERSE)
96 PG_KEYWORD("rollback", K_ROLLBACK)
97 PG_KEYWORD("row_count", K_ROW_COUNT)
98 PG_KEYWORD("rowtype", K_ROWTYPE)
99 PG_KEYWORD("schema", K_SCHEMA)
100 PG_KEYWORD("schema_name", K_SCHEMA_NAME)
101 PG_KEYWORD("scroll", K_SCROLL)
102 PG_KEYWORD("set", K_SET)
103 PG_KEYWORD("slice", K_SLICE)
104 PG_KEYWORD("sqlstate", K_SQLSTATE)
105 PG_KEYWORD("stacked", K_STACKED)
106 PG_KEYWORD("table", K_TABLE)
107 PG_KEYWORD("table_name", K_TABLE_NAME)
108 PG_KEYWORD("type", K_TYPE)
109 PG_KEYWORD("use_column", K_USE_COLUMN)
110 PG_KEYWORD("use_variable", K_USE_VARIABLE)
111 PG_KEYWORD("variable_conflict", K_VARIABLE_CONFLICT)
112 PG_KEYWORD("warning", K_WARNING)
#define PG_KEYWORD(kwname, value, category, collabel)
Definition: keywords.c:37