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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Bruce Momjian <bruce(at)momjian(dot)us>
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:09:28
Message-ID: 20180330010928.pnxxyoq2b63n3ru2@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2018-03-30 01:12:52 Re: cannot drop replication slot if server is running in single-user mode
Previous Message Bruce Momjian 2018-03-30 01:07:36 Re: cannot drop replication slot if server is running in single-user mode