Class Postgres.connection


class connection : string -> object .. end

method internal : Connection.t
method close : unit
method may_reset : unit
method reset : unit
method notification : (string * int) option
method set_notice_callback : (string -> unit) -> unit
method db : string
method user : string
method pass : string
method host : string
method port : string
method tty : string
method options : string
method backend : int
method socket : int
method empty_result : Result.status -> result
method exec : string -> result
method send : string -> unit
method get_result : result option
method exec_expect : string -> Result.status list -> result
method getline : string -> int -> int -> int
method getline_async : string -> int -> int -> int
method putline : string -> unit
method putnbytes : string -> int -> int -> unit
method endcopy : unit
method copy_out : (string -> unit) -> unit
method copy_out_channel : Pervasives.out_channel -> unit
method copy_in_channel : Pervasives.in_channel -> unit
method set_nonblocking : bool -> unit
method is_nonblocking : bool
method consume_input : unit
method is_busy : bool
method flush : unit
method request_cancel : unit
method lo_create : LargeObjects.oid
method lo_import : string -> LargeObjects.oid
method lo_export : LargeObjects.oid -> string -> unit
method lo_open : LargeObjects.oid -> LargeObjects.t
method lo_write : LargeObjects.t -> string -> int -> int -> unit
method lo_write_string : LargeObjects.t -> string -> unit
method lo_read : LargeObjects.t -> string -> int -> int -> int
method lo_seek : LargeObjects.t -> int -> unit
method lo_tell : LargeObjects.t -> int
method lo_close : LargeObjects.t -> unit
method lo_unlink : LargeObjects.oid -> unit