You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql="Select pd.description from pg_description pd, pg_class pc, pg_attribute pa where relname = '%s' and attname = '%s' and pa.attrelid = pc.oid and pd.objoid = pc.oid and pd.objsubid = pa.attnum"% (tab, field)
Copy file name to clipboardexpand all lines: python/plugins/db_manager/dlg_table_properties.py
+7-4
Original file line number
Diff line number
Diff line change
@@ -338,8 +338,10 @@ def deleteIndex(self):
338
338
defcreateComment(self):
339
339
"""Adds a comment to the selected table"""
340
340
try:
341
-
#Using the db connector, executing de SQL query Comment on table
342
-
self.db.connector._execute(None, 'COMMENT ON TABLE "{0}"."{1}" IS E\'{2}\';'.format(self.table.schema().name, self.table.name, self.viewComment.text()))
0 commit comments