mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user