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

From Robert Haas
Subject pgsql: pg_dump: Remove global connection pointer.
Date
Msg-id E1Ry5fk-0000KM-2c@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Refactor pg_dump.c to avoid duplicating returns-one-row check.
Next
From: Robert Haas
Date:
Subject: pgsql: pg_dump: Miscellaneous tightening based on recent refactorings.