pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedServer process
2+ messages / 2 participants
[nested] [flat]
* Server process
@ 2004-05-25 02:54 Michael Ryan S. Puncia <mpuncia@census.gov.ph>
2004-05-25 03:05 ` Re: Server process Christopher Kings-Lynne <chriskl@familyhealth.com.au>
0 siblings, 1 reply; 2+ messages in thread
From: Michael Ryan S. Puncia @ 2004-05-25 02:54 UTC (permalink / raw)
To: pgsql-performance
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Server process
2004-05-25 02:54 Server process Michael Ryan S. Puncia <mpuncia@census.gov.ph>
@ 2004-05-25 03:05 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Kings-Lynne @ 2004-05-25 03:05 UTC (permalink / raw)
To: Michael Ryan S. Puncia <mpuncia@census.gov.ph>; +Cc: pgsql-performance
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
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-05-25 03:05 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-25 02:54 Server process Michael Ryan S. Puncia <mpuncia@census.gov.ph>
2004-05-25 03:05 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
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