pg_dump: Remove global Archive pointer.

Robert Haas <rhaas@postgresql.org>

Commit: 3b157cf21dc2c1cd678580a178d05e0c1fbafd9d
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-02-06T19:07:55Z
Releases: 9.2.0
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).

Files

PathChange+/−
src/bin/pg_dump/common.c modified +28 −28
src/bin/pg_dump/pg_backup.h modified +2 −2
src/bin/pg_dump/pg_dump.c modified +370 −326
src/bin/pg_dump/pg_dump.h modified +34 −28