doc: clarify DROP EXTENSION dependent members text

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
This commit is contained in:
Bruce Momjian 2022-08-12 09:06:48 -04:00
parent 76733b399c
commit e2a02a30c4

View 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>