Re: use correct variable in error message in _allocAH function (pg_backup_archiver.c)

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mahendra Singh Thalor <mahi6run@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-04-16T04:30:24Z
Lists: pgsql-hackers

On 2025/04/15 23:37, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> Thanks for the report and patch! It looks good to me.
> 
> Agreed.
> 
>> Since this issue exists in the back branches,
>> the patch needs be back-patched to all supported versions.
> 
> I doubt it's worth the trouble and buildfarm cycles to
> back-patch, since this should be a can't-happen code path.
> Worth fixing in HEAD, yes, but not convinced about doing
> more than that.

Yes, that makes sense. I'll apply the fix to the master branch only.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION




Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. pg_dump: Fix incorrect archive format shown in error message.