diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-07 20:16:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-07 20:16:13 +0000 |
commit | 022417740094620880488dd9b04fbb96ff11694b (patch) | |
tree | fa7a1b0853207355cb1f180d126b939c899825e2 /src/include/storage/bufmgr.h | |
parent | d2165a4a5d7786ecd43becf8e040c5764d35ca16 (diff) |
TOAST mop-up work: update comments for tuple-size-related symbols such
as MaxHeapAttributeNumber. Increase MaxAttrSize to something more
reasonable (given what it's used for, namely checking char(n) declarations,
I didn't make it the full 1G that it could theoretically be --- 10Mb
seemed a more reasonable number). Improve calculation of MaxTupleSize.
Diffstat (limited to 'src/include/storage/bufmgr.h')
-rw-r--r-- | src/include/storage/bufmgr.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index a72b06f3898..1a06953f513 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -7,36 +7,21 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: bufmgr.h,v 1.39 2000/06/15 03:33:00 momjian Exp $ + * $Id: bufmgr.h,v 1.40 2000/08/07 20:15:50 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef BUFMGR_H #define BUFMGR_H - #include "storage/buf_internals.h" -/* - * the maximum size of a disk block for any possible installation. - * - * in theory this could be anything, but in practice this is actually - * limited to 2^13 bytes because we have limited ItemIdData.lp_off and - * ItemIdData.lp_len to 13 bits (see itemid.h). - * - * limit is now 2^15. Took four bits from ItemIdData.lp_flags and gave - * two apiece to ItemIdData.lp_len and lp_off. darrenk 01/06/98 - * - */ - -#define MAXBLCKSZ 32768 typedef void *Block; /* special pageno for bget */ #define P_NEW InvalidBlockNumber /* grow the file to get a new page */ -typedef bits16 BufferLock; /********************************************************************** |