The SQL tab for a table now also shares the grant/revoke statements for that table (but not yet any column level grants).

This commit is contained in:
eelke 2018-12-27 12:07:19 +01:00
parent 93687df959
commit 4ec4e02411
3 changed files with 12 additions and 0 deletions

View file

@ -88,6 +88,16 @@ QString PgClass::typeName() const
throw std::runtime_error("Unexpected value in PgClass::typeName()");
}
QString PgClass::aclAllPattern() const
{
switch (kind) {
case RelKind::Table: return "arwdDxt";
default:
break;
}
return {};
}
QString PgClass::createTableSql() const
{
QString sql;