Shared memory allocation API
New shmem request/attach callback API and resizable shared data structures.
Versions
- PostgreSQL 20 · worked-on · new · major
- PostgreSQL 19 · shipped · new · major · 30 commits · +4.7k / -3.7k lines
- PostgreSQL 18 · shipped · improved · moderate · 2 commits · +313 / -98 lines
Threads
- Better shared data structure management and resizable shared data structures
- BUG #19889: ShmemRequestHash underestimates storage for highly partitioned hashes
- LWLock tranches registered by SLRUs are thrown away at startup
- [PATCH] Two remaining shmem attachment issues in single-user mode
- Fix a wal_debug crash with the new shmem allocation API
- [PATCH] Assertion in pg_get_shmem_pagesize() in single-user mode
- SHMEM_ATTACH_UNKNOWN_SIZE reaches InitShmemIndexEntry()
- Error handling in after-startup shmem requests
- RegisterShmemCallbacks() does nothing in single-user mode
- SIGSEGV in dynahash
- pgsql: Cleanup comments/docs around the new shmem request callbacks
- Improve monitoring of shared memory allocations
- Duplicate RequestNamedLWLocktranche() names and test_lwlock_tranches improvements
- Shared hash table allocations