Re: Review: Extensions Patch

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Review: Extensions Patch
Дата
Msg-id AANLkTi=3KH9PfaMkQ8CohyWOvja4PSzdnLFa_gOaVPBp@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Review: Extensions Patch  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: Review: Extensions Patch  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
On Tue, Dec 7, 2010 at 4:29 PM, David E. Wheeler <david@kineticode.com> wrote:
>>> IOW, if I install extension "foo" and it does *not* have the above
>>> magic line, then this command will *not* do what I expect:
>>>
>>>    CREATE EXTENSION foo WITH SCHEMA bar;
>>>
>>> Extension "foo" will be in the public schema (usually) rather than "bar".
>>
>> Well, before that you had to explicitly write public in there, which IMO
>> is so much worse. Then again, I now think that the right way to approach
>> that is to remove this feature. The user would have a 2-steps operation
>> instead, but that works right always.
>
> Yes, that would be preferable, but a one-step operation would of course be ideal.

I think this so-called two-step approach is pretty ugly.

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: serializable read only deferrable
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: To Signal The postmaster