Re: pgsql: Fix oversight in tsearch type check

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: pgsql: Fix oversight in tsearch type check
Дата
Msg-id 55FBF67F.5040200@sigaev.ru
обсуждение исходный текст
Ответ на Re: pgsql: Fix oversight in tsearch type check  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-committers
Thank you, fixed

Peter Eisentraut wrote:
> 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),
>      ^
>
>
>

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/


В списке pgsql-committers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Add header forgotten in 213335c14529a8d5e2007ec0c256f4cf64d62d3b
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix low-probability memory leak in regex execution.