Re: BUG #15827: Unable to connect on Windows using pg_services.confusing Python psycopg2 - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #15827: Unable to connect on Windows using pg_services.confusing Python psycopg2
Date
Msg-id 20190726045808.GF7677@paquier.xyz
Whole thread Raw
In response to Re: BUG #15827: Unable to connect on Windows using pg_services.conf using Python psycopg2  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

Attachment

pgsql-bugs by date:

Previous
From: 高 云龙
Date:
Subject: Re: A function privilege problem
Next
From: PG Bug reporting form
Date:
Subject: BUG #15925: Loss of precision converting money to numeric