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