1 /*-------------------------------------------------------------------------
4 * PostgreSQL's list of SQL keywords
7 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
12 * src/common/keywords.c
14 *-------------------------------------------------------------------------
18 #include "common/keywords.h"
21 /* ScanKeywordList lookup data for SQL keywords */
25 /* Keyword categories for SQL keywords */
27 #define PG_KEYWORD(kwname, value, category, collabel) category,
29 const uint8 ScanKeywordCategories
[SCANKEYWORDS_NUM_KEYWORDS
] = {
30 #include "parser/kwlist.h"
35 /* Keyword can-be-bare-label flags for SQL keywords */
37 #define PG_KEYWORD(kwname, value, category, collabel) collabel,
39 #define BARE_LABEL true
40 #define AS_LABEL false
42 const bool ScanKeywordBareLabel
[SCANKEYWORDS_NUM_KEYWORDS
] = {
43 #include "parser/kwlist.h"