pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PegoraroF10 <marcos@f10.com.br>
To: pgsql-general@postgresql.org
Subject: Cascade publication with pg_stat_replication empty
Date: Wed, 7 Apr 2021 04:16:06 -0700 (MST)
Message-ID: <1617794166899-0.post@n3.nabble.com> (raw)

I have a server which replicates using Publication/Subscription. On
subscriber server I have some ETL processes running on it and from this
second server I´ve created a new publication to send this database to a
third server. While this second server was copying data with COPY to third,
everything was fine but when COPY finished and it would start streaming
data, both replication just stopped.

View pg_stat_replication is empty on first server and subscriber server is
not connected to it. 
Exactly same occurs on second, its pg_stat_replication is empty and
subscriber, the third server, is not connected to it. 

But WAL is being generated on first server, which seems that it is waiting
the second to connect to it.

So, pg_publication are filled correctly on publishers but
pg_stat_replication is empty on both

First and second servers are version 11.11 and third one is 13.0



--
Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html





view thread (4+ messages)  latest in thread

Message-ID: <1617794166899-0.post@n3.nabble.com>
Permalink:  ../1617794166899-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1617794166899-0.post@n3.nabble.com

 · 

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-general@postgresql.org
  Cc: marcos@f10.com.br
  Subject: Re: Cascade publication with pg_stat_replication empty
  In-Reply-To: <1617794166899-0.post@n3.nabble.com>
  References: <1617794166899-0.post@n3.nabble.com>

* 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