Open arvenil opened 6 years ago
Nothing other than it isn't implemented, from what I can see.
See discussion in https://github.com/lib/pq/pull/175 for prefer
This discussion is not really telling. What was the argument against supporting Postgres features in this Postgres library again?
Also it could be nice if the default here would mimic upstream in choosing to fall back to an insecure connection, if no secure connection is available.
prefer
is also discussed in
This discussion is not really telling. What was the argument against supporting Postgres features in this Postgres library again?
This discussion is about libpq
features, not postgres features.
My complaint was that what was implemented in that PR was not really libpq's prefer
mode, but something else that's not in any other client library as far as I know. I think that complaint is still valid.
Also it could be nice if the default here would mimic upstream in choosing to fall back to an insecure connection, if no secure connection is available.
I don't really know. I don't think I'm the only one who thinks that's a bad default. But even worse, a lot of people might be relying on pq
's default being what it's been the past 10+ years.
Hi, what stops this driver from supporting
sslmode=allow
orsslmode=prefer
?