Re: bug in ReplicationSlotsCountDBSlots - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: bug in ReplicationSlotsCountDBSlots
Date
Msg-id 20140307161804.GB21154@momjian.us
Whole thread Raw
In response to bug in ReplicationSlotsCountDBSlots  (yamamoto@valinux.co.jp (YAMAMOTO Takashi))
Responses Re: bug in ReplicationSlotsCountDBSlots
List 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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: BUG #9457: replace materialized view?
Next
From: Andres Freund
Date:
Subject: Re: bug in ReplicationSlotsCountDBSlots