简体   繁体   中英

“Master PostgreSQL identifier is not matching with Slave PostgreSQL identifier” error while trying the PostgreSQL master-slave WAL replication

I am trying the PostgreSQL-9.2 master to slave replication (through WAL log files) between a windows server (Master) and Windows machine (Slave).

Getting the error saying:

Master PostgreSQL identifier is not matching with Slave PostgreSQL identifier

However, when I try the Master-Slave replication between two machines, I can replicate the data between them.

How can I debug/fix this?

The slave has to be initialized with a physical backup of the master. Use pg_basebackup for the initial copy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM