From d83ee62231d41092c7907166204d57edc3d57070 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Mon, 3 Mar 2014 07:16:54 -0500 Subject: Corrections to replication slots code and documentation. Andres Freund, per a report from Vik Faering --- doc/src/sgml/func.sgml | 8 ++++---- doc/src/sgml/high-availability.sgml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index ff503281140..d344b3a894a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -16317,10 +16317,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); pg_create_physical_replication_slot - pg_create_physical_replication_slot(slotname text, plugin text) + pg_create_physical_replication_slot(slotname name) - (slotname text, xlog_position pg_lsn) + (slotname name, xlog_position pg_lsn) Creates a new physical replication slot named @@ -16335,10 +16335,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); pg_drop_replication_slot - pg_drop_replication_slot(slotname text) + pg_drop_replication_slot(slotname name) - (slotname text) + void Drops the physical or logical replication slot diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index da174558d45..ecb51c4b1a2 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -935,7 +935,7 @@ postgres=# SELECT * FROM pg_create_physical_replication_slot('node_a_slot'); postgres=# SELECT * FROM pg_replication_slots; slot_name | slot_type | datoid | database | active | xmin | restart_lsn -------------+-----------+--------+----------+--------+------+------------- - node_a_slot | physical | 0 | | f | | + node_a_slot | physical | | | f | | (1 row) To configure the standby to use this slot, primary_slotname -- cgit v1.2.3