Re: fix schema ownership for database owner on first connection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fix schema ownership for database owner on first connection
Дата
Msg-id 1515.1086706223@sss.pgh.pa.us
обсуждение исходный текст
Ответ на fix schema ownership for database owner on first connection  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: fix schema ownership for database owner on first  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-patches
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> (2) This boolean is tested in postinit.c:ReverifyMyDatabase,
>      and InitializeDatabase is called if necessary.

And what happens if multiple backends try to connect at the same time?

> (4) Some validation is added. This part validates for me
>      (although rules and errors regression tests are broken in current
>       cvs head, independtly of this patch).

I do not think it's a good idea for the regression tests to do anything
to any databases other than regression.  Especially not databases with
names that might match people's real databases.

            regards, tom lane

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: fix schema ownership for database owner on first connection
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cost_nonsequential_access()