-
- Downloads
Remove the last vestiges of the MAKE_PTR/MAKE_OFFSET mechanism. We haven't
allowed different processes to have different addresses for the shmem segment in quite a long time, but there were still a few places left that used the old coding convention. Clean them up to reduce confusion and improve the compiler's ability to detect pointer type mismatches. Kris Jurka
Showing
- src/backend/access/transam/twophase.c 12 additions, 12 deletionssrc/backend/access/transam/twophase.c
- src/backend/postmaster/autovacuum.c 27 additions, 30 deletionssrc/backend/postmaster/autovacuum.c
- src/backend/storage/ipc/shmem.c 18 additions, 18 deletionssrc/backend/storage/ipc/shmem.c
- src/backend/storage/ipc/shmqueue.c 37 additions, 117 deletionssrc/backend/storage/ipc/shmqueue.c
- src/backend/storage/lmgr/deadlock.c 9 additions, 9 deletionssrc/backend/storage/lmgr/deadlock.c
- src/backend/storage/lmgr/lock.c 2 additions, 2 deletionssrc/backend/storage/lmgr/lock.c
- src/backend/storage/lmgr/proc.c 29 additions, 33 deletionssrc/backend/storage/lmgr/proc.c
- src/include/storage/pg_shmem.h 2 additions, 2 deletionssrc/include/storage/pg_shmem.h
- src/include/storage/proc.h 3 additions, 3 deletionssrc/include/storage/proc.h
- src/include/storage/shmem.h 14 additions, 42 deletionssrc/include/storage/shmem.h
Loading
Please register or sign in to comment