Re: How non-superuser can restore database containing procedures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How non-superuser can restore database containing procedures
Дата
Msg-id 9049.1166456829@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How non-superuser can restore database containing procedures  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard Huxton <dev@archonet.com> writes:
> Andrus wrote:
>> How to allow non-superusres to create database with language ?

> You can't. If they can install a language-handler, they can install code
> that can do anything, including take control of the server and the unix
> account it runs as.

However, you could install the desired languages into template1, or
perhaps better make an extra template database containing them.
Then CREATE DATABASE could copy them into new databases.

            regards, tom lane

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

Предыдущее
От: Derrick Stensrud
Дата:
Сообщение: pam ldap postgres troubles cannot get postgres to auth via ldap
Следующее
От: "Tomi N/A"
Дата:
Сообщение: Re: permission in the db or in the application?