aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/compress_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_dump/compress_io.c')
-rw-r--r--src/bin/pg_dump/compress_io.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bin/pg_dump/compress_io.c b/src/bin/pg_dump/compress_io.c
index 4cf0935663e..e0ef9cd60ac 100644
--- a/src/bin/pg_dump/compress_io.c
+++ b/src/bin/pg_dump/compress_io.c
@@ -54,7 +54,6 @@
#include "postgres_fe.h"
#include "compress_io.h"
-#include "parallel.h"
#include "pg_backup_utils.h"
/*----------------------
@@ -184,9 +183,6 @@ void
WriteDataToArchive(ArchiveHandle *AH, CompressorState *cs,
const void *data, size_t dLen)
{
- /* Are we aborting? */
- checkAborting(AH);
-
switch (cs->comprAlg)
{
case COMPR_ALG_LIBZ:
@@ -351,9 +347,6 @@ ReadDataFromArchiveZlib(ArchiveHandle *AH, ReadFunc readF)
/* no minimal chunk size for zlib */
while ((cnt = readF(AH, &buf, &buflen)))
{
- /* Are we aborting? */
- checkAborting(AH);
-
zp->next_in = (void *) buf;
zp->avail_in = cnt;
@@ -414,9 +407,6 @@ ReadDataFromArchiveNone(ArchiveHandle *AH, ReadFunc readF)
while ((cnt = readF(AH, &buf, &buflen)))
{
- /* Are we aborting? */
- checkAborting(AH);
-
ahwrite(buf, 1, cnt, AH);
}