Re: UNION ALL and sequential scans

Список
Период
Сортировка
От Tom Lane
Тема Re: UNION ALL and sequential scans
Дата
Msg-id 12329.1242314433@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: UNION ALL and sequential scans  (Mathieu De Zutter)
Список pgsql-performance
Дерево обсуждения
UNION ALL and sequential scans  ("Brad Jorsch", )
 Re: UNION ALL and sequential scans  (Tom Lane, )
  Re: UNION ALL and sequential scans  (Mathieu De Zutter, )
   Re: UNION ALL and sequential scans  (Tom Lane, )
Mathieu De Zutter <> writes:
> On Thu, May 14, 2009 at 4:52 PM, Tom Lane <> wrote:
>> It's an ancient and fundamental limitation that is fixed in 8.4.
>> Do not expect to see it fixed in 8.3.x.

> Does this also apply to the case of a join on an inherited table ?

> example: http://archives.postgresql.org/pgsql-performance/2003-10/msg00018.php

Well, the particular issue described in that message is long gone.
What Brad is complaining about is non-strict expressions in the
outputs of append-relation members.  An inheritance tree also forms
an append-relation, but AFAIK there is no way to have anything but
simple Vars in its outputs so the case wouldn't arise.  Do you have
a specific problem example in mind?

            regards, tom lane

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

Предыдущее
От: Dimitri
Дата:
Сообщение: Re: Any better plan for this query?..
Следующее
От: David Wilson
Дата:
Сообщение: Re: superlative missuse