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

Commit4d46407

Browse files
committed
Make --version option print fixed program name.
1 parent50610ef commit4d46407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.64 2006/01/14 15:41:28 petere Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.65 2006/02/07 11:36:36 petere Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -1313,7 +1313,7 @@ main(int argc, char **argv)
13131313
}
13141314
elseif (strcmp(argv[1],"-V")==0||strcmp(argv[1],"--version")==0)
13151315
{
1316-
printf("%s (PostgreSQL)%s\n",progname,PG_VERSION);
1316+
puts("pg_ctl (PostgreSQL)"PG_VERSION);
13171317
exit(0);
13181318
}
13191319
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp