pgsql: Fix bad formula in previous commit. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix bad formula in previous commit.
Date
Msg-id E1ihJtV-0006iR-Ba@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5184f110aa4130ec87b0b3e0834292cd8cb1fd8a

Modified Files
--------------
src/backend/access/common/detoast.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Code cleanup for toast_fetch_datum and toast_fetch_datum_slice.
Next
From: Robert Haas
Date:
Subject: Re: pgsql: Code cleanup for toast_fetch_datum and toast_fetch_datum_slice.