How non-superuser can restore database containing procedures

Поиск
Список
Период
Сортировка
От Andrus
Тема How non-superuser can restore database containing procedures
Дата
Msg-id em3c6r$1s4k$1@news.hub.org
обсуждение исходный текст
Ответы Re: How non-superuser can restore database containing procedures  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
I need to allow non-superusers to create and restore databases containing
plpgsql language procedures.
template0 and template1 do not have any languages installed.

During restore they receive error:

pg_restore: [archiver (db)] could not execute query: ERROR:  must be
superuser to create procedural language
    Command was: CREATE PROCEDURAL LANGUAGE plpgsql;

How to allow non-superusres to create database with language ?

Andrus.



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

Предыдущее
От: Steve Castellotti
Дата:
Сообщение: determining which table to lookup depending on data values
Следующее
От: Bob Pawley
Дата:
Сообщение: Creating an Application