Re: Will libpq 8 PQ*cancel functions work with 7.4 servers?

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Piotr Sulecki" <Piotr(dot)Sulecki(at)sybilla(dot)traxelektronik(dot)pl>, <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Will libpq 8 PQ*cancel functions work with 7.4 servers?
Date: 2005-06-13 14:16:02
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7665@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Volkan YAZICI 2005-06-13 14:23:05 Re: Will libpq 8 PQ*cancel functions work with 7.4 servers?
Previous Message Piotr Sulecki 2005-06-13 14:08:20 Re: Will libpq 8 PQ*cancel functions work with 7.4 servers?