mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
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:
parent
76733b399c
commit
e2a02a30c4
@ -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> [
|
|||||||
<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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user