0

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.

sachin
  • 35
  • 1
  • 5

1 Answers1

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