pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix missing abort checks in pg_backup_directory.c. 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix missing abort checks in pg_backup_directory.c. @ 2016-05-29 17:19 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:19 UTC (permalink / raw) To: pgsql-committers Fix missing abort checks in pg_backup_directory.c. Parallel restore from directory format failed to respond to control-C in a timely manner, because there were no checkAborting() calls in the code path that reads data from a file and sends it to the backend. If any worker was in the midst of restoring data for a large table, you'd just have to wait. This fix doesn't do anything for the problem of aborting a long-running server-side command, but at least it fixes things for data transfers. Back-patch to 9.3 where parallel restore was introduced. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/3033e7359fb850d71ffe9deb88d013cf83a98ad2 Modified Files -------------- src/bin/pg_dump/pg_backup_directory.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 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: Fix missing abort checks in pg_backup_directory.c. @ 2016-05-29 17:19 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:19 UTC (permalink / raw) To: pgsql-committers Fix missing abort checks in pg_backup_directory.c. Parallel restore from directory format failed to respond to control-C in a timely manner, because there were no checkAborting() calls in the code path that reads data from a file and sends it to the backend. If any worker was in the midst of restoring data for a large table, you'd just have to wait. This fix doesn't do anything for the problem of aborting a long-running server-side command, but at least it fixes things for data transfers. Back-patch to 9.3 where parallel restore was introduced. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/73f5acce3f5f56189ead7666cf932e52b6c42adb Modified Files -------------- src/bin/pg_dump/pg_backup_directory.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 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: Fix missing abort checks in pg_backup_directory.c. @ 2016-05-29 17:19 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:19 UTC (permalink / raw) To: pgsql-committers Fix missing abort checks in pg_backup_directory.c. Parallel restore from directory format failed to respond to control-C in a timely manner, because there were no checkAborting() calls in the code path that reads data from a file and sends it to the backend. If any worker was in the midst of restoring data for a large table, you'd just have to wait. This fix doesn't do anything for the problem of aborting a long-running server-side command, but at least it fixes things for data transfers. Back-patch to 9.3 where parallel restore was introduced. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/826c94a43e5946b474bef50fbf027a9df10f3945 Modified Files -------------- src/bin/pg_dump/pg_backup_directory.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 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: Fix missing abort checks in pg_backup_directory.c. @ 2016-05-29 17:19 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2016-05-29 17:19 UTC (permalink / raw) To: pgsql-committers Fix missing abort checks in pg_backup_directory.c. Parallel restore from directory format failed to respond to control-C in a timely manner, because there were no checkAborting() calls in the code path that reads data from a file and sends it to the backend. If any worker was in the midst of restoring data for a large table, you'd just have to wait. This fix doesn't do anything for the problem of aborting a long-running server-side command, but at least it fixes things for data transfers. Back-patch to 9.3 where parallel restore was introduced. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/3c8aa6654a44837a2c60fc6061665df1adfd677c Modified Files -------------- src/bin/pg_dump/pg_backup_directory.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 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:19 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:19 pgsql: Fix missing abort checks in pg_backup_directory.c. Tom Lane <tgl@sss.pgh.pa.us> 2016-05-29 17:19 pgsql: Fix missing abort checks in pg_backup_directory.c. Tom Lane <tgl@sss.pgh.pa.us> 2016-05-29 17:19 pgsql: Fix missing abort checks in pg_backup_directory.c. Tom Lane <tgl@sss.pgh.pa.us> 2016-05-29 17:19 pgsql: Fix missing abort checks in pg_backup_directory.c. 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