Re: \conninfo and SSL

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: \conninfo and SSL
Дата
Msg-id CABUevEwDbXT=gr6O74ghsZ6_UyWV87SpyGsF3iofdtQosqrazA@mail.gmail.com
обсуждение исходный текст
Ответ на \conninfo and SSL  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: \conninfo and SSL  (Alastair Turner <bell@ctrlf5.co.za>)
Список pgsql-hackers
On Thu, May 31, 2012 at 9:04 PM, Bruce Momjian <bruce@momjian.us> wrote:
> On startup, psql shows the SSL information:
>
>        $ psql 'sslmode=require host=localhost'
>        psql (9.2beta1)
>        SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
>
> However, \conninfo does not mention SSL:
>
>        postgres=> \conninfo
>        You are connected to database "postgres" as user "postgres" on
>        host "localhost" at port "5432".
>
> Should \conninfo mention SSL?  Fortunately \c shows SSL information:
>
>        postgres=> \c
>        SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
>        You are now connected to database "postgres" as user "postgres".

Well, \c creates a new connection, so that's not really an information
command. It might not connect that trivially, depending on what
authentication method you use.

Including ssl info in \conninfo would be useful, I think.

//Magnus


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: \conninfo and SSL
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: extending relations more efficiently