Show icons for unique and exclusion constraints in the dependency/dependents panels. Fixes #2033

pull/3/head
Surinder Kumar 2017-01-08 04:11:40 +00:00 committed by Dave Page
parent 879a6bef53
commit 6e14bef801
1 changed files with 2 additions and 2 deletions

View File

@ -497,9 +497,9 @@ class PGChildNodeView(NodeView):
elif type_str[1] == 'p':
type_name = 'primary_key'
elif type_str[1] == 'u':
type_name = 'unique'
type_name = 'unique_constraint'
elif type_str[1] == 'x':
type_name = 'exclude'
type_name = 'exclusion_constraint'
elif type_str[0] == 'A':
# Include only functions
if row['adbin'].startswith('{FUNCEXPR'):