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: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1302: Vacuumdb and vacuumlo should disable statement_timeout
Date: 2004-11-02 02:22:52
Message-ID: 200411020222.iA22Mqp20374@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PostgreSQL Bugs List wrote:
>
> The following bug has been logged online:
>
> Bug reference: 1302
> Logged by: Alex Koh
>
> Email address: alexkoh(at)hotmail(dot)com
>
> PostgreSQL version: 7.3.2
>
> Operating system: Linux Redhat 8
>
> Description: Vacuumdb and vacuumlo should disable statement_timeout
>
> Details:
>
> IMHO vacuumdb and vacuumlo should disable statement_timeout before vacuuming
> the database. This should prevent timeouts when vacuuming large tables like
> pg_largeobject.

If you have set statement_timeout globally you should expect such
problems. That parameter is primarily for per-session use or per-user
use using ALTER USER and not to be set for administrators. If you
really want a fix, use ALTER USER to turn it off for the super-user.

--
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 Tom Lane 2004-11-02 03:48:20 Re: BUG #1302: Vacuumdb and vacuumlo should disable statement_timeout
Previous Message PostgreSQL Bugs List 2004-11-02 01:27:19 BUG #1302: Vacuumdb and vacuumlo should disable statement_timeout