Re: BUG #15827: Unable to connect on Windows using pg_services.conf using Python psycopg2

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Jorge Gustavo Rocha <jgr@geomaster.pt>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-bugs@lists.postgresql.org
Date: 2019-06-21T00:42:33Z
Lists: pgsql-bugs
On Thu, Jun 20, 2019 at 09:48:25AM +0100, Jorge Gustavo Rocha wrote:
> Both patches works and fixes the problem, but this one is compiler
> independent.
> 
> If this can be back ported, it would be perfect!

Thanks for testing.  It seems to me that the current behavior is just
annoying, so there is a good argument for back-patching.  Now it is
true that we have had few complaints on the matter over the years, and
usually in those cases we bother only about HEAD.  I would still do a
back-patch in this case.  Any Thoughts from others?
--
Michael

Commits

  1. Fix failures to ignore \r when reading Windows-style newlines.