| От | Andrey Mosienko |
|---|---|
| Тема | A powerful dump utility |
| Дата | |
| Msg-id | 3E36117C.1255644B@feo.org.ru обсуждение исходный текст |
| Ответы |
Re: A powerful dump utility
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера