postgresql/contrib/hstore
Andrew Dunstan 38fb4d978c JSON generation improvements.
This adds the following:

    json_agg(anyrecord) -> json
    to_json(any) -> json
    hstore_to_json(hstore) -> json (also used as a cast)
    hstore_to_json_loose(hstore) -> json

The last provides heuristic treatment of numbers and booleans.

Also, in json generation, if any non-builtin type has a cast to json,
that function is used instead of the type's output function.

Andrew Dunstan, reviewed by Steve Singer.

Catalog version bumped.
2013-03-10 17:35:36 -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 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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 JSON generation improvements. 2013-03-10 17:35:36 -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 hstore regression tests. 2011-11-08 08:09:10 -05:00
hstore--1.1.sql JSON generation improvements. 2013-03-10 17:35:36 -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 Remove hstore's text => text operator. 2011-11-07 21:47:45 -05: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