pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Michael Ryan S. Puncia <mpuncia@census.gov.ph>
Cc: pgsql-performance@postgresql.org
Subject: Re: Server process
Date: Tue, 25 May 2004 11:05:37 +0800
Message-ID: <40B2B801.9020201@familyhealth.com.au> (raw)
In-Reply-To: <200405250241.i4P2fMhv001672@mail.census.gov.ph>
References: <200405250241.i4P2fMhv001672@mail.census.gov.ph>

Read the docs on going SET statement_timeout TO ...;

Chris

Michael Ryan S. Puncia wrote:

> 
> 
> Hi,
> 
>  
> 
> How can I automatically kill a process in the database (ex a select or 
> explain) if it exceeds my limit of 2 or 3 mins ..
> 
>  For example : I have a query that already running for 3 or 4 mins I 
> want to kill that process for a reason and return a
> 
> Signal to the user.
> 
>  
> 
> Thanks
> 
> Michael
> 



view thread (2+ messages)

Message-ID: <40B2B801.9020201@familyhealth.com.au>
Permalink:  ../40B2B801.9020201@familyhealth.com.au/
Also on:    postgresql.org/message-id/40B2B801.9020201@familyhealth.com.au

 · 

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-performance@postgresql.org
  Cc: chriskl@familyhealth.com.au, mpuncia@census.gov.ph
  Subject: Re: Server process
  In-Reply-To: <40B2B801.9020201@familyhealth.com.au>
  References: <200405250241.i4P2fMhv001672@mail.census.gov.ph> <40B2B801.9020201@familyhealth.com.au>

* 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