Re: pgsql: Fix oversight in tsearch type check - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: Fix oversight in tsearch type check
Date
Msg-id 55FB5ACC.9060406@gmx.net
Whole thread Raw
In response to pgsql: Fix oversight in tsearch type check  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: pgsql: Fix oversight in tsearch type check  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-committers
On 9/17/15 12:51 PM, Teodor Sigaev wrote:
> Fix oversight in tsearch type check
>
> Use IsBinaryCoercible() method instead of custom
> is_expected_type/is_text_type functions which was introduced when tsearch2
> was moved into core.

Looks like you need to add an include file:

tsvector_op.c: In function 'ts_stat_sql':
tsvector_op.c:1135:4: error: implicit declaration of function
'IsBinaryCoercible' [-Werror=implicit-function-declaration]
   !IsBinaryCoercible(SPI_gettypeid(SPI_tuptable->tupdesc, 1),
    ^



pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: pgsql: Fix oversight in tsearch type check
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Order some new options on man pages more sensibly, minor improve