public inbox for [email protected]
help / color / mirror / Atom feedFrom: Padraic Renaghan <[email protected]>
To: [email protected]
Subject: Re: jdbc connection multiple host
Date: Tue, 30 Jul 2024 08:35:31 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAHgTRfda83VNLbXqXOPOtauCLd5wubSPtgfoJ9Q_x1WAsZYrSw@mail.gmail.com>
References: <CAHgTRfda83VNLbXqXOPOtauCLd5wubSPtgfoJ9Q_x1WAsZYrSw@mail.gmail.com>
See info here at bottom of [this
page](https://jdbc.postgresql.org/documentation/use/#connection-fail-over)
> From: James Pang <[email protected]>
> 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
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: jdbc connection multiple host
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox