Read from pg_roles as only superusers can read pg_authid
Contents is same except password is masked. Password does not seem very important to view as it is encrypted anyway. Close #53
This commit is contained in:
parent
68922fdae8
commit
70b842597c
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ std::string PgAuthIdContainer::getLoadQuery() const
|
|||
result += ", rolbypassrls";
|
||||
|
||||
result += "\n"
|
||||
"FROM pg_authid";
|
||||
"FROM pg_roles";
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue