Re: [15] Custom WAL resource managers, single user mode, and recovery

From: Andres Freund <andres(at)anarazel(dot)de>
To: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [15] Custom WAL resource managers, single user mode, and recovery
Date: 2022-07-15 07:26:51
Message-ID: 20220715072651.w2os7stv4pbuw4ml@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)anarazel(dot)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

In response to

Browse pgsql-bugs by date

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