From: Tom Lane <tgl@sss.pgh.pa.us>
To: Keiko Oda <keiko@heroku.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Segmentation fault with pg_restore
Date: Thu, 22 Sep 2016 15:24:51 -0400
Message-ID: <10564.1474572291@sss.pgh.pa.us> (raw)
In-Reply-To: <CADgu3M8Vw4XPf2uM4dHuMyJ6721APBgSaDiUopdFKsRRVEByCg@mail.gmail.com>
References: <CADgu3M8Vw4XPf2uM4dHuMyJ6721APBgSaDiUopdFKsRRVEByCg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, keiko@heroku.com
Subject: Re: Segmentation fault with pg_restore
In-Reply-To: <10564.1474572291@sss.pgh.pa.us>
References: <CADgu3M8Vw4XPf2uM4dHuMyJ6721APBgSaDiUopdFKsRRVEByCg@mail.gmail.com> <10564.1474572291@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox