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 1mZpFK-0006BR-TK for pgsql-docs@arkaria.postgresql.org; Mon, 11 Oct 2021 06:57:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZpFJ-0007Vs-Qw for pgsql-docs@arkaria.postgresql.org; Mon, 11 Oct 2021 06:57: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 1mZpFJ-0007Vk-Ks for pgsql-docs@lists.postgresql.org; Mon, 11 Oct 2021 06:57:13 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mZpFH-0007lD-2k for pgsql-docs@lists.postgresql.org; Mon, 11 Oct 2021 06:57:12 +0000 Received: by mail-wr1-x434.google.com with SMTP id o20so52611120wro.3 for ; Sun, 10 Oct 2021 23:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Xava8Sruc1PwREiU++4h8KUk/fHYekFRyGSahNlr3ng=; b=qXZ2F7KVf6QE5i+7n8ogIzbD4X5HJt9LSwLKwZ1+kBuZivMf7ma7l8KZiUSb/m+smX gPaWyEAlaDBEI1LyYWzNYU4n0EDv4pLTwvOAgqbT3HH6gX7ngQq9KMaLOIavooNkbDCy YmeUcvZDPVTPacwBih6yCXSFRYt2zaRRRAdDBYsHbLSFlShPm1VOA+MBezz5n9VpkkUL OwRwVXrAGqeLN2zdHy1ZVe9g+n/pkTIHz/gZ4s5XNUdpYDkyFw697el1phHjjhjn3NRS gIpHD8mne5CMcU5zLS1pwIr6AqjM/QTE61wRBbC9aeDSL1mPapCY4WFRtt/X292hKAva 4Y8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Xava8Sruc1PwREiU++4h8KUk/fHYekFRyGSahNlr3ng=; b=NUl6X0lVMLdOflh1iCI2gjZY9V9aUmnXY0PSm7h4vt+WQTR4OTE3mTwBH5HgIhOByj qgR/scuc0YN+rmzjGrJrsI17aFnHPP9B1WEf+WAkPSjmMw7ySoIQ20NXbc2U+S8etBrb qsj/gdCB+lgMK09VhFJ2ykCzVfk8Kz0MhxQTNPocWxqe41CGZXiUxnrvNB10RU14ZSk8 iVcUsOCNeQJD4HybKiXXY1CImKYiYmvwn4vsvmKeMwqBSo7hCtKiaq+Hd5rVyc/tTtku jaF49CivVu/zRb2X8uuZQohVIMAPvW/Dqumxe+keMvjbcs+6vWqw+IO38JFpFUvk+hDr 67Sg== X-Gm-Message-State: AOAM533mu8j0klB4ASyY8GyODsyvhT1zPoVGQqpVUrQEA04aHND/Pion 3jOBI9eOaZ7LDwTuFphXZUQfEg== X-Google-Smtp-Source: ABdhPJxT+RTmdyd4wNWSUaXQSvoM+ssC9XHhOUS1xidoFNZ0qTJPeF+qav64pgjv2e/+4euK/iKLxw== X-Received: by 2002:a05:600c:ac1:: with SMTP id c1mr19323800wmr.99.1633935429400; Sun, 10 Oct 2021 23:57:09 -0700 (PDT) Received: from localhost.localdomain (dynamic-dz5oqgs2wp513fkcm-pd01.res.v6.highway.a1.net. [2001:871:5c:2f3:29aa:4310:e8a:2bc6]) by smtp.gmail.com with ESMTPSA id s186sm7452890wme.14.2021.10.10.23.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 23:57:09 -0700 (PDT) Message-ID: <00307b02220a8018baee6b35180a3e2bc4abecb2.camel@cybertec.at> Subject: Re: small patch From: Laurenz Albe To: rir Cc: pgsql-docs@lists.postgresql.org Date: Mon, 11 Oct 2021 08:57:08 +0200 In-Reply-To: <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> <20211010201501.7e35hmwmdxqynjko@localhost> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, 2021-10-10 at 16:15 -0400, rir wrote: > 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. Yes, I think that such a patch would meet with favor. Make sure to register it on the commitfest. To do that, it is better to send the patch to the -hackers list. The commitfest application won't find conversations on the -docs list. Yours, Laurenz Albe