Skip to content

Commit a3375be

Browse files
committed
Print clearer failure message when pg_upgrade fails due to a fatal
error.
1 parent c15c1f1 commit a3375be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/pg_upgrade/util.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,10 @@ exit_nicely(bool need_cleanup)
200200
/* terminate any running instance of postmaster */
201201
if (os_info.postmasterPID != 0)
202202
kill(os_info.postmasterPID, SIGTERM);
203-
203+
204204
if (need_cleanup)
205205
{
206+
printf("Failure, exiting\n");
206207
/*
207208
* FIXME must delete intermediate files
208209
*/

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