Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Christoph Berg <christoph(dot)berg(at)credativ(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, robertmhaas(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error
Date: 2022-07-05 00:12:03
Message-ID: YsOB02HCzc+S/cgL@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Jul 04, 2022 at 04:38:26PM +0200, Christoph Berg wrote:
> Is there anything left to do to fix up the --single_transaction +
> ON_ERROR_STOP case here? From reading the code, it now does what it
> should do. What is left to do for backpatching it?

As per upthread, Tom and Robert do not seem to agree on this point.
And it is true that this creates a behavior change. At this stage, it
could be a good idea to gather more votes.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Munro 2022-07-05 07:22:18 Re: PostgreSQL 10 initdb with locale de-x-icu fails on Windows Server 2012
Previous Message Tom Lane 2022-07-04 17:23:41 Re: BUG #17538: Dynamically updating log_hostname not affect the disconnection log