pgsql: Add a rank/(rank+1) normalization option to ts_rank(). - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add a rank/(rank+1) normalization option to ts_rank().
Date
Msg-id 20071114234327.B27E87540F0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add a rank/(rank+1) normalization option to ts_rank().  While the usefulness
of this seems a bit marginal, if it's useful enough to be shown in the manual
then we probably ought to support doing it without double evaluation of the
ts_rank function.  Per my proposal earlier today.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        textsearch.sgml (r1.33 -> r1.34)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/textsearch.sgml?r1=1.33&r2=1.34)
    pgsql/src/backend/utils/adt:
        tsrank.c (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/tsrank.c?r1=1.8&r2=1.9)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix incorrect calculation of elapsed_xlogs.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Adjust example to reduce confusion between a tsvector column and