Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4MEYjA86210 for ; Tue, 22 May 2001 10:34:45 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from sss.pgh.pa.us (sss.pgh.pa.us [216.151.103.158]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4IH0iA78535 for ; Fri, 18 May 2001 13:00:44 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.3/8.11.3) with ESMTP id f4IH0eR20292; Fri, 18 May 2001 13:00:40 -0400 (EDT) To: Shaun Thomas cc: pgsql-admin@postgresql.org Subject: Re: Cost limit. In-reply-to: References: Comments: In-reply-to Shaun Thomas message dated "Fri, 18 May 2001 11:41:52 -0500" Date: Fri, 18 May 2001 13:00:39 -0400 Message-ID: <20289.990205239@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200105/123 X-Sequence-Number: 1472 Shaun Thomas writes: >> Note you could implement such a time limit purely on the client side, >> which might be an easier and more flexible way to go. > That's just it. PHP (our front end) has a 30 second time limit we > have not overridden. But we've found that after the PHP execution stops > in disgust, the postgres thread keeps going until we restart the > postgres back end. Sounds like PHP is not actually trying to cancel the query when it gives up waiting. Anyone care to go in and fix that? regards, tom lane