2 restore statements on reset
15 $c = new pq\Connection(PQ_DSN);
17 $s = $c->prepare("test", "SELECT 1");
18 $c->on(pq\Connection::EVENT_RESET, function($conn) {
19 printf("Connection was reset\n");
22 var_dump($s->exec()->fetchRow());
26 // Fatal error: Uncaught exception 'pq\Exception\DomainException' with message 'ERROR: prepared statement "test" does not exist'
27 var_dump($s->exec()->fetchRow());