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

From Robert Haas
Subject pgsql: pg_dump: Move connection-setup code to a separate function.
Date
Msg-id E1RqoEp-0003bQ-2o@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Make bgwriter sleep longer when it has no work to do, to save el
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Initialize the new bgwriterLatch field properly.