Re: cannot drop replication slot if server is running in single-user mode

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cannot drop replication slot if server is running in single-user mode
Date: 2018-03-30 01:12:52
Message-ID: 20180330011252.GB8476@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 29, 2018 at 06:09:28PM -0700, Andres Freund wrote:
> 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.

OK, thanks for confirming.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-03-30 01:18:34 Re: [HACKERS] A design for amcheck heapam verification
Previous Message Andres Freund 2018-03-30 01:09:28 Re: cannot drop replication slot if server is running in single-user mode