You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file. From versio
25
25
- If the schema cache fails to reload, PostgREST will no longer stop serving requests and will continue doing so in a "best effort" basis by @mkleczek in #4873#4869
26
26
- Stop reporting 503s errors unnecessarily while the schema cache is loading at startup by @mkleczek in #4880
27
27
- Fix responding with `Something went wrong` on Admin server when under EMFILE by @mkleczek in #5077
28
+
- Fix schema cache dump missing RPC transaction isolation level by @taimoorzaeem in #5079
-- need to define JSON manually bc SQL.IsolationLevel doesn't have a JSON instance(and we can't define one for that type without getting a compiler error)
67
-
instanceJSON.ToJSONRoutinewhere
68
-
toJSON (Function sch nam desc params ret vol hasVar _ sets) =JSON.object
69
-
[
70
-
"pdSchema".= sch
71
-
, "pdName".= nam
72
-
, "pdDescription".= desc
73
-
, "pdParams".=JSON.toJSON params
74
-
, "pdReturnType".=JSON.toJSON ret
75
-
, "pdVolatility".=JSON.toJSON vol
76
-
, "pdHasVariadic".=JSON.toJSON hasVar
77
-
, "pdFuncSettings".=JSON.toJSON sets
78
-
]
65
+
deriving (Eq, Show, Generic, JSON.ToJSON)
66
+
67
+
-- SQL.IsolationLevel doesn't have a default ToJSON instance, so we derive it.
0 commit comments