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: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jorge Gustavo Rocha <jgr@geomaster.pt>, pgsql-bugs@lists.postgresql.org
Date: 2019-07-26T04:58:08Z
Lists: pgsql-bugs
On Thu, Jul 25, 2019 at 12:13:32PM -0400, Tom Lane wrote: > Hearing nothing further on this, I went ahead with the patch as I had it > on HEAD, and a tweaked version of your patch on the back branches. Thanks Tom for taking care of that stuff. Coming late at the party, I have one comment post-commit. Perhaps we could have a wrapper in charge of doing this work in with something adding properly \0 at the end of those strings for CR and LF and returning the new length after adjustment, like pg_strip_clrf in common/string.c? There are nine places changed on HEAD. -- Michael
Commits
-
Fix failures to ignore \r when reading Windows-style newlines.
- 8c52b77ddea7 9.4.24 landed
- 6266654db7fa 9.5.19 landed
- ba27151d1eb0 9.6.15 landed
- cb65b454f87b 10.10 landed
- 11a0a4db3cdb 11.5 landed
- c58cf97f2fc4 12.0 landed
- b654714f9bcf 13.0 landed