Commit a3375bec authored by Bruce Momjian's avatar Bruce Momjian

Print clearer failure message when pg_upgrade fails due to a fatal

error.
parent c15c1f1c
......@@ -200,9 +200,10 @@ exit_nicely(bool need_cleanup)
/* terminate any running instance of postmaster */
if (os_info.postmasterPID != 0)
kill(os_info.postmasterPID, SIGTERM);
if (need_cleanup)
{
printf("Failure, exiting\n");
/*
* FIXME must delete intermediate files
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment