diff options
Diffstat (limited to 'src/bin/pg_dump/pg_backup_directory.c')
-rw-r--r-- | src/bin/pg_dump/pg_backup_directory.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/bin/pg_dump/pg_backup_directory.c b/src/bin/pg_dump/pg_backup_directory.c index 22d896c41cc..a809a1b2bb8 100644 --- a/src/bin/pg_dump/pg_backup_directory.c +++ b/src/bin/pg_dump/pg_backup_directory.c @@ -356,9 +356,6 @@ _WriteData(ArchiveHandle *AH, const void *data, size_t dLen) { lclContext *ctx = (lclContext *) AH->formatData; - /* Are we aborting? */ - checkAborting(AH); - if (dLen > 0 && cfwrite(data, dLen, ctx->dataFH) != dLen) WRITE_ERROR_EXIT; @@ -407,9 +404,6 @@ _PrintFileData(ArchiveHandle *AH, char *filename) while ((cnt = cfread(buf, buflen, cfp))) { - /* Are we aborting? */ - checkAborting(AH); - ahwrite(buf, 1, cnt, AH); } @@ -529,9 +523,6 @@ _WriteBuf(ArchiveHandle *AH, const void *buf, size_t len) { lclContext *ctx = (lclContext *) AH->formatData; - /* Are we aborting? */ - checkAborting(AH); - if (cfwrite(buf, len, ctx->dataFH) != len) WRITE_ERROR_EXIT; @@ -548,9 +539,6 @@ _ReadBuf(ArchiveHandle *AH, void *buf, size_t len) { lclContext *ctx = (lclContext *) AH->formatData; - /* Are we aborting? */ - checkAborting(AH); - /* * If there was an I/O error, we already exited in cfread(), so here we * exit on short reads. |