OSDN Git Service

Support triConsistent function for better performance.
authorMasaoFujii <masao.fujii@gmail.com>
Fri, 24 Jul 2015 14:29:12 +0000 (23:29 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Fri, 24 Jul 2015 14:29:12 +0000 (23:29 +0900)
commitd0b296b6211737acbec89a7c3750fbbcbbd1750c
tree3f315f8df69c19780daaaa2a136fd804c77da262
parent5d6380e8b6e7e77d525dd12a8e7a3e7b60596a20
Support triConsistent function for better performance.

The triConsistent function makes the full-text search using
pg_bigm much faster when the search keyword has a rare key.

This commit is inspired by the change of pg_trgm:
97f3014647a5bd570032abd2b809d3233003f13f

This commit bumps the pg_bigm version to 1.2.

Since triConsistent mechanism is available only in PostgreSQL 9.4
or later, this commit drops the support for 9.1, 9.2 and 9.3.
However, per discussion, we concluded to be able to live with
this situation because the current stable version of pg_bigm,
i.e., 1.1, keeps being maintained and supporting those old
PostgreSQL versions.

Reviewed by Sawada Masahiko.
Makefile
bigm_gin.c
bigm_op.c
pg_bigm--1.1--1.2.sql [new file with mode: 0644]
pg_bigm--1.2.sql [moved from pg_bigm--1.1.sql with 89% similarity]
pg_bigm.control