| От | Andreas Schlegel |
|---|---|
| Тема | Edit a dump file? |
| Дата | |
| Msg-id | 3E2C633B.1070601@gmx.de обсуждение исходный текст |
| Ответы |
Re: Edit a dump file?
|
| Список | pgsql-general |
Hi, I tried to restore an old database ( "pg_restore -d wh2 wh2.pg_dump.20031011" ), but the restore failed because of a broken relation. The dump was created with "pg_dump -Ft wh2 | gzip > wh2.pg_dump.20031011.gz". The message says: "pg_restore: [archiver (db)] could not execute query: ERROR: Relation "tcompanystate" does not exist" Indeed the table was dropped in the meantime and the view was obviously not corrcted. My question is: is there change to edit the the dump and remove the view? I tried to open it with vi. I can read a bit but not all. Greetings, Andreas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера