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 1lJm7q-0001ET-P2 for pgsql-general@arkaria.postgresql.org; Tue, 09 Mar 2021 23:50:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lJm7p-0006IK-M3 for pgsql-general@arkaria.postgresql.org; Tue, 09 Mar 2021 23:50:53 +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 1lJm7p-0006ID-EJ for pgsql-general@lists.postgresql.org; Tue, 09 Mar 2021 23:50:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJm7n-0007Vh-6K for pgsql-general@lists.postgresql.org; Tue, 09 Mar 2021 23:50:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 129NohMO2050800; Tue, 9 Mar 2021 18:50:43 -0500 From: Tom Lane To: "David G. Johnston" cc: Peter Eisentraut , Guyren Howe , raf , Adrian Klaver , "Bysani, Ram" , "pgsql-general@lists.postgresql.org" Subject: Re: Need help with clarification on stored procedure support in PostGreSQL database In-reply-to: References: <29836c19-5321-7093-bc88-a82c6a497a36@aklaver.com> <20210308222228.gljiuauwdd4p3kxs@raf.org> <1932630.1615246316@sss.pgh.pa.us> <20210309005300.gdp2kjoy6bjwynaa@raf.org> <1994410.1615264880@sss.pgh.pa.us> <2043807.1615323448@sss.pgh.pa.us> <2047266.1615328509@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Tue, 09 Mar 2021 16:16:45 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2050798.1615333843.1@sss.pgh.pa.us> Date: Tue, 09 Mar 2021 18:50:43 -0500 Message-ID: <2050799.1615333843@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > On Tue, Mar 9, 2021 at 3:21 PM Tom Lane wrote: >> "David G. Johnston" writes: >>> Instead of "The difference" or "One difference" I would suggest: >>> "However, a procedure does not return a value, so there is no return type >>> declaration; though a procedure can declare INOUT (but not plain OUT) >>> parameters." >> Not sure if that's an improvement. > The "however" part is probably a wash; I just dislike seeing a count > started and not having an ending and thus being left in a state of "what > didn't they include that's important". The rest of the paragraph is what's important enough to include here. I very strongly dislike the existing "The difference ..." wording, because it implies that that's the only difference, which is immediately belied by the rest. "However" isn't a lot better. Would it be better to turn the para into a bulleted list, which we could introduce with "The key differences are:" ? regards, tom lane