pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rob stone <floriparob@gmail.com>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: jsonb_set() strictness considered harmful to data
Date: Thu, 24 Oct 2019 12:52:36 +1100
Message-ID: <d8d398e93e70d11bf0804142f608123f88698139.camel@gmail.com> (raw)
In-Reply-To: <20191023183306.GA26674@hjp.at>
References: <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>
	<CAKmB1PEUO4nJMODBEob4ySHYSRX1EE8TUixYf=Dg-tFHfNnt1g@mail.gmail.com>
	<20191022225513.GA12201@hjp.at>
	<CAKFQuwYthEbaNT=xkj7RL7ZM7t=X+H+w4O36dShX=HtjkTYi+Q@mail.gmail.com>
	<20191023183306.GA26674@hjp.at>

Hello,

On Wed, 2019-10-23 at 20:33 +0200, Peter J. Holzer wrote:
> 
> I grant that SQL NULL takes a bit to get used to. However, it is a
> core
> part of the SQL language and everyone who uses SQL must understand it
> (I
> don't remember when I first stumbled across "select * from t where c
> =
> NULL" returning 0 rows, but it was probably within the first few days
> of
> using a database). And personally I find it much easier to deal with
> concept which are applied consistently across the whole language than
> those which sometimes apply and sometimes don't seemingly at random,
> just because a developer thought it would be convenient for the
> specific
> use-case they had in mind.
> 
>         hp
> 



view thread (83+ messages)  latest in thread

Message-ID: <d8d398e93e70d11bf0804142f608123f88698139.camel@gmail.com>
Permalink:  ../d8d398e93e70d11bf0804142f608123f88698139.camel@gmail.com/
Also on:    postgresql.org/message-id/d8d398e93e70d11bf0804142f608123f88698139.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, hjp-pgsql@hjp.at
  Subject: Re: jsonb_set() strictness considered harmful to data
  In-Reply-To: <d8d398e93e70d11bf0804142f608123f88698139.camel@gmail.com>
  References: <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> <CAKmB1PEUO4nJMODBEob4ySHYSRX1EE8TUixYf=Dg-tFHfNnt1g@mail.gmail.com> <20191022225513.GA12201@hjp.at> <CAKFQuwYthEbaNT=xkj7RL7ZM7t=X+H+w4O36dShX=HtjkTYi+Q@mail.gmail.com> <20191023183306.GA26674@hjp.at> <d8d398e93e70d11bf0804142f608123f88698139.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