Commit Graph

142 Commits (24d2b2680a8d0e01b30ce8a41c4eb3b47aca5031)

Author SHA1 Message Date
Tom Lane bdf46af748 Post-feature-freeze pgindent run. 7 years ago
Tom Lane f8a187bdba Clean up callers of JsonbIteratorNext(). 7 years ago
Teodor Sigaev 1c1791e000 Add json(b)_to_tsvector function 7 years ago
Tom Lane 0b11a674fb Fix a boatload of typos in C comments. 7 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 8 years ago
Andrew Dunstan cf35346e81 Make json_populate_record and friends operate recursively 8 years ago
Andrew Dunstan c80b9920fc Transform or iterate over json(b) string values 8 years ago
Noah Misch 3a0d473192 Use wrappers of PG_DETOAST_DATUM_PACKED() more. 8 years ago
Noah Misch 2fd26b23b6 Assume deconstruct_array() outputs are untoasted. 8 years ago
Tom Lane f7c6246240 Introduce convenience macros to hide JsonbContainer header accesses better. 9 years ago
Tom Lane 90992e0e2f Relocate static function declarations to be after typedefs in jsonfuncs.c. 9 years ago
Magnus Hagander d00ca333c3 Implement array version of jsonb_delete and operator 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Magnus Hagander c99f876e9a Fix typo in comment 9 years ago
Tom Lane 9c4cc9e2c7 Fix broken jsonb_set() logic for replacing array elements. 9 years ago
Tom Lane ea268cdc9a Add macros to make AllocSetContextCreate() calls simpler and safer. 9 years ago
Peter Eisentraut 43c2c40497 Fix typo 9 years ago
Robert Haas 4bc424b968 pgindent run for 9.6 9 years ago
Teodor Sigaev 0b62fd036e Add jsonb_insert 9 years ago
Tom Lane ea4b8bd618 Code review for error reports in jsonb_set(). 9 years ago
Tom Lane 384dfbde19 Fix unsafe use of strtol() on a non-null-terminated Text datum. 9 years ago
Tom Lane a9d199f6d3 Fix json_to_record() bug with nested objects. 9 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Peter Eisentraut a351705d8a Improve some messages 10 years ago
Noah Misch 7732d49ca2 Use JsonbIteratorToken consistently in automatic variable declarations. 10 years ago
Noah Misch 08fa47c485 Prevent stack overflow in json-related functions. 10 years ago
Andrew Dunstan 1edd4ec831 Disallow invalid path elements in jsonb_set 10 years ago
Andrew Dunstan e7e3ac2d51 Fix the fastpath rule for jsonb_concat with an empty operand. 10 years ago
Andrew Dunstan 6d10f4e9d7 Only adjust negative indexes in json_get up to the length of the path. 10 years ago
Andrew Dunstan 9aa663463b Remove dead code. 10 years ago
Andrew Dunstan e02d44b8a7 Support JSON negative array subscripts everywhere 10 years ago
Andrew Dunstan 2271d002d5 Fix "path" infrastructure bug affecting jsonb_set() 10 years ago
Andrew Dunstan b81c7b4098 Desupport jsonb subscript deletion on objects 10 years ago
Andrew Dunstan 50ab76d3c1 Avoid naming a variable "new", and remove bogus initializer. 10 years ago
Andrew Dunstan 28b29f7e44 Add a couple of missing JsonbValue type initialisers. 10 years ago
Andrew Dunstan 37def42245 Rename jsonb_replace to jsonb_set and allow it to add new values 10 years ago