Print clearer failure message when pg_upgrade fails due to a fatal
error.
This commit is contained in:
parent
c15c1f1c15
commit
a3375becfa
@ -200,9 +200,10 @@ exit_nicely(bool need_cleanup)
|
|||||||
/* terminate any running instance of postmaster */
|
/* terminate any running instance of postmaster */
|
||||||
if (os_info.postmasterPID != 0)
|
if (os_info.postmasterPID != 0)
|
||||||
kill(os_info.postmasterPID, SIGTERM);
|
kill(os_info.postmasterPID, SIGTERM);
|
||||||
|
|
||||||
if (need_cleanup)
|
if (need_cleanup)
|
||||||
{
|
{
|
||||||
|
printf("Failure, exiting\n");
|
||||||
/*
|
/*
|
||||||
* FIXME must delete intermediate files
|
* FIXME must delete intermediate files
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user