]> granicus.if.org Git - postgresql/commitdiff
Make pg_regress -V consistent with the corresponding code in other
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Feb 2008 22:44:16 +0000 (22:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Feb 2008 22:44:16 +0000 (22:44 +0000)
programs: use puts with a compile-time-constant string.

src/test/regress/pg_regress.c

index d88118168eb71e9024af1d856d14ad6b099a4e5c..4eca8482d8b2d24252d272f6f75a09d6b3edd48e 100644 (file)
@@ -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: