Re: Vacuous errors in pg_dump ... | pg_restore pipeline

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Vacuous errors in pg_dump ... | pg_restore pipeline
Дата
Msg-id 8AE58742-A3FB-4AB3-AAB3-7BEEA542724B@khera.org
обсуждение исходный текст
Ответ на Re: Vacuous errors in pg_dump ... | pg_restore pipeline  ("Douglas McNaught" <doug@mcnaught.org>)
Список pgsql-general
On Feb 20, 2008, at 2:12 PM, Douglas McNaught wrote:

>>
>> Alternatively, is there a better way to streamline the duplication
>> of a
>> database?
>
> How about:
>
> CREATE DATABASE newdb TEMPLATE olddb;

The template DB has to have no open connections during the entire copy
process, so it is not always possible when the DB is big and/or busy.
But it is a wonderful way to snapshot development databases before
potentially breaking them with new features.  :-)


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Querying the schema for column widths - what syntax do I use?
Следующее
От: Terry Lee Tucker
Дата:
Сообщение: Disable Triggers