mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Update building
This commit is contained in:
parent
94784a5cf8
commit
7852a7a71a
@ -1140,7 +1140,6 @@ class TableField(TableSubItemObject):
|
||||
return ret
|
||||
|
||||
|
||||
|
||||
class TableConstraint(TableSubItemObject):
|
||||
|
||||
""" class that represents a constraint of a table (relation) """
|
||||
|
@ -899,7 +899,7 @@ class PostGisDBConnector(DBConnector):
|
||||
if comment is not None:
|
||||
schema, tablename = self.getSchemaTableName(table)
|
||||
sql = u"COMMENT ON COLUMN %s.%s.%s is '%s'" % (schema, tablename, column, comment)
|
||||
self._execute(c, sql)
|
||||
self._execute(c, sql)
|
||||
|
||||
self._commit()
|
||||
|
||||
|
@ -110,7 +110,7 @@ class PGTableInfo(TableInfo):
|
||||
if not self.table.isView:
|
||||
if self.table.rowCount is not None:
|
||||
if abs(self.table.estimatedRowCount - self.table.rowCount) > 1 and \
|
||||
(self.table.estimatedRowCount > 2 * self.table.rowCount
|
||||
(self.table.estimatedRowCount > 2 * self.table.rowCount
|
||||
or self.table.rowCount > 2 * self.table.estimatedRowCount):
|
||||
ret.append(HtmlParagraph(QApplication.translate("DBManagerPlugin",
|
||||
"<warning> There's a significant difference between estimated and real row count. "
|
||||
|
@ -281,7 +281,6 @@ class PGTable(Table):
|
||||
self.deleted.emit()
|
||||
return ret
|
||||
|
||||
|
||||
class PGVectorTable(PGTable, VectorTable):
|
||||
|
||||
def __init__(self, row, db, schema=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user