We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 461fd8f commit 3ac0759Copy full SHA for 3ac0759
python/plugins/db_manager/db_plugins/postgis/connector.py
@@ -614,7 +614,8 @@ def deleteTable(self, table):
614
if self.isVectorTable(table):
615
sql = u"SELECT DropGeometryTable(%s%s)" % (schema_part, self.quoteString(tablename))
616
elif self.isRasterTable(table):
617
- sql = u"SELECT DropRasterTable(%s%s)" % (schema_part, self.quoteString(tablename))
+ ## Fix #8521: delete raster table and references from raster_columns table
618
+ sql = u"DROP TABLE %s" % self.quoteId(table)
619
else:
620
sql = u"DROP TABLE %s" % self.quoteId(table)
621
self._execute_and_commit(sql)
0 commit comments