Re: How to know if initial sync of logical subscription is finished - Mailing list pgsql-general

From Laurenz Albe
Subject Re: How to know if initial sync of logical subscription is finished
Date
Msg-id fb831b049a1d4354d4152d2dfa0430f4386fae8f.camel@cybertec.at
Whole thread Raw
In response to Re: How to know if initial sync of logical subscription is finished  (Klaus Darilion <klaus.mailinglists@pernau.at>)
List pgsql-general
On Tue, 2020-05-05 at 09:33 +0200, Klaus Darilion wrote:
> > When subscribing a slave I need to know when the initial sync is
> > finished. Is there some table I can query to know if the initial sync is
> > finished?
> 
> No solution to this? At least the replication worker need to be aware if 
> it has finished the initial sync of all tables. So I wonder if this 
> information is somewhere exposed to the user.

You can see that in the "state" column of "pg_stat_replication", right?

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




pgsql-general by date:

Previous
From: Klaus Darilion
Date:
Subject: Re: How to know if initial sync of logical subscription is finished
Next
From: Laurenz Albe
Date:
Subject: Re: Installing Postgis25_11