Re: Performance inside and outside view ( WAS Re: Select the

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Performance inside and outside view ( WAS Re: Select the
Дата
Msg-id 20020912081941.L45896-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: Performance inside and outside view ( WAS Re: Select the max on a field )  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Performance inside and outside view ( WAS Re: Select the
Список pgsql-sql
On Thu, 12 Sep 2002, Tom Lane wrote:

> "Gaetano Mendola" <mendola@bigfoot.com> writes:
> > Yes that's right it's help me,
> > but here the optimizer have some problems:
>
> What's the datatype of id_user, and why are you quoting the compared
> constant in some cases but not others?  I don't think the difference
> has anything to do with the view here ...

At least in current sources it would, since it can't push down the clause
(unless I'm misreading subquery_is_pushdown_safe and the comment) through
the distinct on.




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Performance inside and outside view ( WAS Re: Select the max on a field )
Следующее
От: "Gaetano Mendola"
Дата:
Сообщение: Re: Performance inside and outside view ( WAS Re: Select the max on a field )