Skip to content

Commit 4b0fbfd

Browse files
committed
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>
1 parent 637a934 commit 4b0fbfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ do_restart(void)
965965
write_stderr(_("%s: PID file \"%s\" does not exist\n"),
966966
progname, pid_file);
967967
write_stderr(_("Is server running?\n"));
968-
write_stderr(_("starting server anyway\n"));
968+
write_stderr(_("trying to start server anyway\n"));
969969
do_start();
970970
return;
971971
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy