Improve the gin index scan performance in pg_trgm.
authorTeodor Sigaev <teodor@sigaev.ru>
Fri, 25 Dec 2015 10:05:13 +0000 (13:05 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Fri, 25 Dec 2015 10:05:13 +0000 (13:05 +0300)
commit25bfa7efd037a3c44d6a2989d18f55758090e8a9
tree6f670a31c83c3f77a9d3bf28dbcec31a58211cb9
parenta9246fbf665327870370d1088bfc9efdfd2719ec
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.
contrib/pg_trgm/trgm_gin.c