Re: Psql meta-command conninfo+

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Psql meta-command conninfo+
Дата
Msg-id 202402091019.y3psh2m7sqbv@alvherre.pgsql
обсуждение исходный текст
Ответ на RE: Psql meta-command conninfo+  (Maiquel Grassi <grassi@hotmail.com.br>)
Ответы RE: Psql meta-command conninfo+  (Maiquel Grassi <grassi@hotmail.com.br>)
RE: Psql meta-command conninfo+  (Maiquel Grassi <grassi@hotmail.com.br>)
Список pgsql-hackers
Hmm, I noticed that this would call printSSLInfo() and printGSSInfo()
after listConnectionInformation.  It would be much better to show these
in tabular format as well and remove the calls to printSSL/GSSInfo.

I propose additional columns to the same \conninfo+ table; when SSL,
like this:

Database           | postgres
[...]
Host               | 127.0.0.1
Encryption         | SSL
Protocol           | PQsslAttribute(protocol)
Cipher             | PQsslAttribute(cipher)
Compression        | PQsslAttribute(compression)

When GSS, like this

Database           | postgres
[...]
Host               | 127.0.0.1
Encryption         | GSS

(why don't we print anything else in printGSSInfo()?  That's weird.)

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Pido que me den el Nobel por razones humanitarias" (Nicanor Parra)



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

Предыдущее
От: Maiquel Grassi
Дата:
Сообщение: RE: Psql meta-command conninfo+
Следующее
От: Majid Garoosi
Дата:
Сообщение: Re: GUC-ify walsender MAX_SEND_SIZE constant