Thread: pgsql: pg_dump: Remove global Archive pointer.

pgsql: pg_dump: Remove global Archive pointer.

From
Robert Haas
Date:
pg_dump: Remove global Archive pointer.

Instead, everything that needs the Archive object now gets it as a
parameter.  This is necessary infrastructure for parallel pg_dump,
but is also amply justified by the ugliness of the current code
(though a lot more than this is needed to fix that problem).

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3b157cf21dc2c1cd678580a178d05e0c1fbafd9d

Modified Files
--------------
src/bin/pg_dump/common.c    |   56 ++--
src/bin/pg_dump/pg_backup.h |    4 +-
src/bin/pg_dump/pg_dump.c   |  696 +++++++++++++++++++++++--------------------
src/bin/pg_dump/pg_dump.h   |   62 ++--
4 files changed, 434 insertions(+), 384 deletions(-)