Re: [BUG] Failed Assertion in ReorderBufferChangeMemoryUpdate()
Drouvot, Bertrand <bdrouvot@amazon.com>
From: "Drouvot, Bertrand" <bdrouvot@amazon.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Dilip Kumar <dilipbalaut@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-09-09T13:16:00Z
Lists: pgsql-hackers
Attachments
- v3-0001-Fix-reorder-buffer-memory-accounting-for-toast-ch-13_STABLE.patch (text/plain) patch v3-0001
Hi, On 9/9/21 1:16 PM, Amit Kapila wrote: > On Tue, Sep 7, 2021 at 2:02 PM Drouvot, Bertrand <bdrouvot@amazon.com> wrote: >> On 9/7/21 9:11 AM, Drouvot, Bertrand wrote: >> Please find enclosed patch v2 (for the master branch) implementing the >> modified approach of option 2) proposed by Amit. >> > The patch looks good to me. I have made a minor modification in the > comment to make it explicit why we are not subtracting the size > immediately Thanks! Indeed, good point to also mention in the comment why it has been done that way. > Kindly prepare back-branch patches and > test the same. Please find enclosed the modified (and tested) version for the REL_13_STABLE branch (the master patch version also applied on REL_14_STABLE). Thanks Bertrand
Commits
-
Fix reorder buffer memory accounting for toast changes.
- 58cf794ca68d 13.5 landed
- f5e0ff4631b5 14.0 landed
- df3640e5293d 15.0 landed