pgsql: Fix tsquerysel() to not fail on an empty TSQuery.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix tsquerysel() to not fail on an empty TSQuery.
Date: 2009-06-03 18:42:13
Message-ID: 20090603184213.6095075331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix tsquerysel() to not fail on an empty TSQuery. Per report from
Tatsuo Ishii.

Modified Files:
--------------
pgsql/src/backend/tsearch:
ts_selfuncs.c (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_selfuncs.c?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-06-03 20:24:51 pgsql: Clean up ecpg's use of mmerror(): const-ify the format argument,
Previous Message Tom Lane 2009-06-03 16:17:49 pgsql: Change rather bizarre code ordering in get_id().