Re: cannot move relocatable extension out of pg_catalog schema

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: cannot move relocatable extension out of pg_catalog schema
Дата
Msg-id CA+TgmoYVA+_Vuj0hCHGc2R3weLTsVcsCQHBrUzX=FeamVisYxw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: cannot move relocatable extension out of pg_catalog schema  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: cannot move relocatable extension out of pg_catalog schema  (Hannu Krosing <hannu@krosing.net>)
Re: cannot move relocatable extension out of pg_catalog schema  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
On Fri, Feb 1, 2013 at 5:13 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
>> I wonder whether it'd not be a better idea to forbid specifying
>> pg_catalog as the target schema for relocatable extensions.
>
> But that would be important, I think.

I understand the temptation to forbid pg_catalog as the target schema
for relocatable extensions, or indeed for object creation in general.
The fact that you can't, for example, go back and drop the objects
later is a real downer. On the other hand, from a user perspective,
it's really tempting to want to create certain extensions (adminpack,
for example) in such a way that they appear to be "part of the system"
rather than something that lives in a user schema.  Had we some other
solution to that problem (a second schema that behaves like pg_catalog
but is empty by default and allows drops?) we might alleviate the need
to put stuff in pg_catalog per se.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: PATCH: Split stats file per database WAS: autovacuum stress-testing our system
Следующее
От: Robert Haas
Дата:
Сообщение: Re: json api WIP patch