pgsql: pg_dump: Remove global Archive pointer.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_dump: Remove global Archive pointer.
Date: 2012-02-06 19:09:19
Message-ID: E1RuTwF-0006XC-BT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-02-06 19:44:53 pgsql: Avoid throwing ERROR during WAL replay of DROP TABLESPACE.
Previous Message Tom Lane 2012-02-06 18:15:49 pgsql: Avoid problems with OID wraparound during WAL replay.