OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15c1f1
)
Print clearer failure message when pg_upgrade fails due to a fatal
author
Bruce Momjian
<bruce@momjian.us>
Sun, 6 Mar 2011 00:32:53 +0000
(19:32 -0500)
committer
Bruce Momjian
<bruce@momjian.us>
Sun, 6 Mar 2011 00:32:53 +0000
(19:32 -0500)
error.
contrib/pg_upgrade/util.c
patch
|
blob
|
history
diff --git
a/contrib/pg_upgrade/util.c
b/contrib/pg_upgrade/util.c
index
5207334
..
f957508
100644
(file)
--- a/
contrib/pg_upgrade/util.c
+++ b/
contrib/pg_upgrade/util.c
@@
-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
*/