behave of --create-slot option - Mailing list pgsql-hackers

From Pavel Stehule
Subject behave of --create-slot option
Date
Msg-id CAFj8pRBUFe+ApQW2Jsa6Kd0xrrZDWKSbRTZd+MMuqHs_rk804g@mail.gmail.com
Whole thread Raw
Responses Re: behave of --create-slot option  (Euler Taveira <euler@timbira.com.br>)
Re: behave of --create-slot option  (Craig Ringer <craig@2ndquadrant.com>)
List 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 by date:

Previous
From: Vik Fearing
Date:
Subject: TABLE tab completion
Next
From: Andres Freund
Date:
Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid