<div dir="ltr"><div>In the documentation about the failover settings, failover_command for example, what&#39;s the difference between &quot;master&quot; nodes/hostnames (%m, %M, %H), and &quot;primary&quot; node (%P).</div><div><br></div><div>As a test, I have 3 Postgres servers set up with streaming replication: db0, db1 and db0, which are pgpool nodes 0, 1 and 2, respectively.  Node 1 is the current Postgres replication master, and nodes 0 and 2 are replicants.  Node 1 is also the pgpool watchdog cluster master with the virtual IP address.</div><div><br></div><div>If I shut down node 2 by stopping the postgresql service , the failover_command is called with these values:</div><div><br></div><div>%m = 0</div><div>%M = 0</div><div>%H = db0<br></div><div>%P = 1</div><div><br></div><div>%P seems to reliably be the postgres replication master.  Node 0 was just one of the replicants both before and after the test.  What the significance of it being called a &quot;master&quot;?</div><div><br></div><div>Thanks,</div><div>-- Tony<br></div></div>