behave of --create-slot option

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема behave of --create-slot option
Дата
Msg-id CAFj8pRBUFe+ApQW2Jsa6Kd0xrrZDWKSbRTZd+MMuqHs_rk804g@mail.gmail.com
обсуждение исходный текст
Ответы Re: behave of --create-slot option  (Euler Taveira <euler@timbira.com.br>)
Re: behave of --create-slot option  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Hi

I am writing a article about PostgreSQL 11 features. Now I am looking on new option --create-slot option of pg_basebackup command.

I don't understand to use case for this option, because It fails when requested slot already exists. I cannot to imagine use case for this. If I write some scripts, then I prefer the behave like "create if doesn't exist or do nothing".

Any repeated running of script with this option should to fail. Is it required? Why?

Regards

Pavel

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Vik Fearing
Дата:
Сообщение: TABLE tab completion
Следующее
От: Andres Freund
Дата:
Сообщение: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid