aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-12-16 14:51:47 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-12-16 14:51:47 -0500
commitb054498c74c3630348b9a35f7f4c6dc90e204643 (patch)
treea9c6ee0730fffc819c435e7c03cf33dd7ca02bec /src/backend/access/gist/gist.c
parentb1894a6076f36a20338e0c3b0eb73a250ea2e47e (diff)
downloadpostgresql-b054498c74c3630348b9a35f7f4c6dc90e204643.tar.gz
postgresql-b054498c74c3630348b9a35f7f4c6dc90e204643.zip
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.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions