postgresql/src/bin/pg_dump
Tom Lane 3c8aa6654a 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.
2016-05-29 13:18:48 -04:00
..
po Translation updates 2016-05-09 10:04:41 -04:00
t Do not DROP default roles in pg_dumpall -c 2016-05-24 23:31:55 -04:00
.gitignore Clean up after pg_dump test runs. 2016-05-06 22:28:01 -04:00
common.c In pg_dump, use a bitmap to represent what to include 2016-04-06 21:45:32 -04:00
compress_io.c Fix typos. 2016-03-15 18:06:11 -04:00
compress_io.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
dumputils.c Qualify table usage in dumpTable() and use regclass 2016-05-24 20:10:16 -04:00
dumputils.h In pg_dump, include pg_catalog and extension ACLs, if changed 2016-04-06 21:45:32 -04:00
Makefile Clean up after pg_dump test runs. 2016-05-06 22:28:01 -04:00
nls.mk Translation updates 2016-05-09 10:04:41 -04:00
parallel.c Remove pg_dump/parallel.c's useless "aborting" flag. 2016-05-29 13:00:09 -04:00
parallel.h Fix broken error handling in parallel pg_dump/pg_restore. 2016-05-25 12:40:12 -04:00
pg_backup_archiver.c Lots of comment-fixing, and minor cosmetic cleanup, in pg_dump/parallel.c. 2016-05-28 14:02:11 -04:00
pg_backup_archiver.h Access pg_dump's options structs through Archive struct, not directly. 2016-01-13 17:48:33 -05:00
pg_backup_custom.c pg_dump: Fix inconsistent sscanf() conversions 2016-02-18 20:12:38 -05:00
pg_backup_db.c Make pg_dump error cleanly with -j against hot standby 2016-05-26 22:14:23 +02:00
pg_backup_db.h Make pg_dump error cleanly with -j against hot standby 2016-05-26 22:14:23 +02:00
pg_backup_directory.c Fix missing abort checks in pg_backup_directory.c. 2016-05-29 13:18:48 -04:00
pg_backup_null.c Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
pg_backup_tar.c Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup_utils.c Clean up thread management in parallel pg_dump for Windows. 2016-05-27 12:02:09 -04:00
pg_backup_utils.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_backup.h Make pg_dump error cleanly with -j against hot standby 2016-05-26 22:14:23 +02:00
pg_dump_sort.c Fix improper usage of 'dump' bitmap 2016-04-08 16:30:02 -04:00
pg_dump.c Make pg_dump error cleanly with -j against hot standby 2016-05-26 22:14:23 +02:00
pg_dump.h Only issue LOCK TABLE commands when necessary 2016-05-06 14:06:50 -04:00
pg_dumpall.c Do not DROP default roles in pg_dumpall -c 2016-05-24 23:31:55 -04:00
pg_restore.c pg_dump: Message style improvements 2016-04-25 17:16:59 -04:00