summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas2012-06-14 13:43:14 +0000
committerRobert Haas2012-06-14 13:43:14 +0000
commit7582e0be78bc031803e274d428381e0b6077b810 (patch)
treebb79782447128d2a956b794e1623a770f49097b1 /src
parent80491a19839fd7741805622552f503202780fc52 (diff)
Make \conninfo print SSL information.
Alastair Turner, per suggestion from Bruce Momjian.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 5614120255d..092678604ed 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -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();
}
}