Re: pg_receivexlog --create-slot-if-not-exists - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_receivexlog --create-slot-if-not-exists
Date
Msg-id 20150619152146.GI29350@alap3.anarazel.de
Whole thread Raw
In response to Re: pg_receivexlog --create-slot-if-not-exists  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pg_receivexlog --create-slot-if-not-exists  (Cédric Villemain <cedric@2ndQuadrant.com>)
List pgsql-hackers
On 2015-06-19 11:19:23 -0400, Magnus Hagander wrote:
> On Fri, Jun 19, 2015 at 11:17 AM, Stephen Frost <sfrost@snowman.net> wrote:
>
> > * Andres Freund (andres@anarazel.de) wrote:
> > > To make slot usage in pg_receivexlog easier, should we add
> > > --create-slot-if-not-exists? That'd mean you could run the same command
> > > the first and later invocation.
> >
> > Yes, please.
>
> +1.

Arguably we could do that for 9.5 - the whole slot stuff for receivexlog
is new, and this is just adjusting the API slightly. I won't fight much
for that opinion though.



pgsql-hackers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: pg_receivexlog --create-slot-if-not-exists
Next
From: Andres Freund
Date:
Subject: Re: checkpointer continuous flushing