Search Postgresql Archives

Re: How to know if initial sync of logical subscription is finished

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux