Clarify DROP EXTENSION docs regarding explicitly dependent routines
authorJohn Naylor <john.naylor@postgresql.org>
Thu, 4 Aug 2022 08:29:25 +0000 (15:29 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Thu, 4 Aug 2022 08:49:33 +0000 (15:49 +0700)
Per suggestion from Robert Haas

Backpatch to v14

Discussion: https://www.postgresql.org/message-id/CA%2BTgmoZ1QvHquYHLkMy1oHKqz4-E7QQctj6e0ocq_GP1B5%2B9bA%40mail.gmail.com

doc/src/sgml/ref/drop_extension.sgml

index c01ddace84c70793849b5770388422166b3d143a..4ea20131c79fb2f794983131c49e1da3ff36b644 100644 (file)
@@ -32,7 +32,8 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [
    <command>DROP EXTENSION</command> removes extensions from the database.
    Dropping an extension causes its component objects, and other explicitly
    dependent routines (see <xref linkend="sql-alterroutine"/>,
-   the depends on extension action), to be dropped as well.
+   the <literal>DEPENDS ON EXTENSION <replaceable>extension_name</replaceable>
+   </literal> action), to be dropped as well.
   </para>
 
   <para>