Re: Re-archive the WAL on standby with archive_mode=always?

2025-07-22 Thread Japin Li
On Wed, 23 Jul 2025 at 09:24, Fujii Masao wrote: > On Mon, Jul 21, 2025 at 2:38 PM Japin Li wrote: >> >> >> Hi, hackers, >> >> I was recently reviewing the KeepFileRestoredFromArchive() function and came >> across a section that raised a question for me: >> >> /* >> * Create .done file f

Re: Re-archive the WAL on standby with archive_mode=always?

2025-07-22 Thread Fujii Masao
On Mon, Jul 21, 2025 at 2:38 PM Japin Li wrote: > > > Hi, hackers, > > I was recently reviewing the KeepFileRestoredFromArchive() function and came > across a section that raised a question for me: > > /* > * Create .done file forcibly to prevent the restored segment from being > * a

Re-archive the WAL on standby with archive_mode=always?

2025-07-20 Thread Japin Li
Hi, hackers, I was recently reviewing the KeepFileRestoredFromArchive() function and came across a section that raised a question for me: /* * Create .done file forcibly to prevent the restored segment from being * archived again later. */ if (XLogArchiveMode != ARCHIVE_M