Content-Length: 274232 | pFad | http://github.com/postgrespro/postgres/commit/4d464076ffc0fc8633bc15819ca32a897396ceeb

37 Make --version option print fixed program name. · postgrespro/postgres@4d46407 · GitHub
Skip to content

Commit 4d46407

Browse files
committed
Make --version option print fixed program name.
1 parent 50610ef commit 4d46407

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
else if (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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/4d464076ffc0fc8633bc15819ca32a897396ceeb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy