Re: deadlock_timeout and pg_ctl reload

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: deadlock_timeout and pg_ctl reload
Дата
Msg-id 3256.1058848669@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: deadlock_timeout and pg_ctl reload  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Stephan Szabo wrote:
>> It looks like deadlock_timeout is set PGC_POSTMASTER so it's not
>> supposed to be reread on SIGHUP (reload) but only on postmaster start.

> I think it doesn't reload because we want to have the same timeouts for
> all backends, and reload doesn't happen at the same instant for all
> backend.

Yeah, I've forgotten the details, but I'm pretty sure we were worried
about race conditions or missed timeouts of some sort if we allowed
deadlock_timeout to change on-the-fly.  Try digging in the archives
if you want the whole scoop.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: deadlock_timeout and pg_ctl reload
Следующее
От: Alex Rodin
Дата:
Сообщение: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1