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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performance inside and outside view ( WAS Re: Select the
Дата
Msg-id 8920.1031857027@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Performance inside and outside view ( WAS Re: Select the  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> On Thu, 12 Sep 2002, Tom Lane wrote:
>> 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.

Oh, duh, you're right; I'd missed the DISTINCT ON ...
        regards, tom lane


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Latitude / Longitude
Следующее
От: Andrew Perrin
Дата:
Сообщение: LIMIT within UNION?