agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: amul sul <sul_amul@yahoo.co.in>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Trigger SQL script execution after DROP EXTENSION
Date: Mon, 17 Feb 2014 13:52:48 +0800 (SGT)
Message-ID: <1392616368.60045.YahooMailNeo@web193501.mail.sg3.yahoo.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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

view thread (2+ messages)  latest in thread

Message-ID: <1392616368.60045.YahooMailNeo@web193501.mail.sg3.yahoo.com>
Permalink:  ../1392616368.60045.YahooMailNeo@web193501.mail.sg3.yahoo.com/
Also on:    postgresql.org/message-id/1392616368.60045.YahooMailNeo@web193501.mail.sg3.yahoo.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sul_amul@yahoo.co.in
  Subject: Re: Trigger SQL script execution after DROP EXTENSION
  In-Reply-To: <1392616368.60045.YahooMailNeo@web193501.mail.sg3.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox