fix: impersonated role applying superuser settings

This commit is contained in:
steve-chavez
2023-08-09 20:05:22 -05:00
committed by Steve Chavez
parent fbf9bf21c2
commit 5ce020d5bc
4 changed files with 23 additions and 2 deletions
+1
View File
@@ -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;
|]