Re: setting statement_timeout on live postmaster

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: setting statement_timeout on live postmaster
Дата
Msg-id 200401250249.i0P2nGv23653@candle.pha.pa.us
обсуждение исходный текст
Ответ на setting statement_timeout on live postmaster  (Warren Little <wlittle@securitylending.com>)
Список 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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Reece Hart
Дата:
Сообщение: Re: "mirroring" a table - PostgreSQL 7.3.2
Следующее
От: "C. Bensend"
Дата:
Сообщение: Re: "mirroring" a table - PostgreSQL 7.3.2