Re: restoring under a different owner?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: restoring under a different owner?
Дата
Msg-id 14247.1140387487@sss.pgh.pa.us
обсуждение исходный текст
Ответ на restoring under a different owner?  ("Christopher J. Bottaro" <cjbottaro@alumni.cs.utexas.edu>)
Список pgsql-general
"Christopher J. Bottaro" <cjbottaro@alumni.cs.utexas.edu> writes:
> I want to use pg_dump to backup an entire Postgres database, including BLOB
> data.  Then I want to restore it on a different machine with a different db
> owner and all the tables restored under that owner.  I want the restore to
> create the db and all the tables.

Something involving --no-owner should work for you.  See the pg_dump man page.

            regards, tom lane

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

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: restoring under a different owner?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Backslashes in data in version 8.1.2