File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/extensions/ocsipersist-pgsql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ let open_store store = use_pool @@ fun db ->
100100let make_persistent_worker ~store ~name ~default db =
101101 let query = sprintf " INSERT INTO %s VALUES ( $1 , $2 )
102102 ON CONFLICT ( key ) DO NOTHING" store in
103- (* TODO: compatibility with < 9.5*)
103+ (* NOTE: incompatible with < 9.5 *)
104104 exec db query [name; marshal default] >> Lwt. return {store; name}
105105
106106let make_persistent ~store ~name ~default =
@@ -141,7 +141,7 @@ let find table key = use_pool @@ fun db ->
141141let add table key value = use_pool @@ fun db ->
142142 let query = sprintf " INSERT INTO %s VALUES ( $1 , $2 )
143143 ON CONFLICT ( key ) DO UPDATE SET value = $2 " table
144- (* TODO: compatibility with < 9.5*)
144+ (* NOTE: incompatible with < 9.5 *)
145145 in exec db query [key; marshal value] >> Lwt. return ()
146146
147147let replace_if_exists table key value = use_pool @@ fun db ->
You can’t perform that action at this time.
0 commit comments