PostgreSQL Source Code  git master
pl_reserved_kwlist.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pl_reserved_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_reserved_kwlist.h
14  *
15  *-------------------------------------------------------------------------
16  */
17 
18 /* There is deliberately not an #ifndef PL_RESERVED_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_unreserved_kwlist.h.
24  *
25  * Note: gen_keywordlist.pl requires the entries to appear in ASCII order.
26  */
27 
28 /* name, value */
29 PG_KEYWORD("all", K_ALL)
30 PG_KEYWORD("begin", K_BEGIN)
31 PG_KEYWORD("by", K_BY)
32 PG_KEYWORD("case", K_CASE)
33 PG_KEYWORD("declare", K_DECLARE)
34 PG_KEYWORD("else", K_ELSE)
35 PG_KEYWORD("end", K_END)
36 PG_KEYWORD("execute", K_EXECUTE)
37 PG_KEYWORD("for", K_FOR)
38 PG_KEYWORD("foreach", K_FOREACH)
39 PG_KEYWORD("from", K_FROM)
40 PG_KEYWORD("if", K_IF)
41 PG_KEYWORD("in", K_IN)
42 PG_KEYWORD("into", K_INTO)
43 PG_KEYWORD("loop", K_LOOP)
44 PG_KEYWORD("not", K_NOT)
45 PG_KEYWORD("null", K_NULL)
46 PG_KEYWORD("or", K_OR)
47 PG_KEYWORD("strict", K_STRICT)
48 PG_KEYWORD("then", K_THEN)
49 PG_KEYWORD("to", K_TO)
50 PG_KEYWORD("using", K_USING)
51 PG_KEYWORD("when", K_WHEN)
52 PG_KEYWORD("while", K_WHILE)
#define PG_KEYWORD(kwname, value, category, collabel)
Definition: keywords.c:37