PostgreSQL Source Code  git master
c_kwlist.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * c_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-2024, PostgreSQL Global Development Group
11  * Portions Copyright (c) 1994, Regents of the University of California
12  *
13  * src/interfaces/ecpg/preproc/c_kwlist.h
14  *
15  *-------------------------------------------------------------------------
16  */
17 
18 /* There is deliberately not an #ifndef C_KWLIST_H here. */
19 
20 /*
21  * List of (keyword-name, keyword-token-value) pairs.
22  *
23  * Note: gen_keywordlist.pl requires the entries to appear in ASCII order.
24  */
25 
26 /* name, value */
27 PG_KEYWORD("VARCHAR", VARCHAR)
28 PG_KEYWORD("auto", S_AUTO)
29 PG_KEYWORD("bool", SQL_BOOL)
30 PG_KEYWORD("char", CHAR_P)
31 PG_KEYWORD("const", S_CONST)
32 PG_KEYWORD("enum", ENUM_P)
33 PG_KEYWORD("extern", S_EXTERN)
34 PG_KEYWORD("float", FLOAT_P)
35 PG_KEYWORD("hour", HOUR_P)
36 PG_KEYWORD("int", INT_P)
37 PG_KEYWORD("long", SQL_LONG)
38 PG_KEYWORD("minute", MINUTE_P)
39 PG_KEYWORD("month", MONTH_P)
40 PG_KEYWORD("register", S_REGISTER)
41 PG_KEYWORD("second", SECOND_P)
42 PG_KEYWORD("short", SQL_SHORT)
43 PG_KEYWORD("signed", SQL_SIGNED)
44 PG_KEYWORD("static", S_STATIC)
45 PG_KEYWORD("struct", SQL_STRUCT)
46 PG_KEYWORD("to", TO)
47 PG_KEYWORD("typedef", S_TYPEDEF)
48 PG_KEYWORD("union", UNION)
49 PG_KEYWORD("unsigned", SQL_UNSIGNED)
50 PG_KEYWORD("varchar", VARCHAR)
51 PG_KEYWORD("volatile", S_VOLATILE)
52 PG_KEYWORD("year", YEAR_P)
#define PG_KEYWORD(kwname, value, category, collabel)
Definition: keywords.c:37