BUG #19772: ERROR: corrupt MVNDistinct entry for GROUP BY c0, ROLLUP (abs(c0)) with ndistinct statistics

Edit
ID 7501
Title BUG #19772: ERROR: corrupt MVNDistinct entry for GROUP BY c0, ROLLUP (abs(c0)) with ndistinct statistics
CI (CFBot) Summary
Stats (from CFBot) Patch version: v1, Patch count: 1, First patch: +71−5, All patches: +71−5
Tags Bugfix
Created 2026-10-22 13:17:29
Last modified 2026-10-22 13:17:29 (2 hours ago)
Latest email 2026-10-20 19:30:11 (yesterday)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version
Authors Matheus Alcantara (matheus.alcantara)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19772: ERROR: corrupt MVNDistinct entry for GROUP BY c0, ROLLUP (abs(c0)) with ndistinct statistics
First at 2026-10-18 23:22:05 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-10-20 19:30:11 by Matheus Alcantara <matheusssilv97 at gmail.com>
Latest attachment (v1-0001-Ignore-grouping-step-nullingrels-when-looking-up-.patch) at 2026-10-20 19:30:11 from Matheus Alcantara <matheusssilv97 at gmail.com>
    Attachment (v1-0001-Ignore-grouping-step-nullingrels-when-looking-up-.patch) at 2026-10-20 19:30:11 from Matheus Alcantara <matheusssilv97 at gmail.com> (Patch: No)
History
When Who What
2026-10-22 13:17:29 Matheus Alcantara (matheus.alcantara) Attached mail thread 19772-d8c886b4db230132@postgresql.org
2026-10-22 13:17:29 Matheus Alcantara (matheus.alcantara) Created patch record
Edit