Re: BUG #17766: Issue in asc, limit and offset for pagination.

From: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
To: prgopikrishnan85(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17766: Issue in asc, limit and offset for pagination.
Date: 2023-02-01 09:12:54
Message-ID: CAFBsxsEK49djjhYHy7F3t_5_JA2cVaJufPOt8d+jZ4rMH=QVeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Feb 1, 2023 at 3:54 PM PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:
> While getting the rows with the columns called name which has duplicate
> names, now ascending the rows by name with limit 25 and offset 0,25,50
like
> this on each query. But the rows are duplicating with the names

Hi,

You mentioned that the field has duplicate name values, so selecting that
column will produce a result set that has duplicates also. A "limit" clause
is not going to change that.

If you still think something is not behaving as expected, please provide a
reproducible test case.

--
John Naylor
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-02-01 09:45:39 BUG #17767: psql: tab-completion causes warnings when standard_conforming_strings = off
Previous Message Michael Paquier 2023-02-01 07:39:47 Re: Was there a bug fix in the COPY command in Version 15?