pgsql: Remove the last vestiges of the MAKE_PTR/MAKE_OFFSET mechanism.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove the last vestiges of the MAKE_PTR/MAKE_OFFSET mechanism.
Date: 2008-11-02 21:24:52
Message-ID: 20081102212452.6A0D57545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Modified Files:
--------------
pgsql/src/backend/access/transam:
twophase.c (r1.46 -> r1.47)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/twophase.c?r1=1.46&r2=1.47)
pgsql/src/backend/postmaster:
autovacuum.c (r1.84 -> r1.85)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c?r1=1.84&r2=1.85)
pgsql/src/backend/storage/ipc:
shmem.c (r1.100 -> r1.101)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/shmem.c?r1=1.100&r2=1.101)
shmqueue.c (r1.31 -> r1.32)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/shmqueue.c?r1=1.31&r2=1.32)
pgsql/src/backend/storage/lmgr:
deadlock.c (r1.54 -> r1.55)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/deadlock.c?r1=1.54&r2=1.55)
lock.c (r1.184 -> r1.185)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lock.c?r1=1.184&r2=1.185)
proc.c (r1.201 -> r1.202)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/proc.c?r1=1.201&r2=1.202)
pgsql/src/include/storage:
pg_shmem.h (r1.23 -> r1.24)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/pg_shmem.h?r1=1.23&r2=1.24)
proc.h (r1.106 -> r1.107)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/proc.h?r1=1.106&r2=1.107)
shmem.h (r1.53 -> r1.54)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/shmem.h?r1=1.53&r2=1.54)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-11-03 01:17:08 pgsql: Change the pgstat logic so that the stats collector writes the
Previous Message Heikki Linnakangas 2008-11-02 20:25:51 Re: [COMMITTERS] pgsql: Unite ReadBufferWithFork, ReadBufferWithStrategy, and