Make PgAuthId inherit PgServerObject and related changes.
This commit is contained in:
parent
c2c01cf431
commit
0b6c1a8544
8 changed files with 33 additions and 16 deletions
|
|
@ -17,8 +17,10 @@ std::string PgAuthIdContainer::getLoadQuery() const
|
|||
PgAuthId PgAuthIdContainer::loadElem(const Pgsql::Row &row)
|
||||
{
|
||||
Pgsql::Col col(row);
|
||||
PgAuthId v;
|
||||
col >> v.oid >> v.name >> v.super >> v.inherit >> v.createRole >> v.createDB
|
||||
Oid oid = col.nextValue();
|
||||
QString name = col.nextValue();
|
||||
PgAuthId v(m_catalog, oid, name);
|
||||
col >> v.super >> v.inherit >> v.createRole >> v.createDB
|
||||
>> v.canlogin >> v.replication >> v.connLimit >> v.validUntil;
|
||||
if (minimumVersion(90500))
|
||||
col >> v.bypassRls;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue