Assorted improvements in contrib/hstore.
Tom Lane <tgl@sss.pgh.pa.us>
Assorted improvements in contrib/hstore. Remove the 64K limit on the lengths of keys and values within an hstore. (This changes the on-disk format, but the old format can still be read.) Add support for btree/hash opclasses for hstore --- this is not so much for actual indexing purposes as to allow use of GROUP BY, DISTINCT, etc. Add various other new functions and operators. Andrew Gierth
Files
| Path | Change | +/− |
|---|---|---|
| contrib/hstore/expected/hstore.out | modified | +792 −3 |
| contrib/hstore/hstore_compat.c | added | +376 −0 |
| contrib/hstore/hstore_gin.c | modified | +76 −39 |
| contrib/hstore/hstore_gist.c | modified | +70 −26 |
| contrib/hstore/hstore.h | modified | +163 −25 |
| contrib/hstore/hstore_io.c | modified | +774 −70 |
| contrib/hstore/hstore_op.c | modified | +940 −341 |
| contrib/hstore/hstore.sql.in | modified | +307 −31 |
| contrib/hstore/Makefile | modified | +3 −2 |
| contrib/hstore/sql/hstore.sql | modified | +184 −0 |
| contrib/hstore/uninstall_hstore.sql | modified | +51 −9 |
| doc/src/sgml/hstore.sgml | modified | +266 −16 |