Re: Don't wake up to check trigger file if none is configured

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Don't wake up to check trigger file if none is configured
Date: 2019-01-31 07:09:56
Message-ID: 20190131070956.GE13429@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 26, 2018 at 03:24:01PM +0900, Michael Paquier wrote:
> It seems to me that the comment on top of WaitLatch should be clearer
> about that, and that the current state leads to confusion. Another
> thing coming to my mind is that I think it would be useful to make the
> timeout configurable so as instances can react more quickly in the
> case of a sudden death of the WAL receiver (or to check faster for a
> trigger file if the HA application is to lazy to send a signal to the
> standby host).
>
> Attached is a patch to improve the comment for now.

So, does somebody have an objection if I apply the comment patch? Per
the reasons above, the proposed patch is not correct, but the code can
be more descriptive.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matsumura, Ryo 2019-01-31 08:25:41 RE: [PROPOSAL]a new data type 'bytea' for ECPG
Previous Message Michael Paquier 2019-01-31 07:08:18 Re: Cache lookup errors with functions manipulation object addresses