Add GIN support for pg_trgm. From Guillaume Smet <guillaume.smet@gmail.com>
Teodor Sigaev <teodor@sigaev.ru>
Add GIN support for pg_trgm. From Guillaume Smet <guillaume.smet@gmail.com> with minor editorization by me. Hstore improvements * add operation hstore ? text - excat equivalent of exist() * remove undocumented behaviour of contains operation with NULL value * now 'key'::text=>NULL returns '"key"=>NULL' instead of NULL * Add GIN support for contains and exist operations * Add GiST support for exist operatiion * improve regression tests
Files
| Path | Change | +/− |
|---|---|---|
| contrib/hstore/data/hstore.data | modified | +1 −0 |
| contrib/hstore/expected/hstore.out | modified | +77 −14 |
| contrib/hstore/hstore_gin.c | added | +135 −0 |
| contrib/hstore/hstore_gist.c | modified | +28 −17 |
| contrib/hstore/hstore.h | modified | +3 −0 |
| contrib/hstore/hstore_op.c | modified | +36 −13 |
| contrib/hstore/hstore.sql.in | modified | +40 −2 |
| contrib/hstore/Makefile | modified | +2 −2 |
| contrib/hstore/README.hstore | modified | +9 −7 |
| contrib/hstore/sql/hstore.sql | modified | +19 −4 |
| contrib/hstore/uninstall_hstore.sql | modified | +5 −0 |