mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-03 01:49:41 -05:00
Show security labels in the reverse engineered SQL for domains. Fixes #1574
This commit is contained in:
committed by
Dave Page
parent
d806a9ce9e
commit
406dab069d
@@ -695,6 +695,10 @@ AND relkind != 'c'))"""
|
||||
|
||||
data['constraints'] = res['rows']
|
||||
|
||||
# Get formatted Security Labels
|
||||
if 'seclabels' in data:
|
||||
data.update(parse_sec_labels_from_db(data['seclabels']))
|
||||
|
||||
SQL = render_template("/".join([self.template_path,
|
||||
'create.sql']), data=data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user