On Tue, Jun 21, 2016 at 1:00 AM, <msch...@opentext.com> wrote: > Page: https://www.postgresql.org/docs/9.5/static/sql-dropextension.html > Description: > I dropped an extension in my database with a function dependency. The > function was dropped (without messages of dependencies) and leaving the > function intact. > The lines "DROP EXTENSION removes extensions from the database. Dropping > an > extension causes its component objects to be dropped as well." is not > clear. > It should be stated that by default the dependencies remain intact after > the drop.
I am not following here. If an extension is dropped, so are its dependencies. See that for example: =# create extension pg_trgm; CREATE EXTENSION Time: 27.978 ms =# \dx+ pg_trgm Objects in extension "pg_trgm" Object Description -------------------------------------------------------------------------------------------------- function gin_extract_query_trgm(text,internal,smallint,internal,internal,internal,internal) function gin_extract_value_trgm(text,internal) [... lots of objects, including functions ...] =# DROP EXTENSION pg_trgm; DROP EXTENSION =# \df gin_extract_query_trgm List of functions Schema | Name | Result data type | Argument data types | Type --------+------+------------------+---------------------+------ (0 rows) -- Michael -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs