git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ade2d61) | patch
Make error handling in parallel pg_upgrade less bogus.
2018年12月16日 19:51:47 +0000 (14:51 -0500)
2018年12月16日 19:51:47 +0000 (14:51 -0500)
commit 16fda4b853cd5bc07c450303a465ed9d451c7b47
Make error handling in parallel pg_upgrade less bogus.

reap_child() basically ignored the possibility of either an error in
waitpid() itself or a child process failure on signal. We don't really
need to do more than report and crash hard, but proceeding as though
nothing is wrong is definitely Not Acceptable. The error report for
nonzero child exit status was pretty off-point, as well.

Noted while fooling around with child-process failure detection
logic elsewhere. It's been like this a long time, so back-patch to
all supported branches.
src/bin/pg_upgrade/parallel.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /