Re: proposal: DROP DATABASE variant that kills active sessions - Mailing list pgsql-hackers

From Andres Freund
Subject Re: proposal: DROP DATABASE variant that kills active sessions
Date
Msg-id 20151016193825.GP6851@awork2.anarazel.de
Whole thread Raw
In response to Re: proposal: DROP DATABASE variant that kills active sessions  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
List pgsql-hackers
On 2015-10-16 16:32:25 -0300, Fabrízio de Royes Mello wrote:
> On Fri, Oct 16, 2015 at 4:12 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> > I think this would be a useful feature.  What would one do about
> > prepared transactions?
> >
> 
> Isn't "rollback all prepared" before an option?

Not necessarily - what if shared objects are affected by the
transaction?

I think it's fine to just not support FORCE in that case - I don't think
it's all that common.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: DROP DATABASE variant that kills active sessions
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: PL/Pythonu - function ereport