Thread: pgsql: Improve the gin index scan performance in pg_trgm.

pgsql: Improve the gin index scan performance in pg_trgm.

From
Teodor Sigaev
Date:
Improve the gin index scan performance in pg_trgm.

Previous coding assumes too pessimistic upper bound of similarity
in consistent method of GIN.

Author: Fornaroli Christophe with comments by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/25bfa7efd037a3c44d6a2989d18f55758090e8a9

Modified Files
--------------
contrib/pg_trgm/trgm_gin.c |   28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)