]> granicus.if.org Git - postgresql/commitdiff
Make \conninfo print SSL information.
authorRobert Haas <rhaas@postgresql.org>
Thu, 14 Jun 2012 13:43:14 +0000 (09:43 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 14 Jun 2012 13:43:14 +0000 (09:43 -0400)
Alastair Turner, per suggestion from Bruce Momjian.

src/bin/psql/command.c

index 5614120255d12e403eb8b10c8e7cc7fde037fac9..092678604ed37a60ba12d263cb2d8af34598eb30 100644 (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();
                }
        }