jdbc connection multiple host

From: James Pang <jamespang886(at)gmail(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: jdbc connection multiple host
Date: 2024-07-30 12:28:29
Message-ID: CAHgTRfda83VNLbXqXOPOtauCLd5wubSPtgfoJ9Q_x1WAsZYrSw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

We plan to migrate Oracle to Postgresql databases. Application put
multiple host:ip in connection string,
jdbc://host1ip:port,host2:port/dbname , when host1 is accessible, it's
preferred. when host1 is not accessible, host2:port is secondary.
how to do that through Postgresql JDBC driver ?

Thanks,

James

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Padraic Renaghan 2024-07-30 12:35:31 Re: jdbc connection multiple host
Previous Message charles Lgn 2024-06-14 12:00:30 Postgres explain plan is not correctly optimezed if the data is a "double" but the collumn is a "numeric"