mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Make \conninfo print SSL information.
Alastair Turner, per suggestion from Bruce Momjian.
This commit is contained in:
parent
80491a1983
commit
7582e0be78
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user