Thread: pgsql: Further tweaking of jsonb_set_lax().

pgsql: Further tweaking of jsonb_set_lax().

From
Tom Lane
Date:
Further tweaking of jsonb_set_lax().

Some buildfarm members were still warning about this, because in
9c679a08f I'd missed decorating one of the ereport() code paths
with a dummy return.

Also, adjust the error messages to be more in line with project
style guide.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/31f403e95fdf88338d3fc9c6af80fcf6d8241044

Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c   | 11 ++++++-----
src/test/regress/expected/jsonb.out | 10 +++++-----
2 files changed, 11 insertions(+), 10 deletions(-)