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:
commit
7db156629b
@ -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])
|
||||
|
||||
#/*
|
||||
|
Loading…
Reference in New Issue
Block a user