Christian Kastner <debian(at)kvr(dot)at> writes:
> On 03/04/2011 12:58 AM, Tom Lane wrote:
>> Attached is an untested patch which I'd appreciate if you (or somebody
>> else who uses SSL connections more than I do) could test.
> I can confirm that this fixes the issue for me.
> I tested this with psql and PGSSLMODE={disable,prefer,verify-ca}, with
> various (or no) PGSSLROOTCERTs in the case of verify-ca. In all cases,
> the result was the expected one.
Great, thanks very much for testing! I've applied the patch (with the
adjustment of error message) to HEAD and 9.0.
regards, tom lane