pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Koh <erickoh@jobsfactory.com>
To: pgsql-php@postgresql.org
Subject: query not aborted upon connection aborted?
Date: Sun, 29 Jun 2003 05:09:21 +0800
Message-ID: <001b01c33db9$8bdcbfd0$0200a8c0@p424> (raw)

Hi,

I'm using http 2.0.40 and postgresql 7.3.2 (redhat 9)

When my php script executes a long-running query and user hits the stop button, the query does not terminate and continues to run its full course. Is this the normal behaviour? Further calls from the same browser window using the same connection does not execute and are queued until the first one terminates. This has led to max_connection reached errors.

My question is, is this the normal postgres/php behaviour, and if so, what is the best way to work around this?

Thanks!

Message-ID: <001b01c33db9$8bdcbfd0$0200a8c0@p424>
Permalink:  ../001b01c33db9$8bdcbfd0$0200a8c0@p424/
Also on:    postgresql.org/message-id/001b01c33db9$8bdcbfd0$0200a8c0@p424

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: erickoh@jobsfactory.com
  Subject: Re: query not aborted upon connection aborted?
  In-Reply-To: <001b01c33db9$8bdcbfd0$0200a8c0@p424>
  References: <001b01c33db9$8bdcbfd0$0200a8c0@p424>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox