Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qhfEo-003pcT-Mw for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Sep 2023 00:02:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qhfEm-001lG2-TO for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Sep 2023 00:02:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qhfEm-001lFo-Ji for pgsql-bugs@lists.postgresql.org; Sun, 17 Sep 2023 00:02:08 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qhfEj-005YD9-RQ for pgsql-bugs@lists.postgresql.org; Sun, 17 Sep 2023 00:02:08 +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 38H0238A3984912; Sat, 16 Sep 2023 20:02:03 -0400 From: Tom Lane To: Michael Paquier cc: Alexander Lakhin , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18070: Assertion failed when processing error from plpy's iterator In-reply-to: References: <18070-ab9c171cbf4ebb0f@postgresql.org> <9fa9c154-d084-07de-8224-aab7fc8a119e@gmail.com> <3920993.1694874885@sss.pgh.pa.us> <5eba3ea5-ae13-aab2-35d6-cd3e58dab08b@gmail.com> Comments: In-reply-to Michael Paquier message dated "Sun, 17 Sep 2023 08:50:13 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3984910.1694908923.1@sss.pgh.pa.us> Date: Sat, 16 Sep 2023 20:02:03 -0400 Message-ID: <3984911.1694908923@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > Btw, backpatching a change in the error infrastructure does not seem a > good idea to me, as there could be applications that depend on the > existing behaviors? It looks like we'd better just remove the > assertion in back-branches. +1. Not very sure what we want to change this to in HEAD, but I wouldn't backpatch a behavioral change here. regards, tom lane