pgsql: Remove the last vestiges of the MAKE_PTR/MAKE_OFFSET mechanism. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Remove the last vestiges of the MAKE_PTR/MAKE_OFFSET mechanism.
Date
Msg-id 20081102212452.6A0D57545A4@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove all uses of the deprecated functions heap_formtuple,
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Change the pgstat logic so that the stats collector writes the