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 20150707125551.GP30359@alap3.anarazel.de
Whole thread Raw
In response to Re: pg_receivexlog --create-slot-if-not-exists  (Cédric Villemain <cedric@2ndQuadrant.com>)
Responses Re: pg_receivexlog --create-slot-if-not-exists
List pgsql-hackers
On 2015-06-19 17:21:25 +0200, Cédric Villemain 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.
> 
> +1 (with a shorter name please, if you can find one... )

How about a seperate --if-not-exists modifier? Right now --create works
as an abbreviation for --create-slot, but --create-slot-if-not-exists
would break that.



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Comfortably check BackendPID with psql
Next
From: Heikki Linnakangas
Date:
Subject: Re: PL/pgSQL, RAISE and error context