]> granicus.if.org Git - postgresql/commit
Allow pg_dumpall to dump roles w/o user passwords
authorSimon Riggs <simon@2ndQuadrant.com>
Tue, 7 Mar 2017 14:00:54 +0000 (22:00 +0800)
committerSimon Riggs <simon@2ndQuadrant.com>
Tue, 7 Mar 2017 14:00:54 +0000 (22:00 +0800)
commit9a83d56b38c870ce47b7651385ff2add583bf136
treeed7e37704c7bec93e6d53e6694cfdbdd6a50bfb3
parent55acfcbffd7d11db8c10cd94ba44bfe5974894e0
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
doc/src/sgml/ref/pg_dumpall.sgml
src/bin/pg_dump/pg_dumpall.c