Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries
Дата
Msg-id CAMbWs49igjcszLgicb4D1N21_5iNDoxheJ7KFmAcs_z=Lx6jhg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries  (Andrei Lepikhov <a.lepikhov@postgrespro.ru>)
Ответы Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries  (Alexander Korotkov <aekorotkov@gmail.com>)
Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries  (Andrei Lepikhov <a.lepikhov@postgrespro.ru>)
Список pgsql-bugs

On Fri, Jan 5, 2024 at 11:32 AM Andrei Lepikhov <a.lepikhov@postgrespro.ru> wrote:
The regression test shows where two fully equal join clauses, applied on
different join levels, differ by the only required_relids. It covers the
problem and can be helpful by itself. IMO, one line in this test is
redundant (see attachment).

Hmm, I don't think the insert statement in the test case is redundant.
It's needed to verify that the query in the test case gives the correct
result.  Without the insert statement, the wrong plan would give the
same result as the correct plan, i.e., an empty set in this case.

IMO, if we make some code changes and add a test case for that, we need
to ensure the test can give a different (and correct of course) result
than what came before.

Thanks
Richard

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

Предыдущее
От: Kieren Diment
Дата:
Сообщение: centos7 setup - repomd.xml signature could not be verified for pgdg-common
Следующее
От: Devrim Gündüz
Дата:
Сообщение: Re: centos7 setup - repomd.xml signature could not be verified for pgdg-common