Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVMEL-0003xU-UV for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 16:10:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZVMEL-0001vx-0v for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 16:10:17 +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) (envelope-from ) id 1ZVMEK-0001uc-AP for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 16:10:16 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVMEC-0007A6-SZ for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 16:10:15 +0000 Received: from xor.sai.msu.ru (newmail.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 71AB1B191C1; Fri, 28 Aug 2015 19:10:05 +0300 (MSK) Message-ID: <55E087DD.5060003@sigaev.ru> Date: Fri, 28 Aug 2015 19:10:05 +0300 From: Teodor Sigaev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: Simon Riggs , Andres Freund CC: Tom Lane , Albe Laurenz , ''Victor Wagner *EXTERN*' *EXTERN*' *EXTERN* , "pgsql-hackers@postgresql.org" Subject: Re: Proposal: Implement failover on libpq connect level. References: <20150818041850.GA5092@wagner.pp.ru> <20150819065146.GA31302@wagner.pp.ru> <20150819074417.GE31302@wagner.pp.ru> <30615.1439991692@sss.pgh.pa.us> <20150819134634.GA10770@awork2.anarazel.de> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org > +1 for bringing the jdbc driver URI syntax into libpq, so that all interfaces > can be optionally specified this way. This doesn't preclude the use of > ipfailover, in fact it might be work well together. If you don't like it, don't > use it. +1 Another thought: multiple hosts in URI could be used in simple configuration for read-only clients. I faced with customers which manages two connections in process - to master and to one of several slaves. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers