Thread: pgsql: Fix indefinit loop in rank_cd for some corner queries.

pgsql: Fix indefinit loop in rank_cd for some corner queries.

From
teodor@postgresql.org (Teodor Sigaev)
Date:
Log Message:
-----------
Fix indefinit loop in rank_cd for some corner queries.
Per Daniele Varrazzo <piro@develer.com> bug report.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/contrib/tsearch2:
        rank.c (r1.20.2.1 -> r1.20.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/rank.c?r1=1.20.2.1&r2=1.20.2.2)