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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_receivexlog --create-slot-if-not-exists
Дата
Msg-id 20150707125551.GP30359@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pg_receivexlog --create-slot-if-not-exists  (Cédric Villemain <cedric@2ndQuadrant.com>)
Ответы Re: pg_receivexlog --create-slot-if-not-exists  (Cédric Villemain <cedric@2ndQuadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Comfortably check BackendPID with psql
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: PL/pgSQL, RAISE and error context