X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B6BAA52813 for ; Mon, 13 Jun 2005 05:46:49 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63476-08 for ; Mon, 13 Jun 2005 08:46:41 +0000 (GMT) Received: from Sybilla.traxelektronik.pl (vr13.internetdsl.tpnet.pl [80.55.173.13]) by svr1.postgresql.org (Postfix) with ESMTP id 7543852809 for ; Mon, 13 Jun 2005 05:46:39 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by Sybilla.traxelektronik.pl (Postfix) with ESMTP id 79478288E57 for ; Mon, 13 Jun 2005 10:46:39 +0200 (CEST) Received: from Sybilla.traxelektronik.pl ([127.0.0.1]) by localhost (sybilla.traxelektronik.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09515-06 for ; Mon, 13 Jun 2005 10:46:30 +0200 (CEST) Received: from [192.168.0.53] (charon [80.55.173.14]) by Sybilla.traxelektronik.pl (Postfix) with ESMTP id 40686288E56 for ; Mon, 13 Jun 2005 10:46:30 +0200 (CEST) Message-ID: <42AD47D7.8090006@sybilla.traxelektronik.pl> Date: Mon, 13 Jun 2005 10:46:15 +0200 From: Piotr Sulecki User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Will libpq 8 PQ*cancel functions work with 7.4 servers? X-Enigmail-Version: 0.91.0.0 OpenPGP: id=DB9D2140 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at traxelektronik.pl X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200506/31 X-Sequence-Number: 5599 Ave! I'm porting an X application using asynchronous libpq calls from libpq version 7.4 to version 8.0. One of the things I have to change is the way of cancelling the queries (the old way, using PQrequestCancel, is marked as deprecated). My question is, will the new interface (PQgetCancel / PQcancel / PQfreeCancel) work with the version 7.4 server? I'd rather not migrate the server to 8.0 right now, it's a long and painful process (the database holds about 14 millions tuples). Also, is there a list of libpq changes between 7.4 and 8.0 available anywhere? Regards, Piotr Sulecki.