From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br> |
Cc: | Erik Wienhold <ewie(at)ewie(dot)name>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Psql meta-command conninfo+ |
Date: | 2024-02-09 10:19:03 |
Message-ID: | 202402091019.y3psh2m7sqbv@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Majid Garoosi | 2024-02-09 10:22:32 | Re: GUC-ify walsender MAX_SEND_SIZE constant |
Previous Message | Maiquel Grassi | 2024-02-09 09:38:35 | RE: Psql meta-command conninfo+ |