Re: libpq with ssl vs psql without

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: libpq with ssl vs psql without
Дата
Msg-id 49199F08.8050302@hagander.net
обсуждение исходный текст
Ответ на Re: libpq with ssl vs psql without  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum and reloptions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade project status