/*------------------------------------------------------------------------- * * keywords.c * lexical token lookup for key words in PostgreSQL * * * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $PostgreSQL: pgsql/src/backend/parser/keywords.c,v 1.212 2009/03/08 16:53:30 alvherre Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" #include "nodes/nodes.h" #include "nodes/parsenodes.h" #include "parser/keywords.h" #include "parser/gram.h" #define PG_KEYWORD(a,b,c) {a,b,c}, const ScanKeyword ScanKeywords[] = { #include "parser/kwlist.h" }; /* End of ScanKeywords, for use in kwlookup.c and elsewhere */ const ScanKeyword *LastScanKeyword = endof(ScanKeywords);