Re: jdbc connection multiple host - Mailing list pgsql-jdbc

From Padraic Renaghan
Subject Re: jdbc connection multiple host
Date
Msg-id 6BC75F21-E09C-43AE-8878-8321EA9ADB7A@renaghan.com
Whole thread Raw
In response to jdbc connection multiple host  (James Pang <jamespang886@gmail.com>)
List pgsql-jdbc

See info here at bottom of this page

From: James Pang jamespang886@gmail.com
Subject: jdbc connection multiple host
Date: 2024-07-30 08:28 EDT

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

pgsql-jdbc by date:

Previous
From: James Pang
Date:
Subject: jdbc connection multiple host