pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Fix oversight in tsearch type check
3+ messages / 2 participants
[nested] [flat]
* pgsql: Fix oversight in tsearch type check
@ 2015-09-17 16:51 Teodor Sigaev <teodor@sigaev.ru>
2015-09-18 00:29 ` Re: pgsql: Fix oversight in tsearch type check Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 3+ messages in thread
From: Teodor Sigaev @ 2015-09-17 16:51 UTC (permalink / raw)
To: pgsql-committers
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.
Per report by David E. Wheeler
Analysis by Tom Lane
Patch by me
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9acb9007de30b3daaa9efc16763c3bc6e3e0a92d
Modified Files
--------------
src/backend/utils/adt/tsvector_op.c | 42 ++++-------------------------------
1 file changed, 4 insertions(+), 38 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Fix oversight in tsearch type check
2015-09-17 16:51 pgsql: Fix oversight in tsearch type check Teodor Sigaev <teodor@sigaev.ru>
@ 2015-09-18 00:29 ` Peter Eisentraut <peter_e@gmx.net>
2015-09-18 11:33 ` Re: pgsql: Fix oversight in tsearch type check Teodor Sigaev <teodor@sigaev.ru>
0 siblings, 1 reply; 3+ messages in thread
From: Peter Eisentraut @ 2015-09-18 00:29 UTC (permalink / raw)
To: Teodor Sigaev <teodor@sigaev.ru>; 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),
^
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Fix oversight in tsearch type check
2015-09-17 16:51 pgsql: Fix oversight in tsearch type check Teodor Sigaev <teodor@sigaev.ru>
2015-09-18 00:29 ` Re: pgsql: Fix oversight in tsearch type check Peter Eisentraut <peter_e@gmx.net>
@ 2015-09-18 11:33 ` Teodor Sigaev <teodor@sigaev.ru>
0 siblings, 0 replies; 3+ messages in thread
From: Teodor Sigaev @ 2015-09-18 11:33 UTC (permalink / raw)
To: 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/
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2015-09-18 11:33 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17 16:51 pgsql: Fix oversight in tsearch type check Teodor Sigaev <teodor@sigaev.ru>
2015-09-18 00:29 ` Peter Eisentraut <peter_e@gmx.net>
2015-09-18 11:33 ` Teodor Sigaev <teodor@sigaev.ru>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox