pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Code review for error reports in jsonb_set(). 2+ messages / 1 participants [nested] [flat]
* pgsql: Code review for error reports in jsonb_set(). @ 2016-03-23 15:00 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-03-23 15:00 UTC (permalink / raw) To: pgsql-committers Code review for error reports in jsonb_set(). User-facing (even tested by regression tests) error conditions were thrown with elog(), hence had wrong SQLSTATE and were untranslatable. And the error message texts weren't up to project style, either. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/ea4b8bd6188ecb17ba37d93f57b8b020a964e66c Modified Files -------------- src/backend/utils/adt/jsonfuncs.c | 24 ++++++++++++++---------- src/test/regress/expected/jsonb.out | 12 ++++++------ 2 files changed, 20 insertions(+), 16 deletions(-) -- 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: Code review for error reports in jsonb_set(). @ 2016-03-23 15:00 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-03-23 15:00 UTC (permalink / raw) To: pgsql-committers Code review for error reports in jsonb_set(). User-facing (even tested by regression tests) error conditions were thrown with elog(), hence had wrong SQLSTATE and were untranslatable. And the error message texts weren't up to project style, either. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/1548c781888be14d2f24d65fbd591198fabef3a0 Modified Files -------------- src/backend/utils/adt/jsonfuncs.c | 24 ++++++++++++++---------- src/test/regress/expected/jsonb.out | 12 ++++++------ 2 files changed, 20 insertions(+), 16 deletions(-) -- 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:[~2016-03-23 15:00 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-03-23 15:00 pgsql: Code review for error reports in jsonb_set(). Tom Lane <tgl@sss.pgh.pa.us> 2016-03-23 15:00 pgsql: Code review for error reports in jsonb_set(). Tom Lane <tgl@sss.pgh.pa.us>
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