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 1maQ4K-000265-Tp for pgsql-docs@arkaria.postgresql.org; Tue, 12 Oct 2021 22:16:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maQ4J-0000TA-OH for pgsql-docs@arkaria.postgresql.org; Tue, 12 Oct 2021 22:16:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maQ4J-0000Nk-46 for pgsql-docs@lists.postgresql.org; Tue, 12 Oct 2021 22:16:19 +0000 Received: from resqmta-ch2-04v.sys.comcast.net ([2001:558:fe21:29:69:252:207:36]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maQ4B-0007XM-J7 for pgsql-docs@lists.postgresql.org; Tue, 12 Oct 2021 22:16:18 +0000 Received: from resomta-ch2-16v.sys.comcast.net ([69.252.207.112]) by resqmta-ch2-04v.sys.comcast.net with ESMTP id aQ0hmV1TQx10yaQ45mFxOm; Tue, 12 Oct 2021 22:16:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1634076965; bh=eUdPYQLKyimLjB0d6L9peaFWUHA7Hi/fun3bpDND3Qs=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=dcD7d7ohPbLw5nKfjDrhjPpR5oR2dA2WBifKyStBpgIvUZzVXlj+s6rLUOGu/9VHn 6i8oQ+N17B7V3SxtOKRgSL65XMhKZ7hnoRS39lyoccZpUVW8vmwtgPfK1IGCTXBWG3 O3FsPJjDViwOi01ZWRTu3YZrNpCpDQb7HCcKKlWEjeX3s4qbDa/EdFTGo8QsFWx0Eu XqAqzKtmZ55y8shBQO2uWpbJwcp1gVrQo+EFSE9JwF6Yzx0qiixSq3fBbvlr3/PUXH WxW60E1NcoVZO6bUCXNNRpHXl35gxpb9QO48F5qei9E7G+g/dBW0474bOBqsNj8UzG jhcAeDKPOREzg== Received: from shrew ([66.30.144.167]) by resomta-ch2-16v.sys.comcast.net with ESMTPA id aQ44mOr4uILBkaQ45mpzYh; Tue, 12 Oct 2021 22:16:05 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtledgtdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfhfgggtuggjfgesthdtredttdervdenucfhrhhomheprhhirhcuoehrihhrrghnshestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepudfgvdffjedtkefhgeelueejkefhieeghfefueeguefgveejuedthfevgeffgffhnecukfhppeeiiedrfedtrddugeegrdduieejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepshhhrhgvfidpihhnvghtpeeiiedrfedtrddugeegrdduieejpdhmrghilhhfrhhomheprhhirhgrnhhssegtohhmtggrshhtrdhnvghtpdhrtghpthhtoheplhgruhhrvghniidrrghlsggvsegthigsvghrthgvtgdrrghtpdhrtghpthhtoheprhhirhgrnhhssegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepphhgshhqlhdqughotghssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-Xfinity-VMeta: sc=-100.00;st=legit Received: from rir by shrew with local (Exim 4.92) (envelope-from ) id 1maQ44-0000UE-El; Tue, 12 Oct 2021 18:16:04 -0400 Date: Tue, 12 Oct 2021 18:16:04 -0400 From: rir To: Laurenz Albe Cc: rir , pgsql-docs@lists.postgresql.org Subject: Re: small patch Message-ID: <20211012221604.ovfg7dv2ljgwuld6@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> <20211012031414.fmel7tx5kb4jkz4x@localhost> <5be21049fc8b9dcc2a0404fbce196a65e9c4e347.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5be21049fc8b9dcc2a0404fbce196a65e9c4e347.camel@cybertec.at> User-Agent: NeoMutt/20180716 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Oct 12, 2021 at 08:43:34AM +0200, Laurenz Albe wrote: > On Mon, 2021-10-11 at 23:14 -0400, rir wrote: > > On Sun, Oct 10, 2021 at 04:15:01PM -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: > > > > > > FETCH [ direction ] [ FROM | IN ] cursor_name > > > > Should the pgplsql docs be similiarly changed per the above > > in 43.7.3.1 and 2? > > Absolutely! > > It may even make sense to extend the existing comments to > alert people who modify the syntax diagram in the future > that they should also consider reviewing the PL/pgSQL syntax. I will make the syntax change. Since my understanding is that, absent contrary documentation, plpgSQL follows SQL, I resist the idea of yet another comment. Better would be establishing a SPoT, tagging it, and tagging various forms of derived info as quotes, code samples, etc. or, at worst, logically dependent. This more form of commenting could allow linting processes to support its use and check its accuracy. Absent that ... Rob