Re: [PG19]pg_verifybackup never finishes on a gzip-compressed tar backup - Mailing list pgsql-hackers

From Chao Li
Subject Re: [PG19]pg_verifybackup never finishes on a gzip-compressed tar backup
Date
Msg-id 961B3DEF-1F9E-400E-AA4D-D11AF6F016F9@gmail.com
Whole thread
In response to Re: [PG19]pg_verifybackup never finishes on a gzip-compressed tar backup  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: [PG19]pg_verifybackup never finishes on a gzip-compressed tar backup
List pgsql-hackers

> On Oct 7, 2026, at 19:44, Daniel Gustafsson <daniel@yesql.se> wrote:
>
>> On 6 Oct 2026, at 03:48, shihao zhong <zhong950419@gmail.com> wrote:
>
>> I took a look at the code and I think we are solving different problems.
>
> I concur that this is a separate issue.  Today I returned to looking at the
> truncation patchset and I am including this fix in that review effort.
>
> --
> Daniel Gustafsson
>

Sorry for the confusion. I was on vacation and didn’t look into the patch closely.

This seems to be an old bug that couldn’t be triggered before PG19 (b15c1513984 added tar support to pg_waldump). So, I
agreewith Melanie that this should be an 19 open item. 

The patch calls inflateReset() after each member finishes, allowing decompression to continue with the next member,
whichlooks like a correct fix to me. 

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/







pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Fix "unexpected logical decoding status change" error; from concurrent logical decoding activation
Next
From: Richard Guo
Date:
Subject: Wrong results from a parameterized Append