Trigger SQL script execution after DROP EXTENSION

From: amul sul <sul_amul(at)yahoo(dot)co(dot)in>
To: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Trigger SQL script execution after DROP EXTENSION
Date: 2014-02-17 05:52:48
Message-ID: 1392616368.60045.YahooMailNeo@web193501.mail.sg3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello ALL,

I need little help regarding DROP EXTENSION.

Can it will be possible to execute some SQL command automatically after DROP EXTENSION ?

In my EXTENSION, I am changing some pg_catalog tuples, I want to restore it when my EXTENSION is dropped. 

Thanks in advance, any help or suggestion is appreciated.
 
Regards,

Amul Sul

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Adrian Klaver 2014-02-17 14:26:26 Re: Trigger SQL script execution after DROP EXTENSION
Previous Message Adrian Klaver 2014-02-15 23:29:39 Re: dynamically referencing a column name in a function