Re: Duplicate history file? - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Duplicate history file?
Date
Msg-id 9b1276a7-4568-2fc9-4807-c5d943c6dc4f@oss.nttdata.com
Whole thread Raw
In response to Re: Duplicate history file?  (Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>)
Responses Re: Duplicate history file?  (Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>)
List pgsql-hackers

On 2021/06/09 15:58, Tatsuro Yamada wrote:
> Hi
> 
>> Thank you for fixing the patch.
>> The new patch works well in my environment. :-D
> 
> This may not be important at this time since it is a
> PoC patch, but I would like to inform you that there
> was a line that contained multiple spaces instead of tabs.
> 
> $ git diff --check
> src/backend/access/transam/xlogarchive.c:465: trailing whitespace.
> +

Even with the patch, if "test ! -f ..." is used in archive_command,
you may still *easily* get the trouble that WAL archiving keeps failing?

Instead, we should consider and document "better" command for
archive_command, or implement something like pg_archivecopy command
into the core (as far as I remember, there was the discussion about
this feature before...)?

Regards,

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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: DELETE CASCADE
Next
From: Masahiko Sawada
Date:
Subject: Re: Transactions involving multiple postgres foreign servers, take 2