Обсуждение: pgsql: pg_dump: Remove global connection pointer.

Поиск
Список
Период
Сортировка

pgsql: pg_dump: Remove global connection pointer.

От
Robert Haas
Дата:
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(-)