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-2019, 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 #else
29 extern const ScanKeywordList ScanKeywords;
30 extern const uint8 ScanKeywordCategories[];
31 #endif
32 
33 #endif /* KEYWORDS_H */
unsigned char uint8
Definition: c.h:357
#define PGDLLIMPORT
Definition: c.h:1266
PGDLLIMPORT const ScanKeywordList ScanKeywords
PGDLLIMPORT const uint8 ScanKeywordCategories[]
Definition: keywords.c:29