summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/compress_io.h
diff options
context:
space:
mode:
authorAlvaro Herrera2014-10-14 18:00:55 +0000
committerAlvaro Herrera2014-10-14 18:00:55 +0000
commit0eea8047bf0e15b402b951e383e39236bdfe57d5 (patch)
tree450b0761bb6d674de42e9018ac38c1d5f40e11f3 /src/bin/pg_dump/compress_io.h
parente0d97d77bf0875e4d5cc7dedfe701d9999bf678c (diff)
pg_dump: Reduce use of global variables
Most pg_dump.c global variables, which were passed down individually to dumping routines, are now grouped as members of the new DumpOptions struct, which is used as a local variable and passed down into routines that need it. This helps future development efforts; in particular it is said to enable a mode in which a parallel pg_dump run can output multiple streams, and have them restored in parallel. Also take the opportunity to clean up the pg_dump header files somewhat, to avoid circularity. Author: Joachim Wieland, revised by Álvaro Herrera Reviewed by Peter Eisentraut
Diffstat (limited to 'src/bin/pg_dump/compress_io.h')
-rw-r--r--src/bin/pg_dump/compress_io.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/pg_dump/compress_io.h b/src/bin/pg_dump/compress_io.h
index 713c78b8a79..5a214507e41 100644
--- a/src/bin/pg_dump/compress_io.h
+++ b/src/bin/pg_dump/compress_io.h
@@ -15,7 +15,6 @@
#ifndef __COMPRESS_IO__
#define __COMPRESS_IO__
-#include "postgres_fe.h"
#include "pg_backup_archiver.h"
/* Initial buffer sizes used in zlib compression. */