pgsql: WITH TIES: number of rows is optional and defaults to one - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: WITH TIES: number of rows is optional and defaults to one
Date
Msg-id E1japCl-00036q-CR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
WITH TIES: number of rows is optional and defaults to one

FETCH FIRST .. ONLY implements this correctly, but we missed to include
it for FETCH FIRST .. WITH TIES in commit 357889eb17bb.

Author: Vik Fearing
Discussion: https://postgr.es/m/6aa690ef-551d-e24f-2690-c38c2442947c@postgresfriends.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c301c2e739c642199f9e4c62d867dc7bd5ef0fd1

Modified Files
--------------
src/backend/parser/gram.y           |  8 ++++++++
src/test/regress/expected/limit.out | 17 +++++++++++++++++
src/test/regress/sql/limit.sql      |  5 +++++
3 files changed, 30 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Stamp 13beta1.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Reconsider nbtree page deletion assertion.