Re: basic_archive lost archive_directory
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Sergei Kornilov <sk@zsrv.org>, Олег Самойлов <splarv@ya.ru>, pgsql-bugs@lists.postgresql.org, Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-02-23T21:38:47Z
Lists: pgsql-bugs
On Wed, Feb 11, 2026 at 03:14:15PM -0600, Nathan Bossart wrote: > On Tue, Feb 10, 2026 at 10:06:25AM -0600, Nathan Bossart wrote: >> As I mentioned upthread, IMHO we should simply remove the existence check >> from the GUC check hook. basic_archive must already be written to handle >> the archive directory disappearing at any moment, so we should be able to >> rely on it without the extra stat(). > > Concretely, like the attached. Any thoughts? I'll wait another week or so, but then will proceed with committing/back-patching this. -- nathan
Commits
-
basic_archive: Allow archive directory to be missing at startup.
- f510577de4f5 17.10 landed
- cc774c543b23 19 (unreleased) landed
- bde9ad31515a 18.4 landed
- 8fc45ac5d91a 15.18 landed
- 28c2b789652a 16.14 landed