Re: Will libpq 8 PQ*cancel functions work with 7.4 servers? - Mailing list pgsql-interfaces

From Magnus Hagander
Subject Re: Will libpq 8 PQ*cancel functions work with 7.4 servers?
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C7665@algol.sollentuna.se
Whole thread Raw
In response to Will libpq 8 PQ*cancel functions work with 7.4 servers?  (Piotr Sulecki <Piotr.Sulecki@sybilla.traxelektronik.pl>)
List pgsql-interfaces
> 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).

I beleive it should. It requires the new libpq library on all machines
you're running it on, but there was no change in the client/server
communications protocol.

//Magnus


pgsql-interfaces by date:

Previous
From: Volkan YAZICI
Date:
Subject: Re: Will libpq 8 PQ*cancel functions work with 7.4 servers?
Next
From: Volkan YAZICI
Date:
Subject: Re: Will libpq 8 PQ*cancel functions work with 7.4 servers?