Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eAaXm-0000jl-Vb for pgsql-jdbc@arkaria.postgresql.org; Fri, 03 Nov 2017 11:53:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eAaXm-0008E4-IB for pgsql-jdbc@arkaria.postgresql.org; Fri, 03 Nov 2017 11:53:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eAaXF-0005Qu-HZ for pgsql-jdbc@postgresql.org; Fri, 03 Nov 2017 11:53:17 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eAaXC-0004VU-8N for pgsql-jdbc@postgresql.org; Fri, 03 Nov 2017 11:53:16 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eAaX2-0000EE-Cd for pgsql-jdbc@postgresql.org; Fri, 03 Nov 2017 12:53:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Does the JDBC connection failover require Postgres 10? Date: Fri, 3 Nov 2017 12:53:05 +0100 Lines: 15 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 X-Mozilla-News-Host: news://news.gmane.org:119 Content-Language: en-GB 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 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? Thomas -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc