Re: [HACKERS] [PATCH] Fix drop replication slot blocking instead ofreturning error - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] [PATCH] Fix drop replication slot blocking instead ofreturning error
Date
Msg-id 20170830133313.ozsj3zsmsxinqgfx@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] [PATCH] Fix drop replication slot blocking instead ofreturning error  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [HACKERS] [PATCH] Fix drop replication slot blocking instead ofreturning error  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Craig Ringer wrote:

> > FWIW, I also don't think it's ok to just change the behaviour
> > unconditionally and without a replacement for existing behaviour.
> 
> Seems like it just needs a new argument nowait DEFAULT false

I added a WAIT flag to DROP_REPLICATION_SLOT, preliminary patch
attached.  Running tests now.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] LWLock optimization for multicore Power machines
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Parallel worker error