Re: ReplicationSlotRelease() crashes when the instance is in the single user mode - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: ReplicationSlotRelease() crashes when the instance is in the single user mode
Date
Msg-id CAKFQuwbnBkGZAM+5b1DWmbqU5W7b1r-nQsw87BukrUC5WLrJXg@mail.gmail.com
Whole thread Raw
In response to RE: ReplicationSlotRelease() crashes when the instance is in the single user mode  ("Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>)
List 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.

pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: ReplicationSlotRelease() crashes when the instance is in the single user mode
Next
From: Ajin Cherian
Date:
Subject: Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding