Re: Installing PL/pgSQL by default

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Installing PL/pgSQL by default
Дата
Msg-id 20091204131502.GB4705@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Installing PL/pgSQL by default  (Jasen Betts <jasen@xnet.co.nz>)
Список pgsql-general
Jasen Betts wrote:
> On 2009-12-04, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:

> > The complaint is that if plpgsql is installed by default, then it will
> > be owned by postgres rather than by the db owner, who will then not be
> > able to drop it or use grant/revoke on it.
>
> The same problem is had with schema public...

It seems to me that the solution to both problems is to be able to run
some script after database creation to fix permissions of such things.
This was proposed eons ago by Fabien Coelho IIRC but rejected because no
way to implement it was found.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Installing PL/pgSQL by default
Следующее
От: Howard Cole
Дата:
Сообщение: Re: Unexpected EOF on client connection