Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iMcIM-00008q-7U for pgsql-general@arkaria.postgresql.org; Mon, 21 Oct 2019 18:20:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iMcIK-0005Cg-Vj for pgsql-general@arkaria.postgresql.org; Mon, 21 Oct 2019 18:20:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iMcIK-00057X-5j for pgsql-general@lists.postgresql.org; Mon, 21 Oct 2019 18:20:40 +0000 Received: from mail.wordtothewise.com ([104.225.223.158]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1iMcIF-0005Sc-61 for pgsql-general@lists.postgresql.org; Mon, 21 Oct 2019 18:20:36 +0000 Received: from [192.168.0.206] (unknown [37.228.251.105]) by mail.wordtothewise.com (Postfix) with ESMTPSA id 46D819F147 for ; Mon, 21 Oct 2019 11:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wordtothewise.com; s=aardvark; t=1571682029; bh=7tDzSJUkZ1T130U2a+5Zzg+cWG9WPS3nRpxb+A/9hR0=; h=Subject:To:References:From:Date:In-Reply-To:From; b=jjQSmpV7HHpXw4ofqSXF5v65JT5L1wq2yIKjvjoe9chyEP3CUoJfwNhtCktZbOO9h 1hRsD4i0VC/1F8U1ttfYemd5Z/VXW7BOAB/ABUdjGCxjdEHMQWTJOA1InZANZVnKSl YgPT9lRe3GudzbhW6cy/OiFY6hSJBtYCpqlOPGwI= Subject: Re: jsonb_set() strictness considered harmful to data To: pgsql-general@lists.postgresql.org References: <20191019161851.v7dwloiiav5yrpwu@development> <20191019192723.luarxhq57qkzuncw@development> <1571560798575.47024@Optiver.com> <34a7ff88-0d86-0990-4eac-48159df8d7f2@2ndQuadrant.com> <5db07acf-bc75-edf8-60af-905c0adadb68@2ndQuadrant.com> <20191020233115.jjy6lqd4vsyrdbbo@raf.org> From: Steve Atkins Message-ID: Date: Mon, 21 Oct 2019 19:20:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------F4FCC6D44060DF4D6994D009" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------F4FCC6D44060DF4D6994D009 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 21/10/2019 17:39, Steven Pousty wrote: >  Turning a JSON null into a SQL null  and thereby "deleting" the data > is not the path of least surprises. In what situation does that happen? (If it's already been mentioned I missed it, long thread, sorry). Cheers,   Steve --------------F4FCC6D44060DF4D6994D009 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit


On 21/10/2019 17:39, Steven Pousty wrote:
 Turning a JSON null into a SQL null  and thereby "deleting" the data is not the path of least surprises.

In what situation does that happen? (If it's already been mentioned I missed it, long thread, sorry).

Cheers,
  Steve


--------------F4FCC6D44060DF4D6994D009--