Re: jsonb_set() strictness considered harmful to data

From: rob stone <floriparob(at)gmail(dot)com>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: jsonb_set() strictness considered harmful to data
Date: 2019-10-21 01:18:23
Message-ID: c2acf7727d000388d3eab101d37f6d12ef185b42.camel@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hello,

On Sun, 2019-10-20 at 18:51 -0400, Andrew Dunstan wrote:
> On 10/20/19 4:18 PM, Tomas Vondra wrote:
> >
> > https://www.postgresql.org/docs/12/functions-json.html
> >
> > but that says nothing about how jsonb_set works with NULL values :-
> > (
>
>
> We should certainly fix that. I accept some responsibility for the
> omission.
>
>
>

FWIW, if you are able to update the documentation, the current JSON RFC
is 8259.

https://tools.ietf.org/html/rfc8259

Cheers,
Rob

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Abelard Hoffman 2019-10-21 02:58:33 Re: jsonb_set() strictness considered harmful to data
Previous Message raf 2019-10-20 23:31:15 Re: jsonb_set() strictness considered harmful to data

Browse pgsql-hackers by date

  From Date Subject
Next Message 李杰 (慎追) 2019-10-21 02:36:04 回复:Bug about drop index concurrently
Previous Message Masahiko Sawada 2019-10-21 00:37:26 Re: [HACKERS] Block level parallel vacuum