Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bd94g-0004IP-UO for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Aug 2016 04:49:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bd94g-0005KK-7q for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Aug 2016 04:49:02 +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 1bd93J-0003n8-HL for pgsql-hackers@postgresql.org; Fri, 26 Aug 2016 04:47:37 +0000 Received: from mx.wagner.pp.ru ([78.46.190.96]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bd93E-0001Iv-VC for pgsql-hackers@postgresql.org; Fri, 26 Aug 2016 04:47:36 +0000 Received: from mail.wagner.pp.ru (unknown [192.168.217.131]) by mx.wagner.pp.ru (Postfix) with ESMTP id 850E8E08C2 for ; Fri, 26 Aug 2016 07:47:31 +0300 (MSK) Received: from wagner.wagner.home (wagner.wagner.home [192.168.217.1]) by mail.wagner.pp.ru (Postfix) with ESMTPSA id 0C63120B68 for ; Fri, 26 Aug 2016 07:47:31 +0300 (MSK) Date: Fri, 26 Aug 2016 07:47:30 +0300 From: Victor Wagner To: pgsql-hackers@postgresql.org Subject: Re: Patch: Implement failover on libpq connect level. Message-ID: <20160826074730.093e5ee5@wagner.wagner.home> In-Reply-To: References: <20160201220540.GA99599@alvherre.pgsql> <56E0AD90.5090409@pgmasters.net> <56E9E978.5090103@pgmasters.net> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.1 (--) 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 On Fri, 26 Aug 2016 10:10:33 +0530 Mithun Cy wrote: > On Thu, Mar 17, 2016 at 4:47 AM, David Steele > wrote: > >Since there has been no response from the author I have marked this > >patch > "returned with feedback". Please feel free >to resubmit for 9.7! > I have started to work on this patch, and tried to fix some of the > issues discussed above. The most recent patch 06 has fixed many > issues which was raised previously which include indefinite looping, > crashes. And, some of the issues which remain pending are. Although I have not resubmutted my patch yet, I've continue to work on it, so you can see my last version on https://www.wagner.pp.ru/fossil/pgfailover. It seems that I've already fixed some of issues you mentioned below. Also I've added testsuite, which is incomplete. > JFYI Interestingly PostgreSql JDBC driver have following options > targetServerType=any|master|slave|preferSlave for same purpose. Probably we should havbe a comptibility alias. -- Victor Wagner -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers