Commit ca607b15 authored by Peter Eisentraut's avatar Peter Eisentraut

pg_upgrade: Fix fatal error handling

Restore exiting when pg_log(PG_FATAL) is called directly instead of
calling pg_fatal().  Fault introduced in
264aa14a.
parent 7e04792a
...@@ -131,6 +131,8 @@ pg_log_v(eLogType type, const char *fmt, va_list ap) ...@@ -131,6 +131,8 @@ pg_log_v(eLogType type, const char *fmt, va_list ap)
case PG_FATAL: case PG_FATAL:
printf("\n%s", _(message)); printf("\n%s", _(message));
printf("Failure, exiting\n");
exit(1);
break; break;
default: default:
......
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