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 1p1qs0-0005Tg-Ql for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Dec 2022 15:25:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p1qrx-00056Q-U9 for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Dec 2022 15:25:29 +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 1p1qrx-00056G-LC for pgsql-hackers@lists.postgresql.org; Sun, 04 Dec 2022 15:25:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p1qrv-0007MX-2A for pgsql-hackers@lists.postgresql.org; Sun, 04 Dec 2022 15:25:28 +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 2B4FPNq92629671; Sun, 4 Dec 2022 10:25:23 -0500 From: Tom Lane To: Andrew Dunstan cc: Robert Haas , Corey Huinker , Nikita Glukhov , PostgreSQL Hackers Subject: Re: Error-safe user functions In-reply-to: References: <3bbbb0df-7382-bf87-9737-340ba096e034@postgrespro.ru> <3190059.1665164276@sss.pgh.pa.us> <57b7cc2e-1215-3f43-84e4-6d9f8ad575df@dunslane.net> <3049337.1669008405@sss.pgh.pa.us> <469338a3-da38-160f-23b9-813c261bc1d6@dunslane.net> <1677334.1669918475@sss.pgh.pa.us> <1695760.1669923671@sss.pgh.pa.us> <1703871.1669927782@sss.pgh.pa.us> <1721519.1669934025@sss.pgh.pa.us> <1925585.1669990324@sss.pgh.pa.us> <02cf2f81-a776-37ff-291c-100480722a5c@dunslane.net> <2503569.1670104001@sss.pgh.pa.us> Comments: In-reply-to Andrew Dunstan message dated "Sun, 04 Dec 2022 07:53:15 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2629669.1670167523.1@sss.pgh.pa.us> Date: Sun, 04 Dec 2022 10:25:23 -0500 Message-ID: <2629670.1670167523@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > On 2022-12-03 Sa 16:46, Tom Lane wrote: >> 1. Bikeshedding on my name choices is welcome. I know Robert is >> dissatisfied with "ereturn", but I'm content with that so I didn't >> change it here. > details_please seems more informal than our usual style. details_wanted > maybe? Yeah, Corey didn't like that either. "details_wanted" works for me. > Soon after we get this done I think we'll find we need to extend this to > non-input functions. But that can wait a short while. I'm curious to know exactly which other use-cases you foresee. It wouldn't be a bad idea to write some draft code to verify that this mechanism will work conveniently for them. regards, tom lane