excute function before DROP EXTENSION - Mailing list pgsql-general

From Beena Emerson
Subject excute function before DROP EXTENSION
Date
Msg-id CAOG9ApG_x2G+UVUGxg6xsqeHSb+zXsLtGrAxxY_1dZ8Lj0aEEA@mail.gmail.com
Whole thread Raw
Responses Re: excute function before DROP EXTENSION  (amulsul <sul_amul@yahoo.co.in>)
List pgsql-general
Hello,

I just wanted to know if there was a way to automatically execute a cleanup function before DROP EXTENSION.

In previous versions we have uninstall script which can be modified to call the function before dropping the schema created by the contrib module. Just wondering if I can achieve this in 9.1 onwards using DROP EXTENSION.

--


Beena Emerson

pgsql-general by date:

Previous
From: Mads.Tandrup@schneider-electric.com
Date:
Subject: Re: Streaming replication with sync slave, but disconnects due to missing WAL segments
Next
From: Dmitriy Igrishin
Date:
Subject: Re: Function tracking