pgsql: pg_dump: Remove global connection pointer.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_dump: Remove global connection pointer.
Date: 2012-02-16 18:03:12
Message-ID: E1Ry5fk-0000KM-2c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_dump: Remove global connection pointer.

Parallel pg_dump wants to have multiple ArchiveHandle objects, and
therefore multiple PGconns, in play at the same time. This should
be just about the end of the refactoring that we need in order to
make that workable.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/689d0eb7db9514f33f49fd5260462b9ba8331e80

Modified Files
--------------
src/bin/pg_dump/pg_backup.h | 3 +-
src/bin/pg_dump/pg_backup_db.c | 11 ++++++--
src/bin/pg_dump/pg_dump.c | 53 ++++++++++++++++++++-------------------
3 files changed, 37 insertions(+), 30 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-02-16 18:26:20 pgsql: pg_dump: Miscellaneous tightening based on recent refactorings.
Previous Message Robert Haas 2012-02-16 17:10:19 pgsql: Refactor pg_dump.c to avoid duplicating returns-one-row check.