| 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 20:06:38 |
| Message-ID: | f1d04668-be37-472c-8b18-753b76726de5@iki.fi |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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.
[*] also available at
https://github.com/hlinnaka/postgres/tree/shmem-init-refactor-12
- Heikki
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-04-05 20:15:03 | Re: CREATE SCHEMA ... CREATE DOMAIN support |
| Previous Message | Andres Freund | 2026-04-05 20:03:49 | Re: pg_get__*_ddl consolidation |