Re: corner case about replication and shutdown - Mailing list pgsql-hackers

From Robert Haas
Subject Re: corner case about replication and shutdown
Date
Msg-id AANLkTimSumRscgcg7hMzR7ki8u0DkqxJmcnWTTuEd85t@mail.gmail.com
Whole thread Raw
In response to Re: corner case about replication and shutdown  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: corner case about replication and shutdown  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Thu, Mar 31, 2011 at 11:12 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Another simple fix is to make walsender send SIGUSR1 to postmaster
> so that it calls PostmasterStateMachine() in sigusr1_handler(), when it
> marks itself as walsender. The attached patch does this. Thought?

That looks OK to me.  Have you tested it?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Bug in autovacuum.c?
Next
From: Robert Haas
Date:
Subject: Re: Transforming IN (...) to ORs, volatility