From 0cd700477466d260ed9c61d0af87df18f7cbfd1a Mon Sep 17 00:00:00 2001
From: Andres Freund
Date: Mon, 6 Oct 2014 12:11:52 +0200
Subject: Rename pg_recvlogical's --create/--drop to --create-slot/--drop-slot.
A future patch (9.5 only) adds slot management to pg_receivexlog. The
verbs create/drop don't seem descriptive enough there. It seems better
to rename pg_recvlogical's commands now, in beta, than live with the
inconsistency forever.
The old form (e.g. --drop) will still be accepted by virtue of most
getopt_long() options accepting abbreviations for long commands.
Backpatch to 9.4 where pg_recvlogical was introduced.
Author: Michael Paquier and Andres Freund
Discussion: CAB7nPqQtt79U6FmhwvgqJmNyWcVCbbV-nS72j_jyPEopERg9rg@mail.gmail.com
---
doc/src/sgml/logicaldecoding.sgml | 4 ++--
doc/src/sgml/ref/pg_recvlogical.sgml | 9 +++++----
2 files changed, 7 insertions(+), 6 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml
index 1f56b39df94..7197e9dd0a4 100644
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -149,7 +149,7 @@ postgres=# SELECT pg_drop_replication_slot('regression_slot');
another connection.
-# pg_recvlogical -d postgres --slot test --create
+# pg_recvlogical -d postgres --slot test --create-slot
# pg_recvlogical -d postgres --slot test --start -f -
CTRL-Z
# psql -d postgres -c "INSERT INTO data(data) VALUES('4');"
@@ -158,7 +158,7 @@ BEGIN 693
table public.data: INSERT: id[integer]:4 data[text]:'4'
COMMIT 693
CTRL-C
-# pg_recvlogical -d postgres --slot test --drop
+# pg_recvlogical -d postgres --slot test --drop-slot
diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml
index ce5ad5eed9e..2a521c4f360 100644
--- a/doc/src/sgml/ref/pg_recvlogical.sgml
+++ b/doc/src/sgml/ref/pg_recvlogical.sgml
@@ -53,7 +53,7 @@ PostgreSQL documentation
-
+
Create a new logical replication slot with the name specified in
@@ -82,7 +82,7 @@ PostgreSQL documentation
-
+
Drop the replication slot with the name specified
@@ -266,8 +266,9 @@ PostgreSQL documentation
In mode, use the existing logical replication slot named
- slot_name. In mode, create the
- slot with this name. In mode, delete the slot with this name.
+ slot_name. In
+ mode, create the slot with this name. In
+ mode, delete the slot with this name.
--
cgit v1.2.3