diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-13 21:02:29 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-13 21:02:29 +0000 |
| commit | 90e3f2aca716e562f81a64dba5fb5232b140e4d7 (patch) | |
| tree | 2040468fc9a6e902614d48b03912da6859e95bf7 /contrib/tsearch2/wparser.h | |
| parent | 4ea3210a04478163edf1ffd7d2547b62e82df4f0 (diff) | |
| download | postgresql-90e3f2aca716e562f81a64dba5fb5232b140e4d7.tar.gz | |
Replace the now-incompatible-with-core contrib/tsearch2 module with a
compatibility package. This supports importing dumps from past versions
using tsearch2, and provides the old names and API for most functions
that were changed. (rewrite(ARRAY[...]) is a glaring omission, though.)
Pavel Stehule and Tom Lane
Diffstat (limited to 'contrib/tsearch2/wparser.h')
| -rw-r--r-- | contrib/tsearch2/wparser.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/contrib/tsearch2/wparser.h b/contrib/tsearch2/wparser.h deleted file mode 100644 index c3c44151f0..0000000000 --- a/contrib/tsearch2/wparser.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef __WPARSER_H__ -#define __WPARSER_H__ -#include "postgres.h" -#include "fmgr.h" - -typedef struct -{ - Oid prs_id; - FmgrInfo start_info; - FmgrInfo getlexeme_info; - FmgrInfo end_info; - FmgrInfo headline_info; - Oid lextype; - void *prs; -} WParserInfo; - -void init_prs(Oid id, WParserInfo * prs); -WParserInfo *findprs(Oid id); -Oid name2id_prs(text *name); -void reset_prs(void); - - -typedef struct -{ - int lexid; - char *alias; - char *descr; -} LexDescr; - -#endif |
