Add support for managing physical replication slots to pg_receivexlog.

Andres Freund <andres@anarazel.de>

Commit: d9f38c7a555dd5a6b81100c6d1e4aa68342d8771
Author: Andres Freund <andres@anarazel.de>
Date: 2014-10-06T10:51:37Z
Releases: 9.5.0
Add support for managing physical replication slots to pg_receivexlog.

pg_receivexlog already has the capability to use a replication slot to
reserve WAL on the upstream node. But the used slot currently has to
be created via SQL.

To allow using slots directly, without involving SQL, add
--create-slot and --drop-slot actions, analogous to the logical slot
manipulation support in pg_recvlogical.

Author: Michael Paquier
Discussion: CABUevEx+zrOHZOQg+dPapNPFRJdsk59b=TSVf30Z71GnFXhQaw@mail.gmail.com

Files

PathChange+/−
doc/src/sgml/ref/pg_receivexlog.sgml modified +30 −1
src/bin/pg_basebackup/pg_receivexlog.c modified +140 −15