Re: BUG #1302: Vacuumdb and vacuumlo should disable statement_timeout

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alex Koh <alexkoh(at)hotmail(dot)com>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1302: Vacuumdb and vacuumlo should disable statement_timeout
Date: 2004-11-02 14:50:42
Message-ID: 200411021450.iA2EogG18102@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alex Koh wrote:
> I agree with the suggestions to attach it to userids. However, setting the
> statement_timeout in the conf file is good as it will enforce everyone to
> have some timeout. This will be especially useful in web applications.
>
> Anyway, I will use ALTER USER to do it and disable statement_timeout in the
> conf file.

Yep, that's how I would do it. If you want it on in the config file you
should turn it off for super-users.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Berkus 2004-11-02 16:49:08 Re: [pgsql-bugs] Daily digest v1.1281 (14 messages)
Previous Message PostgreSQL Bugs List 2004-11-02 13:46:51 BUG #1303: backend crashes due wrong TCP packet