Re: pgsql: Fix oversight in tsearch type check

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix oversight in tsearch type check
Date: 2015-09-18 00:29:00
Message-ID: 55FB5ACC.9060406@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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),
^

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2015-09-18 01:05:37 pgsql: Order some new options on man pages more sensibly, minor improve
Previous Message Teodor Sigaev 2015-09-17 16:51:04 pgsql: Fix oversight in tsearch type check