pgsql: Fix tsquerysel() to not fail on an empty TSQuery. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix tsquerysel() to not fail on an empty TSQuery.
Date
Msg-id 20090603184213.6095075331E@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Change rather bizarre code ordering in get_id().
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Clean up ecpg's use of mmerror(): const-ify the format argument,