Re: Better shared data structure management and resizable shared data structures

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, chaturvedipalak1911(at)gmail(dot)com
Subject: Re: Better shared data structure management and resizable shared data structures
Date: 2026-04-05 23:28:47
Message-ID: 6d4383eb-4aaa-47ae-bda8-ee40dc60ad84@iki.fi
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/04/2026 23:06, Heikki Linnakangas wrote:
> Here's patch version 12 [*]. I believe I've addressed all the feedback,
> and I feel this is in pretty good shape now. There hasn't been any big
> design changes lately.
>
> One notable change is that I replaced the separate {request|init|attach}
> _fn_arg fields in ShmemCallbacks with a single 'opaque_arg' field, and
> added a brief comment to it. You both commented on whether we need that
> at all, and maybe you're right that we don't, but at least it's now just
> one field rather than three. As before, callers can simply ignore it if
> they don't need it.

After another round of comment cleanups and such, committed. Thanks!

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Andres Freund 2026-04-05 23:12:08 Re: Stack-based tracking of per-node WAL/buffer usage