--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "_host_:"
    body: server hostname
  - !ruby/struct:SM::Flow::LI 
    label: "_port_:"
    body: server port number
  - !ruby/struct:SM::Flow::LI 
    label: "_options_:"
    body: backend options (String)
  - !ruby/struct:SM::Flow::LI 
    label: "_tty_:"
    body: tty to print backend debug message <em>(ignored in newer versions of PostgreSQL)</em> (String)
  - !ruby/struct:SM::Flow::LI 
    label: "_dbname_:"
    body: connecting database name
  - !ruby/struct:SM::Flow::LI 
    label: "_login_:"
    body: login user name
  - !ruby/struct:SM::Flow::LI 
    label: "_passwd_:"
    body: login password
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: On failure, it raises a PGError exception.
full_name: PGconn::new
is_singleton: true
name: new
params: |
  PGconn.open(connection_hash) -> PGconn
  PGconn.open(connection_string) -> PGconn
  PGconn.open(host, port, options, tty, dbname, login, passwd) ->  PGconn

visibility: public
