Re: Possible regression: libpq + SSL aborts when user has no home directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Kastner <debian(at)kvr(dot)at>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Possible regression: libpq + SSL aborts when user has no home directory
Date: 2011-03-04 16:41:33
Message-ID: 29410.1299256893@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2011-03-04 19:26:47 Re: BUG #5915: OldSerXidAdd inflates pg_serial too much
Previous Message Kevin Grittner 2011-03-04 15:49:58 Re: BUG #5914: locking error in heap_fetch