Re: Moving a database AND changing the superuser

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Moving a database AND changing the superuser
Дата
Msg-id 200312161410.12334.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Moving a database AND changing the superuser  (Rich Cullingford <rculling@sysd.com>)
Список pgsql-admin
Rich Cullingford wrote:
> Well, I was gonna use pg_dumpall to avoid the tedium of individual
> dumps, but (gotcha!) pg_dumpall doesn't accept
> --use-set-session-authorization (tho' it does run pg_dump!).

It supplies that option automatically.

> If I use
> pg_dumpall, will pg_restore (with --use-set-session-authorization) be
> smart enough to ignore the \connect calls in the dump?

pg_dumpall output cannot be restored with pg_restore.

> I would try all this stuff myself, but unfortunately my PG 7.4
> machine isn't available yet, so I'm grasping at straws...

In PG 7.4, --use-set-session-authorization is the default and only
option.


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

Предыдущее
От: Adam Witney
Дата:
Сообщение: Postgresql on software RAID
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: postgres Rules