]> granicus.if.org Git - postgresql/commit
Dump all roles first, then all config settings on roles.
authorRobert Haas <rhaas@postgresql.org>
Fri, 14 Oct 2011 18:16:02 +0000 (14:16 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 14 Oct 2011 18:16:02 +0000 (14:16 -0400)
commitdea95c7a7beb5ef66ce89269dd0e84d0c26e5523
treec5783f6b36de5919b793ce353d6a83f255c1ff53
parent393e828e31a27845def4c3ff20cdfbee5cec1da9
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.
src/bin/pg_dump/pg_dumpall.c