Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n |
| Дата | |
| Msg-id | 17681.1290206733@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n (Adrian Klaver <adrian.klaver@gmail.com>) |
| Ответы |
Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic
string in file header\n
Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n |
| Список | pgsql-general |
Adrian Klaver <adrian.klaver@gmail.com> writes:
> Now I understand. I wonder if this would be a good time to ask about
> whether pg_restore could be made to work with plain-text files:)
Not in any particularly useful way --- the plain text dump wouldn't
really support selective restore, etc etc.
> ... Though I could see a shortcut that passes a plain text file to
> psql or at least creates an error message that says:
> "Please use psql with the -f option to restore this file"
Yeah, I was thinking a hint might be the most useful fix too.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера