-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
Describe the feature
here I saw that we cannot connect to a multi hosts instance of postgres which is mandatory for us.
Can you plan supporting multi hosts connection ?
Use cases
Use case: Support high availbility postgresql instances
As an example, with the classic jdbc driver, we can define this property to connect to our HA postgres instance:
quarkus.datasource.jdbc.url=jdbc:postgresql://my.host-1.com,my.host-2.com,my.host-3.com:5432/myDB?targetServerType=master&ssl=true&sslmode=verify-ca&sslcert=my-cert&sslkey=my-key&sslpassword=&sslrootcert=my-cert.crt
It would be great to be able to do the same with your PgClient by parsing the URI the same way
Reactions are currently unavailable