1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

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.
This commit is contained in:
Tom Lane
2000-08-07 20:16:13 +00:00
parent d2165a4a5d
commit 0224177400
8 changed files with 96 additions and 63 deletions

View File

@@ -18,8 +18,6 @@ struct varbita
bits8 vl_dat[1];
};
#undef BITSPERBYTE /* sometimes declared in <values.h> */
#define BITSPERBYTE 8
#define VARBITHDRSZ sizeof(int32)
/* Number of bits in this bit string */
#define VARBITLEN(PTR) (((struct varbita *)VARDATA(PTR))->vl_len)