From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sergey KOPOSOV <Sergey.Koposov@ed.ac.uk>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG
Date: Wed, 31 Mar 2021 18:47:04 -0400
Message-ID: <3338139.1617230824@sss.pgh.pa.us> (raw)
In-Reply-To: <5d848bddbb3b6421af5a742e36ede542e719c492.camel@ed.ac.uk>
References: <16951-a4dd68cf0de23048@postgresql.org>
<3331060.1617226031@sss.pgh.pa.us>
<5d848bddbb3b6421af5a742e36ede542e719c492.camel@ed.ac.uk>
Sergey KOPOSOV <Sergey.Koposov@ed.ac.uk> writes:
> I also noticed when I tried to run pg_restore in the debugger the crash doesn't happen.
> but it does if I pipe it...
I wonder if your platform is helpfully inserting Windows newlines,
or perhaps removing them, when the data goes through a pipe.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, Sergey.Koposov@ed.ac.uk, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG
In-Reply-To: <3338139.1617230824@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