| От | Tom Lane |
|---|---|
| Тема | Re: Data corruption while taking backup of database |
| Дата | |
| Msg-id | 23665.1214428804@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Data corruption while taking backup of database (Pushker Chaubey <pchaubey@vertex.co.in>) |
| Ответы |
Re: Data corruption while taking backup of database
|
| Список | pgsql-jdbc |
Pushker Chaubey <pchaubey@vertex.co.in> writes:
> We took back up of a database using the following command
> pg_dump -a
> In the back up file that was generated we found some data that was
> violating foreign key constraints. And there fore we were not able to
> restore database back with this back up file.
Was the data actually erroneous, or just loaded in the wrong order
(ie, referencing table before referenced one)? pg_dump -a doesn't
guarantee to use a safe reload order.
regards, tom lane
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера