Re: Patch: Implement failover on libpq connect level.
Peter van Hardenberg <pvh@pvh.ca>
From: Peter van Hardenberg <pvh@pvh.ca>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2016-10-19T23:26:57Z
Lists: pgsql-hackers
On Wed, Oct 19, 2016 at 3:08 PM, Robert Haas <robertmhaas@gmail.com> wrote: > On Mon, Oct 26, 2015 at 4:25 PM, Peter Eisentraut <peter_e@gmx.net> wrote: > > On 10/14/15 6:41 AM, Victor Wagner wrote: > All in all, I'm still feeling pretty good about trying to support the > same syntax that our JDBC driver already does. It's certainly not a > perfect solution, but it is at least compatible with MySQL's JDBC > driver and with MongoDB, and in a world where everybody has picked a > different approach that's not too bad. Hey, maybe if we use the same > syntax as MongoDB they'll let us hang out with the cool kids... > > They will never let us hang out with the cool kids. Don't worry though, the cool kids are too busy figuring out why their cluster is out of consensus to pay attention to much else. Supporting different ports on different servers would be a much appreciated feature (I can't remember if it was Kafka or Cassandra that didn't do this and it was very annoying.) Remember, as the connection string gets more complicated, psql supports the Postgres URL format as a single command-line argument and we may want to begin encouraging people to use that syntax instead.
Commits
-
libpq: Add target_session_attrs parameter.
- 721f7bd3cbcc 10.0 landed
-
Remove superuser checks in pgstattuple
- fd321a1dfd64 10.0 cited
-
Fix unwanted flushing of libpq's input buffer when socket EOF is seen.
- c405918858c0 9.6.0 cited