On Thu, May 18, 2017 at 7:06 AM, Michael Paquier <michael.paqu...@gmail.com> wrote: > FWIW, I am of the opinion to not have an implementation based on any > SQLSTATE codes, as well as not doing something similar to JDBC. > Keeping things simple is one reason, a second is that the approach > taken by libpq is correct at its root.
Because why? I was initially on the same side as you and Tom, but now I'm really wavering. What good is a feature that's supposed to find you a usable connection if it sometimes decides not to find one? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers