diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-10 19:35:01 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-10 19:35:01 +0000 |
commit | 8be9bd83acd43762cf0dc8a45229a693896e7755 (patch) | |
tree | 6688bc82949dda85af40ce312b137450c4cba95b /src/bin/psql/help.c | |
parent | a5e6e9935714959db56607b327ce0f4ff68751c1 (diff) | |
download | postgresql-8be9bd83acd43762cf0dc8a45229a693896e7755.tar.gz postgresql-8be9bd83acd43762cf0dc8a45229a693896e7755.zip |
psql prints its version number in its startup message, per recent
discussion. Also, cause the \timing command to display time in a
format consistent with the backend's EXPLAIN ANALYZE output.
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 02d76039752..4e00c5e7d1c 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.53 2002/08/10 16:57:32 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.54 2002/08/10 19:35:01 tgl Exp $ */ #include "postgres_fe.h" #include "print.h" @@ -80,7 +80,8 @@ usage(void) } /* If this " is the start of the string then it ought to end there to fit in 80 columns >> " */ - puts(_("This is psql, the PostgreSQL interactive terminal.\n")); + printf(_("This is psql %s, the PostgreSQL interactive terminal.\n"), + PG_VERSION); puts(_("Usage:")); puts(_(" psql [options] [dbname [username]]\n")); puts(_("Options:")); |