Re: Perl DBI::Pg - Stop button

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Perl DBI::Pg - Stop button
Дата
Msg-id 200305070733.00052.dev@archonet.com
обсуждение исходный текст
Ответ на Re: Perl DBI::Pg - Stop button  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Perl DBI::Pg - Stop button  (Dennis Gearon <gearond@cvc.net>)
Re: Perl DBI::Pg - Stop button  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-general
On Wednesday 07 May 2003 3:55 am, Tom Lane wrote:
> Mr Mat psql-mail <psql-mail@freeuk.com> writes:
> > Whats the best way to terminate a query when the user presses the stop
> > button?
>
> Send a cancel request.
>
> I don't know whether the DBI/DBD stack supports that though :-(

I think the thrust of Matt's question was whether there is any way to know
when the user presses "stop" in their browser from the server end.
Unfortunately, since HTTP is a stateless protocol, the short answer is no.

This is of course simple if you have a java applet sitting on your page
connecting to your server - it can signal out of band.

[Not often I follow-up a post by Tom ;-]
--
  Richard Huxton


В списке pgsql-general по дате отправления:

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: select offset by alphabetical reference
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Cancelling a command.