pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Sergei Kornilov <sk@zsrv.org>
Cc: Олег Самойлов <splarv@ya.ru>
Cc: pgsql-bugs@lists.postgresql.org, Álvaro Herrera <alvherre@kurilemu.de>
Subject: Re: basic_archive lost archive_directory
Date: Wed, 11 Feb 2026 15:14:15 -0600
Message-ID: <aYzxJy0icsGM1A6u@nathan> (raw)
In-Reply-To: <aYtXgaKfiYpaqQyW@nathan>
References: <202601301728.sfkizrto3t5i@alvherre.pgsql>
	<9b9341b0-942e-4d34-b94f-92bd918fad04@ya.ru>
	<1317421770387925@cea5cfd9-50d3-4d85-a924-a7cc75f8f215>
	<CAHGQGwF3tFP=oQgYHoS3h9TMeFbZwXc6+xdPTW8CkMV2TkjTmg@mail.gmail.com>
	<aYpYaRipZ_-lYxNY@nathan>
	<CAHGQGwFzC+HYEwJGhpmu1NBiQp_Ln8t0z9CDt8QCQDnUtFAFYA@mail.gmail.com>
	<aYtXgaKfiYpaqQyW@nathan>

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.

-- 
nathan


Attachments:

  [text/plain] v1-0001-basic_archive-Allow-archive-directory-to-be-missi.patch (0B, ../aYzxJy0icsGM1A6u@nathan/2-v1-0001-basic_archive-Allow-archive-directory-to-be-missi.patch)
  download

view thread (20+ messages)  latest in thread

Message-ID: <aYzxJy0icsGM1A6u@nathan>
Permalink:  ../aYzxJy0icsGM1A6u@nathan/
Also on:    postgresql.org/message-id/aYzxJy0icsGM1A6u@nathan

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: nathandbossart@gmail.com, masao.fujii@gmail.com, sk@zsrv.org, splarv@ya.ru, alvherre@kurilemu.de
  Subject: Re: basic_archive lost archive_directory
  In-Reply-To: <aYzxJy0icsGM1A6u@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox