(PHP 4 CVS only)
pg_cancel_query() cancel asynchronous query sent by pg_send_query(). You cannot cancel query executed by pg_query().
See also pg_send_query(), pg_cancel_result() and pg_connection_busy()