mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
[Reversed Engineered SQL] Security Labels is not available for PostgreSQL <= 9.1
This commit is contained in:
parent
cf170821cb
commit
b41066a6b6
@ -832,6 +832,8 @@ class DatabaseView(PGChildNodeView):
|
||||
return internal_server_error(errormsg=res1)
|
||||
|
||||
# Get Formatted Security Labels
|
||||
if 'seclabels' in result:
|
||||
# Security Labels is not available for PostgreSQL <= 9.1
|
||||
frmtd_sec_labels = parse_sec_labels_from_db(result['seclabels'])
|
||||
result.update(frmtd_sec_labels)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user