Commit Graph

142 Commits (24d2b2680a8d0e01b30ce8a41c4eb3b47aca5031)

Author SHA1 Message Date
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 3 years ago
Andrew Dunstan 1a36bc9dba SQL/JSON query functions 3 years ago
Andrew Dunstan 33a377608f IS JSON predicate 3 years ago
Michael Paquier 9e98583898 Create routine able to set single-call SRFs for Materialize mode 3 years ago
Michael Paquier e77216fcb0 Simplify more checks related to set-returning functions 3 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Peter Eisentraut 7390b6421a Fix typo 4 years ago
Tom Lane 373e08a9f7 Remove redundant test. 4 years ago
Michael Paquier 609b0652af Fix typos and grammar in documentation and code comments 4 years ago
Amit Kapila 8ffb003591 Fix typo in jsonfuncs.c. 4 years ago
Tom Lane ffd3944ab9 Improve reporting for syntax errors in multi-line JSON data. 4 years ago
Tom Lane 69036aafb9 Simplify jsonfuncs.c code by using strtoint() not strtol(). 4 years ago
Alexander Korotkov aa6e46daf5 Throw error when assigning jsonb scalar instead of a composite object 4 years ago
Alexander Korotkov 81fcc72e66 Filling array gaps during jsonb subscripting 4 years ago
Alexander Korotkov 676887a3b0 Implementation of subscripting for jsonb 4 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane ff5d5611c0 Remove "invalid concatenation of jsonb objects" error case. 5 years ago
Tom Lane b3817f5f77 Improve hash_create()'s API for some added robustness. 5 years ago
Tom Lane c7aba7c14e Support subscripting of arbitrary types, not only arrays. 5 years ago
Tom Lane 9a851039aa Remove still more useless assignments. 5 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 5 years ago
Magnus Hagander 087d3d0583 Fix assorted typos 5 years ago
Tom Lane bda6dedbea Go back to returning int from ereport auxiliary functions. 5 years ago
Tom Lane 17a28b0364 Improve the internal implementation of ereport(). 5 years ago
Tom Lane 41b45576d5 Remove useless pfree()s at the ends of various ValuePerCall SRFs. 5 years ago
Tom Lane 3ed2005ff5 Introduce macros for typalign and typstorage constants. 5 years ago
Tom Lane 870ad6a59b Fix not-quite-right string comparison in parse_jsonb_index_flags(). 5 years ago
Robert Haas beb4699091 Move jsonapi.c and jsonapi.h to src/common. 5 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