Re: Hashed SAOP on composite type with non-hashable column errors at runtime
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrei Lepikhov <lepihov@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org, Peter Eisentraut <peter@eisentraut.org>
Date: 2026-06-05T18:17:21Z
Lists: pgsql-bugs
Attachments
- bug-with-range.sql (text/plain)
I wrote: > In the second place, the same hazard exists for range and > multirange types, which can have non-hashable subtypes. > AFAICT noplace at all is defending against that. I meant to attach the test case I'd made to demonstrate that this is indeed broken. It's a small variant of your bug-hashed-saop.sql. regards, tom lane
Commits
-
Fix missed checks for hashability of container-type equality.
- caebac5f16f9 15 (unreleased) landed
- 64778fac724a 14 (unreleased) landed
- cf2bfe07364f 16 (unreleased) landed
- 19152e3c29ab 17 (unreleased) landed
- 11aed8d19cd7 18 (unreleased) landed
- 06e94eccfd91 19 (unreleased) landed