X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4DE2ED1E821 for ; Sun, 25 Jan 2004 02:49:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 91105-03 for ; Sat, 24 Jan 2004 22:49:16 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 024FBD1E84A for ; Sat, 24 Jan 2004 22:49:05 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i0P2nGv23653; Sat, 24 Jan 2004 21:49:16 -0500 (EST) From: Bruce Momjian Message-Id: <200401250249.i0P2nGv23653@candle.pha.pa.us> Subject: Re: setting statement_timeout on live postmaster In-Reply-To: <1074301044.5871.32.camel@localhost.localdomain> To: Warren Little Date: Sat, 24 Jan 2004 21:49:16 -0500 (EST) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/194 X-Sequence-Number: 12057 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