Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause - Mailing list pgsql-bugs

From Amit Kapila
Subject Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause
Date
Msg-id CAA4eK1KMueY=s=MrN1T8DSj+ZDkanwJy0XsO=4w9q15tUjLOMg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause
List pgsql-bugs
On Fri, Jun 16, 2023 at 1:06 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Richard Guo <guofenglinux@gmail.com> writes:
> > I went ahead and drafted a patch as attached.  But I'm not sure if it
> > suffices to only update ec_relids, em_relids and ec_sources as the patch
> > does.  Also I'm wondering if any of them would become empty after the
> > update.
>
> Thanks.  I pushed this after making some changes:
>

Does this commit close the open item: "join removal can no longer skip
updating EquivalenceClasses"? If so, can we update it?

--
With Regards,
Amit Kapila.



pgsql-bugs by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: BUG #17949: Adding an index introduces serialisation anomalies.
Next
From: Tom Lane
Date:
Subject: Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause