Re: Allowing join removals for more join types

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Allowing join removals for more join types
Дата
Msg-id CA+U5nMKjMHq9LbZC+wTG9eLjAMQr5=ppMda=w55b57w8ox=CjQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Allowing join removals for more join types  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On 26 June 2014 10:01, David Rowley <dgrowleyml@gmail.com> wrote:

>> Did you comment on the transitive closure question? Should we add a
>> test for that, whether or not it works yet?
>>
>
> In my previous email.
>
> I could change the the following to use c.id in the targetlist and group by
> clause, but I'm not really sure it's testing anything new or different.
>
> EXPLAIN (COSTS OFF)
> SELECT a.id FROM a
> LEFT JOIN (SELECT b.id,1 as dummy FROM b INNER JOIN c ON b.id = c.id GROUP
> BY b.id) b ON a.id = b.id AND b.dummy = 1;

OK, agreed, no need to include.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Allowing join removals for more join types
Следующее
От: Ian Barwick
Дата:
Сообщение: Re: pgaudit - an auditing extension for PostgreSQL