Skip to content
Browse files

Update python/plugins/db_manager/db_plugins/

Co-Authored-By: Ailurupoda <>
  • Loading branch information
elpaso and Ailurupoda committed Jan 11, 2019
1 parent 4011a8d commit 0fcb64379f6ae5693667258d235d19251c43f957
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/db_plugins/
@@ -1096,7 +1096,7 @@ def definition(self):
return txt

def getComment(self):
# Function returning the comment of a field if exists
"""Returns the comment for a field"""
tab = self.table()
#SQL Query checking if a comment exists for the field
sql_cpt = u"Select count(*) 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" % (,

0 comments on commit 0fcb643

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