pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Does the JDBC connection failover require Postgres 10?
Date: Fri, 3 Nov 2017 17:59:30 +0100
Message-ID: <oti79d$ivs$1@blaine.gmane.org> (raw)
In-Reply-To: <CAKFQuwZPcmJxtzHnebGZMT0APfxfxt69GWSG2HmxtQOmAiazgA@mail.gmail.com>
References: <othlaq$usl$1@blaine.gmane.org>
	<CAKFQuwZPcmJxtzHnebGZMT0APfxfxt69GWSG2HmxtQOmAiazgA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

David G. Johnston schrieb am 03.11.2017 um 15:19:
> On Fri, Nov 3, 2017 at 4:53 AM, Thomas Kellerer <spam_eater@gmx.net <mailto:spam_eater@gmx.net>>wrote:
> 
>     The Postgres JDBC driver offers a way to specify multiple hosts in the connection URL:
> 
>     https://jdbc.postgresql.org/documentation/head/connect.html#connection-failover
> 
>     However, it is unclear to me if that feature relies on the libpq feature introduced in Postgres 10:
> 
>     https://www.postgresql.org/docs/current/static/libpq-connect.html#libpq-multiple-hosts 
> 
>     or if this is handled by the driver internally?
> 
> 
> ​In short, it is handled by the driver internally.​
> 
> There is no server support (which make sense given failure to connect
> would preclude the presence of a server) in the libpq implementation
> of this behavior - i.e., its not a protocol thing but a client
> implementation.  The JDBC driver does not utilize libpq at all, it
> directly implements the PostgreSQL communication protocol.
> 
> David J.

Thanks, apparently I mis-read the release notes



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (4+ messages)

Message-ID: <oti79d$ivs$1@blaine.gmane.org>
Permalink:  ../oti79d$ivs$1@blaine.gmane.org/
Also on:    postgresql.org/message-id/oti79d$ivs$1@blaine.gmane.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Does the JDBC connection failover require Postgres 10?
  In-Reply-To: <oti79d$ivs$1@blaine.gmane.org>
  References: <othlaq$usl$1@blaine.gmane.org> <CAKFQuwZPcmJxtzHnebGZMT0APfxfxt69GWSG2HmxtQOmAiazgA@mail.gmail.com> <oti79d$ivs$1@blaine.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox