Re: deadlock_timeout and pg_ctl reload

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
Cc: "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: deadlock_timeout and pg_ctl reload
Date: 2003-07-22 01:59:41
Message-ID: 200307220159.h6M1xfe11914@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Stephan Szabo wrote:
>
> On Mon, 21 Jul 2003, A.Bhuvaneswaran wrote:
>
> > I am using pgsql 7.3.2.
> >
> > If we change the deadlock_timeout value in postgresql.conf and say pg_ctl
> > reload, the new value is not taken affect. But any other changes like,
> > datestyle, log_connection, log_pid, etc are taken affect immediately when
> > we say pg_ctl reload. When we restart the server, the changed
> > deadlock_timeout value is taken affect.
>
> 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. A restart would get the new values, or should.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-07-22 04:37:49 Re: deadlock_timeout and pg_ctl reload
Previous Message Bruce Momjian 2003-07-21 20:52:41 Re: [GENERAL] Backwards index scan