Content-Length: 257834 | pFad | http://github.com/postgrespro/postgres_cluster/commit/ca607b155e86ce529fc9ac322a232f264cda9ab6

F6 pg_upgrade: Fix fatal error handling · postgrespro/postgres_cluster@ca607b1 · GitHub
Skip to content

Commit ca607b1

Browse files
committed
pg_upgrade: Fix fatal error handling
Restore exiting when pg_log(PG_FATAL) is called directly instead of calling pg_fatal(). Fault introduced in 264aa14.
1 parent 7e04792 commit ca607b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pg_upgrade/util.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ pg_log_v(eLogType type, const char *fmt, va_list ap)
131131

132132
case PG_FATAL:
133133
printf("\n%s", _(message));
134+
printf("Failure, exiting\n");
135+
exit(1);
134136
break;
135137

136138
default:

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/ca607b155e86ce529fc9ac322a232f264cda9ab6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy