Re: Unused table of view

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unused table of view
Дата
Msg-id 24845.1086456990@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unused table of view  (Laurent Martelli <laurent@aopsys.com>)
Ответы Re: Unused table of view
Список pgsql-performance
Laurent Martelli <laurent@aopsys.com> writes:
> The pictures table is scanned, but it's not needed.

Yes it is.  For example, if pictures is empty then the view yields
zero rows.  Omitting the join to pictures could give a different result.

            regards, tom lane

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

Предыдущее
От: Laurent Martelli
Дата:
Сообщение: Unused table of view
Следующее
От: Laurent Martelli
Дата:
Сообщение: Re: Unused table of view