| From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
|---|---|
| To: | Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | 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-03-13 21:09:33 |
| Message-ID: | 7de8e39c-d1c4-4783-91b9-129d90e91411@iki.fi |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 06/03/2026 16:12, Heikki Linnakangas wrote:
> Firstly, I'm not sure what to do with ShmemRegisterHash() and the
> 'HASHCTL *infoP' argument to it. I feel it'd be nicer if the HASHCTL was
> just part of the ShmemHashDesc struct, but I'm not sure if that fits all
> the callers. I'll have to try that out I guess.
I took a stab at that, and it turned out to be straightforward. I'm not
sure why I hesitated on that earlier.
Here's a new version with that change, and a ton of little comment
cleanups and such.
- Heikki
| Attachment | Content-Type | Size |
|---|---|---|
| v4-0001-Introduce-a-new-mechanism-for-registering-shared-.patch | text/x-patch | 54.0 KB |
| v4-0002-Convert-pg_stat_statements-to-use-the-new-interfa.patch | text/x-patch | 10.1 KB |
| v4-0003-Use-the-new-mechanism-in-a-few-core-subsystems.patch | text/x-patch | 39.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zsolt Parragi | 2026-03-13 21:12:43 | Re: Serverside SNI support in libpq |
| Previous Message | Paul A Jungwirth | 2026-03-13 20:29:38 | Re: Create unique GiST indexes |