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 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(-)
Соглашаюсь с условиями обработки персональных данных