File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -865,6 +865,9 @@ do_stop(void)
865865 print_msg (_ (" failed\n" ));
866866
867867 write_stderr (_ ("%s: server does not shut down\n" ), progname );
868+ if (shutdown_mode == SMART_MODE )
869+ write_stderr (_ ("TIP: the \"-m fast\" option immediately disconnects sessions rather than\n"
870+ "waiting for session-initiated disconnection.\n" ));
868871 exit (1 );
869872 }
870873 print_msg (_ (" done\n" ));
@@ -952,6 +955,9 @@ do_restart(void)
952955 print_msg (_ (" failed\n" ));
953956
954957 write_stderr (_ ("%s: server does not shut down\n" ), progname );
958+ if (shutdown_mode == SMART_MODE )
959+ write_stderr (_ ("TIP: the \"-m fast\" option immediately disconnects sessions rather than\n"
960+ "waiting for session-initiated disconnection.\n" ));
955961 exit (1 );
956962 }
957963
You can’t perform that action at this time.
0 commit comments