diff options
| author | Neil Conway | 2004-04-22 07:21:55 +0000 |
|---|---|---|
| committer | Neil Conway | 2004-04-22 07:21:55 +0000 |
| commit | 139abc2896eb95b4a103d217ad99d0f6df2c2ce6 (patch) | |
| tree | 0743c31183350ebf402c455267543d1e0aa85983 /src/include | |
| parent | 2ff4e440432b007cf8132d04f17bc3631e92822e (diff) | |
Make LocalRefCount and PrivateRefCount arrays of int32, rather than long.
This saves a small amount of per-backend memory for LP64 machines.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/bufmgr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index bfc76175834..43a90186469 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.76 2004/04/21 18:06:30 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.77 2004/04/22 07:21:55 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -35,12 +35,12 @@ extern int BgWriterMaxpages; /* in buf_init.c */ extern DLLIMPORT Block *BufferBlockPointers; -extern long *PrivateRefCount; +extern int32 *PrivateRefCount; /* in localbuf.c */ extern DLLIMPORT int NLocBuffer; extern DLLIMPORT Block *LocalBufferBlockPointers; -extern long *LocalRefCount; +extern int32 *LocalRefCount; /* special pageno for bget */ #define P_NEW InvalidBlockNumber /* grow the file to get a new page */ |
