Re: [15] Custom WAL resource managers, single user mode, and recovery - Mailing list pgsql-bugs

From Andres Freund
Subject Re: [15] Custom WAL resource managers, single user mode, and recovery
Date
Msg-id 20220715072651.w2os7stv4pbuw4ml@awork3.anarazel.de
Whole thread Raw
In response to Re: [15] Custom WAL resource managers, single user mode, and recovery  (Alexander Kukushkin <cyberdemn@gmail.com>)
List pgsql-bugs
Hi,

On 2022-07-15 09:00:40 +0200, Alexander Kukushkin wrote:
> On Fri, 15 Jul 2022 at 05:58, Andres Freund <andres@anarazel.de> wrote:
> 
> Well, right now the main reason people need single user is anti-wraparound
> > stuff. And there it's actively harmful (requiring a shutdown checkpoint,
> > emptying shared buffers, foreground checkpoints, foreground writing of all
> > WAL, etc).
> >
> 
> No, the single-user mode is also required to ensure a clean shutdown before
> pg_rewind.

I don't see why that requires single user mode? It's used, sure, but that
looks almost trival to change.

Greetings,

Andres Freund



pgsql-bugs by date:

Previous
From: Alexander Kukushkin
Date:
Subject: Re: [15] Custom WAL resource managers, single user mode, and recovery
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: Excessive number of replication slots for 12->14 logical replication