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

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: Vacuous errors in pg_dump ... | pg_restore pipeline
Дата
Msg-id 5ded07e00802201112v426610f7n2ee0798b98ada27c@mail.gmail.com
обсуждение исходный текст
Ответ на Vacuous errors in pg_dump ... | pg_restore pipeline  ("Kynn Jones" <kynnjo@gmail.com>)
Ответы Re: Vacuous errors in pg_dump ... | pg_restore pipeline
Список pgsql-general
On 2/20/08, Kynn Jones <kynnjo@gmail.com> wrote:

> Alternatively, is there a better way to streamline the duplication of a
> database?

How about:

CREATE DATABASE newdb TEMPLATE olddb;

(don't remember the exact syntax, but it'll be in the docs for CREATE
DATABASE).  I think the 'createdb' program also has an option for
choosing the template.

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

Предыдущее
От: cluster
Дата:
Сообщение: Suggestions for schema design?
Следующее
От: intelforum@subtropolix.org
Дата:
Сообщение: Re: Using sequences in SQL text files