Update python/plugins/db_manager/db_plugins/postgis/connector.py

Co-Authored-By: Ailurupoda <akwalith@gmail.com>
This commit is contained in:
Alessandro Pasotti 2019-01-11 10:36:54 +01:00 committed by GitHub
parent 0fcb64379f
commit 4f20f50ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -897,7 +897,6 @@ class PostGisDBConnector(DBConnector):
# comment the column
if comment is not None:
# Add the comment on the field
schema, tablename = self.getSchemaTableName(table)
sql = u"COMMENT ON COLUMN %s.%s.%s is '%s'" % (schema, tablename, column, comment)
self._execute(c, sql)