pgsql: Fix oversight in tsearch type check

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix oversight in tsearch type check
Date: 2015-09-17 16:51:04
Message-ID: E1ZccOm-0005o0-1L@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2015-09-18 00:29:00 Re: pgsql: Fix oversight in tsearch type check
Previous Message Andrew Dunstan 2015-09-17 16:12:52 pgsql: Honour TEMP_CONFIG when testing pg_upgrade