| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Add support for managing physical replication slots to pg_receiv |
| Date: | 2014-10-06 10:57:55 |
| Message-ID: | E1Xb5zH-0004Ew-Eg@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)mail(dot)gmail(dot)com
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d9f38c7a555dd5a6b81100c6d1e4aa68342d8771
Modified Files
--------------
doc/src/sgml/ref/pg_receivexlog.sgml | 31 ++++++-
src/bin/pg_basebackup/pg_receivexlog.c | 155 ++++++++++++++++++++++++++++----
2 files changed, 170 insertions(+), 16 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephen Frost | 2014-10-06 15:19:00 | pgsql: Clean up Create/DropReplicationSlot query buffer |
| Previous Message | Andres Freund | 2014-10-06 10:14:26 | pgsql: Rename pg_recvlogical's --create/--drop to --create-slot/--drop- |