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

From: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
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:00:40
Message-ID: CAFh8B=nEgNPqs_V_8OGFSRo6tcjCeJrjrbNioMbqe_enq1u4KA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

Regards,
--
Alexander Kukushkin

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2022-07-15 07:26:51 Re: [15] Custom WAL resource managers, single user mode, and recovery
Previous Message Kyotaro Horiguchi 2022-07-15 04:55:32 Re: Excessive number of replication slots for 12->14 logical replication