diff options
author | Tom Lane | 2007-11-13 21:02:29 +0000 |
---|---|---|
committer | Tom Lane | 2007-11-13 21:02:29 +0000 |
commit | 90e3f2aca716e562f81a64dba5fb5232b140e4d7 (patch) | |
tree | 2040468fc9a6e902614d48b03912da6859e95bf7 /contrib/tsearch2/snmap.h | |
parent | 4ea3210a04478163edf1ffd7d2547b62e82df4f0 (diff) |
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/snmap.h')
-rw-r--r-- | contrib/tsearch2/snmap.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/contrib/tsearch2/snmap.h b/contrib/tsearch2/snmap.h deleted file mode 100644 index c3e80fca57..0000000000 --- a/contrib/tsearch2/snmap.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef __SNMAP_H__ -#define __SNMAP_H__ - -#include "postgres.h" - -typedef struct -{ - char *key; - Oid value; - Oid nsp; -} SNMapEntry; - -typedef struct -{ - int len; - int reallen; - SNMapEntry *list; -} SNMap; - -void addSNMap(SNMap * map, char *key, Oid value); -void addSNMap_t(SNMap * map, text *key, Oid value); -Oid findSNMap(SNMap * map, char *key); -Oid findSNMap_t(SNMap * map, text *key); -void freeSNMap(SNMap * map); - -#endif |