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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user