Re: ReplicationSlotRelease() crashes when the instance is in the single user mode
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Cc: Michael Paquier <michael@paquier.xyz>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2025-02-20T02:27:11Z
Lists: pgsql-hackers
On Wed, Feb 19, 2025 at 7:23 PM Hayato Kuroda (Fujitsu) < kuroda.hayato@fujitsu.com> wrote: > I intentionally used elog() because I thought single user mode is not > user-facing. > But it is OK for me to use ereport() instead. > Single-user mode is also known as "Oh crap!" mode, something used when starting the server in multi-user model fails for non-trivial reasons. It is also what at least one PostgreSQL Online Service (a.k.a. fiddle) uses as an implementation choice. David J.
Commits
-
Fix assertion failure with replication slot release in single-user mode
- 8ed079cad824 13.23 landed
- 32d388d00f9f 14.20 landed
- 818be9b73c94 15.15 landed
- fea1cc3f75ff 16.11 landed
- 07a302387176 17.7 landed
- ea1c6b0b0aec 18.0 landed
- 1f2e51e3c7c2 19 (unreleased) landed