Re: inconsistent owners in newly created databases?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: inconsistent owners in newly created databases?
Дата
Msg-id 25277.1083612810@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: inconsistent owners in newly created databases?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: inconsistent owners in newly created databases?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> However, I feel that the owner should own the "public" schema and maybe
> some other stuff to be carefully selected, without bluring that important
> distinction?

From a definitional standpoint I don't have a problem with that.  From
an implementation standpoint, I fear it would be much more trouble than
it is worth.  You can't easily connect to another database.

Possibly it would work to have this housekeeping done in the first
backend to connect to the new database, but I don't think it could be
done directly by CREATE DATABASE.
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Weird prepared stmt behavior
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fixed directory locations in installs