From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr> |
Cc: | Jeff Davis <pgsql(at)j-davis(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Boszormenyi Zoltan <zb(at)cybertec(dot)at>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Extension Templates S03E11 |
Date: | 2013-11-30 22:28:31 |
Message-ID: | CAOuzzgreTt7CjNCnBYOw6fyrkt_+r-2Gs0cahT2+eNHbdCcuVw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Saturday, November 30, 2013, Dimitri Fontaine wrote:
>
> Also consider multi-tenancy installations. Certainly, you don't want any
> database owner to be able to review PL code from any other database
> owner in the same cluster when each database owner is another customer
>
I'm planning to do a more comprehensive response, but the only use case
that I see for extension templates is to be in a shared catalog and I don't
see that as being a particularly compelling case.
Without that, all of the information about a given extension is already in
the database in our dependency system. As you pointed out, there was
previously a notion of "inline" templates. I'm not sure that particular
patch is exactly where we want to go, but I absolutely do not like this
idea that we have a "template" on a per-database level which does nothing
but duplicate most of the information we *already have*, since you have to
assume that if the extension template (which is per-database) exists then
the extension has also been created in the database.
Having a versioning notion (and whatever other meta data we, or an
extension author, feels is useful) for what are otherwise simple containers
(aka the schematic we already have..) makes sense and it would be great to
provide support around that, but not this duplication of
object definitions.
Thanks,
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | Dimitri Fontaine | 2013-11-30 22:38:02 | Re: Extension Templates S03E11 |
Previous Message | Dimitri Fontaine | 2013-11-30 22:03:43 | Re: Extension Templates S03E11 |