Re: bug in ReplicationSlotsCountDBSlots

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: YAMAMOTO Takashi <yamamoto(at)valinux(dot)co(dot)jp>
Cc: pgsql-bugs(at)postgresql(dot)org, rhaas(at)postgresql(dot)org
Subject: Re: bug in ReplicationSlotsCountDBSlots
Date: 2014-03-07 16:18:04
Message-ID: 20140307161804.GB21154@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Mar 7, 2014 at 11:43:21AM +0900, YAMAMOTO Takashi wrote:
> hi,
>
> the following fixes an obvious bug in ReplicationSlotsCountDBSlots
> which prevents dropping unrelated databases.

Yikes, the code is literally:

/* not database specific, skip */
if (s->data.database == InvalidOid)

How did that get by the reviewers?

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

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2014-03-07 16:22:03 Re: bug in ReplicationSlotsCountDBSlots
Previous Message Pavel Stehule 2014-03-07 15:24:30 Re: BUG #9457: replace materialized view?