Fix bad formula in previous commit.
Robert Haas <rhaas@postgresql.org>
Fix bad formula in previous commit. Commit d5406dea25b600408e7acf17d5a06e82d3ce6d0d used a slightly novel, and wrong, approach to compute the length of the last toast chunk. It worked fine unless the last chunk happened to have the largest possible size.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/detoast.c | modified | +2 −2 |