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)