As per postgresql documentation, we can use the multiple hosts(primary and secondary) in connection string.We are using pg-promise node driver to run postgresql queries.As far i know pg-promise doesn't supporting multiple hosts.If anyone used this multi host mechanism.Please suggest.
Asked
Active
Viewed 143 times
1 Answers
0
The underlying driver node-postgres
/ pg
does not support it, and so pg-promise
does not support it either. Hopefully, in the future.

vitaly-t
- 24,279
- 15
- 116
- 138