Make PgAuthId inherit PgServerObject and related changes.

This commit is contained in:
eelke 2018-12-25 16:39:58 +01:00
parent c2c01cf431
commit 0b6c1a8544
8 changed files with 33 additions and 16 deletions

View file

@ -32,7 +32,7 @@ QString getRoleNameFromOid(const PgDatabaseCatalog &cat, Oid oid)
if (auth_ids) {
const PgAuthId* auth_id = auth_ids->getByKey(oid);
if (auth_id) {
name = auth_id->name;
name = auth_id->objectName();
}
}
return name;