Header And Logo

PostgreSQL
| The world's most advanced open source database.

keywords.c

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * keywords.c
00004  *    lexical token lookup for key words in PostgreSQL
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  *
00011  * IDENTIFICATION
00012  *    src/interfaces/ecpg/preproc/keywords.c
00013  *
00014  *-------------------------------------------------------------------------
00015  */
00016 #include "postgres_fe.h"
00017 
00018 #include "parser/keywords.h"
00019 #include "type.h"
00020 #include "preproc.h"
00021 
00022 #define PG_KEYWORD(a,b,c) {a,b,c},
00023 
00024 
00025 const ScanKeyword SQLScanKeywords[] = {
00026 #include "parser/kwlist.h"
00027 };
00028 
00029 const int   NumSQLScanKeywords = lengthof(SQLScanKeywords);