pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Massimo Ortensi <mortensi@unimaticaspa.it>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Dropping database in replica
Date: Fri, 09 Oct 2020 17:04:24 +0200
Message-ID: <5a3a8be1138b856f5af6b934f2f34bdd9a901a4d.camel@cybertec.at> (raw)
In-Reply-To: <1kQrX8-000DtR-G0@unimaticaspa.it>
References: <1kQrX8-000DtR-G0@unimaticaspa.it>

On Fri, 2020-10-09 at 14:30 +0200, Massimo Ortensi wrote:
> I have a stand-by database replicated sending wals
> 
> In the master cluster I dropped one of the databases, but the db is
> still present in the replica cluster.
> 
> Is this normal or a misbehaviour of replication ?
> 
> Then I tried to drop db manually in the standby db but of course got an
> error because the db is in read only mode.
> 
> Any suggestion of a clean way to drop the db in D/R site ?

There must be something that broke replication.
Look into the PostgreSQL log of the standby server.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (3+ messages)  latest in thread

Message-ID: <5a3a8be1138b856f5af6b934f2f34bdd9a901a4d.camel@cybertec.at>
Permalink:  ../5a3a8be1138b856f5af6b934f2f34bdd9a901a4d.camel@cybertec.at/
Also on:    postgresql.org/message-id/5a3a8be1138b856f5af6b934f2f34bdd9a901a4d.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, mortensi@unimaticaspa.it
  Subject: Re: Dropping database in replica
  In-Reply-To: <5a3a8be1138b856f5af6b934f2f34bdd9a901a4d.camel@cybertec.at>
  References: <1kQrX8-000DtR-G0@unimaticaspa.it> <5a3a8be1138b856f5af6b934f2f34bdd9a901a4d.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox