4 <?php include "_skipif.inc"; ?>
11 $c = new pq\Connection(PQ_DSN);
13 $x = new pq\Cancel($c);
15 $c->execAsync("SELECT pg_sleep(2)");
19 var_dump($c->getResult());
25 object(pq\Result)#%d (6) {
29 string(47) "ERROR: canceling statement due to user request"