Improve InitShmemAccess() prototype
Peter Eisentraut <peter@eisentraut.org>
Improve InitShmemAccess() prototype The code comment said, 'the argument should be declared "PGShmemHeader *seghdr", but we use void to avoid having to include ipc.h in shmem.h.' We can achieve the original goal with a struct forward declaration. (ipc.h was also not the correct header file.) Discussion: https://www.postgresql.org/message-id/flat/cnthxg2eekacrejyeonuhiaezc7vd7o2uowlsbenxqfkjwgvwj@qgzu6eoqrglb
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/shmem.c | modified | +4 −9 |
| src/include/storage/shmem.h | modified | +2 −1 |
Discussion
- Changing shared_buffers without restart 153 messages · 2024-10-18 → 2026-02-13