pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix oversight in tsearch type check
Date: Thu, 17 Sep 2015 20:29:00 -0400
Message-ID: <55FB5ACC.9060406@gmx.net> (raw)
In-Reply-To: <E1ZccOm-0005o0-1L@gemulon.postgresql.org>
References: <E1ZccOm-0005o0-1L@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (3+ messages)  latest in thread

Message-ID: <55FB5ACC.9060406@gmx.net>
Permalink:  ../55FB5ACC.9060406@gmx.net/
Also on:    postgresql.org/message-id/55FB5ACC.9060406@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net, teodor@sigaev.ru
  Subject: Re: pgsql: Fix oversight in tsearch type check
  In-Reply-To: <55FB5ACC.9060406@gmx.net>
  References: <E1ZccOm-0005o0-1L@gemulon.postgresql.org> <55FB5ACC.9060406@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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