summaryrefslogtreecommitdiff
path: root/src/include/storage/proc.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-11-02 21:24:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-11-02 21:24:52 +0000
commitd7112cfa884e5125a20a24590f193ceebedf0146 (patch)
treef52b3324c81fd37213a26b15aac9a83267fe2b0a /src/include/storage/proc.h
parent902d1cb35f69464e1e13015b9e05abdb76a7444d (diff)
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
Diffstat (limited to 'src/include/storage/proc.h')
-rw-r--r--src/include/storage/proc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index d1ab71d0eeb..ccdc48884a2 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.106 2008/04/15 20:28:47 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.107 2008/11/02 21:24:52 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -128,9 +128,9 @@ extern PGDLLIMPORT PGPROC *MyProc;
typedef struct PROC_HDR
{
/* Head of list of free PGPROC structures */
- SHMEM_OFFSET freeProcs;
+ PGPROC *freeProcs;
/* Head of list of autovacuum's free PGPROC structures */
- SHMEM_OFFSET autovacFreeProcs;
+ PGPROC *autovacFreeProcs;
/* Current shared estimate of appropriate spins_per_delay value */
int spins_per_delay;
} PROC_HDR;