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 1p1gSK-000299-5M for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Dec 2022 04:18:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p1gRJ-00089M-C4 for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Dec 2022 04:17:17 +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 1p1gRJ-00089D-2o for pgsql-hackers@lists.postgresql.org; Sun, 04 Dec 2022 04:17:17 +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 1p1gRE-0001o9-09 for pgsql-hackers@lists.postgresql.org; Sun, 04 Dec 2022 04:17:13 +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 2B44H8Wp2559011; Sat, 3 Dec 2022 23:17:08 -0500 From: Tom Lane To: Corey Huinker cc: Andrew Dunstan , Robert Haas , 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 Corey Huinker message dated "Sat, 03 Dec 2022 22:56:49 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2559009.1670127428.1@sss.pgh.pa.us> Date: Sat, 03 Dec 2022 23:17:08 -0500 Message-ID: <2559010.1670127428@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Corey Huinker writes: > My own effort was getting bogged down in the number of changes I needed to > make in code paths that would never want a failover case for their > typecasts, so I'm going to refactor my work on top of this and see where I > get stuck. +1, that would be a good way to see if I missed anything. regards, tom lane