Re: Segmentation fault with pg_restore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Segmentation fault with pg_restore
Дата
Msg-id 10564.1474572291@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Segmentation fault with pg_restore  (Keiko Oda <keiko@heroku.com>)
Список pgsql-bugs
Keiko Oda <keiko@heroku.com> writes:
> I'm seeing "Segmentation fault" with a following pg_restore command, with
> the certain dump file (attached to this email, I had to remove some data
> from the file as the dump file contains the data that cannot be shared
> publicly, but I can reproduce this with full dump file also):

This file is corrupt.  I think what's happened to it is it went through
a Unix->Windows text conversion, replacing bytes that happened to look
like newlines with \r\n.

The fact that pg_restore segfaulted isn't terribly nice, but the best
we could do is give you some nondescript message saying there's something
wrong with the file ...

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14328: SELECT FOR UPDATE doesn't return existing row
Следующее
От: Robert Haas
Дата:
Сообщение: Re: 9.6rc1 Background worker starting multiple times