pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
setting statement_timeout on live postmaster
2+ messages / 2 participants
[nested] [flat]

* setting statement_timeout on live postmaster
@ 2004-01-17 00:57  Warren Little <wlittle@securitylending.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Warren Little @ 2004-01-17 00:57 UTC (permalink / raw)
  To: pgsql-admin

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

-- 
Warren Little
Senior Vice President
Secondary Marketing
Security Lending Wholesale, LC
www.securitylending.com
Tel: 866-369-7763
Fax: 866-849-8082



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: setting statement_timeout on live postmaster
@ 2004-01-25 02:49  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Warren Little <wlittle@securitylending.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2004-01-25 02:49 UTC (permalink / raw)
  To: Warren Little <wlittle@securitylending.com>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-01-25 02:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-01-17 00:57 setting statement_timeout on live postmaster Warren Little <wlittle@securitylending.com>
2004-01-25 02:49 ` Bruce Momjian <pgman@candle.pha.pa.us>

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