string ->
object
  method backend : int
  method close : unit
  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 empty_result : Postgres.Result.status -> Postgres.result
  method endcopy : unit
  method exec : string -> Postgres.result
  method exec_expect :
    string -> Postgres.Result.status list -> Postgres.result
  method flush : unit
  method get_result : Postgres.result option
  method getline : string -> int -> int -> int
  method getline_async : string -> int -> int -> int
  method host : string
  method internal : Postgres.Connection.t
  method is_busy : bool
  method is_nonblocking : bool
  method lo_close : Postgres.LargeObjects.t -> unit
  method lo_create : Postgres.LargeObjects.oid
  method lo_export : Postgres.LargeObjects.oid -> string -> unit
  method lo_import : string -> Postgres.LargeObjects.oid
  method lo_open : Postgres.LargeObjects.oid -> Postgres.LargeObjects.t
  method lo_read : Postgres.LargeObjects.t -> string -> int -> int -> int
  method lo_seek : Postgres.LargeObjects.t -> int -> unit
  method lo_tell : Postgres.LargeObjects.t -> int
  method lo_unlink : Postgres.LargeObjects.oid -> unit
  method lo_write : Postgres.LargeObjects.t -> string -> int -> int -> unit
  method lo_write_string : Postgres.LargeObjects.t -> string -> unit
  method may_reset : unit
  method notification : (string * int) option
  method options : string
  method pass : string
  method port : string
  method putline : string -> unit
  method putnbytes : string -> int -> int -> unit
  method request_cancel : unit
  method reset : unit
  method send : string -> unit
  method set_nonblocking : bool -> unit
  method set_notice_callback : (string -> unit) -> unit
  method socket : int
  method tty : string
  method user : string
end