Commit Graph

106 Commits (8e053dc6dfbee4ae412e98ad73cfd4662d7453ac)

Author SHA1 Message Date
Andrew Dunstan 33a377608f IS JSON predicate 4 years ago
Andrew Dunstan f4fb45d15c SQL/JSON constructors 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Bruce Momjian e36e936e0e remove redundant initializations 5 years ago
Michael Paquier f2130e77da Fix incorrect print format in json.c 5 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 6 years ago
Tom Lane 24e2885ee3 Introduce "anycompatible" family of polymorphic types. 6 years ago
Tom Lane 3ed2005ff5 Introduce macros for typalign and typstorage constants. 6 years ago
Robert Haas beb4699091 Move jsonapi.c and jsonapi.h to src/common. 6 years ago
Robert Haas 73ce2a03f3 Move some code from jsonapi.c to jsonfuncs.c. 6 years ago
Robert Haas 1f3a021730 Adjust pg_parse_json() so that it does not directly ereport(). 6 years ago
Robert Haas 11b5e3e35d Split JSON lexer/parser from 'json' data type support. 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Amit Kapila 14aec03502 Make the order of the header file includes consistent in backend modules. 6 years ago
Alexander Korotkov 6dda292d4d Allow datetime values in JsonbValue 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Tom Lane be76af171c Initial pgindent run for v12. 7 years ago
Alvaro Herrera 0a999e1290 Unify error messages 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Peter Eisentraut 0a8590b2a0 Apply unconstify() in more places 7 years ago
Tom Lane 524d64ea8e Remove bogus "extern" annotations on function definitions. 8 years ago
Peter Eisentraut a044378ce2 Add some noreturn attributes to help static analyzers 8 years ago
Andrew Dunstan cc4feded0a Centralize json and jsonb handling of datetime types 8 years ago
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