Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause
Дата
Msg-id CAA4eK1KMueY=s=MrN1T8DSj+ZDkanwJy0XsO=4w9q15tUjLOMg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Dmitry Dolgov
Дата:
Сообщение: Re: BUG #17949: Adding an index introduces serialisation anomalies.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause