From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: pg_restore fails on extracted tar archives with large objects
Date: Fri, 20 Nov 2026 19:41:01 +0000
Message-ID: <awCiTRpMjV0cE4QN@bdtpg> (raw)
In-Reply-To: <awB9SALtymS9VpGp@nathan>
References: <av9o1Fi3PQ-jqmGO@nathan>
<av//A7/fudljFB52@bdtpg>
<awB9SALtymS9VpGp@nathan>
Hi,
On Fri, Nov 20, 2026 at 11:03:04AM -0600, Nathan Bossart wrote:
> On Fri, Nov 20, 2026 at 08:04:19AM +0000, Bertrand Drouvot wrote:
> > It looks like _PrepParallelRestore() is affected by the same issue. The stat()
> > fails, leaving the BLOBS entry’s dataLength at zero, so the parallel scheduler
> > cannot use the intended size estimate. Should this use the same filename
> > construction as _LoadLOs()?
>
> Good catch. Here's an updated patch.
Thanks for the new patch version! LGTM.
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
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-hackers@postgresql.org
Cc: bertranddrouvot.pg@gmail.com, nathandbossart@gmail.com
Subject: Re: pg_restore fails on extracted tar archives with large objects
In-Reply-To: <awCiTRpMjV0cE4QN@bdtpg>
References: <av9o1Fi3PQ-jqmGO@nathan> <av//A7/fudljFB52@bdtpg> <awB9SALtymS9VpGp@nathan> <awCiTRpMjV0cE4QN@bdtpg>
* 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