Thread: [COMMITTERS] pgsql: Allow pg_dumpall to dump roles w/o user passwords

[COMMITTERS] pgsql: Allow pg_dumpall to dump roles w/o user passwords

From
Simon Riggs
Date:
Allow pg_dumpall to dump roles w/o user passwords

Add new option --no-role-passwords which dumps roles without passwords.
Since we don’t need passwords, we choose to use pg_roles in preference
to pg_authid since access may be restricted for security reasons in
some configrations.

Robins Tharakan and Simon Riggs

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9a83d56b38c870ce47b7651385ff2add583bf136

Modified Files
--------------
doc/src/sgml/ref/pg_dumpall.sgml |  13 ++++
src/bin/pg_dump/pg_dumpall.c     | 132 +++++++++++++++++++++++++--------------
2 files changed, 97 insertions(+), 48 deletions(-)