diff options
author | Teodor Sigaev | 2005-01-25 12:36:25 +0000 |
---|---|---|
committer | Teodor Sigaev | 2005-01-25 12:36:25 +0000 |
commit | fe30edbab8b01123c503760d2804f6764cd27a51 (patch) | |
tree | 81b268f63c5cbc0ba4f6b74df7d46507f6d3b697 /contrib/tsearch2/query.c | |
parent | 4405e74355733075759b9a3f1c5696897c3c55c5 (diff) |
Change
typedef struct {} WordEntryPos;
to
typedef uint16 WordEntryPos
according to http://www.pgsql.ru/db/mw/msg.html?mid=2035188
Require re-fill all tsvector fields and reindex tsvector indexes.
Diffstat (limited to 'contrib/tsearch2/query.c')
-rw-r--r-- | contrib/tsearch2/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c index 28d1b1dc56..6787b63ae8 100644 --- a/contrib/tsearch2/query.c +++ b/contrib/tsearch2/query.c @@ -396,7 +396,7 @@ checkclass_str(CHKVAL * chkval, WordEntry * val, ITEM * item) while (len--) { - if (item->weight & (1 << ptr->weight)) + if (item->weight & (1 << WEP_GETWEIGHT(*ptr))) return true; ptr++; } |