A powerful dump utility

Поиск
Список
Период
Сортировка
От Andrey Mosienko
Тема A powerful dump utility
Дата
Msg-id 3E36117C.1255644B@feo.org.ru
обсуждение исходный текст
Ответы Re: A powerful dump utility  (Andrew Sullivan <andrew@libertyrms.info>)
Список pgsql-general
Hello!


Is there an utility to dump PosgreSQL database with possibility to set order of
tables?

I have a situation when one of my tables was created with constraint check depending on
another table. But when I do dump, my dependable table dumped first, and then when I
restore my database it fails to load my data because of constraint check.

I wrote my own script and first I dump schema of my database and then all tables in
order I want. But dump of databse schema doesn't include:

SELECT setval ('"vl_id"', 198, true);

to setup my sequences well.

So are there any possibilities to solve my problem?

--
Best regards Andrey Feofilactovich.
e-mail: feo@ttn.ru, feo@feo.org.ru
ICQ: 28073807

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: all backends (pg7.2.3 / redhat 7.2) die due to unexpected signal 14 (SIGALRM)
Следующее
От: Jason Hihn
Дата:
Сообщение: Using RSYNC for replication?