Commit Graph

132 Commits (8a27d418f8fc08b62f371c1b167efbfbf0a2a24e)

Author SHA1 Message Date
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Magnus Hagander 7731c32087 Fix typo on comment 8 years ago
Andrew Dunstan 18fc4ecf4a Process variadic arguments consistently in json functions 8 years ago
Andres Freund 2cd7084524 Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n). 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 9 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane 651902deb1 Re-run pgindent. 9 years ago
Alvaro Herrera 55a70a023c Assorted translatable string fixes 9 years ago
Heikki Linnakangas 2df537e43f Fix typo in comment. 9 years ago
Bruce Momjian a6fd7b7a5f Post-PG 10 beta1 pgindent run 9 years ago
Noah Misch 3a0d473192 Use wrappers of PG_DETOAST_DATUM_PACKED() more. 9 years ago
Andrew Dunstan 502a3832cc Correctly handle array pseudotypes in to_json and to_jsonb 9 years ago
Alvaro Herrera 9a34123bc3 Make messages mentioning type names more uniform 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Robert Haas 3aff33aa68 Fix typos. 10 years ago
Tom Lane e6ecc93a17 Fix IsValidJsonNumber() to notice trailing non-alphanumeric garbage. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Peter Eisentraut 30c0c4bf12 Remove unnecessary escaping in C character literals 10 years ago
Tom Lane d435542583 Fix incorrect translation of minus-infinity datetimes for json/jsonb. 10 years ago
Noah Misch 08fa47c485 Prevent stack overflow in json-related functions. 10 years ago
Andrew Dunstan c00c3249e3 Cache argument type information in json(b) aggregate functions. 10 years ago
Andrew Dunstan e02d44b8a7 Support JSON negative array subscripts everywhere 11 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 11 years ago
Heikki Linnakangas 1d0db8de04 Remove spurious semicolons. 11 years ago
Andrew Dunstan bda76c1c8c Render infinite date/timestamps as 'infinity' for json/jsonb 11 years ago
Tom Lane 451d280815 Fix jsonb Unicode escape processing, and in consequence disallow \u0000. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Andrew Dunstan 7e354ab9fe Add several generator functions for jsonb that exist for json. 11 years ago
Tom Lane 75ef435218 Fix JSON aggregates to work properly when final function is re-executed. 11 years ago
Andrew Dunstan e09996ff8d Fix hstore_to_json_loose's detection of valid JSON number values. 11 years ago
Stephen Frost c8a026e4f1 Revert 95d737ff to add 'ignore_nulls' 11 years ago
Andrew Dunstan 9111d46351 Remove ill-conceived ban on zero length json object keys. 11 years ago
Andrew Dunstan ecacbdbcee Return NULL from json_object_agg if it gets no rows. 11 years ago
Stephen Frost 95d737ff45 Add 'ignore_nulls' option to row_to_json 11 years ago
Tom Lane e56ec50c16 Use ISO 8601 format for dates converted to JSON, too. 12 years ago
Tom Lane 92f57c9ae9 Clean up handling of unknown-type inputs in json_build_object and friends. 12 years ago
Tom Lane 495cadda5e Further cleanup of JSON-specific error messages. 12 years ago
Robert Haas 0ef99bdce3 Improve some JSON error messages. 12 years ago
Andrew Dunstan 4ebe3519e1 Allow empty string object keys in json_object(). 12 years ago
Peter Eisentraut d38228fe40 Add missing serial commas 12 years ago
Noah Misch 333b7db8b3 Consistently pass an "unsigned char" to ctype.h functions. 12 years ago
Alvaro Herrera 7937910781 Fix typos 12 years ago
Andrew Dunstan ab14a73a6c Use EncodeDateTime instead of to_char to render JSON timestamps. 12 years ago
Andrew Dunstan 0ad1a81632 Do not escape a unicode sequence when escaping JSON text. 12 years ago
Andrew Dunstan f30015b6d7 Output timestamps in ISO 8601 format when rendering JSON. 12 years ago
Tom Lane 0ca6bda8e7 Get rid of bogus dependency on typcategory in to_json() and friends. 12 years ago
Tom Lane 62e57ff040 Teach add_json() that jsonb is of TYPCATEGORY_JSON. 12 years ago
Heikki Linnakangas d3c72e23df Avoid some pnstrdup()s when constructing jsonb 12 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Andrew Dunstan d9134d0a35 Introduce jsonb, a structured format for storing json. 12 years ago