PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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-2025, 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 */
29PG_KEYWORD("all", K_ALL)
30PG_KEYWORD("begin", K_BEGIN)
31PG_KEYWORD("by", K_BY)
32PG_KEYWORD("case", K_CASE)
33PG_KEYWORD("declare", K_DECLARE)
34PG_KEYWORD("else", K_ELSE)
35PG_KEYWORD("end", K_END)
36PG_KEYWORD("execute", K_EXECUTE)
37PG_KEYWORD("for", K_FOR)
38PG_KEYWORD("foreach", K_FOREACH)
39PG_KEYWORD("from", K_FROM)
40PG_KEYWORD("if", K_IF)
41PG_KEYWORD("in", K_IN)
42PG_KEYWORD("into", K_INTO)
43PG_KEYWORD("loop", K_LOOP)
44PG_KEYWORD("not", K_NOT)
45PG_KEYWORD("null", K_NULL)
46PG_KEYWORD("or", K_OR)
47PG_KEYWORD("strict", K_STRICT)
48PG_KEYWORD("then", K_THEN)
49PG_KEYWORD("to", K_TO)
50PG_KEYWORD("using", K_USING)
51PG_KEYWORD("when", K_WHEN)
52PG_KEYWORD("while", K_WHILE)
#define PG_KEYWORD(kwname, value, category, collabel)
Definition: scan.l:79