Re: excute function before DROP EXTENSION

From: amulsul <sul_amul(at)yahoo(dot)co(dot)in>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: excute function before DROP EXTENSION
Date: 2014-02-17 08:29:36
Message-ID: 1392625776713-5792350.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Beena,

How about using *TWO* extension?

1. ext_install 2. ext_uninstall

Let me explain,
1. ext_uninstall will contain two command,
A] SQL calling to cleanup function
B] DROP EXTENSION ext_install
2. ext_install will have DROP EXTENSION IF EXISTS ext_install (cycle of
install/uninstall) other wise you may not able to create ext_install again &
other command.

it wont sound good, but AFAICS no other option.

Thoughts? Comments?

Regards,
Amul Sul

--
View this message in context: http://postgresql.1045698.n5.nabble.com/excute-function-before-DROP-EXTENSION-tp5758279p5792350.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sumit Sureka 2014-02-17 09:27:31 Database connection Pooling using JNDI
Previous Message Thomas Kellerer 2014-02-17 08:04:14 Re: Is PostgreSQL 9.3 using indexes for pipelined top-N window function queries?