Re: how do I do dump and restore without bugging with constraint?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: how do I do dump and restore without bugging with constraint?
Дата
Msg-id 4B836324.7090604@hogranch.com
обсуждение исходный текст
Ответ на how do I do dump and restore without bugging with constraint?  ("Net Tree Inc." <nettreeinc@gmail.com>)
Ответы Re: how do I do dump and restore without bugging with constraint?  ("Net Tree Inc." <nettreeinc@gmail.com>)
Список pgsql-general
Net Tree Inc. wrote:
> Hi all,
>
> I am dumping both schema and data from old database to new one. The
> new database schema is somehow contain slightly different schema then
> the old one. When I do restore it shown alot errors related with
> constraints. How can I dump and to restore from old to new without
> dealing with constraint and just forces data dump to where it suppose
> to belong?
>
>
>
>


if you're dumping the schema and the data, you should be restoring into
an empty database, not into an existing database.



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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: [ADMIN] how do I do dump and restore without bugging with constraint?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: COPY command character set