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 */ |
27 | PG_KEYWORD("allocate" , SQL_ALLOCATE) |
28 | PG_KEYWORD("autocommit" , SQL_AUTOCOMMIT) |
29 | PG_KEYWORD("bool" , SQL_BOOL) |
30 | PG_KEYWORD("break" , SQL_BREAK) |
31 | PG_KEYWORD("cardinality" , SQL_CARDINALITY) |
32 | PG_KEYWORD("connect" , SQL_CONNECT) |
33 | PG_KEYWORD("count" , SQL_COUNT) |
34 | PG_KEYWORD("datetime_interval_code" , SQL_DATETIME_INTERVAL_CODE) |
35 | PG_KEYWORD("datetime_interval_precision" , SQL_DATETIME_INTERVAL_PRECISION) |
36 | PG_KEYWORD("describe" , SQL_DESCRIBE) |
37 | PG_KEYWORD("descriptor" , SQL_DESCRIPTOR) |
38 | PG_KEYWORD("disconnect" , SQL_DISCONNECT) |
39 | PG_KEYWORD("found" , SQL_FOUND) |
40 | PG_KEYWORD("free" , SQL_FREE) |
41 | PG_KEYWORD("get" , SQL_GET) |
42 | PG_KEYWORD("go" , SQL_GO) |
43 | PG_KEYWORD("goto" , SQL_GOTO) |
44 | PG_KEYWORD("identified" , SQL_IDENTIFIED) |
45 | PG_KEYWORD("indicator" , SQL_INDICATOR) |
46 | PG_KEYWORD("key_member" , SQL_KEY_MEMBER) |
47 | PG_KEYWORD("length" , SQL_LENGTH) |
48 | PG_KEYWORD("long" , SQL_LONG) |
49 | PG_KEYWORD("nullable" , SQL_NULLABLE) |
50 | PG_KEYWORD("octet_length" , SQL_OCTET_LENGTH) |
51 | PG_KEYWORD("open" , SQL_OPEN) |
52 | PG_KEYWORD("output" , SQL_OUTPUT) |
53 | PG_KEYWORD("reference" , SQL_REFERENCE) |
54 | PG_KEYWORD("returned_length" , SQL_RETURNED_LENGTH) |
55 | PG_KEYWORD("returned_octet_length" , SQL_RETURNED_OCTET_LENGTH) |
56 | PG_KEYWORD("scale" , SQL_SCALE) |
57 | PG_KEYWORD("section" , SQL_SECTION) |
58 | PG_KEYWORD("short" , SQL_SHORT) |
59 | PG_KEYWORD("signed" , SQL_SIGNED) |
60 | PG_KEYWORD("sqlerror" , SQL_SQLERROR) |
61 | PG_KEYWORD("sqlprint" , SQL_SQLPRINT) |
62 | PG_KEYWORD("sqlwarning" , SQL_SQLWARNING) |
63 | PG_KEYWORD("stop" , SQL_STOP) |
64 | PG_KEYWORD("struct" , SQL_STRUCT) |
65 | PG_KEYWORD("unsigned" , SQL_UNSIGNED) |
66 | PG_KEYWORD("var" , SQL_VAR) |
67 | PG_KEYWORD("whenever" , SQL_WHENEVER) |
68 | |