aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-02-20 22:44:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-02-20 22:44:16 +0000
commit8dd6c4b4befbd084e94b17809207b2e1e349cb6c (patch)
treef3e667d58f542a6dd2ee528dfc8b45b03b951140 /src
parent7454515e1202d9f792f055af6faabcf8116a11a0 (diff)
downloadpostgresql-8dd6c4b4befbd084e94b17809207b2e1e349cb6c.tar.gz
postgresql-8dd6c4b4befbd084e94b17809207b2e1e349cb6c.zip
Make pg_regress -V consistent with the corresponding code in other
programs: use puts with a compile-time-constant string.
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/pg_regress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index d88118168eb..4eca8482d8b 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.41 2008/01/19 17:43:42 tgl Exp $
+ * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.42 2008/02/20 22:44:16 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1826,7 +1826,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
help();
exit_nicely(0);
case 'V':
- printf("pg_regress (PostgreSQL %s)\n", PG_VERSION);
+ puts("pg_regress (PostgreSQL) " PG_VERSION);
exit_nicely(0);
case 1: