Re: Suppressing useless wakeups in walreceiver - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Suppressing useless wakeups in walreceiver
Date
Msg-id CA+hUKG+WyW=yumSEnNAGtgKUzf=MpY8NeyqqfDHzo6yAvtj0DA@mail.gmail.com
Whole thread Raw
In response to Re: Suppressing useless wakeups in walreceiver  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Suppressing useless wakeups in walreceiver
List pgsql-hackers
On Sun, Nov 6, 2022 at 12:01 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
> Here is a new version of the patch that addresses this feedback.

This looks pretty good to me.  Thanks for picking it up!  I can live
with the change to use a global variable; it seems we couldn't quite
decide what the scope was for moving stuff into a struct (ie various
pre-existing stuff representing the walreceiver's state), but I'm OK
with considering that as a pure refactoring project for a separate
thread.  That array should be "static", though.



pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: Add palloc_aligned() to allow arbitrary power of 2 memory alignment
Next
From: Andres Freund
Date:
Subject: Re: Add palloc_aligned() to allow arbitrary power of 2 memory alignment