pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: How to reset a server error '25P02 in_failed_sql_transaction'
Date: Tue, 31 Dec 2019 12:08:32 -0600
Message-ID: <08a584b3-938d-1d74-36f3-c1cdefb9b75c@gmail.com> (raw)
In-Reply-To: <CAKFQuwY+YQbBjA1SMpwTgO0RnJ6uz+mF9gaq5jvhhkudAzyPtw@mail.gmail.com>
References: <20191231055501.GA2812@c720-r342378>
	<CAECtzeXuNe=RLEb8egsCn=-rvM1NNR=Nww8Whj3mbxEbLsc-ag@mail.gmail.com>
	<eac4140f-197d-2101-60f8-3f43372208a9@gmail.com>
	<CAKFQuwY+YQbBjA1SMpwTgO0RnJ6uz+mF9gaq5jvhhkudAzyPtw@mail.gmail.com>

On 12/31/19 11:29 AM, David G. Johnston wrote:
> On Tuesday, December 31, 2019, Ron <ronljohnsonjr@gmail.com 
> <mailto:ronljohnsonjr@gmail.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.

view thread (8+ messages)  latest in thread

Message-ID: <08a584b3-938d-1d74-36f3-c1cdefb9b75c@gmail.com>
Permalink:  ../08a584b3-938d-1d74-36f3-c1cdefb9b75c@gmail.com/
Also on:    postgresql.org/message-id/08a584b3-938d-1d74-36f3-c1cdefb9b75c@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: How to reset a server error '25P02 in_failed_sql_transaction'
  In-Reply-To: <08a584b3-938d-1d74-36f3-c1cdefb9b75c@gmail.com>
  References: <20191231055501.GA2812@c720-r342378> <CAECtzeXuNe=RLEb8egsCn=-rvM1NNR=Nww8Whj3mbxEbLsc-ag@mail.gmail.com> <eac4140f-197d-2101-60f8-3f43372208a9@gmail.com> <CAKFQuwY+YQbBjA1SMpwTgO0RnJ6uz+mF9gaq5jvhhkudAzyPtw@mail.gmail.com> <08a584b3-938d-1d74-36f3-c1cdefb9b75c@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox