Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bylix-000108-7Y for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 20:19:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1byliw-0003Tu-Mt for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 20:19:58 +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 1bylhY-00015V-BA for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 20:18:32 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bylep-0007Tg-80 for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 20:15:49 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 8FD0F207D4; Mon, 24 Oct 2016 16:15:42 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 24 Oct 2016 16:15:42 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender; s=smtpout; bh=DKgC8ScY5Aw/1IAxWZgCvTIz8 w4=; b=oMa/DPtwOrbaRREWgcRS9V4FdycpWKmEzN9vdXJ5oknKuFWuOm3Q29+1A rBR045QivLu4x1maW9QSjYcby50y6rY0Z5cspnaYjK7ox+8M/rWcA14yG+RWp0d9 jo8oSau4geePX4/erY+ocmFCSD5rslHrLRuhbxi89m4txpCx48= X-ME-Sender: X-Sasl-enc: FRw1oM7s9rVGK0whaKHb1SAxFMV0CaeE1DiefXd+BO7O 1477340142 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 3EBE0F29CF; Mon, 24 Oct 2016 16:15:42 -0400 (EDT) Subject: Re: Patch: Implement failover on libpq connect level. To: Robert Haas , Peter van Hardenberg References: <20150818041850.GA5092@wagner.pp.ru> <20151014104151.GA6744@wagner.pp.ru> <562E8C55.9030409@gmx.net> Cc: "pgsql-hackers@postgresql.org" From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Mon, 24 Oct 2016 16:15:41 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 10/24/16 11:57 AM, Robert Haas wrote: > Today, since the host part can't include a > port specifier, it's regarded as part of the IP address, and I think > it would probably be a bad idea to change that, as I believe Victor's > patch would. He seems to have it in mind that we could allow things > like host=[1:2:3::4:5:6] or host=[1:2:3::4:5]:6, which would might be > helpful for the future but doesn't avoid changing the meaning of > connection strings that work today. Let's keep in mind here that the decision to allow database names to contain a connection parameter substructure has caused some security issues. Let's not create more levels of ambiguity and the need to pass around override flags. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers