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  (Ba Jinsheng <bajinsheng@u.nus.edu>)
Список 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 по дате отправления:

Предыдущее
От: Ivan Trofimov
Дата:
Сообщение: Re: BUG #17948: libpq seems to misbehave in a pipelining corner case
Следующее
От: Jan Březina
Дата:
Сообщение: Re: BUG #18219: libpq does not take into consideration UNICODE define