1 /*------------------------------------------------------------------------- 2 * 3 * keywords.c 4 * PostgreSQL's list of SQL keywords 5 * 6 * 7 * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group 8 * Portions Copyright (c) 1994, Regents of the University of California 9 * 10 * 11 * IDENTIFICATION 12 * src/common/keywords.c 13 * 14 *------------------------------------------------------------------------- 15 */ 16 #include "c.h" 17 18 #include "common/keywords.h" 19 20 21 /* ScanKeywordList lookup data for SQL keywords */ 22 23 #include "kwlist_d.h" 24 25 /* Keyword categories for SQL keywords */ 26 27 #define PG_KEYWORD(kwname, value, category) category, 28 29 const uint8 ScanKeywordCategories[SCANKEYWORDS_NUM_KEYWORDS] = { 30 #include "parser/kwlist.h" 31 }; 32 33 #undef PG_KEYWORD 34