pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix bad formula in previous commit.
Date: Tue, 17 Dec 2019 20:56:37 +0000
Message-ID: <E1ihJtV-0006iR-Ba@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ihJtV-0006iR-Ba@gemulon.postgresql.org>
Permalink:  ../E1ihJtV-0006iR-Ba@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ihJtV-0006iR-Ba@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Fix bad formula in previous commit.
  In-Reply-To: <E1ihJtV-0006iR-Ba@gemulon.postgresql.org>
  References: <E1ihJtV-0006iR-Ba@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox