Fix DROP sql for partitioned table.
This commit is contained in:
parent
2ff9577d41
commit
61f90668d8
6 changed files with 33 additions and 4 deletions
|
|
@ -93,7 +93,7 @@ QString PgServerObject::aclAllPattern() const
|
|||
|
||||
QString PgServerObject::dropSql() const
|
||||
{
|
||||
return "DROP " % typeName() % " " % fullyQualifiedQuotedObjectName() % ";";
|
||||
return "DROP " % ddlTypeName() % " " % fullyQualifiedQuotedObjectName() % ";";
|
||||
}
|
||||
|
||||
QString PgServerObject::createSql() const
|
||||
|
|
@ -110,3 +110,8 @@ QString PgServerObject::commentSql() const
|
|||
+ " IS " + escapeLiteral(description) + ";";
|
||||
}
|
||||
|
||||
QString PgServerObject::ddlTypeName() const
|
||||
{
|
||||
return typeName();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue