Skip to content

Commit 1823669

Browse files
author
Jan Rochel
committed
doc
1 parent f33a396 commit 1823669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extensions/ocsipersist-pgsql/ocsipersist.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ let open_store store = use_pool @@ fun db ->
100100
let 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

106106
let make_persistent ~store ~name ~default =
@@ -141,7 +141,7 @@ let find table key = use_pool @@ fun db ->
141141
let 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

147147
let replace_if_exists table key value = use_pool @@ fun db ->

0 commit comments

Comments
 (0)