Re: corner case about replication and shutdown

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: corner case about replication and shutdown
Date: 2011-04-01 14:11:09
Message-ID: AANLkTimSumRscgcg7hMzR7ki8u0DkqxJmcnWTTuEd85t@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 31, 2011 at 11:12 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-04-01 14:13:07 Re: Transforming IN (...) to ORs, volatility
Previous Message Robert Haas 2011-04-01 14:06:46 Re: Bug in autovacuum.c?