Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d1d8382

Browse files
author
Amit Kapila
committed
Doc: Improve -R option added in e5aeed4.
Author: Reviewed-by: Peter Smith <[email protected]> Reviewed-by: vignesh C <[email protected]> Discussion: https://postgr.es/m/CAHut+PvJPnaL=70SbBe3fYg2nq74Z=Yv4X=zRpUWYfOi-q6=2w@mail.gmail.com
1 parent 8806e4e commit d1d8382

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

doc/src/sgml/ref/pg_createsubscriber.sgml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,24 +167,31 @@ PostgreSQL documentation
167167
</varlistentry>
168168

169169
<varlistentry>
170-
<term><option>-R</option></term>
171-
<term><option>--remove</option></term>
170+
<term><option>-R <replaceable class="parameter">objtype</replaceable></option></term>
171+
<term><option>--remove=<replaceable class="parameter">objtype</replaceable></option></term>
172172
<listitem>
173173
<para>
174174
Remove all objects of the specified type from specified databases on the
175175
target server.
176176
</para>
177177
<para>
178-
publications: The "all tables" publications established for this
179-
subscriber are always removed; specifying this object type causes all
180-
other publications replicated from the source server to be dropped as
181-
well.
178+
<itemizedlist>
179+
<listitem>
180+
<para>
181+
<literal>publications</literal>:
182+
The <literal>FOR ALL TABLES</literal> publications established for this
183+
subscriber are always removed; specifying this object type causes all
184+
other publications replicated from the source server to be dropped as
185+
well.
186+
</para>
187+
</listitem>
188+
</itemizedlist>
182189
</para>
183190
<para>
184-
The objects selected to be dropped are individually logged and do show
185-
up in a --dry-run. There is no opportunity to affect or stop the
186-
dropping of the selected objects so consider taking a backup of them
187-
using pg_dump.
191+
The objects selected to be dropped are individually logged, including during
192+
a <option>--dry-run</option>. There is no opportunity to affect or stop the
193+
dropping of the selected objects, so consider taking a backup of them
194+
using <application>pg_dump</application>.
188195
</para>
189196
</listitem>
190197
</varlistentry>

0 commit comments

Comments
 (0)