-O not working

Поиск
Список
Период
Сортировка
От Marc Fromm
Тема -O not working
Дата
Msg-id B0D7C0A3F35FE144A70312D086CBCA9B0CF2B321@ExchMailbox2.univ.dir.wwu.edu
обсуждение исходный текст
Ответы Re: -O not working
Список pgsql-admin
I backed up all my databases using:
pg_dumpall -O -c -U postgres > /tmp/pgalldb2
-O to remove owners on all objects
-c to drop databases before recreating them during the restore to prevent duplicate records

I restored all the databases with this command
psql -U postgres -f /tmp/pgalldb2 postgres

I tried to drop a user but was denied with the message, ". . . some objects depend on it."

Why isn't the -O flag not removing the owner from all objects?

Thanks

Marc

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

Предыдущее
От: Chris Bovitz
Дата:
Сообщение: Upgrade clients when (major) upgrading server?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: -O not working