Re: Wish: remove ancient constructs from Postgres

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Wish: remove ancient constructs from Postgres
Дата
Msg-id 20060227074356.C37857@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: Wish: remove ancient constructs from Postgres  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Ответы Re: Wish: remove ancient constructs from Postgres  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Список pgsql-general
On Mon, 27 Feb 2006, Nikolay Samokhvalov wrote:

> On 2/27/06, Bruno Wolff III <bruno@wolff.to> wrote:
> The alternatives to distinct on are painful. They are generally both harder
> to read and run slower.
>

>'DISTINCT ON' is evil constuction, because (w/o any 'ORDER BY') it
>produses unpredictable result, as 'ORDER BY random()' does.

And so does UNION in the standard under some circumstances (look at
anywhere in the spec that a query expression is possibly
non-deterministic), so I think that's a weak argument.

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

Предыдущее
От: "Nikolay Samokhvalov"
Дата:
Сообщение: Re: Wish: remove ancient constructs from Postgres
Следующее
От: "Nikolay Samokhvalov"
Дата:
Сообщение: Re: Wish: remove ancient constructs from Postgres