Re: [GENERAL] how to cancel a request in progress ?

From: Jonathan Davis <haj(at)idianet(dot)net>
To: Simon Drabble <simond(at)foxlink(dot)net>, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] how to cancel a request in progress ?
Date: 1999-05-25 18:00:52
Message-ID: 374AE554.D56E0859@idianet.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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).

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brett W. McCoy 1999-05-25 19:06:48 Re: [GENERAL] Full Text Searches
Previous Message Jonathan Davis 1999-05-25 17:39:01 Re: [GENERAL] how to cancel a request in progress ?