replication_slot
作者:互联网
【参考】
https://blog.csdn.net/rudygao/article/details/49507281
【相关功能】
1)启动加载,从磁盘读 StartupReplicationSlots 2)定期更新 CheckPointReplicationSlots 3)sql查询 pg_get_replication_slots
4)备机连上
设置状态slot->active_pid
3)sql查询调用栈,通过判断active_pid来返回结果是否active
4)备机启动,主机设置pid调用栈
标签:slot,pid,备机,replication,sql,active 来源: https://www.cnblogs.com/jiangshifu/p/15362883.html