Re: Modifying and solidifying contrib

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Modifying and solidifying contrib
Дата
Msg-id 200701292059.l0TKxtG21285@momjian.us
обсуждение исходный текст
Ответ на Re: Modifying and solidifying contrib  (David Fetter <david@fetter.org>)
Ответы Re: Modifying and solidifying contrib  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
David Fetter wrote:
> On Sun, Jan 28, 2007 at 02:14:36PM -0800, Joshua D. Drake wrote:
> > > I don't think "all or nothing" is a good way to do this.  500
> > > functions in a schema called extensions isn't much more helpful
> > > than 500 in public.  There's a reason namespaces were invented
> > > long ago, and this is classic use case for same. :)
> > 
> > I disagree, see my post previously about initializing the extensions
> > schema to not be accessible initially. It would be there, it would
> > be loaded, but it would take a superuser to grant ability to access
> > functions.
> > 
> > This allows a clean distinction between the modules while allowing
> > their access on a case by case basis.
> 
> It's 982 functions as of this writing in CVS TIP's contrib.  Do you
> not get how wacky it is to have that many functions, none of which
> have any collision-prevention built into their install scripts, in a
> flat namespace?

We currently have 1695 standard functions.  I don't see a problem with
putting the extensions all in one schema, but I also don't see the
point.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: shared_preload_libraries support on Win32?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Modifying and solidifying contrib