pg_basebackup -F plain -R overwrites postgresql.auto.conf - Mailing list pgsql-hackers

From Fujii Masao
Subject pg_basebackup -F plain -R overwrites postgresql.auto.conf
Date
Msg-id 250dcf2a-94e7-c05e-824a-73cfb38a48a4@oss.nttdata.com
Whole thread Raw
Responses Re: pg_basebackup -F plain -R overwrites postgresql.auto.conf
List pgsql-hackers
Hi,

I found that pg_basebackup -F plain -R *overwrites* postgresql.auto.conf
taken from the primary server with new primary_conninfo setting,
while pg_basebackup -F tar -R just *appends* it into the file. I think that
this is a bug and pg_basebackup -F plain -R should *append* the setting.
Thought?

I attached the patch to fix the bug. This patch should be back-patch to
v12.

Regards,

-- 
Fujii Masao
NTT DATA CORPORATION
Advanced Platform Technology Group
Research and Development Headquarters

Attachment

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: In PG12, query with float calculations is slower than PG11
Next
From: Hubert Zhang
Date:
Subject: Print physical file path when checksum check fails