1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

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.
This commit is contained in:
Robert Haas
2012-02-07 10:07:02 -05:00
parent a347f96b99
commit 1631598ea2
5 changed files with 218 additions and 270 deletions

File diff suppressed because it is too large Load Diff