(* AUTOR: Ferruccio Guidi <fguidi@cs.unibo.it>
*)
-type connection
+val init : unit -> Postgres.connection
-val init : string -> connection option
+val close : Postgres.connection -> unit
-val close : connection option -> unit
-
-val exec : connection option -> string -> string list list
-
-val quote : string -> string
+val exec : Postgres.connection * (MQITypes.query -> unit) ->
+ MQITypes.table -> MQITypes.columns ->
+ string MQITypes.con_true -> string MQITypes.con_false ->
+ MQITypes.result