|
4 | 4 | *
|
5 | 5 | * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
6 | 6 | *
|
7 |
| - * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.118 2010/01/02 16:57:58 momjian Exp $ |
| 7 | + * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.119 2010/02/19 14:12:19 petere Exp $ |
8 | 8 | *
|
9 | 9 | *-------------------------------------------------------------------------
|
10 | 10 | */
|
@@ -748,7 +748,9 @@ do_start(void)
|
748 | 748 |
|
749 | 749 | if (test_postmaster_connection(false)== false)
|
750 | 750 | {
|
751 |
| -printf(_("could not start server\n")); |
| 751 | +write_stderr(_("%s: could not start server\n" |
| 752 | +"Examine the log output.\n"), |
| 753 | +progname); |
752 | 754 | exit(1);
|
753 | 755 | }
|
754 | 756 | else
|
@@ -828,7 +830,7 @@ do_stop(void)
|
828 | 830 | }
|
829 | 831 | print_msg(_(" done\n"));
|
830 | 832 |
|
831 |
| -printf(_("server stopped\n")); |
| 833 | +print_msg(_("server stopped\n")); |
832 | 834 | }
|
833 | 835 | }
|
834 | 836 |
|
@@ -907,7 +909,7 @@ do_restart(void)
|
907 | 909 | }
|
908 | 910 |
|
909 | 911 | print_msg(_(" done\n"));
|
910 |
| -printf(_("server stopped\n")); |
| 912 | +print_msg(_("server stopped\n")); |
911 | 913 | }
|
912 | 914 | else
|
913 | 915 | {
|
|