pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. 4+ messages / 1 participants [nested] [flat]
* pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. @ 2016-05-29 17:00 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:00 UTC (permalink / raw) To: pgsql-committers Remove pg_dump/parallel.c's useless "aborting" flag. This was effectively dead code, since the places that tested it could not be reached after we entered the on-exit-cleanup routine that would set it. It seems to have been a leftover from a design in which error abort would try to send fresh commands to the workers --- a design which could never have worked reliably, of course. Since the flag is not cross-platform, it complicates reasoning about the code's behavior, which we could do without. Although this is effectively just cosmetic, back-patch anyway, because there are some actual bugs in the vicinity of this behavior. Discussion: <15583.1464462418@sss.pgh.pa.us> Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/2ee6bf59e51b4a9f86ef41832ae7fa92d427311b Modified Files -------------- src/bin/pg_dump/parallel.c | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. @ 2016-05-29 17:00 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:00 UTC (permalink / raw) To: pgsql-committers Remove pg_dump/parallel.c's useless "aborting" flag. This was effectively dead code, since the places that tested it could not be reached after we entered the on-exit-cleanup routine that would set it. It seems to have been a leftover from a design in which error abort would try to send fresh commands to the workers --- a design which could never have worked reliably, of course. Since the flag is not cross-platform, it complicates reasoning about the code's behavior, which we could do without. Although this is effectively just cosmetic, back-patch anyway, because there are some actual bugs in the vicinity of this behavior. Discussion: <15583.1464462418@sss.pgh.pa.us> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/210981a4a9fdd19cb299f248a7ecc25db9bf7d9d Modified Files -------------- src/bin/pg_dump/parallel.c | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. @ 2016-05-29 17:00 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:00 UTC (permalink / raw) To: pgsql-committers Remove pg_dump/parallel.c's useless "aborting" flag. This was effectively dead code, since the places that tested it could not be reached after we entered the on-exit-cleanup routine that would set it. It seems to have been a leftover from a design in which error abort would try to send fresh commands to the workers --- a design which could never have worked reliably, of course. Since the flag is not cross-platform, it complicates reasoning about the code's behavior, which we could do without. Although this is effectively just cosmetic, back-patch anyway, because there are some actual bugs in the vicinity of this behavior. Discussion: <15583.1464462418@sss.pgh.pa.us> Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/99e3298181546bb31895b6f7123ece222427c8dc Modified Files -------------- src/bin/pg_dump/parallel.c | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. @ 2016-05-29 17:00 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:00 UTC (permalink / raw) To: pgsql-committers Remove pg_dump/parallel.c's useless "aborting" flag. This was effectively dead code, since the places that tested it could not be reached after we entered the on-exit-cleanup routine that would set it. It seems to have been a leftover from a design in which error abort would try to send fresh commands to the workers --- a design which could never have worked reliably, of course. Since the flag is not cross-platform, it complicates reasoning about the code's behavior, which we could do without. Although this is effectively just cosmetic, back-patch anyway, because there are some actual bugs in the vicinity of this behavior. Discussion: <15583.1464462418@sss.pgh.pa.us> Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/937b85805b6e87180bf9e088acfb4ba4e3e3d9bc Modified Files -------------- src/bin/pg_dump/parallel.c | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2016-05-29 17:00 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-05-29 17:00 pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. Tom Lane <tgl@sss.pgh.pa.us> 2016-05-29 17:00 pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. Tom Lane <tgl@sss.pgh.pa.us> 2016-05-29 17:00 pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. Tom Lane <tgl@sss.pgh.pa.us> 2016-05-29 17:00 pgsql: Remove pg_dump/parallel.c's useless "aborting" flag. 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