Re: BUG #17158: Distinct ROW fails with Postgres 14

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Rowley <dgrowleyml@gmail.com>, sait.nisanci@microsoft.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-09-02T08:15:37Z
Lists: pgsql-bugs

Attachments

On 31.08.21 22:43, Tom Lane wrote:
> I find variant 1 a bit cleaner, and safer.  I'd rather default to
> assuming that RECORD doesn't hash, when we don't have enough info
> to be sure.

Ok, here is a more polished patch for that.

Commits

  1. Fix hash_array

  2. Disable anonymous record hash support except in special cases