# Postgresql Streaming Replication on Windows failover

failoverhigh-availabilitymaster-slave-replicationpostgresqlreplication

Hello i have setup streaming replication using PostgreSQL 11 on Windows working OK.
How can i manually use the replica ( it is hot_standby=on ) in case Master fails ?
What are the steps i have to perform to the replica ?

1. run pg_ctl promote on the command line.
SELECT pg_promote();