The following bug has been logged on the website:
Bug reference: 17363
Logged by: Elvis Pranskevichus
Email address: elprans(at)gmail(dot)com
PostgreSQL version: 14.0
Operating system: Linux
Description:
The following fails in PostgreSQL 14:
postgres14=# SELECT ROW(ROW(ROW(1))) = ANY (SELECT
(ROW(ROW(ROW(1)))).*);
ERROR: could not identify a hash function for type record
whereas PostgreSQL 13 works fine:
postgres13=# SELECT ROW(ROW(ROW(1))) = ANY (SELECT
(ROW(ROW(ROW(1)))).*);
?column?
──────────
t
(1 row)
Interestingly, reducing the nesting level to two works in 14:
postgres14=# SELECT ROW(ROW(1)) = ANY (SELECT (ROW(ROW(1))).*);
?column?
──────────
t
(1 row)