X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_interpreter%2FmQIPostgres.mli;h=afc75b051084c71fd2ad7582ed0eb117b5acec44;hb=3b22e6ed78aa7d1d076734a7e91ef6f2066a4aa9;hp=342c91eaa551e9c50a54e25ea774e6f1922aa85f;hpb=1c7fb836e2af4f2f3d18afd0396701f2094265ff;p=helm.git diff --git a/helm/ocaml/mathql_interpreter/mQIPostgres.mli b/helm/ocaml/mathql_interpreter/mQIPostgres.mli index 342c91eaa..afc75b051 100644 --- a/helm/ocaml/mathql_interpreter/mQIPostgres.mli +++ b/helm/ocaml/mathql_interpreter/mQIPostgres.mli @@ -26,10 +26,13 @@ (* AUTOR: Ferruccio Guidi *) -val init : string -> Postgres.connection option +val init : unit -> Postgres.connection -val close : Postgres.connection option -> unit +val close : Postgres.connection -> unit + +val exec : Postgres.connection -> + MQITypes.table -> MQITypes.columns -> + string MQITypes.con_true -> string MQITypes.con_false -> + MQITypes.result * MQITypes.query -val exec : Postgres.connection option -> string -> string list list -val quote : string -> string