Question: how to create standby database in postgresql?
Answer: Edit the file. ...  In the REPLICATION section, in the Standby Servers section, turn on Hot Standby and uncomment the line: ...  Save and close the file.