Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXXxV-0008Vt-EO for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Sep 2015 17:05:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZXXxV-0000of-0M for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Sep 2015 17:05:57 +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 1ZXXwA-0006UG-HC for pgsql-hackers@postgresql.org; Thu, 03 Sep 2015 17:04:34 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZXXw1-0002BQ-Lk for pgsql-hackers@postgresql.org; Thu, 03 Sep 2015 17:04:33 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 875C65F7A5; Thu, 3 Sep 2015 13:04:23 -0400 (EDT) Date: Thu, 3 Sep 2015 13:04:23 -0400 From: Stephen Frost To: Robert Haas Cc: "Shulgin, Oleksandr" , Andres Freund , Alvaro Herrera , Tom Lane , Albe Laurenz , Victor Wagner , "pgsql-hackers@postgresql.org" Subject: Re: Proposal: Implement failover on libpq connect level. Message-ID: <20150903170423.GK3685@tamriel.snowman.net> References: <20150901175010.GP2912@alvherre.pgsql> <20150901181222.GK31526@awork2.anarazel.de> <20150903154221.GJ3685@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="e3f9oIT5Uykbfm+Q" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-61-generic (x86_64) X-Uptime: 13:01:59 up 30 days, 1:32, 8 users, load average: 0.01, 0.04, 0.09 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) 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 --e3f9oIT5Uykbfm+Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Robert Haas (robertmhaas@gmail.com) wrote: > Alternatively, change the rules for parsing the existing host=X > parameter so that we split it on some separator that isn't a valid > hostname character, and then strip off an optional :port syntax from > each entry; that value, if present, overrides port=X for that entry. Using a ':' should work just fine for that. Having only one option for how all the connections are done (concurrently, round robin, etc) and an option for the timeout works for now. Thanks! Stephen --e3f9oIT5Uykbfm+Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJV6H2XAAoJEO1sijiDR2RV95sP/3Lv9C3Uw7LvrYk9VFaXcA2d h1mUM4Sszglgrfcly9ZrkQV2lwxGKqJPBOH8nq1v6YgXn73ClQ0477HGjGuVuJZM TPiRhWJzWVsCgH4ogINfFqVxxnWAFufMJySsBc4chzvafNVKvMmSnoVIqke/Kzcs iaM/GnYinjU/QxoP2c1yruj+nAPEWS3iPk/D2LqzrIqAkAzaN0tARLsaAw1V1tOB cqfLzVI0Gr521bXsn2z53peBcYPg14N7WAWsjX7CVkxLbl2Qfai7Atm9p1OKGbs2 7Vov/ZBUDddWT8BOsWtlCXjCgUdI+fhgZ48r1xmpxI4Odcn9iOPjqff2qTa8m341 MK/Am7U5btXb2G9hcZFh6Omg50oYuh7VS8EROqFw9Bi0X8y7dhLKMnOyssb76NvS dbwwzDUijH7RzcLD63jD1w+nWM2Vw6WiBG6E7/q+2mV7CTjlLxnIsjy5bfDkjkq6 8g5YGSgKfldGbWJIQhLWluC4vyo/W4FINa2d72M0SjqkR9+jiyMdts2T3cvI9pj9 38ONTO8ISt69m0BqjyUGSYIPYQvGNwhKQZD0X9D7FUSJMZ+enZ7wG9qYNuAU98iz 32tpLwUGDqcQl/1yIZ6oW+jvo+Z/AfcD8fW/LtatCU9Va2CQd7zenEdHq3sncZ15 YiYoukwyXbtCGN3R66u2 =8KKJ -----END PGP SIGNATURE----- --e3f9oIT5Uykbfm+Q--