Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zctv0-000665-CP for pgsql-committers@arkaria.postgresql.org; Fri, 18 Sep 2015 11:33:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zctuz-0001JZ-U8 for pgsql-committers@arkaria.postgresql.org; Fri, 18 Sep 2015 11:33:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zctuz-0001JB-AM for pgsql-committers@postgresql.org; Fri, 18 Sep 2015 11:33:29 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zctur-0001qK-PU for pgsql-committers@postgresql.org; Fri, 18 Sep 2015 11:33:28 +0000 Received: from xor.sai.msu.ru (newmail.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 45D7EB19195; Fri, 18 Sep 2015 14:33:19 +0300 (MSK) Message-ID: <55FBF67F.5040200@sigaev.ru> Date: Fri, 18 Sep 2015 14:33:19 +0300 From: Teodor Sigaev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: Peter Eisentraut , pgsql-committers@postgresql.org Subject: Re: pgsql: Fix oversight in tsearch type check References: <55FB5ACC.9060406@gmx.net> In-Reply-To: <55FB5ACC.9060406@gmx.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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