pg_upgrade: Fix fatal error handling
Restore exiting when pg_log(PG_FATAL) is called directly instead of calling pg_fatal(). Fault introduced in 264aa14a2f687eba8c8cc2a5b6cbd6397973da98.
This commit is contained in:
parent
7e04792a1c
commit
ca607b155e
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user