]> granicus.if.org Git - postgresql/commit
Add support for managing physical replication slots to pg_receivexlog.
authorAndres Freund <andres@anarazel.de>
Mon, 6 Oct 2014 10:51:37 +0000 (12:51 +0200)
committerAndres Freund <andres@anarazel.de>
Mon, 6 Oct 2014 10:51:37 +0000 (12:51 +0200)
commitd9f38c7a555dd5a6b81100c6d1e4aa68342d8771
treebae23fcd90c4d8c11778d7a6c2deaa9f7756e543
parentc8b6cba84a986ae9154f748e44709a17d6723191
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
doc/src/sgml/ref/pg_receivexlog.sgml
src/bin/pg_basebackup/pg_receivexlog.c