Re: small patch - Mailing list pgsql-docs

From rir
Subject Re: small patch
Date
Msg-id 20211010201501.7e35hmwmdxqynjko@localhost
Whole thread Raw
In response to Re: small patch  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: small patch
List pgsql-docs
On Fri, Oct 08, 2021 at 02:47:43PM +0200, Laurenz Albe wrote:
> On Thu, 2021-10-07 at 16:06 -0400, rir wrote:


> So I suggest that you change the syntax diagram to
>
> FETCH [ direction ] [ FROM | IN ] cursor_name

> Then I agree that the "empty or" can be removed.

> I remain of the opinion that the comments should be
> retained, but we can leave that for somebody else to
> decide.

I accept your three points above.

The MOVE synopsis shows the same parsing as I presented,
should it be changed in the same way (move a square bracket left to
be after <direction>)?  My guess is yes, but I've never used an
SQL cursor.

When this convo settles, I send a new patch.  Probably
here in the group.  If I have a few more, or a complex one,
I'll check out the other submission method.

Rob




pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: small patch
Next
From: Laurenz Albe
Date:
Subject: Re: small patch