Skip to content

Commit 8dd6c4b

Browse files
committed
Make pg_regress -V consistent with the corresponding code in other
programs: use puts with a compile-time-constant string.
1 parent 7454515 commit 8dd6c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/regress/pg_regress.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.41 2008/01/19 17:43:42 tgl Exp $
14+
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.42 2008/02/20 22:44:16 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -1826,7 +1826,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
18261826
help();
18271827
exit_nicely(0);
18281828
case 'V':
1829-
printf("pg_regress (PostgreSQL %s)\n", PG_VERSION);
1829+
puts("pg_regress (PostgreSQL) " PG_VERSION);
18301830
exit_nicely(0);
18311831
case 1:
18321832

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy