Re: pg_receivexlog --create-slot-if-not-exists

From: Andres Freund <andres(at)anarazel(dot)de>
To: Cédric Villemain <cedric(at)2ndQuadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_receivexlog --create-slot-if-not-exists
Date: 2015-07-07 12:55:51
Message-ID: 20150707125551.GP30359@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-07-07 13:13:00 Re: PL/pgSQL, RAISE and error context
Previous Message Julien Rouhaud 2015-07-07 12:48:52 Re: Comfortably check BackendPID with psql