From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ed Herrmann <ewherrmann@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18356: Casting values from jsonb_each_text does not respect WHERE filter with sub select
Date: Wed, 21 Feb 2024 15:56:24 -0500
Message-ID: <140973.1708548984@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOfL=zrXvNgWZX-vWpqaJCT_SGtSG0ze=4e5K4iGVe_5QW3oUQ@mail.gmail.com>
References: <18356-a811d014209fd19c@postgresql.org>
<2df3715aa60088b5d781c6b4b1dc1ec5ab62669b.camel@cybertec.at>
<131235.1708547688@sss.pgh.pa.us>
<CAOfL=zrXvNgWZX-vWpqaJCT_SGtSG0ze=4e5K4iGVe_5QW3oUQ@mail.gmail.com>
Ed Herrmann <ewherrmann@gmail.com> writes:
> This example does not cause the same error and returns results as expected.
> If it has to do with the execution plan as Laurenz suggested, do you have a
> suggestion on how to better create a self-contained example where it would
> behave more like an actual table select to get the desired list of keys?
Do an EXPLAIN on the problem query, and then try to make an example
with no private data that shows the same plan.
regards, tom lane
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, ewherrmann@gmail.com, laurenz.albe@cybertec.at, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18356: Casting values from jsonb_each_text does not respect WHERE filter with sub select
In-Reply-To: <140973.1708548984@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