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 f2c6cb1f16d0571d151eedb3ec7256932f7b5606..ce30041df664c5ec0bb22156fa303205a2e8d737 100644 (file)
@@ -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: