Re: libpq with ssl vs psql without

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq with ssl vs psql without
Date: 2008-11-11 15:04:40
Message-ID: 49199F08.8050302@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> I just noticed that if you have libpq with SSL support, but psql
>> without, we don't print any SSL information at all. Would it be
>> worthwhile to have it print that SSL is in use, even if we can't print
>> the details about the connection?
>
> I think the use-case for this is nonexistent, but you can still sell the
> change on the grounds of reducing the number of #ifdefs.
>
> It might be worth putting a comment in there, because people will wonder
> what the heck this is about.
>
> /* this can only happen if libpq has SSL support and psql doesn't */

Done.

//Magnus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-11-11 15:12:49 Re: pg_upgrade project status
Previous Message Helio Campos Mello de Andrade 2008-11-11 15:00:51 Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)