pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix two small bugs in json's populate_record_worker 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix two small bugs in json's populate_record_worker @ 2015-05-04 16:43 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2015-05-04 16:43 UTC (permalink / raw) To: pgsql-committers Fix two small bugs in json's populate_record_worker The first bug is not releasing a tupdesc when doing an early return out of the function. The second bug is a logic error in choosing when to do an early return if given an empty jsonb object. Bug reports from Pavel Stehule and Tom Lane respectively. Backpatch to 9.4 where these were introduced. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/3c000fd9a68dae9ebd9d1507ab3995cc178de1e5 Modified Files -------------- src/backend/utils/adt/jsonfuncs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix two small bugs in json's populate_record_worker @ 2015-05-04 16:43 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2015-05-04 16:43 UTC (permalink / raw) To: pgsql-committers Fix two small bugs in json's populate_record_worker The first bug is not releasing a tupdesc when doing an early return out of the function. The second bug is a logic error in choosing when to do an early return if given an empty jsonb object. Bug reports from Pavel Stehule and Tom Lane respectively. Backpatch to 9.4 where these were introduced. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/997066f4456c0fc582e62a50e296c77360212049 Modified Files -------------- src/backend/utils/adt/jsonfuncs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-05-04 16:43 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-05-04 16:43 pgsql: Fix two small bugs in json's populate_record_worker Andrew Dunstan <andrew@dunslane.net> 2015-05-04 16:43 pgsql: Fix two small bugs in json's populate_record_worker Andrew Dunstan <andrew@dunslane.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox