fix: unnecessary set default_transaction_isolation
This commit is contained in:
committed by
Steve Chavez
parent
79077c873f
commit
1e711051da
@@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- #2939, Fix `count=exact` not being included in `Preference-Applied` - @steve-chavez
|
- #2939, Fix `count=exact` not being included in `Preference-Applied` - @steve-chavez
|
||||||
- #2800, Fix not including to-one embed resources that had a `NULL` value in any of the selected fields when doing null filtering on them - @laurenceisla
|
- #2800, Fix not including to-one embed resources that had a `NULL` value in any of the selected fields when doing null filtering on them - @laurenceisla
|
||||||
- #2846, Fix error when requesting `Prefer: count=<type>` and doing null filtering on embedded resources - @laurenceisla
|
- #2846, Fix error when requesting `Prefer: count=<type>` and doing null filtering on embedded resources - @laurenceisla
|
||||||
|
- #2846, Fix setting `default_transaction_isolation` unnecessarily - @steve-chavez
|
||||||
|
|
||||||
## [11.2.0] - 2023-08-10
|
## [11.2.0] - 2023-08-10
|
||||||
|
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ queryRoleSettings prepared =
|
|||||||
select
|
select
|
||||||
kv.rolname,
|
kv.rolname,
|
||||||
i.value as iso_lvl,
|
i.value as iso_lvl,
|
||||||
array_agg(row(kv.key, kv.value)) filter (where key <> 'default_transation_isolation') as role_settings
|
coalesce(array_agg(row(kv.key, kv.value)) filter (where key <> 'default_transaction_isolation'), '{}') as role_settings
|
||||||
from kv_settings kv
|
from kv_settings kv
|
||||||
join pg_settings ps on ps.name = kv.key and ps.context = 'user'
|
join pg_settings ps on ps.name = kv.key and ps.context = 'user'
|
||||||
left join iso_setting i on i.rolname = kv.rolname
|
left join iso_setting i on i.rolname = kv.rolname
|
||||||
|
|||||||
Reference in New Issue
Block a user