1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* keywords.h
|
2000-08-29 04:00:38 +02:00
|
|
|
* lexical token lookup for reserved words in postgres SQL
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2007-01-05 23:20:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2007-01-05 23:20:05 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/parser/keywords.h,v 1.22 2007/01/05 22:19:56 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef KEYWORDS_H
|
|
|
|
#define KEYWORDS_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
typedef struct ScanKeyword
|
|
|
|
{
|
2002-05-02 20:44:11 +02:00
|
|
|
const char *name;
|
1997-09-08 04:41:22 +02:00
|
|
|
int value;
|
1997-09-08 23:56:23 +02:00
|
|
|
} ScanKeyword;
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2002-05-02 20:44:11 +02:00
|
|
|
extern const ScanKeyword *ScanKeywordLookup(const char *text);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* KEYWORDS_H */
|