Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG
Date
Msg-id 3338139.1617230824@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG  (Sergey KOPOSOV <Sergey.Koposov@ed.ac.uk>)
Responses Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG  (Sergey KOPOSOV <Sergey.Koposov@ed.ac.uk>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: Sergey KOPOSOV
Date:
Subject: Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG
Next
From: Sergey KOPOSOV
Date:
Subject: Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG