How to close a DB connection in postgres-pr?

Probably I am asking a silly question here... but maybe not too silly.

How do I close a connection created by postgres-pr? There seems to be no "close" method anywhere in sight.

Shouldn't there be something like

class Connection
  def close()
    @conn.shutdown
  end
end

class PGConn
  def close()
    @conn.close
  end
end

???

Best regards,
Alexey Verkhovsky

Alexey Verkhovsky wrote:

Probably I am asking a silly question here... but maybe not too silly.

How do I close a connection created by postgres-pr? There seems to be no "close" method anywhere in sight.

Good question. Thanks! It's implemented in 0.3.3.

Regards,

   Michael