fix: impersonated role applying superuser settings
This commit is contained in:
committed by
Steve Chavez
parent
fbf9bf21c2
commit
5ce020d5bc
@@ -156,6 +156,7 @@ queryRoleSettings prepared =
|
||||
i.value as iso_lvl,
|
||||
array_agg(row(kv.key, kv.value)) filter (where key <> 'default_transation_isolation') as role_settings
|
||||
from kv_settings kv
|
||||
join pg_settings ps on ps.name = kv.key and ps.context = 'user'
|
||||
left join iso_setting i on i.rolname = kv.rolname
|
||||
group by kv.rolname, i.value;
|
||||
|]
|
||||
|
||||
Reference in New Issue
Block a user