Re:BUG #18221: Unexpected Query Result

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re:BUG #18221: Unexpected Query Result
Дата
Msg-id 8521741701611049@gf6ne5m4hitewrno.vla.yp-c.yandex.net
обсуждение исходный текст
Ответ на BUG #18221: Unexpected Query Result  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: Re:BUG #18221: Unexpected Query Result
Список pgsql-bugs
Hello

Using "distinct on" without specifying an explicit "order by" is unpredictable in itself. I'll quote from the manual:

> Note that the “first row” of each set is unpredictable unless ORDER BY is used to ensure that the desired row appears
first.

Can you reproduce the unexpected behavior with explicit order by clause?

regards, Sergei



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