Re: cannot drop replication slot if server is running in single-usermode - Mailing list pgsql-hackers

From Andres Freund
Subject Re: cannot drop replication slot if server is running in single-usermode
Date
Msg-id 20180330010928.pnxxyoq2b63n3ru2@alap3.anarazel.de
Whole thread Raw
In response to Re: cannot drop replication slot if server is running in single-usermode  (Bruce Momjian <bruce@momjian.us>)
Responses Re: cannot drop replication slot if server is running in single-usermode  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On 2018-03-29 21:07:36 -0400, Bruce Momjian wrote:
> I think the question is whether this is exposing a bug or is expected
> behavior.

It's unsurprising.  Acquiring a slot uses a condition variable, which
uses latches to sleep. Latches don't work in single user mode. Boom.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: cannot drop replication slot if server is running in single-usermode
Next
From: Bruce Momjian
Date:
Subject: Re: cannot drop replication slot if server is running in single-usermode