1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +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:
Peter Eisentraut
2014-01-08 07:01:16 -05:00
parent 7e04792a1c
commit ca607b155e

View File

@ -131,6 +131,8 @@ pg_log_v(eLogType type, const char *fmt, va_list ap)
case PG_FATAL:
printf("\n%s", _(message));
printf("Failure, exiting\n");
exit(1);
break;
default: