pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rob stone <floriparob@gmail.com>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: jsonb_set() strictness considered harmful to data
Date: Mon, 21 Oct 2019 12:18:23 +1100
Message-ID: <c2acf7727d000388d3eab101d37f6d12ef185b42.camel@gmail.com> (raw)
In-Reply-To: <5b8a26bf-6b46-71f3-a99e-3fb9a8095232@2ndQuadrant.com>
References: <7dc242bd-b78f-2e0d-0c38-7b4b299f11bf@2ndQuadrant.com>
	<20191019161851.v7dwloiiav5yrpwu@development>
	<CAKFQuwa0epfqMsJ=yz8t+ASmdf5PoFXhXj=9DBpoHa2i_67nJw@mail.gmail.com>
	<a2c965cc-7d90-ed89-d50f-b2c046d4499e@2ndQuadrant.com>
	<20191019192723.luarxhq57qkzuncw@development>
	<CAAOiGNxmXSUdOzBg+7vWMzTjDELmiZi_dqGz355tKy+OgbCZpA@mail.gmail.com>
	<1571560798575.47024@Optiver.com>
	<34a7ff88-0d86-0990-4eac-48159df8d7f2@2ndQuadrant.com>
	<CAKFQuwbkKPYhT0S6481L7temmiN+VNrMkExsUjp6FjJnCynd5A@mail.gmail.com>
	<5db07acf-bc75-edf8-60af-905c0adadb68@2ndQuadrant.com>
	<20191020201839.olpuyuzixagcvvud@development>
	<5b8a26bf-6b46-71f3-a99e-3fb9a8095232@2ndQuadrant.com>

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









view thread (83+ messages)  latest in thread

Message-ID: <c2acf7727d000388d3eab101d37f6d12ef185b42.camel@gmail.com>
Permalink:  ../c2acf7727d000388d3eab101d37f6d12ef185b42.camel@gmail.com/
Also on:    postgresql.org/message-id/c2acf7727d000388d3eab101d37f6d12ef185b42.camel@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: floriparob@gmail.com, andrew.dunstan@2ndquadrant.com, tomas.vondra@2ndquadrant.com
  Subject: Re: jsonb_set() strictness considered harmful to data
  In-Reply-To: <c2acf7727d000388d3eab101d37f6d12ef185b42.camel@gmail.com>
  References: <7dc242bd-b78f-2e0d-0c38-7b4b299f11bf@2ndQuadrant.com> <20191019161851.v7dwloiiav5yrpwu@development> <CAKFQuwa0epfqMsJ=yz8t+ASmdf5PoFXhXj=9DBpoHa2i_67nJw@mail.gmail.com> <a2c965cc-7d90-ed89-d50f-b2c046d4499e@2ndQuadrant.com> <20191019192723.luarxhq57qkzuncw@development> <CAAOiGNxmXSUdOzBg+7vWMzTjDELmiZi_dqGz355tKy+OgbCZpA@mail.gmail.com> <1571560798575.47024@Optiver.com> <34a7ff88-0d86-0990-4eac-48159df8d7f2@2ndQuadrant.com> <CAKFQuwbkKPYhT0S6481L7temmiN+VNrMkExsUjp6FjJnCynd5A@mail.gmail.com> <5db07acf-bc75-edf8-60af-905c0adadb68@2ndQuadrant.com> <20191020201839.olpuyuzixagcvvud@development> <5b8a26bf-6b46-71f3-a99e-3fb9a8095232@2ndQuadrant.com> <c2acf7727d000388d3eab101d37f6d12ef185b42.camel@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox