From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
To: Peter van Hardenberg <pvh@pvh.ca>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Patch: Implement failover on libpq connect level.
Date: Mon, 24 Oct 2016 16:15:41 -0400
Message-ID: <ed0f268e-8313-872b-95b6-deaba725252f@2ndquadrant.com> (raw)
In-Reply-To: <CA+TgmoY7GbhB5QMuCF46toJ==soXEU4oWkDdzuaC+oCi9gQepg@mail.gmail.com>
References: <20150818041850.GA5092@wagner.pp.ru>
<20151014104151.GA6744@wagner.pp.ru>
<562E8C55.9030409@gmx.net>
<CA+Tgmoans8HdJ55n++YT91k1vMV9sri_jiOgqU7NSQMJQngKgw@mail.gmail.com>
<CABTbUpii61GfLAaqbrRFhwkcdvrqzJn5=FbZ-vbm-e314c2RHw@mail.gmail.com>
<CA+TgmoY7GbhB5QMuCF46toJ==soXEU4oWkDdzuaC+oCi9gQepg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, robertmhaas@gmail.com, pvh@pvh.ca, pgsql-hackers@postgresql.org
Subject: Re: Patch: Implement failover on libpq connect level.
In-Reply-To: <ed0f268e-8313-872b-95b6-deaba725252f@2ndquadrant.com>
References: <20150818041850.GA5092@wagner.pp.ru> <20151014104151.GA6744@wagner.pp.ru> <562E8C55.9030409@gmx.net> <CA+Tgmoans8HdJ55n++YT91k1vMV9sri_jiOgqU7NSQMJQngKgw@mail.gmail.com> <CABTbUpii61GfLAaqbrRFhwkcdvrqzJn5=FbZ-vbm-e314c2RHw@mail.gmail.com> <CA+TgmoY7GbhB5QMuCF46toJ==soXEU4oWkDdzuaC+oCi9gQepg@mail.gmail.com> <ed0f268e-8313-872b-95b6-deaba725252f@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox