pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Make error handling in parallel pg_upgrade less bogus.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Make error handling in parallel pg_upgrade less bogus.
@ 2018-12-16 19:52 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-12-16 19:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/16fda4b853cd5bc07c450303a465ed9d451c7b47

Modified Files
--------------
src/bin/pg_upgrade/parallel.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Make error handling in parallel pg_upgrade less bogus.
@ 2018-12-16 19:52 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-12-16 19:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b054498c74c3630348b9a35f7f4c6dc90e204643

Modified Files
--------------
src/bin/pg_upgrade/parallel.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Make error handling in parallel pg_upgrade less bogus.
@ 2018-12-16 19:52 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-12-16 19:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f4290113f50d1bcd67a9e51b74927c59592ad2ea

Modified Files
--------------
src/bin/pg_upgrade/parallel.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Make error handling in parallel pg_upgrade less bogus.
@ 2018-12-16 19:52 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-12-16 19:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f7642cf31601b206cb7cfb99339e6b4edfec0b58

Modified Files
--------------
src/bin/pg_upgrade/parallel.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Make error handling in parallel pg_upgrade less bogus.
@ 2018-12-16 19:52 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-12-16 19:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/35efdd7fb81de8333949e7d7ea55908cc91ba897

Modified Files
--------------
src/bin/pg_upgrade/parallel.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Make error handling in parallel pg_upgrade less bogus.
@ 2018-12-16 19:52 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-12-16 19:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b10d2252b35326566d5520acbc65842927c4c3a1

Modified Files
--------------
contrib/pg_upgrade/parallel.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2018-12-16 19:52 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-16 19:52 pgsql: Make error handling in parallel pg_upgrade less bogus. Tom Lane <tgl@sss.pgh.pa.us>
2018-12-16 19:52 pgsql: Make error handling in parallel pg_upgrade less bogus. Tom Lane <tgl@sss.pgh.pa.us>
2018-12-16 19:52 pgsql: Make error handling in parallel pg_upgrade less bogus. Tom Lane <tgl@sss.pgh.pa.us>
2018-12-16 19:52 pgsql: Make error handling in parallel pg_upgrade less bogus. Tom Lane <tgl@sss.pgh.pa.us>
2018-12-16 19:52 pgsql: Make error handling in parallel pg_upgrade less bogus. Tom Lane <tgl@sss.pgh.pa.us>
2018-12-16 19:52 pgsql: Make error handling in parallel pg_upgrade less bogus. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox