pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Sergey KOPOSOV <Sergey.Koposov@ed.ac.uk>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16951: pg_restore segfaults on custom format piped from a different version of PG
Date: Thu, 01 Apr 2021 14:13:38 -0400
Message-ID: <3457933.1617300818@sss.pgh.pa.us> (raw)
In-Reply-To: <20210401175634.GI4431@telsasoft.com>
References: <16951-a4dd68cf0de23048@postgresql.org>
	<3331060.1617226031@sss.pgh.pa.us>
	<5d848bddbb3b6421af5a742e36ede542e719c492.camel@ed.ac.uk>
	<3338139.1617230824@sss.pgh.pa.us>
	<d8930bce790cbe14f5efed8d5d42f296a1fe54fe.camel@ed.ac.uk>
	<51cec7215378e9beccb9b58831f6e0a2be30bd06.camel@ed.ac.uk>
	<3413025.1617291573@sss.pgh.pa.us>
	<20210401175634.GI4431@telsasoft.com>

Justin Pryzby <pryzby@telsasoft.com> writes:
> On Thu, Apr 01, 2021 at 11:39:33AM -0400, Tom Lane wrote:
>> Will fix, thanks for the report!

> Yes, thank you both.  I've run into this recently but for some reason I thought
> it was fixed.  It probably also explains this one from 2014.
> https://www.postgresql.org/message-id/20141206061151.GA725@telsasoft.com

Yeah, this does look suspiciously like it explains some past reports
that we failed to reproduce, likely because it didn't occur to us that
reading the file from a non-seekable source would make a difference.

Thanks to Sergey for beating me over the head till I didn't dismiss
it anymore ;-)

			regards, tom lane





view thread (9+ messages)

Message-ID: <3457933.1617300818@sss.pgh.pa.us>
Permalink:  ../3457933.1617300818@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3457933.1617300818@sss.pgh.pa.us

 · 

reply

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, pryzby@telsasoft.com, 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: <3457933.1617300818@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