Re: jsonb_set() strictness considered harmful to data - Mailing list pgsql-general

From Michael Paquier
Subject Re: jsonb_set() strictness considered harmful to data
Date
Msg-id 20191128023529.GI237562@paquier.xyz
Whole thread Raw
In response to Re: jsonb_set() strictness considered harmful to data  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: jsonb_set() strictness considered harmful to data  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Re: jsonb_set() strictness considered harmful to data  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-general
On Fri, Nov 15, 2019 at 09:45:59PM +0100, Pavel Stehule wrote:
> Maybe ERRCODE_NULL_VALUE_NOT_ALLOWED, and "NULL is not allowed",
> errdetail - a exception due setting "null_value_treatment" =>
> raise_exception
> and maybe some errhint - "Maybe you would to use Jsonb NULL - "null"::jsonb"
>
> I don't know, but in this case, the exception should be verbose. This is
> "rich" function with lot of functionality

@Andrew: This patch is waiting on input from you for a couple of days
now.
--
Michael

Attachment

pgsql-general by date:

Previous
From: Justin
Date:
Subject: Re: Install different directory issues
Next
From: Adrian Klaver
Date:
Subject: Re: ROLE VALID UNTIL timezone?