Re: Wrong results due to missing quals

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Wrong results due to missing quals
Дата
Msg-id CAMbWs4_G4WLjowfDcY2DzYAM-H6ViXk6YJ3Yas5W_CG3NdpvvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Wrong results due to missing quals  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Wrong results due to missing quals  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On Thu, May 25, 2023 at 5:28 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
I tried this and it seems to work all right: it fixes the example
you showed while not causing any new failures.  (Doesn't address
the broken join-removal logic you showed in the other thread,
though.)

While at it, I also changed make_restrictinfo to treat has_clone
and is_clone as first-class citizens, to fix the dubious coding in
equivclass.c that I mentioned at [1].

The "incompatible_relids" idea is a stroke of genius.  I reviewed the
patch and did not find any problem.  So big +1 to the patch.

Thanks
Richard

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: PG 16 draft release notes ready
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: ALTER TABLE SET ACCESS METHOD on partitioned tables