pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Ryan S. Puncia <mpuncia@census.gov.ph>
To: pgsql-performance@postgresql.org
Subject: Server process
Date: Tue, 25 May 2004 10:54:46 +0800
Message-ID: <200405250241.i4P2fMhv001672@mail.census.gov.ph> (raw)

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)  latest in thread

Message-ID: <200405250241.i4P2fMhv001672@mail.census.gov.ph>
Permalink:  ../200405250241.i4P2fMhv001672@mail.census.gov.ph/
Also on:    postgresql.org/message-id/200405250241.i4P2fMhv001672@mail.census.gov.ph

 · 

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: mpuncia@census.gov.ph
  Subject: Re: Server process
  In-Reply-To: <200405250241.i4P2fMhv001672@mail.census.gov.ph>
  References: <200405250241.i4P2fMhv001672@mail.census.gov.ph>

* 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