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
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
crc32.c
crc32.h
hstore_compat.c Provide some static-assertion functionality on all compilers. 2012-09-30 22:46:29 -04:00
hstore_gin.c
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
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