On Thu, Jan 26, 2023 at 12:50 PM Nathan Bossart <nathandboss...@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().