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).