mirror of https://github.com/postgres/postgres
This commit ensures standby will be promoted at least at the primary insert LSN we have just observed. We use pg_switch_wal() to force the insert LSN to be written then wait for standby to catchup. Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/1d7b08f2-64a2-77fb-c666-c9a74c68eeda%40gmail.compull/177/head
parent
85b98b8d5a
commit
2520226c95
Loading…
Reference in new issue