Re: owner orphaned databases

Поиск
Список
Период
Сортировка
От CSN
Тема Re: owner orphaned databases
Дата
Msg-id 20040827015617.81991.qmail@web52907.mail.yahoo.com
обсуждение исходный текст
Ответ на owner orphaned databases  (CSN <cool_screen_name90001@yahoo.com>)
Список pgsql-general
Hmm, for some reason the "deleted" user does in fact
exist but isn't getting added in the "CREATE USER"
section of the dumpall file. It has a user id of "1"
if that makes any difference.

CSN


--- CSN wrote:

> Not a big deal, but I'm transferring a dumpall and
> it's choking on databases where the owner no longer
> exists. Maybe it shouldn't be possible to delete a
> user while it still owns databases, or maybe a
> cascade
> option, or requiring changing the ownership to
> another
> user?
>
> CREATE DATABASE "orphan" WITH OWNER = "deleted" ...;
> ...
> SET SESSION AUTHORIZATION "deleted";
> ...
> \c orphan # fails because "orphan" wasn't created
>
>
> CSN
>




__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

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

Предыдущее
От: CSN
Дата:
Сообщение: owner orphaned databases
Следующее
От: "Arthur Ward"
Дата:
Сообщение: Re: performance of IN (subquery)