"surabhi.ahuja" <surabhi.ahuja@xxxxxxxxxxx> writes: > i have the following peice of code, which is meant for cancelling > queries in between > [ big chunk of Java code ] You'd be more likely to find a knowledgeable answer on the pgsql-jdbc mailing list. regards, tom lane