doc: clarify DROP EXTENSION dependent members text
authorBruce Momjian <[email protected]>
Fri, 12 Aug 2022 13:06:48 +0000 (09:06 -0400)
committerBruce Momjian <[email protected]>
Fri, 12 Aug 2022 13:07:11 +0000 (09:07 -0400)
Member tracking was added in PG 13.

Reported-by: David G. Johnston
Discussion: https://postgr.es/m/CAKFQuwY1YtxQHVWUFYvSnOjZ5VPpXjF33V52bSKEwFjK2K=1Aw@mail.gmail.com

Author: David G. Johnston

Backpatch-through: 13

doc/src/sgml/ref/drop_extension.sgml

index dcc52c2ced00cfdec36013a7590b2688e802f8e3..484e5d9b11a1521e65ac5871f7f7450530bbd03c 100644 (file)
@@ -30,7 +30,7 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [
 
   <para>
    <command>DROP EXTENSION</command> removes extensions from the database.
-   Dropping an extension causes its component objects, and other explicitly
+   Dropping an extension causes its member objects, and other explicitly
    dependent routines (see <xref linkend="sql-alterroutine"/>,
    the <literal>DEPENDS ON EXTENSION <replaceable>extension_name</replaceable>
    </literal> action), to be dropped as well.
@@ -80,9 +80,9 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [
     <term><literal>RESTRICT</literal></term>
     <listitem>
      <para>
-      This option prevents the specified extensions from being dropped
-      if there exist non-extension-member objects that depend on any
-      of the extensions.  This is the default.
+      This option prevents the specified extensions from being dropped if
+      other objects, besides these extensions, their members, and their
+      explicitly dependent routines, depend on them.  This is the default.
      </para>
     </listitem>
    </varlistentry>