mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
doc: clarify how dropping of extensions affects dependent objs.
Clarify that functions/procedures are dropped when any extension that depends on them is dropped. Reported-by: David G. Johnston Discussion: https://postgr.es/m/CAKFQuwbPSHMDGkisRUmewopweC1bFvytVqB=a=X4GFg=4ZWxPA@mail.gmail.com Backpatch-through: 13
This commit is contained in:
@@ -160,8 +160,10 @@ ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="param
|
||||
<para>
|
||||
This form marks the function as dependent on the extension, or no longer
|
||||
dependent on that extension if <literal>NO</literal> is specified.
|
||||
A function that's marked as dependent on an extension is automatically
|
||||
dropped when the extension is dropped.
|
||||
A function that's marked as dependent on an extension is dropped when the
|
||||
extension is dropped, even if <literal>CASCADE</literal> is not specified.
|
||||
A function can depend upon multiple extensions, and will be dropped when
|
||||
any one of those extensions is dropped.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Reference in New Issue
Block a user