The key stored in Memoize cache may be corrupted due to wrong Reset per_tuple_memory

Edit
ID 4887
Title The key stored in Memoize cache may be corrupted due to wrong Reset per_tuple_memory
Topic Bug Fixes
Created 2024-03-06 03:06:06
Last modified 2024-03-13 05:28:44 (8 months, 1 week ago)
Latest email 2024-03-11 05:31:26 (8 months, 1 week ago)
Status
2024-07: Committed
Target version 17
Authors Tender Wang (tndrwang)
Reviewers Andrei Lepikhov (lepikhov), Richard Guo (richardguo)Become reviewer
Committer David Rowley (davidrowley)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/4887
git checkout commitfest/cf/4887
Emails
"type with xxxx does not exist" when doing ExecMemoize()
First at 2024-02-25 13:32:43 by Tender Wang <tndrwang at gmail.com>
Latest at 2024-03-11 05:31:26 by Tender Wang <tndrwang at gmail.com>
Latest attachment (v6-0001-Fix-wrong-used-ResetExprContext-in-ExecMemoize.patch) at 2024-03-01 07:18:11 from Tender Wang <tndrwang at gmail.com>
    Attachment (v6-0001-Fix-wrong-used-ResetExprContext-in-ExecMemoize.patch) at 2024-03-01 07:18:11 from Tender Wang <tndrwang at gmail.com> (Patch: Yes)
    Attachment (v5-0001-Fix-wrong-used-ResetExprContext-in-ExecMemoize.patch) at 2024-02-29 05:25:20 from Tender Wang <tndrwang at gmail.com> (Patch: Yes)
    Attachment (v4-0001-Fix-RangeType-oid-not-found-when-doing-Memoize.patch) at 2024-02-28 06:53:54 from Tender Wang <tndrwang at gmail.com> (Patch: Yes)
    Attachment (v3-0001-Store-Memoize-probeslot-values-in-the-hash-table-mem.patch) at 2024-02-26 07:54:21 from Andrei Lepikhov <a.lepikhov at postgrespro.ru> (Patch: Yes)
    Attachment (test.sql) at 2024-02-26 05:38:09 from Andrei Lepikhov <a.lepikhov at postgrespro.ru> (Patch: No)
    Attachment (database0.log) at 2024-02-25 13:32:43 from Tender Wang <tndrwang at gmail.com> (Patch: No)
History
When Who What
2024-03-13 05:28:44 Tender Wang (tndrwang) Closed in commitfest 2024-07 with status: Committed
2024-03-13 05:28:44 Tender Wang (tndrwang) Changed committer to davidrowley
2024-03-06 03:08:44 Tender Wang (tndrwang) Changed committer to None
2024-03-06 03:08:03 Tender Wang (tndrwang) Changed reviewers to Andrei Lepikhov (lepikhov), Richard Guo (richardguo)
2024-03-06 03:08:03 Tender Wang (tndrwang) Changed authors to Tender Wang (tndrwang)
2024-03-06 03:08:03 Tender Wang (tndrwang) Changed committer to davidrowley
2024-03-06 03:08:03 Tender Wang (tndrwang) Changed targetversion to 17
2024-03-06 03:08:03 Tender Wang (tndrwang) Changed name to The key stored in Memoize cache may be corrupted due to wrong Reset per_tuple_memory
2024-03-06 03:06:07 Tender Wang (tndrwang) Attached mail thread CAHewXNnT6N6UJkya0z-jLFzVxcwGfeRQSfhiwA+NyLg-x8iGew@mail.gmail.com
2024-03-06 03:06:06 Tender Wang (tndrwang) Created patch record
Edit