Re: restore error - language "plperlu" is not trusted

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: restore error - language "plperlu" is not trusted
Дата
Msg-id 9049.1071686752@sss.pgh.pa.us
обсуждение исходный текст
Ответ на restore error - language "plperlu" is not trusted  (Christopher Murtagh <christopher.murtagh@mcgill.ca>)
Ответы Re: restore error - language "plperlu" is not trusted
Список pgsql-general
Christopher Murtagh <christopher.murtagh@mcgill.ca> writes:
> [ pg_dump script failed with ]
> ERROR:  language "plperlu" is not trusted
> and it gave a line number, which contained the following:
> GRANT ALL ON LANGUAGE plperlu TO postgres WITH GRANT OPTION;

Hm.  The backend flat-out rejects all attempts at GRANT on untrusted
languages, even if you are superuser and the grantee is too.  I'm not
totally sure about the rationale for that (Peter?) but in any case
pg_dump has evidently not gotten the word.  If we think the backend's
behavior is right then we'd better change pg_dump to suppress trying
to GRANT permissions on untrusted languages.

            regards, tom lane

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

Предыдущее
От: Christopher Murtagh
Дата:
Сообщение: Re: Permissions issue?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Permissions issue?