mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -53,7 +53,7 @@ PostgreSQL documentation
|
||||
<variablelist>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--create</option></term>
|
||||
<term><option>--create-slot</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Create a new logical replication slot with the name specified in
|
||||
@ -82,7 +82,7 @@ PostgreSQL documentation
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--drop</option></term>
|
||||
<term><option>--drop-slot</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Drop the replication slot with the name specified
|
||||
@ -266,8 +266,9 @@ PostgreSQL documentation
|
||||
<listitem>
|
||||
<para>
|
||||
In <option>--start</option> mode, use the existing logical replication slot named
|
||||
<replaceable>slot_name</replaceable>. In <option>--create</option> mode, create the
|
||||
slot with this name. In <option>--drop</option> mode, delete the slot with this name.
|
||||
<replaceable>slot_name</replaceable>. In <option>--create-slot</option>
|
||||
mode, create the slot with this name. In <option>--drop-slot</option>
|
||||
mode, delete the slot with this name.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Reference in New Issue
Block a user