PostgreSQL Source Code  git master
keywords.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * keywords.h
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  * src/include/common/keywords.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef KEYWORDS_H
15 #define KEYWORDS_H
16 
17 #include "common/kwlookup.h"
18 
19 /* Keyword categories --- should match lists in gram.y */
20 #define UNRESERVED_KEYWORD 0
21 #define COL_NAME_KEYWORD 1
22 #define TYPE_FUNC_NAME_KEYWORD 2
23 #define RESERVED_KEYWORD 3
24 
25 #ifndef FRONTEND
28 extern PGDLLIMPORT const bool ScanKeywordBareLabel[];
29 #else
30 extern const ScanKeywordList ScanKeywords;
31 extern const uint8 ScanKeywordCategories[];
32 extern const bool ScanKeywordBareLabel[];
33 #endif
34 
35 #endif /* KEYWORDS_H */
unsigned char uint8
Definition: c.h:427
#define PGDLLIMPORT
Definition: c.h:1313
PGDLLIMPORT const ScanKeywordList ScanKeywords
PGDLLIMPORT const uint8 ScanKeywordCategories[]
Definition: keywords.c:29
PGDLLIMPORT const bool ScanKeywordBareLabel[]
Definition: keywords.c:42