Re: BUG #10207: Simple select query returns duplicate row - Critical issue

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: BUG #10207: Simple select query returns duplicate row - Critical issue
Дата
Msg-id 536525D4.2080809@joh.to
обсуждение исходный текст
Ответ на BUG #10207: Simple select query returns duplicate row - Critical issue  (vetri_2020@yahoo.com)
Ответы Re: BUG #10207: Simple select query returns duplicate row - Critical issue
Список pgsql-bugs
On 5/3/14, 1:04 PM, vetri_2020@yahoo.com wrote:
> I'd encountered an issue in select query when using order by and limit.
>
> When I sort by a column which have same values for some data,then the row
> that appears in first page also appears in next page.

This is not a bug.  The sort order of identical values is undefined
unless disambiguated by adding more sort expressions.

> And when I execute the below query, the issue occurs.

You didn't show the query you used here, but I'm assuming it had OFFSET
5 or something similar.  And yes, that's still undefined behaviour, and
not a bug.



Regards,
Marko Tiikkaja

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

Предыдущее
От: vetri_2020@yahoo.com
Дата:
Сообщение: BUG #10207: Simple select query returns duplicate row - Critical issue
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #10207: Simple select query returns duplicate row - Critical issue