Re: Missing grammar production for WITH TIES

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Vik Fearing <vik(at)postgresfriends(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Missing grammar production for WITH TIES
Date: 2020-05-18 17:03:23
Message-ID: 20200518170323.GA14610@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-May-18, Vik Fearing wrote:

> The syntax for FETCH FIRST allows the <fetch first quantity> to be
> absent (implying 1).
>
> We implement this correctly for ONLY, but WITH TIES didn't get the memo.

Oops, yes. I added a test. Will get this pushed immediately after I
see beta1 produced.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-WITH-TIES-number-of-rows-is-optional-and-default-to-.patch text/x-diff 2.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-05-18 17:22:38 Re: Vintage unused variables in pg_dump.c
Previous Message Tom Lane 2020-05-18 16:38:05 Re: Why is pq_begintypsend so slow?