summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/ts_cfg.h
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2004-05-31 13:29:43 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2004-05-31 13:29:43 +0000
commit11864ab657ab2b54f4eb34a028ab76c64f3f2a9c (patch)
tree9fa9b2c1f13cee33648cd2560406f87a9a0e39e7 /contrib/tsearch2/ts_cfg.h
parent9b178555fc1f5087c120ff4d26380395bc655a03 (diff)
downloadpostgresql-11864ab657ab2b54f4eb34a028ab76c64f3f2a9c.tar.gz
Win32 related patch by Darko Prenosil. Small correct by teodor
Diffstat (limited to 'contrib/tsearch2/ts_cfg.h')
-rw-r--r--contrib/tsearch2/ts_cfg.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/tsearch2/ts_cfg.h b/contrib/tsearch2/ts_cfg.h
index cde35ca2a6..9bf65144b2 100644
--- a/contrib/tsearch2/ts_cfg.h
+++ b/contrib/tsearch2/ts_cfg.h
@@ -1,8 +1,10 @@
#ifndef __TS_CFG_H__
#define __TS_CFG_H__
+
#include "postgres.h"
#include "query.h"
+
typedef struct
{
int len;
@@ -32,11 +34,11 @@ typedef struct
} pos;
char *word;
uint32 alen;
-} WORD;
+} TSWORD;
typedef struct
{
- WORD *words;
+ TSWORD *words;
int4 lenwords;
int4 curwords;
int4 pos;