1
1
mirror of https://github.com/dbcli/pgcli.git synced 2024-10-06 10:17:15 +03:00

Merge pull request #297 from nathanjhaveri/fix-slash-d-error

Fix for None dereference on "\d schemaname." with sequence
This commit is contained in:
Amjith Ramanujam 2015-07-25 13:40:25 -07:00
commit 7db156629b

View File

@ -600,6 +600,7 @@ def describe_one_table_details(cur, schema_name, relation_name, oid, verbose):
log.debug(sql)
cur.execute(sql)
result = cur.fetchone()
if result:
status.append("Owned by: %s" % result[0])
#/*