Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZfE2-0007gP-Ur for pgsql-docs@arkaria.postgresql.org; Sun, 10 Oct 2021 20:15:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZfE1-0000if-SI for pgsql-docs@arkaria.postgresql.org; Sun, 10 Oct 2021 20:15:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZfE1-0000iX-6B for pgsql-docs@lists.postgresql.org; Sun, 10 Oct 2021 20:15:13 +0000 Received: from resqmta-ch2-05v.sys.comcast.net ([2001:558:fe21:29:69:252:207:37]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZfDu-0002wS-Q0 for pgsql-docs@lists.postgresql.org; Sun, 10 Oct 2021 20:15:12 +0000 Received: from resomta-ch2-20v.sys.comcast.net ([69.252.207.116]) by resqmta-ch2-05v.sys.comcast.net with ESMTP id ZfB7mnSMIK3eXZfDrmZY8m; Sun, 10 Oct 2021 20:15:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1633896903; bh=0h3crrL/Qe7r9gO6hr0w/2vALBPWVcwNKw4LcjtfACM=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=zQd3bvc9sZzP0U8GCte1z0dm+sZTuePjUfpOZ8EWePi0jHFG6p58KOJ8dmpGvncH4 v06fPTIei/XtlphQj6BB5nL62BPlDk52CACTfitQYbmtZqY7XRHClq0HcW6pjjFq2O hbTnT9YUTCdpxUVUYU0ZPSd+3U0B9xfQhl84Mz/4nbPQ8QGATpzvX570kFt2lvrRjm TJmnsF+TNs1m/pT1EORuBOyCZkNG+f8cXVAf594a87jBNI+o3igMWHOYgoSmqdS9uK gjAbka8kCjI+q1DSmHa0VUutEdjZM2nxWmKluYzTA37r/o1yYhR5o8xE3FCbsn+VDb yNxEnUUGEod9w== Received: from shrew ([66.30.144.167]) by resomta-ch2-20v.sys.comcast.net with ESMTPA id ZfDpmihEDZd7yZfDqmNy4T; Sun, 10 Oct 2021 20:15:03 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtgedgudegiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpehrihhruceorhhirhgrnhhssegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedugfdvffejtdekhfegleeujeekhfeigefhfeeugeeugfevjeeutdfhveegfffghfenucfkphepieeirdeftddrudeggedrudeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehshhhrvgifpdhinhgvthepieeirdeftddrudeggedrudeijedpmhgrihhlfhhrohhmpehrihhrrghnshestghomhgtrghsthdrnhgvthdprhgtphhtthhopehlrghurhgvnhiirdgrlhgsvgestgihsggvrhhtvggtrdgrthdprhgtphhtthhopehrihhrrghnshestghomhgtrghsthdrnhgvthdprhgtphhtthhopehpghhsqhhlqdguohgtsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-Xfinity-VMeta: sc=-100.00;st=legit Received: from rir by shrew with local (Exim 4.92) (envelope-from ) id 1mZfDp-0002tr-Md; Sun, 10 Oct 2021 16:15:01 -0400 Date: Sun, 10 Oct 2021 16:15:01 -0400 From: rir To: Laurenz Albe Cc: rir , pgsql-docs@lists.postgresql.org Subject: Re: small patch Message-ID: <20211010201501.7e35hmwmdxqynjko@localhost> References: <20211001163938.ifg4ayrsjwd7r6zr@localhost> <1c0eefa304434f67fd6a5a9d3f420d59ac74623a.camel@cybertec.at> <20211007033905.pmsg5qnyqceepfva@localhost> <9f703511c57d6bb0f44f9a968414869854ae50ea.camel@cybertec.at> <20211007200612.rkxxgeorw6w4fpjp@localhost> <57c6acf0d2936597184f6bc06f434c66eab07f49.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57c6acf0d2936597184f6bc06f434c66eab07f49.camel@cybertec.at> User-Agent: NeoMutt/20180716 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 )? 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