Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v7.0.0) is shown here.
These similar methods exist in v7.1.3.2:
reconnect!()
public
Close then reopen the connection.
Show source
def reconnect!
@lock.synchronize do
super
@connection.reset
configure_connection
reload_type_map
rescue PG::ConnectionBad
connect
end
end