On Mar 3, 2011, at 11:09 AM, Tom Lane wrote:

> That's not a design, that's just a very arbitrary kluge.  And it doesn't
> solve anything at all that we need to solve today, because you can
> already assume that you're running on >= 9.1 just by the fact that
> you're writing an extension.  Having a solution for this in time for
> 9.2 will be plenty soon enough.

Fair enough.

> BTW, I don't see any good reason to distinguish "core" requires from
> non-core.  If anything, the spirit of an extension proposal should be
> trying to reduce the distinction between "core" stuff and "not-core"
> stuff, since part of the point of extensions is that features might
> migrate across that boundary.

Okay. My only concern on that front, with regards to a future design, is how 
things will be reserved. I suppose that could be got 'round by preserving 
things starting with, say, "pg-" or "pg:" as core features. So if I released an 
extension called "xslt", it wouldn't conflict with the core xslt "extension". 
Or else core "extensions" would just have their names implicitly reserved.

FWIW, extension names are required to be unique on PGXN. So no two people can 
have an extension named "foo". I'd like to get a list of core "extensions" 
reserved in the code soon so that no one tries to uploaded "plperl", for 
example. What might such a list look like? Just PLs plus ./configure options 
(pam, ldap, bonjour, etc.) plus "postgresql" itself, of course?

Best,

David



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to