mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-05 23:17:37 +08:00
26 lines
691 B
C
26 lines
691 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* keywords.h
|
|
* lexical token lookup for reserved words in postgres SQL
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $PostgreSQL: pgsql/src/include/parser/keywords.h,v 1.21 2006/03/05 15:58:57 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef KEYWORDS_H
|
|
#define KEYWORDS_H
|
|
|
|
typedef struct ScanKeyword
|
|
{
|
|
const char *name;
|
|
int value;
|
|
} ScanKeyword;
|
|
|
|
extern const ScanKeyword *ScanKeywordLookup(const char *text);
|
|
|
|
#endif /* KEYWORDS_H */
|