| From: | "Tom Dunstan" <pgsql(at)tomd(dot)cc> |
|---|---|
| To: | "Gregory Stark" <stark(at)enterprisedb(dot)com> |
| Cc: | "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: [HACKERS] Database owner installable modules patch |
| Date: | 2008-04-07 10:46:37 |
| Message-ID: | ca33c0a30804070346m256d7c55na0832ac1d86a597f@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Sorry to keep replying to myself, but part of the point of doing a
patch was to force myself (and whoever else is interested to examine
stuff that comes up...
On Mon, Apr 7, 2008 at 11:46 AM, Tom Dunstan <pgsql(at)tomd(dot)cc> wrote:
> None of that suggests that an uninstaller script would be needed if we
> understood the deps well enough, but only allowing creates for
> installs seems a bit restrictive.
OK, I found an example that does NOT fit the "just drop all
dependencies" scenario, but that I would still like to support. I just
had a look at the postgis pl/java support, and its install does stuff
like "SELECT sqlj.install_jar('file://${PWD}/postgis_pljava.jar',
'postgis_pljava_jar', false);" and "SELECT
sqlj.add_type_mapping('geometry', 'org.postgis.pljava.PLJGeometry');".
There's no way we can deal with that sort of thing automatically, so
we'll have to support uninstall scripts regardless.
The question then becomes: is it worth trying to do stuff
automatically if we provide a manual method anyway? I think the answer
is probably yes, because having pgsql clean up automatically for the
vast majority of cases is a good thing. If it's only exotic cases that
need a manual uninstall script, why force one on everyone else?
Cheers
Tom
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Martin Edlman | 2008-04-07 11:19:39 | pl/PgSQL, variable names in NEW |
| Previous Message | Albe Laurenz | 2008-04-07 10:32:12 | Re: Improve shutdown during online backup |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zdenek Kotala | 2008-04-07 11:08:35 | Re: Headers dependencies cleanup |
| Previous Message | Albe Laurenz | 2008-04-07 10:32:12 | Re: Improve shutdown during online backup |