pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Poot, Bas (B.J.) <bas.poot@politie.nl>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: subselect removes rows
Date: Mon, 29 Nov 2021 12:34:48 -0500
Message-ID: <1268251.1638207288@sss.pgh.pa.us> (raw)
In-Reply-To: <57ceecb9c50743eeaf8732fcf2185d68@politie.nl>
References: <a5ed0b646f2e465d90954fa79d5837b5@politie.nl>
	<1217100.1638198095@sss.pgh.pa.us>
	<57ceecb9c50743eeaf8732fcf2185d68@politie.nl>

"Poot, Bas (B.J.)" <bas.poot@politie.nl> writes:
> The problem is that I don't expect (and can't imagine it is correct) that a (any) sub-select removes rows from the resultset.

I'm really not sure what you're saying here.  If you're complaining
about jsonb_each_text returning no rows for empty input, that behavior
hasn't changed, and it's hard to see what else it could do.  Your
example isn't showing any other behavior that seems odd.

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <1268251.1638207288@sss.pgh.pa.us>
Permalink:  ../1268251.1638207288@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1268251.1638207288@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bas.poot@politie.nl, pgsql-bugs@lists.postgresql.org
  Subject: Re: subselect removes rows
  In-Reply-To: <1268251.1638207288@sss.pgh.pa.us>

* 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