Re: Stack-based tracking of per-node WAL/buffer usage - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Stack-based tracking of per-node WAL/buffer usage
Date
Msg-id 3xbje45m5knff52mye5dfnrjdnwv7it2bzmqac3jqe66fvop4a@xvhy6zx7n6sb
Whole thread
In response to Re: Stack-based tracking of per-node WAL/buffer usage  (Andres Freund <andres@anarazel.de>)
Responses Re: Stack-based tracking of per-node WAL/buffer usage
List pgsql-hackers
Hi,

On 2026-04-05 17:02:28 -0400, Andres Freund wrote:
> With that I pushed 0001.

For 0002 I:
- fixed a few comments still refering to node in the generic Instr* functions
- added comment about the async_mode buglet to the commit message
- added an async_mode argument to InstrInitNode(), as its callsite already
  needed to be touched, and it felt wrong that InstrAllocNode() could do
  things that were not possible with InstrInitNode()
- Deduplicated the code between InstrStop() and InstrStotNode() by introducing
  InstrStopCommon()

After those (and some testing) I pushed this.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: index prefetching
Next
From: Heikki Linnakangas
Date:
Subject: Re: Better shared data structure management and resizable shared data structures