pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Shulgin, Oleksandr <oleksandr.shulgin@zalando.de>
Cc: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: Victor Wagner <vitus@wagner.pp.ru>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Proposal: Implement failover on libpq connect level.
Date: Thu, 3 Sep 2015 13:04:23 -0400
Message-ID: <20150903170423.GK3685@tamriel.snowman.net> (raw)
In-Reply-To: <CA+Tgmobvj7ORhqg+CBfHgcBYmEn0U6F22rOrvb4VYHSzpzNKSQ@mail.gmail.com>
References: <CA+Tgmoa++eXswwzPkhRjF-qi4vex74YYGk8BRZW=pB05ic_dvg@mail.gmail.com>
	<20150901175010.GP2912@alvherre.pgsql>
	<CA+TgmoaqUECxFDEyxLNQetw5uCS7FGhU1-851+rZZwogztbMPw@mail.gmail.com>
	<20150901181222.GK31526@awork2.anarazel.de>
	<CACACo5Q=5eV3Nw6ai8LJaLXx7R2D=UwWV3DAWdzP+4FJ2Su9EA@mail.gmail.com>
	<CA+TgmobFhGkmY=S7yUx1LzoxQcP3pgo9eKPNEkCGEuKv7M9-oQ@mail.gmail.com>
	<CACACo5SwSpT8dwTJdQ8QPNxgYbG5un-w=v=cMUZmeb5-mTCbUw@mail.gmail.com>
	<CA+TgmoaTYx6nyxLpe+E1cbch98FmXJ6jmoW1ei5iWfEVp5dG_w@mail.gmail.com>
	<20150903154221.GJ3685@tamriel.snowman.net>
	<CA+Tgmobvj7ORhqg+CBfHgcBYmEn0U6F22rOrvb4VYHSzpzNKSQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

* 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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (63+ messages)  latest in thread

Message-ID: <20150903170423.GK3685@tamriel.snowman.net>
Permalink:  ../20150903170423.GK3685@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150903170423.GK3685@tamriel.snowman.net

 · 

reply

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: sfrost@snowman.net, robertmhaas@gmail.com, oleksandr.shulgin@zalando.de, andres@anarazel.de, alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, laurenz.albe@wien.gv.at, vitus@wagner.pp.ru, pgsql-hackers@postgresql.org
  Subject: Re: Proposal: Implement failover on libpq connect level.
  In-Reply-To: <20150903170423.GK3685@tamriel.snowman.net>
  References: <CA+Tgmoa++eXswwzPkhRjF-qi4vex74YYGk8BRZW=pB05ic_dvg@mail.gmail.com> <20150901175010.GP2912@alvherre.pgsql> <CA+TgmoaqUECxFDEyxLNQetw5uCS7FGhU1-851+rZZwogztbMPw@mail.gmail.com> <20150901181222.GK31526@awork2.anarazel.de> <CACACo5Q=5eV3Nw6ai8LJaLXx7R2D=UwWV3DAWdzP+4FJ2Su9EA@mail.gmail.com> <CA+TgmobFhGkmY=S7yUx1LzoxQcP3pgo9eKPNEkCGEuKv7M9-oQ@mail.gmail.com> <CACACo5SwSpT8dwTJdQ8QPNxgYbG5un-w=v=cMUZmeb5-mTCbUw@mail.gmail.com> <CA+TgmoaTYx6nyxLpe+E1cbch98FmXJ6jmoW1ei5iWfEVp5dG_w@mail.gmail.com> <20150903154221.GJ3685@tamriel.snowman.net> <CA+Tgmobvj7ORhqg+CBfHgcBYmEn0U6F22rOrvb4VYHSzpzNKSQ@mail.gmail.com> <20150903170423.GK3685@tamriel.snowman.net>

* 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