pgsql: Further tweaking of jsonb_set_lax(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Further tweaking of jsonb_set_lax().
Date
Msg-id E1itchU-0004C5-CG@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix pg_dump's sigTermHandler() to use _exit() not exit().
Next
From: Michael Paquier
Date:
Subject: pgsql: Add GUC variables for stat tracking and timeout as PGDLLIMPORT