postgresql - How do i get Golang multiple hosts configuration and database cluster failover? how the connection string should look like?

前端 未结 0 622
情书的邮戳
情书的邮戳 2021-02-09 22:25

In java we had an option to use multiple hosts configuration with failover mechanism:

jdbc:postgresql://node1:port1,node2:port2,node3:port3/accounting?targetServe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题