From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: pg_dump: Reduce dependencies on global variables. |
Date: | 2012-02-06 18:06:47 |
Message-ID: | E1RuSxj-0005YX-1Q@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
pg_dump: Reduce dependencies on global variables.
Change various places in the code that are referencing the global
Archive object g_fout to instead reference the Archive object fout
which is already being passed as a parameter. For parallel pg_dump to
work, we're going to need multiple Archive(Handle) objects, so the
real solution here is to pass down the Archive object to everywhere
that it needs to go, but we might as well pick the low-hanging fruit
first.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/622f862868992e3b7ded31d79403a4f63281f44a
Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 66 ++++++++++++++++++++++----------------------
1 files changed, 33 insertions(+), 33 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-02-06 18:15:49 | pgsql: Avoid problems with OID wraparound during WAL replay. |
Previous Message | Tom Lane | 2012-02-06 17:34:25 | pgsql: Add locking around WAL-replay modification of shared-memory vari |