1/*-------------------------------------------------------------------------
2 *
3 * ecpg_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-2019, PostgreSQL Global Development Group
11 * Portions Copyright (c) 1994, Regents of the University of California
12 *
13 * src/interfaces/ecpg/preproc/ecpg_kwlist.h
14 *
15 *-------------------------------------------------------------------------
16 */
17
18/* There is deliberately not an #ifndef ECPG_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 */
27PG_KEYWORD("allocate", SQL_ALLOCATE)
28PG_KEYWORD("autocommit", SQL_AUTOCOMMIT)
29PG_KEYWORD("bool", SQL_BOOL)
30PG_KEYWORD("break", SQL_BREAK)
31PG_KEYWORD("cardinality", SQL_CARDINALITY)
32PG_KEYWORD("connect", SQL_CONNECT)
33PG_KEYWORD("count", SQL_COUNT)
34PG_KEYWORD("datetime_interval_code", SQL_DATETIME_INTERVAL_CODE)
35PG_KEYWORD("datetime_interval_precision", SQL_DATETIME_INTERVAL_PRECISION)
36PG_KEYWORD("describe", SQL_DESCRIBE)
37PG_KEYWORD("descriptor", SQL_DESCRIPTOR)
38PG_KEYWORD("disconnect", SQL_DISCONNECT)
39PG_KEYWORD("found", SQL_FOUND)
40PG_KEYWORD("free", SQL_FREE)
41PG_KEYWORD("get", SQL_GET)
42PG_KEYWORD("go", SQL_GO)
43PG_KEYWORD("goto", SQL_GOTO)
44PG_KEYWORD("identified", SQL_IDENTIFIED)
45PG_KEYWORD("indicator", SQL_INDICATOR)
46PG_KEYWORD("key_member", SQL_KEY_MEMBER)
47PG_KEYWORD("length", SQL_LENGTH)
48PG_KEYWORD("long", SQL_LONG)
49PG_KEYWORD("nullable", SQL_NULLABLE)
50PG_KEYWORD("octet_length", SQL_OCTET_LENGTH)
51PG_KEYWORD("open", SQL_OPEN)
52PG_KEYWORD("output", SQL_OUTPUT)
53PG_KEYWORD("reference", SQL_REFERENCE)
54PG_KEYWORD("returned_length", SQL_RETURNED_LENGTH)
55PG_KEYWORD("returned_octet_length", SQL_RETURNED_OCTET_LENGTH)
56PG_KEYWORD("scale", SQL_SCALE)
57PG_KEYWORD("section", SQL_SECTION)
58PG_KEYWORD("short", SQL_SHORT)
59PG_KEYWORD("signed", SQL_SIGNED)
60PG_KEYWORD("sqlerror", SQL_SQLERROR)
61PG_KEYWORD("sqlprint", SQL_SQLPRINT)
62PG_KEYWORD("sqlwarning", SQL_SQLWARNING)
63PG_KEYWORD("stop", SQL_STOP)
64PG_KEYWORD("struct", SQL_STRUCT)
65PG_KEYWORD("unsigned", SQL_UNSIGNED)
66PG_KEYWORD("var", SQL_VAR)
67PG_KEYWORD("whenever", SQL_WHENEVER)
68