Re: BUG #6524: lpermission denied to create extension "ltree". Must be superuser to create this extension.

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: BUG #6524: lpermission denied to create extension "ltree". Must be superuser to create this extension.
Дата
Msg-id CAK3UJRHDChtZQTYpMiUVrUjGF=S7triMzA9fjtGuipkOnCzKvA@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #6524: lpermission denied to create extension "ltree". Must be superuser to create this extension.  (spamik@yum.pl)
Список pgsql-bugs
On Fri, Mar 9, 2012 at 8:50 PM,  <spamik@yum.pl> wrote:

> CREATE EXTENSION ltree;
> ERROR: =A0permission denied to create extension "ltree"
> HINT: =A0Must be superuser to create this extension.
>
> Why does ltree require superuser privledge? Is it dangerous and allow
> circumventing server security? No mention of this in manual so it is eith=
er
> documentation problem or a too strict check problem.

The bulk of ltree--1.0.sql contains commands which must be executed by
superuser (e.g. creating C language functions, or CREATE OPERATOR
CLASS).

And the text for appendix F[1] does in fact mention that contrib
modules will need to be installed by a superuser, so this restriction
is not entirely undocumented.

Josh

[1] http://www.postgresql.org/docs/devel/static/contrib.html

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: check_locale() and the empty string
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6525: t_infomask2 is uint16, not int16