Re: copy db1 to db2

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: copy db1 to db2
Дата
Msg-id 20060925094929.89a5cedd.wmoran@collaborativefusion.com
обсуждение исходный текст
Ответ на copy db1 to db2  (Bobby Gontarski <Gontarski@seznam.cz>)
Ответы Re: copy db1 to db2  (Jim Nasby <decibel@decibel.org>)
Список pgsql-general
In response to "Bobby Gontarski" <Gontarski@seznam.cz>:

> Basically I need to copy db1 to db2 which I create manually. How do I
> do that, I tried pg_dump pg_restore but I get some errors with foreign
> key restraint...

You can use create database with db1 as the template.  See the docs for
details.

--
Bill Moran
Collaborative Fusion Inc.

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: in failed sql transaction
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: in failed sql transaction