pgsql: Further tweaking of jsonb_set_lax().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Further tweaking of jsonb_set_lax().
Date: 2020-01-20 19:27:04
Message-ID: E1itchU-0004C5-CG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-01-21 04:48:04 pgsql: Add GUC variables for stat tracking and timeout as PGDLLIMPORT
Previous Message Tom Lane 2020-01-20 17:57:43 pgsql: Fix pg_dump's sigTermHandler() to use _exit() not exit().