Re: basic_archive lost archive_directory - Mailing list pgsql-bugs

From Tom Lane
Subject Re: basic_archive lost archive_directory
Date
Msg-id 3626574.1771885335@sss.pgh.pa.us
Whole thread Raw
In response to Re: basic_archive lost archive_directory  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-bugs
Nathan Bossart <nathandbossart@gmail.com> writes:
> 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().

> Any thoughts?  I'll wait another week or so, but then will proceed with
> committing/back-patching this.

Agreed --- this seems like a pretty inappropriate check to be making
in a check_hook.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: basic_archive lost archive_directory
Next
From: Michael Paquier
Date:
Subject: Re: BUG #19393: pg_upgrade fails with duplicate key violation when CHECK constraint named *_not_null exists