Commit Graph

120 Commits (bda6dedbea599209048bc51115ecb2062ceb976c)

Author SHA1 Message Date
Tom Lane bda6dedbea Go back to returning int from ereport auxiliary functions. 6 years ago
Tom Lane 17a28b0364 Improve the internal implementation of ereport(). 6 years ago
Tom Lane 41b45576d5 Remove useless pfree()s at the ends of various ValuePerCall SRFs. 6 years ago
Tom Lane 3ed2005ff5 Introduce macros for typalign and typstorage constants. 6 years ago
Tom Lane 870ad6a59b Fix not-quite-right string comparison in parse_jsonb_index_flags(). 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 ce0425b162 Adjust src/include/utils/jsonapi.h so it's not backend-only. 6 years ago
Tom Lane 31f403e95f Further tweaking of jsonb_set_lax(). 6 years ago
Tom Lane 9c679a08f0 Silence minor compiler warnings. 6 years ago
Andrew Dunstan a83586b554 Add a non-strict version of jsonb_set 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Michael Paquier 6ca86bb7e9 Fix typos in the code 6 years ago
Alvaro Herrera 1a2983231d Split out code into new getKeyJsonValueFromContainer() 6 years ago
Alvaro Herrera dbb9aeda99 Optimize get_jsonb_path_all avoiding an iterator 6 years ago
Alvaro Herrera abb014a631 Refactor code into new JsonbValueAsText, and use it more 6 years ago
Tom Lane e136a0d8ca Restore json{b}_populate_record{set}'s ability to take type info from AS. 6 years ago
Michael Paquier 3412030205 Fix more typos and inconsistencies in the tree 6 years ago
Tom Lane 6f34fcbbd5 Fix conversion of JSON strings to JSON output columns in json_to_record(). 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 6 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Michael Paquier 730422afcd Fix some errhint and errdetail strings missing a period 7 years ago
Tom Lane eba2ce1712 Fix another crash in json{b}_populate_recordset and json{b}_to_recordset. 7 years ago
Magnus Hagander fbec7459aa Fix spelling errors and typos in comments 7 years ago
Tom Lane 4984784f83 Fix crash in json{b}_populate_recordset() and json{b}_to_recordset(). 7 years ago
Peter Eisentraut 25cf4ed1dc Add missing serial commas 7 years ago
Peter Eisentraut 831f5d11ec Refine error messages 7 years ago
Tom Lane bdf46af748 Post-feature-freeze pgindent run. 7 years ago
Tom Lane f8a187bdba Clean up callers of JsonbIteratorNext(). 8 years ago
Teodor Sigaev 1c1791e000 Add json(b)_to_tsvector function 8 years ago
Tom Lane 0b11a674fb Fix a boatload of typos in C comments. 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Tom Lane 37a795a60b Support domains over composite types. 8 years ago
Tom Lane 4bd1994650 Make DatumGetFoo/PG_GETARG_FOO/PG_RETURN_FOO macro names more consistent. 8 years ago
Peter Eisentraut 821fb8cdbf Message style fixes 8 years ago
Peter Eisentraut 1356f78ea9 Reduce excessive dereferencing of function pointers 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. 8 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 8 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 8 years ago
Tom Lane 68cff231e3 Make edge-case behavior of jsonb_populate_record match json_populate_record 8 years ago
Tom Lane e45c5be99d Fix thinko in JsObjectSize() macro. 8 years ago
Tom Lane cf5389f5b5 Fix misspelled struct tag. 8 years ago
Peter Eisentraut 7f17ae0ad0 Fix argument name differences 8 years ago
Bruce Momjian a6fd7b7a5f Post-PG 10 beta1 pgindent run 8 years ago
Andrew Dunstan 88dd4e4831 Remove extraneous comma to satisfy picky compiler 9 years ago
Andrew Dunstan cf35346e81 Make json_populate_record and friends operate recursively 9 years ago
Andrew Dunstan c80b9920fc Transform or iterate over json(b) string values 9 years ago
Noah Misch 3a0d473192 Use wrappers of PG_DETOAST_DATUM_PACKED() more. 9 years ago