Re: [GENERAL] how to cancel a request in progress ? - Mailing list pgsql-general

From Jonathan Davis
Subject Re: [GENERAL] how to cancel a request in progress ?
Date
Msg-id 374AE554.D56E0859@idianet.net
Whole thread Raw
In response to Re: [GENERAL] how to cancel a request in progress ?  (Simon Drabble <simond@foxlink.net>)
Responses Re: [GENERAL] how to cancel a request in progress ?  (Simon Drabble <simond@foxlink.net>)
List pgsql-general
Jonathan Davis wrote:

> Simon Drabble wrote:
>
> > On Tue, 25 May 1999, Jonathan Davis wrote:
> >
> > > hello all
> > >
> > > is this possible to cancel a request in progress ?
> > >
> > >
> >
> > If you are using the interactive monitor, psql, try ctrl-c.
> >
> > If you are using the libpq or other interface, then it becomes much more
> > application specific, i.e. you might have to kill off the app.
> >
>
> but how do you kill a request  in progress?
>
> >
> > Simon.
> >
>
> I 'm using the libpq,.

it is possible by :  PQrequestCancel  but you must use the  Asynchronous
Query Processing
(PQsendQuery/PQgetResult).




pgsql-general by date:

Previous
From: Simon Drabble
Date:
Subject: Re: [GENERAL] how to cancel a request in progress ?
Next
From: Simon Drabble
Date:
Subject: Re: [GENERAL] how to cancel a request in progress ?