Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eAfJs-0004tv-2M for pgsql-jdbc@arkaria.postgresql.org; Fri, 03 Nov 2017 16:59:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eAfJr-0000lI-Gh for pgsql-jdbc@arkaria.postgresql.org; Fri, 03 Nov 2017 16:59:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eAfJq-0000l1-TQ for pgsql-jdbc@postgresql.org; Fri, 03 Nov 2017 16:59:47 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eAfJn-0001I8-Rl for pgsql-jdbc@postgresql.org; Fri, 03 Nov 2017 16:59:45 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eAfJc-0007dl-0k for pgsql-jdbc@postgresql.org; Fri, 03 Nov 2017 17:59:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Does the JDBC connection failover require Postgres 10? Date: Fri, 3 Nov 2017 17:59:30 +0100 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: Content-Language: de-DE X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org David G. Johnston schrieb am 03.11.2017 um 15:19: > On Fri, Nov 3, 2017 at 4:53 AM, Thomas Kellerer >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