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());
20 printf("%s\n", $c->errorMessage);
25 object(pq\Result)#%d (7) {
29 string(11) "FATAL_ERROR"
31 string(47) "ERROR: canceling statement due to user request"
41 ERROR: canceling statement due to user request