mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
pg_upgrade: Fix fatal error handling
Restore exiting when pg_log(PG_FATAL) is called directly instead of
calling pg_fatal(). Fault introduced in
264aa14a2f
.
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user