duplicating a schema

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема duplicating a schema
Дата
Msg-id 20091129132145.6eb138bf@dawn.webthatworks.it
обсуждение исходный текст
Ответы Re: duplicating a schema  (Schwaighofer Clemens <clemens.schwaighofer@tequila.jp>)
Список pgsql-general
I need to create a new schema with all the content in an existing
one, just with a new name.

The way I've found is:
- make a backup
- load it in a dev box
- rename the schema
- make a backup of the new schema
- restore the new schema on the original DB.

Is there a more efficient approach?

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


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

Предыдущее
От: Irene Barg
Дата:
Сообщение: Re: vacuumdb -z do a reindex?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Postgresql8.4 install breaks Evolution on Ubuntu 9.10