From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve InitShmemAccess() prototype |
Date: | 2024-11-26 07:52:03 |
Message-ID: | E1tFqMd-003ZyB-KR@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.)
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2a7b2d97171dd39dca7cefb91008a3c84ec003ba
Modified Files
--------------
src/backend/storage/ipc/shmem.c | 13 ++++---------
src/include/storage/shmem.h | 3 ++-
2 files changed, 6 insertions(+), 10 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2024-11-26 12:48:32 | pgsql: Rename C23 keyword |
Previous Message | Richard Guo | 2024-11-26 02:14:06 | pgsql: Fix test case from a8ccf4e93 |