Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRxf0-0006A9-QL for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Aug 2015 07:19:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZRxf0-0001fO-Co for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Aug 2015 07:19:46 +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) (envelope-from ) id 1ZRxdk-0000F6-Oy for pgsql-hackers@postgresql.org; Wed, 19 Aug 2015 07:18:28 +0000 Received: from wagner.pp.ru ([178.63.209.18] helo=mx.wagner.pp.ru) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZRxdi-0002TS-5a for pgsql-hackers@postgresql.org; Wed, 19 Aug 2015 07:18:28 +0000 Received: from mail.wagner.pp.ru (unknown [192.168.217.131]) by mx.wagner.pp.ru (Postfix) with ESMTP id C6D4D48616F for ; Wed, 19 Aug 2015 10:18:25 +0300 (MSK) Received: from wagner.pp.ru (wifi [192.168.217.63]) by mail.wagner.pp.ru (Postfix) with ESMTPSA id 0D2A7217BC for ; Wed, 19 Aug 2015 10:18:24 +0300 (MSK) Date: Wed, 19 Aug 2015 10:18:22 +0300 From: Victor Wagner *EXTERN* To: pgsql-hackers@postgresql.org Subject: Re: Proposal: Implement failover on libpq connect level. Message-ID: <20150819071822.GD31302@wagner.pp.ru> References: <20150818041850.GA5092@wagner.pp.ru> <20150819065146.GA31302@wagner.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.5 (--) 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 2015.08.19 at 12:29:51 +0530, Amit Kapila wrote: > > It seems that most people discussing in this thread think in millisecond > > time intervals (failure and immediate reconnect). > > Why not have this as a separate parameter (*_timeout or something like > that)? Because it is not in the software configuration. It is in the people heads. Or may be in the organizational configuration of the environments we are talking about. Each of us imagining some use-case for discussed feature. And these cases are completely different, and have different typical time interval. I haven't explicitely stated my use cases in the proposal. So people thinking in terms of their use cases, and this is very significant feedback for me. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers