pgsql: pg_dump: Remove global Archive pointer. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: pg_dump: Remove global Archive pointer.
Date
Msg-id E1RuTwF-0006XC-BT@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Avoid problems with OID wraparound during WAL replay.
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid throwing ERROR during WAL replay of DROP TABLESPACE.