Index: src/bin/pg_ctl/pg_ctl.c =================================================================== RCS file: /cvsroot/pgsql/src/bin/pg_ctl/pg_ctl.c,v retrieving revision 1.43 diff -c -c -r1.43 pg_ctl.c *** src/bin/pg_ctl/pg_ctl.c 27 Oct 2004 17:17:07 -0000 1.43 --- src/bin/pg_ctl/pg_ctl.c 27 Oct 2004 19:43:01 -0000 *************** *** 767,786 **** pid = get_pgpid(); if (pid == 0) /* no pid file */ { ! write_stderr(_("%s: neither postmaster nor postgres running\n"), progname); exit(1); } else if (pid < 0) /* standalone backend */ { pid = -pid; ! fprintf(stdout, _("%s: a standalone backend \"postgres\" is running (PID: %ld)\n"), progname, pid); } else /* postmaster */ { char **optlines; ! fprintf(stdout, _("%s: postmaster is running (PID: %ld)\n"), progname, pid); optlines = readfile(postopts_file); if (optlines != NULL) --- 767,786 ---- pid = get_pgpid(); if (pid == 0) /* no pid file */ { ! printf(_("%s: neither postmaster nor postgres running\n"), progname); exit(1); } else if (pid < 0) /* standalone backend */ { pid = -pid; ! printf(_("%s: a standalone backend \"postgres\" is running (PID: %ld)\n"), progname, pid); } else /* postmaster */ { char **optlines; ! printf(_("%s: postmaster is running (PID: %ld)\n"), progname, pid); optlines = readfile(postopts_file); if (optlines != NULL)