TOAST mop-up work: update comments for tuple-size-related symbols such
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/gram.y | modified | +10 −8 |
| src/backend/utils/adt/varbit.c | modified | +3 −3 |
| src/include/access/htup.h | modified | +35 −8 |
| src/include/config.h.in | modified | +15 −5 |
| src/include/storage/bufmgr.h | modified | +1 −16 |
| src/include/storage/itemid.h | modified | +23 −13 |
| src/include/utils/varbit.h | modified | +0 −2 |
| src/interfaces/ecpg/preproc/preproc.y | modified | +6 −5 |