pgsql: Dump all roles first, then all config settings on roles.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Dump all roles first, then all config settings on roles.
Date: 2011-10-14 18:16:29
Message-ID: E1REmJ3-0002Ct-RO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Dump all roles first, then all config settings on roles.

This way, if a role's config setting uses the name of another role,
the validity of the dump isn't dependent on the order in which those
two roles are dumped.

Code by Phil Sorber, comment by me.

Branch
------
master

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

Modified Files
--------------
src/bin/pg_dump/pg_dumpall.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-10-14 21:24:01 pgsql: Measure the number of all-visible pages for use in index-only sc
Previous Message Robert Haas 2011-10-14 15:40:16 pgsql: Avoid potential relcache leak in objectaddress.c.