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 1ocfPS-0006O7-0X for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Sep 2022 04:07:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ocfPQ-0003sd-BT for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Sep 2022 04:07:56 +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 1ocfPQ-0003sU-3Z for pgsql-bugs@lists.postgresql.org; Mon, 26 Sep 2022 04:07:56 +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 1ocfPN-0002Wv-Rh for pgsql-bugs@lists.postgresql.org; Mon, 26 Sep 2022 04:07:55 +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 28Q47otC3268291; Mon, 26 Sep 2022 00:07:50 -0400 From: Tom Lane To: Michael Paquier cc: Masahiko Sawada , Justin Pryzby , Dmitry Koval , Dilip Kumar , andrewbille@gmail.com, pgsql-bugs@lists.postgresql.org, Kyotaro Horiguchi Subject: Re: BUG #17385: "RESET transaction_isolation" inside serializable transaction causes Assert at the transaction end In-reply-to: References: <20220628003720.GG19662@telsasoft.com> <2604497.1664053071@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Mon, 26 Sep 2022 12:40:55 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3268289.1664165270.1@sss.pgh.pa.us> Date: Mon, 26 Sep 2022 00:07:50 -0400 Message-ID: <3268290.1664165270@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > Just to be sure about something here. The change of behavior with SET > in the context of a PL makes this patch unsuitable for a backpatch, > hence the plan is to apply this stuff only on HEAD, right? Yeah, I think we concluded that back-patching might cause more trouble than it's worth. > + NO_RESET > + Parameters with this flag do not support > + RESET commands. > + > As per the issue with SET commands used with functions, this > description does not completely reflect the reality. It seems adequate enough to me ... do you have a suggestion? regards, tom lane