Re: How to reset a server error '25P02 in_failed_sql_transaction'

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How to reset a server error '25P02 in_failed_sql_transaction'
Date: 2019-12-31 18:08:32
Message-ID: 08a584b3-938d-1d74-36f3-c1cdefb9b75c@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/31/19 11:29 AM, David G. Johnston wrote:
> On Tuesday, December 31, 2019, Ron <ronljohnsonjr(at)gmail(dot)com
> <mailto:ronljohnsonjr(at)gmail(dot)com>> wrote:
>
> But how do you issue a ROLLBACK to a different pid?
>
>
> You cannot.  At that point you need to start from scratch.
>
> pg_terminate_backend(/pid int/)
>
> And let the problematic app deal with losing its database connection
> however it will.
>
> David J.

That's what I thought (and privately told OP).

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Lissner 2019-12-31 23:51:25 How to shorten a chain of logically replicated servers
Previous Message David G. Johnston 2019-12-31 17:29:02 Re: How to reset a server error '25P02 in_failed_sql_transaction'