Обсуждение: pgsql: pg_dump: Move connection-setup code to a separate function.

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

pgsql: pg_dump: Move connection-setup code to a separate function.

От
Robert Haas
Дата:
pg_dump: Move connection-setup code to a separate function.

Parallel dump will need to repeat these steps for each new connection,
so it's better to have this logic in its own function.

Extracted (with some changes) from a much larger patch
by Joachim Wieland.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e43166a557d5f28aa66fa15be12fdc6a8ebe380a

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  139 ++++++++++++++++++++++++---------------------
1 files changed, 74 insertions(+), 65 deletions(-)