Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dd6c4b

Browse files
committed
Make pg_regress -V consistent with the corresponding code in other
programs: use puts with a compile-time-constant string.
1 parent7454515 commit8dd6c4b

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
case1:
18321832

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp