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