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:
eelke 2019-08-10 14:18:01 +02:00
parent 68922fdae8
commit 70b842597c

View file

@ -10,7 +10,7 @@ std::string PgAuthIdContainer::getLoadQuery() const
result += ", rolbypassrls";
result += "\n"
"FROM pg_authid";
"FROM pg_roles";
return result;
}