Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sergey KOPOSOV <Sergey(dot)Koposov(at)ed(dot)ac(dot)uk>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG
Date: 2021-03-31 22:47:04
Message-ID: 3338139.1617230824@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Sergey KOPOSOV <Sergey(dot)Koposov(at)ed(dot)ac(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sergey KOPOSOV 2021-03-31 22:52:14 Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG
Previous Message Sergey KOPOSOV 2021-03-31 21:45:08 Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG