pg_dump: Further reduce reliance on global variables.

Robert Haas <rhaas@postgresql.org>

Commit: 1631598ea204a3b05104f25d008b510ff5a5c94a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-02-07T15:07:02Z
Releases: 9.2.0
pg_dump: Further reduce reliance on global variables.

This is another round of refactoring to make things simpler for parallel
pg_dump.  pg_dump.c now issues SQL queries through the relevant Archive
object, rather than relying on the global variable g_conn.  This commit
isn't quite enough to get rid of g_conn entirely, but it makes a big
dent in its utilization and, along the way, manages to be slightly less
code than before.

Files