Add caching of query to GIN/GiST consistent function.
Teodor Sigaev <teodor@sigaev.ru>
Add caching of query to GIN/GiST consistent function. Per performance gripe from nomao.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_trgm/trgm_gin.c | modified | +28 −4 |
| contrib/pg_trgm/trgm_gist.c | modified | +20 −2 |