void pq\Connection::reset()

Attempt to reset a possibly broken connection to a working state.

Params:

None.

Throws:

Example:

<?php

if ($connection->status != pq\Connection::OK) {
    $connection->reset();
}

?>