diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-05-29 13:18:48 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-05-29 13:18:48 -0400 |
commit | 73f5acce3f5f56189ead7666cf932e52b6c42adb (patch) | |
tree | 0503e2699b9b7178299e7cbfb80f8246c3dda5f3 /src/backend/access/gist/gistxlog.c | |
parent | 937b85805b6e87180bf9e088acfb4ba4e3e3d9bc (diff) | |
download | postgresql-73f5acce3f5f56189ead7666cf932e52b6c42adb.tar.gz postgresql-73f5acce3f5f56189ead7666cf932e52b6c42adb.zip |
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.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions