Re: Hash support for row types
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-10-20T15:10:24Z
Lists: pgsql-hackers
On 2020-10-20 01:32, Andres Freund wrote: > How does this deal with row types with a field that doesn't have a hash > function? Erroring out at runtime could cause queries that used to > succeed, e.g. because all fields have btree ops, to fail, if we just have > a generic unconditionally present hash opclass? Is that an OK > "regression"? Good point. There is actually code in the type cache that is supposed to handle that, so I'll need to adjust that. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Hash support for row types
- 01e658fa74cb 14.0 landed
-
Add more tests for hashing and hash-based plans
- 6dd8b0080787 14.0 landed