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 6A79252914 for ; Mon, 13 Jun 2005 10:57:54 -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 19446-10 for ; Mon, 13 Jun 2005 13:57:14 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by svr1.postgresql.org (Postfix) with ESMTP id 5205B52926 for ; Mon, 13 Jun 2005 10:57:13 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 68so1193141wri for ; Mon, 13 Jun 2005 06:57:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tOpT6Fc6ZcvHsUjN6jnJHvELYNHhoffNgpdZWmGrgPXANS57A9tW5Hv0upbL9JBVYjpqZvXUGc/ytlM/2tmmDn9u0+H0wU1L8HIxmhdw3t0hbS+C/k/VKBfWVszAx/xpIdmzVBdOBplKb0eIuoFBHAmXSUFKBpRdpWHBO4qOJjk= Received: by 10.54.18.68 with SMTP id 68mr2543364wrr; Mon, 13 Jun 2005 06:57:17 -0700 (PDT) Received: by 10.54.30.45 with HTTP; Mon, 13 Jun 2005 06:57:17 -0700 (PDT) Message-ID: <7104a737050613065754b7f3f4@mail.gmail.com> Date: Mon, 13 Jun 2005 16:57:17 +0300 From: Volkan YAZICI Reply-To: Volkan YAZICI To: Piotr Sulecki Subject: Re: Will libpq 8 PQ*cancel functions work with 7.4 servers? Cc: pgsql-interfaces@postgresql.org In-Reply-To: <42AD47D7.8090006@sybilla.traxelektronik.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42AD47D7.8090006@sybilla.traxelektronik.pl> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.133 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200506/32 X-Sequence-Number: 5600 Hi, On 6/13/05, Piotr Sulecki wrote: > My question is, will the new interface (PQgetCancel / PQcancel / > PQfreeCancel) work with the version 7.4 server? AFAIC, no. > is there a list of libpq changes between 7.4 and 8.0 available anywhere? {{{ [ From: http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces= /libpq/fe-connect.c] Revision 1.289: download - view: text, markup, annotated - select for diffs Sat Oct 30 23:11:26 2004 UTC (7 months, 1 week ago) by tgl Branches: MAIN CVS tags: REL8_0_0BETA5 Diff to previous 1.288: preferred, colored Changes since revision 1.288: +135 -50 lines Invent a new, more thread-safe version of PQrequestCancel, called PQcancel. Use this new function in psql. Implement query cancellation in psql for Windows. Code by Magnus Hagander, documentation and minor editorialization by Tom Lane. }}} Related (colored) diff: http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-co= nnect.c.diff?r1=3D1.288;r2=3D1.289;f=3Dh Regards.