Postgresql.connection

`?host:string ->
?hostaddr:string ->
?port:string ->
?dbname:string ->
?user:string ->
?password:string ->
?options:string ->
?tty:string ->
?requiressl:string ->
?conninfo:string ->
unit ->
object
method backend_pid : int
method consume_input : unit
method copy_in_channel : Pervasives.in_channel -> unit
method copy_out : (string -> unit) -> unit
method copy_out_channel : Pervasives.out_channel -> unit
method db : string
method describe_prepared : string -> Postgresql.result
method empty_result : Postgresql.result_status -> Postgresql.result
method endcopy : unit
method error_message : string
method escape_bytea : ?pos:int -> ?len:int -> string -> string
method escape_string : ?pos:int -> ?len:int -> string -> string
method exec :
?expect:Postgresql.result_status list ->
?params:string array ->
?binary_params:bool array -> string -> Postgresql.result
method exec_prepared :
?expect:Postgresql.result_status list ->
?params:string array ->
?binary_params:bool array -> string -> Postgresql.result
method finish : unit
method flush : unit
method get_result : Postgresql.result option
method getline :
?pos:int -> ?len:int -> string -> Postgresql.getline_result
method getline_async :
?pos:int -> ?len:int -> string -> Postgresql.getline_async_result
method host : string
method is_busy : bool
method is_nonblocking : bool
method lo_close : Postgresql.large_object -> unit
method lo_creat : Postgresql.oid
method lo_export : Postgresql.oid -> string -> unit
method lo_import : string -> Postgresql.oid
method lo_open : Postgresql.oid -> Postgresql.large_object
method lo_read :
Postgresql.large_object -> ?pos:int -> ?len:int -> string -> int
method lo_read_ba :
Postgresql.large_object ->
?pos:int ->
?len:int ->
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t ->
int
method lo_seek :
?pos:int ->
?whence:Postgresql.seek_cmd -> Postgresql.large_object -> unit
method lo_tell : Postgresql.large_object -> int
method lo_unlink : Postgresql.oid -> unit
method lo_write :
?pos:int -> ?len:int -> string -> Postgresql.large_object -> unit
method lo_write_ba :
?pos:int ->
?len:int ->
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t ->
Postgresql.large_object -> unit
method notifies : (string * int) option
method options : string
method pass : string
method port : string
method prepare : string -> string -> Postgresql.result
method putline : string -> unit
method putnbytes : ?pos:int -> ?len:int -> string -> unit
method request_cancel : unit
method reset : unit
method send_query :
?params:string array -> ?binary_params:bool array -> string -> unit
method set_nonblocking : bool -> unit
method set_notice_processor : (string -> unit) -> unit
method socket : int
method status : Postgresql.connection_status
method try_reset : unit
method tty : string
method user : string
end`