BUG #19631: currtid2() on a view with GROUP BY ctid crashes with XX000

Edit
ID 7176
Title BUG #19631: currtid2() on a view with GROUP BY ctid crashes with XX000
CI (CFBot) Summary
Stats (from CFBot) Patch version: v1, Patch count: 1, First patch: +17−8, All patches: +17−8
Tags Bugfix
Created 2026-08-21 16:28:00
Last modified 2026-08-21 16:28:00 (1 hour ago)
Latest email 2026-08-21 10:15:14 (7 hours ago)
Status
PG20-2 (2026-09-01 – 2026-09-30): Needs review
Target version 20
Authors Ayush Tiwari (aytiwari)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19631: currtid2() on a view with GROUP BY ctid crashes with XX000
First at 2026-08-19 03:51:52 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-08-21 10:15:14 by Ayush Tiwari <ayushtiwari.slg01 at gmail.com>
Latest attachment (v1-0001-Fix-internal-errors-reachable-from-SQL.patch) at 2026-08-21 10:15:14 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com>
    Attachment (v1-0001-Fix-internal-errors-reachable-from-SQL.patch) at 2026-08-21 10:15:14 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: No)
    Attachment (v1-0001-Add-missing-SQLSTATEs-to-user-reachable-errors.patch) at 2026-08-19 10:46:23 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: No)
History
When Who What
2026-08-21 16:28:00 Ayush Tiwari (aytiwari) Attached mail thread 19631-b443dd6cd8d4e40b@postgresql.org
2026-08-21 16:28:00 Ayush Tiwari (aytiwari) Created patch record
Edit