From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Floris Van Nee <florisvannee(at)optiver(dot)com>, Ariadne Conill <ariadne(at)dereferenced(dot)org>, Mark Felder <feld(at)freebsd(dot)org>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: jsonb_set() strictness considered harmful to data |
Date: | 2019-11-28 02:35:29 |
Message-ID: | 20191128023529.GI237562@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2019-11-28 03:25:14 | Re: ROLE VALID UNTIL timezone? |
Previous Message | Justin | 2019-11-27 23:17:37 | Re: Install different directory issues |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-11-28 02:39:42 | Re: pglz performance |
Previous Message | Michael Paquier | 2019-11-28 02:32:01 | Re: row filtering for logical replication |