diff options
author | Amit Kapila <akapila@postgresql.org> | 2025-04-03 14:27:13 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2025-04-03 14:27:13 +0530 |
commit | d1d83827ba4d8c5c87cd59a164a2c7a99f897512 (patch) | |
tree | 75d76e5f10492cb034c4088c8adb4e596c43e506 /doc/src | |
parent | 8806e4e8deb1e21715e031e17181d904825a410e (diff) | |
download | postgresql-d1d83827ba4d8c5c87cd59a164a2c7a99f897512.tar.gz postgresql-d1d83827ba4d8c5c87cd59a164a2c7a99f897512.zip |
Doc: Improve -R option added in e5aeed4b80.
Author: Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: vignesh C <vignesh21@gmail.com>
Discussion: https://postgr.es/m/CAHut+PvJPnaL=70SbBe3fYg2nq74Z=Yv4X=zRpUWYfOi-q6=2w@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_createsubscriber.sgml | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/doc/src/sgml/ref/pg_createsubscriber.sgml b/doc/src/sgml/ref/pg_createsubscriber.sgml index 1f0ddd7f9f2..73377aa6a6e 100644 --- a/doc/src/sgml/ref/pg_createsubscriber.sgml +++ b/doc/src/sgml/ref/pg_createsubscriber.sgml @@ -167,24 +167,31 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-R</option></term> - <term><option>--remove</option></term> + <term><option>-R <replaceable class="parameter">objtype</replaceable></option></term> + <term><option>--remove=<replaceable class="parameter">objtype</replaceable></option></term> <listitem> <para> Remove all objects of the specified type from specified databases on the target server. </para> <para> - publications: The "all tables" publications established for this - subscriber are always removed; specifying this object type causes all - other publications replicated from the source server to be dropped as - well. + <itemizedlist> + <listitem> + <para> + <literal>publications</literal>: + The <literal>FOR ALL TABLES</literal> publications established for this + subscriber are always removed; specifying this object type causes all + other publications replicated from the source server to be dropped as + well. + </para> + </listitem> + </itemizedlist> </para> <para> - The objects selected to be dropped are individually logged and do show - up in a --dry-run. There is no opportunity to affect or stop the - dropping of the selected objects so consider taking a backup of them - using pg_dump. + The objects selected to be dropped are individually logged, including during + a <option>--dry-run</option>. There is no opportunity to affect or stop the + dropping of the selected objects, so consider taking a backup of them + using <application>pg_dump</application>. </para> </listitem> </varlistentry> |