On 2015-07-29 09:17:04 +0100, Simon Riggs wrote: > On 29 July 2015 at 09:09, Andres Freund <and...@anarazel.de> wrote: > > The point of using a temporary slot is to not have a > > leftover slot afterwards, reserving resources. Especially important if > > the basebackup actually failed... > > > > Creating a slot and then deleting it if the session disconnects does not > successfully provide the functionality desired above.
Uh? If you create the slot, start streaming, and then start the basebackup, it does. It does *not* guarantee that the base backup can be converted into a replica, but it's sufficient to guarantee it can brought out of recovery. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers