WITH TIES: number of rows is optional and defaults to one
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 18 May 2020 23:28:46 +0000 (19:28 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 18 May 2020 23:28:46 +0000 (19:28 -0400)
commitc301c2e739c642199f9e4c62d867dc7bd5ef0fd1
tree78a4988942bc7ede38fc31984dcc3349c5e78a6b
parent7966b7980138ebcee7ae986ebcc393aea38a35c0
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
src/backend/parser/gram.y
src/test/regress/expected/limit.out
src/test/regress/sql/limit.sql