From: Marko Tiikkaja <marko@joh.to>
To: vetri_2020@yahoo.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #10207: Simple select query returns duplicate row - Critical issue
Date: Sat, 03 May 2014 19:22:28 +0200
Message-ID: <536525D4.2080809@joh.to> (raw)
In-Reply-To: <20140503110401.1394.82717@wrigleys.postgresql.org>
References: <20140503110401.1394.82717@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: marko@joh.to, vetri_2020@yahoo.com
Subject: Re: BUG #10207: Simple select query returns duplicate row - Critical issue
In-Reply-To: <536525D4.2080809@joh.to>
References: <20140503110401.1394.82717@wrigleys.postgresql.org> <536525D4.2080809@joh.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox