From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Warren Little <wlittle@securitylending.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: setting statement_timeout on live postmaster
Date: Sat, 24 Jan 2004 21:49:16 -0500 (EST)
Message-ID: <200401250249.i0P2nGv23653@candle.pha.pa.us> (raw)
In-Reply-To: <1074301044.5871.32.camel@localhost.localdomain>
Warren Little wrote:
> Is there anyway to modify the statement_timeout value set
> in postgresql.conf we creating a connection?
> I would like to have the value set to something like 60 seconds on a
> regular basis but my vacuumdb statements run longer and timeout without
> completing the vacuum
Sure, use SET statement_timeout = 60000 in your session before the vacuum.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, wlittle@securitylending.com
Subject: Re: setting statement_timeout on live postmaster
In-Reply-To: <200401250249.i0P2nGv23653@candle.pha.pa.us>
References: <1074301044.5871.32.camel@localhost.localdomain> <200401250249.i0P2nGv23653@candle.pha.pa.us>
* 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