]> granicus.if.org Git - postgresql/commit
Remove the last vestiges of the MAKE_PTR/MAKE_OFFSET mechanism. We haven't
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Nov 2008 21:24:52 +0000 (21:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Nov 2008 21:24:52 +0000 (21:24 +0000)
commitd7112cfa884e5125a20a24590f193ceebedf0146
treef52b3324c81fd37213a26b15aac9a83267fe2b0a
parent902d1cb35f69464e1e13015b9e05abdb76a7444d
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
src/backend/access/transam/twophase.c
src/backend/postmaster/autovacuum.c
src/backend/storage/ipc/shmem.c
src/backend/storage/ipc/shmqueue.c
src/backend/storage/lmgr/deadlock.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/proc.c
src/include/storage/pg_shmem.h
src/include/storage/proc.h
src/include/storage/shmem.h