It turns out that the item size limit for btree indexes is about BLCKSZ/3,
Tom Lane <tgl@sss.pgh.pa.us>
It turns out that the item size limit for btree indexes is about BLCKSZ/3, not BLCKSZ/2 as some of us thought. Add check for oversize item so that failure is detected before corrupting the index, not after.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtinsert.c | modified | +44 −26 |