| От | Jyoti Seth |
|---|---|
| Тема | Pg_Restore with --clean option |
| Дата | |
| Msg-id | 25693180.post@talk.nabble.com обсуждение исходный текст |
| Ответы |
Re: Pg_Restore with --clean option
Re: Pg_Restore with --clean option |
| Список | pgsql-sql |
I want to restore data of a single table. Before restoring the data I disabled all the triggers and constraints on that table. I used the restore command with --clean option so that data gets deleted from that table and then fresh data get inserted. But this is throwing error: duplicate key value violates unique constraint. How can I restore the data to a table that already has data? Thanks, -- View this message in context: http://www.nabble.com/Pg_Restore-with---clean-option-tp25693180p25693180.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера