Re: How to kick out automatically stuck in queries

From: Kris Jurka <books(at)ejurka(dot)com>
To: Együd Csaba <csegyud(at)vnet(dot)hu>
Cc: "Pgsql-General(at)Postgresql(dot)Org (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to kick out automatically stuck in queries
Date: 2004-02-02 09:13:46
Message-ID: Pine.LNX.4.33.0402020410200.11786-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2 Feb 2004, [iso-8859-2] Egyd Csaba wrote:

> Hi All,
> I'm wonder if there is any possibility to kick out automatically stuck in
> queries after say 10 minutes or so?
> I mean some kind of queries which calls eg. buggy functions with dead loops
> or something similar.
> Time to time I face such kind of problems which are solved automatically
> after some hours/days.
>
> Is there any options in config files or other settings to shorten this time?

See the statement_timeout config parameter.

http://www.postgresql.org/docs/7.3/static/runtime-config.html

Kris Jurka

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Együd Csaba 2004-02-02 09:29:09 Re: How to kick out automatically stuck in queries
Previous Message Michal Hlavac 2004-02-02 08:37:39 Array in stored procedure