postgresql/contrib/hstore
Andrew Dunstan a18167510f Use a new hstore extension version for added json functions.
This should have been done when the json functionality was added to
hstore in 9.3.0. To handle this correctly, the upgrade script therefore
uses conditional logic by using plpgsql in a DO statement to add the two
new functions and the new cast. If hstore_to_json_loose is detected as
already present and dependent on the hstore extension nothing is done.
This will require that the database be loaded with plpgsql.

People who have installed the earlier and spurious 1.1 version of hstore
will need to do:

	ALTER EXTENSION hstore UPDATE;

to pick up the new functions properly.
2013-09-29 17:41:56 -04:00
..
data Add GIN support for pg_trgm. From Guillaume Smet <guillaume.smet@gmail.com> 2007-03-14 14:21:53 +00:00
expected JSON generation improvements. 2013-03-10 17:35:36 -04:00
sql JSON generation improvements. 2013-03-10 17:35:36 -04:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
crc32.c Fix typo in comment. 2013-04-19 09:32:49 -04:00
crc32.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
hstore_compat.c Provide some static-assertion functionality on all compilers. 2012-09-30 22:46:29 -04:00
hstore_gin.c pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
hstore_gist.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
hstore_io.c Post-pgindent cleanup 2013-06-01 09:38:15 -04:00
hstore_op.c Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
hstore--1.0--1.1.sql Fix typo in update scripts for some contrib modules. 2013-07-19 04:13:01 +09:00
hstore--1.1--1.2.sql Use a new hstore extension version for added json functions. 2013-09-29 17:41:56 -04:00
hstore--1.2.sql Use a new hstore extension version for added json functions. 2013-09-29 17:41:56 -04:00
hstore--unpackaged--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
hstore.control Use a new hstore extension version for added json functions. 2013-09-29 17:41:56 -04:00
hstore.h Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
Makefile Don't install hstore--1.0.sql any more. 2012-02-22 20:37:13 -05:00