mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 01:06:31 -06:00
Show security labels in the reverse engineered SQL for domains. Fixes #1574
This commit is contained in:
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user