Re: Quick Extensions Question

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Quick Extensions Question
Дата
Msg-id m28vwwyu2y.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Quick Extensions Question  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Quick Extensions Question  ("David E. Wheeler" <david@kineticode.com>)
Re: Quick Extensions Question  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Re: Quick Extensions Question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
> On the whole I'd rather spend time trying to fix the real problem, which
> is allowing CREATE EXTENSION to non-superusers.  The general case of
> that looks quite hard to me, but maybe we could get something that works
> for the single case of an extension containing just a language.

Then, what about a control file property to cover that?
 pl_language = plpgsql

Then when running the script any object attached to the extension that
is not a 'pg_catalog.pg_language'::regclass is an ERROR.  And only when
the pl_language property is used then the superuser-only check is
bypassed.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Mark deprecated operators as such in their comments?
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Sync Rep v19