pgsql: Dump all roles first, then all config settings on roles. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Dump all roles first, then all config settings on roles.
Date
Msg-id E1REmJ3-0002Ct-RO@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Avoid potential relcache leak in objectaddress.c.
Next
From: Tom Lane
Date:
Subject: pgsql: Measure the number of all-visible pages for use in index-only sc