Re: suppressing useless wakeups in logical/worker.c - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: suppressing useless wakeups in logical/worker.c
Date
Msg-id CA+hUKGJ=oFEX=TjeSCnGmqr_KseGLJxy=RnJMwRqPrX7N-Q2sg@mail.gmail.com
Whole thread Raw
In response to Re: suppressing useless wakeups in logical/worker.c  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: suppressing useless wakeups in logical/worker.c
List pgsql-hackers
On Thu, Jan 26, 2023 at 12:50 PM Nathan Bossart
<nathandbossart@gmail.com> wrote:
> I did this in v3.  I noticed that many of your comments also applied to the
> similar patch that was recently applied to walreceiver.c, so I created
> another patch to fix that up.

Can we also use TimestampDifferenceMilliseconds()?  It knows about
rounding up for WaitLatch().



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: improving user.c error messages
Next
From: Nathan Bossart
Date:
Subject: Re: suppressing useless wakeups in logical/worker.c