pg_basebackup: Add option to create replication slot

Peter Eisentraut <peter_e@gmx.net>

Commit: 3709ca1cf069cee24ef8000cb6a479813b5537df
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-09-27T12:49:47Z
Releases: 11.0
pg_basebackup: Add option to create replication slot

When requesting a particular replication slot, the new pg_basebackup
option -C/--create-slot creates it before starting to replicate from it.

Further refactor the slot creation logic to include the temporary slot
creation logic into the same function.  Add new arguments is_temporary
and preserve_wal to CreateReplicationSlot().  Print in --verbose mode
that a slot has been created.

Author: Michael Banck <michael.banck@credativ.de>

Files

Documentation touched