Commit ec3530f4 authored by Bruce Momjian's avatar Bruce Momjian

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
parent 3f4069ca
...@@ -30,7 +30,7 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ ...@@ -30,7 +30,7 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [
<para> <para>
<command>DROP EXTENSION</command> removes extensions from the database. <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"/>, dependent routines (see <xref linkend="sql-alterroutine"/>,
the <literal>DEPENDS ON EXTENSION <replaceable>extension_name</replaceable> the <literal>DEPENDS ON EXTENSION <replaceable>extension_name</replaceable>
</literal> action), to be dropped as well. </literal> action), to be dropped as well.
...@@ -80,9 +80,9 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ ...@@ -80,9 +80,9 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [
<term><literal>RESTRICT</literal></term> <term><literal>RESTRICT</literal></term>
<listitem> <listitem>
<para> <para>
This option prevents the specified extensions from being dropped This option prevents the specified extensions from being dropped if
if there exist non-extension-member objects that depend on any other objects, besides these extensions, their members, and their
of the extensions. This is the default. explicitly dependent routines, depend on them.  This is the default.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment