From d9f38c7a555dd5a6b81100c6d1e4aa68342d8771 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Mon, 6 Oct 2014 12:51:37 +0200 Subject: 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 | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml index 5916b8f40da..c1af12abf75 100644 --- a/doc/src/sgml/ref/pg_receivexlog.sgml +++ b/doc/src/sgml/ref/pg_receivexlog.sgml @@ -255,13 +255,42 @@ PostgreSQL documentation to make sure that pg_receivexlog cannot become the synchronous standby through an incautious setting of ; it does not flush - data frequently enough for this to work correctly. + data frequently enough for this to work correctly. In + mode, create the slot with this name. + In mode, delete the slot with this name. + + pg_receivexlog can perform one of the two + following actions in order to control physical replication slots: + + + + + + + Create a new physical replication slot with the name specified in + , then start to stream WAL. + + + + + + + + + Drop the replication slot with the name specified in + , then exit. + + + + + + Other options are also available: -- cgit v1.2.3