/*------------------------------------------------------------------------- * * 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.213 2009/07/12 17:12:33 tgl Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" #include "parser/gramparse.h" #include "parser/keywords.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);