Re: Adding order bys to the view definitions (7.4)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adding order bys to the view definitions (7.4)
Дата
Msg-id 7067.1133557343@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Adding order bys to the view definitions (7.4)  (elein <elein@varlena.com>)
Список pgsql-general
elein <elein@varlena.com> writes:
> Is there any case when PostgreSQL adds an order by
> to a view *definition* in 7.4?

I believe SELECT DISTINCT (or DISTINCT ON) will do that.
I have a vague recollection that GROUP BY might have done
so at one time as well, but it seems not to anymore.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: createuser ignores stdin in 8.1.0?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: createuser ignores stdin in 8.1.0?