Reducing relcache memory usage: deduping index shapes

Edit
ID 7237
Title Reducing relcache memory usage: deduping index shapes
CI (CFBot) Summary
Stats (from CFBot) Patch version: v5, Patch count: 6, First patch: +16−11, All patches: +1467−236
Tags Performance
Created 2026-08-31 20:59:19
Last modified 2026-10-07 18:21:56 (2 weeks ago)
Latest email 2026-10-14 23:52:04 (1 week ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
PG20-2 (2026-09-01 – 2026-09-30): Moved to different CF
Target version
Authors Matthias van de Meent (mmeent)
Reviewers Become reviewer
Committer
Links
Emails
Reducing relcache memory usage: deduping index shapes
First at 2026-08-31 20:56:57 by Matthias van de Meent <boekewurm+postgres at gmail.com>
Latest at 2026-10-14 23:52:04 by David Rowley <dgrowleyml at gmail.com>
Latest attachment (v5-0002-fixup-MemCTX-Add-minimal-system-context-type.patch.txt) at 2026-10-14 23:52:04 from David Rowley <dgrowleyml at gmail.com>
    Attachment (v5-0002-fixup-MemCTX-Add-minimal-system-context-type.patch.txt) at 2026-10-14 23:52:04 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v5-0001-rel.h-const-ify-opclass-related-fields-of-Relatio.patch) at 2026-10-14 12:39:31 from Matthias van de Meent <boekewurm+postgres at gmail.com> (Patch: No)
    Attachment (v4-0002-fixup-MemCTX-Add-minimal-system-context-type.patch.txt) at 2026-10-14 07:27:53 from David Rowley <dgrowleyml at gmail.com> (Patch: No)
    Attachment (v4-0004-Relcache-Use-System-contexts-for-index-info-and-i.patch) at 2026-10-12 18:21:55 from Matthias van de Meent <boekewurm+postgres at gmail.com> (Patch: No)
    Attachment (v3-0004-MemCTX-Add-minimal-proxy-context-type-that-just-d.patch) at 2026-10-06 22:00:57 from Matthias van de Meent <boekewurm+postgres at gmail.com> (Patch: No)
    Attachment (results.txt) at 2026-09-14 07:32:16 from David Geier <geidav.pg at gmail.com> (Patch: No)
    Attachment (v2-0003-Deduplicate-some-index-attributes-in-the-relcache.patch) at 2026-09-08 09:55:36 from Matthias van de Meent <boekewurm+postgres at gmail.com> (Patch: No)
    Attachment (v1-0008-Add-static-assert-for-size.patch) at 2026-09-03 16:02:23 from David Geier <geidav.pg at gmail.com> (Patch: No)
    Attachment (scratch_61.txt) at 2026-08-31 23:10:33 from Matthias van de Meent <boekewurm+postgres at gmail.com> (Patch: No)
    Attachment (v1-0003-Deduplicate-some-index-attributes-in-the-relcache.patch) at 2026-08-31 20:56:57 from Matthias van de Meent <boekewurm+postgres at gmail.com> (Patch: No)
History
When Who What
2026-10-14 13:10:39 CFbot Patch does not need rebase anymore
2026-10-12 18:34:28 CFbot Patch needs rebase
2026-10-07 18:21:56 Matthias van de Meent (mmeent) Moved from CF PG20-2 to CF PG20-3
2026-08-31 20:59:19 Matthias van de Meent (mmeent) Attached mail thread CAEze2WiPyruOtUOSyRUV8mQssjmYwno0M6hkxC_iUpH-=W8WcA@mail.gmail.com
2026-08-31 20:59:19 Matthias van de Meent (mmeent) Created patch record
Edit