mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Make \conninfo print SSL information.
Alastair Turner, per suggestion from Bruce Momjian.
This commit is contained in:
@ -314,6 +314,7 @@ exec_command(const char *cmd,
|
|||||||
else
|
else
|
||||||
printf(_("You are connected to database \"%s\" as user \"%s\" on host \"%s\" at port \"%s\".\n"),
|
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));
|
db, PQuser(pset.db), host, PQport(pset.db));
|
||||||
|
printSSLInfo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user