pg_dump: Remove global Archive pointer.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| 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 |