Skip to content
Permalink
Browse files

Update travis building

  • Loading branch information
corentin.falcone
corentin.falcone committed Jan 11, 2019
1 parent 7852a7a commit c0dd72ee8b95c06cccb5f9660bf7415362369713
@@ -1133,8 +1133,8 @@ def update(self, new_name, new_type_str=None, new_not_null=None, new_default_str
# Update also a new_comment
new_comment = None
ret = self.table().database().connector.updateTableColumn((self.table().schemaName(), self.table().name),
self.name, new_name, new_type_str, new_not_null,
new_default_str, new_comment)
self.name, new_name, new_type_str,
new_not_null, new_default_str, new_comment)
if ret is not False:
self.table().refreshFields()
return ret
@@ -111,7 +111,7 @@ def generalInfo(self):
if self.table.rowCount is not None:
if abs(self.table.estimatedRowCount - self.table.rowCount) > 1 and \
(self.table.estimatedRowCount > 2 * self.table.rowCount
or self.table.rowCount > 2 * self.table.estimatedRowCount):
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. "
'Consider running <a href="action:vacuumanalyze/run">VACUUM ANALYZE</a>.')))
@@ -281,6 +281,7 @@ def delete(self):
self.deleted.emit()
return ret


class PGVectorTable(PGTable, VectorTable):

def __init__(self, row, db, schema=None):

0 comments on commit c0dd72e

Please sign in to comment.
You can’t perform that action at this time.