Make \conninfo print SSL information.

Alastair Turner, per suggestion from Bruce Momjian.
This commit is contained in:
Robert Haas 2012-06-14 09:43:14 -04:00
parent 80491a1983
commit 7582e0be78

View File

@ -314,6 +314,7 @@ exec_command(const char *cmd,
else
printf(_("You are connected to database \"%s\" as user \"%s\" on host \"%s\" at port \"%s\".\n"),
db, PQuser(pset.db), host, PQport(pset.db));
printSSLInfo();
}
}