Re: Dumping an Extension's Script - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Dumping an Extension's Script
Date
Msg-id 50BF8F4E.7070001@vmware.com
Whole thread Raw
In response to Re: Dumping an Extension's Script  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Dumping an Extension's Script  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On 05.12.2012 20:07, Tom Lane wrote:
> Heikki Linnakangas<hlinnakangas@vmware.com>  writes:
>> And whether extension control files (or the same information stored in a
>> table or wherever) should be per-database or per cluster - that's *yet*
>> another separate issue. You could argue for either behavior.
>
> I think anyone arguing for the former is confusing an installed
> extension with a not-installed one.  Maybe it would help if we adopted
> different terminologies.  Perhaps call the control+sql files a "template",
> while using "extension" for the installed entity?

+1 on the naming.

You could still argue that templates should be per-database. It would 
make life easier for someone who is database owner but not superuser, 
for example, allowing you to install an extension that only affects your 
own database (assuming we set up the permissions so that that's 
possible, of course).

- Heikki



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Dumping an Extension's Script
Next
From: Tom Lane
Date:
Subject: Re: Dumping an Extension's Script