Fix DROP sql for partitioned table.

This commit is contained in:
eelke 2023-01-30 20:08:24 +01:00
parent 2ff9577d41
commit 61f90668d8
6 changed files with 33 additions and 4 deletions

View file

@ -111,7 +111,18 @@ QString PgClass::aclAllPattern() const
default:
break;
}
return {};
return {};
}
QString PgClass::ddlTypeName() const
{
switch (kind)
{
case RelKind::PartitionedTable: return "PARTITIONED TABLE";
return "TABLE";
default:
return PgNamespaceObject::ddlTypeName();
}
}
QString PgClass::createTableSql() const