pg_ctl: Improve message

Change message for restarting a server from a directory without a PID
file.  This accounts for the case where a restart happens after an
initdb.  The new message indicates that the start has not completed yet
and might fail.

Author: Jesper Pedersen <jesper.pedersen@redhat.com>
This commit is contained in:
Peter Eisentraut 2017-11-02 13:27:42 -04:00
parent 637a934ab9
commit 4b0fbfdf81
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ do_restart(void)
write_stderr(_("%s: PID file \"%s\" does not exist\n"),
progname, pid_file);
write_stderr(_("Is server running?\n"));
write_stderr(_("starting server anyway\n"));
write_stderr(_("trying to start server anyway\n"));
do_start();
return;
}