From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Teach hash_ok_operator() that record_eq is only sometimes hashab
Date: Sun, 16 Jan 2022 21:39:36 +0000
Message-ID: <E1n9DFQ-000555-VL@gemulon.postgresql.org> (raw)
Teach hash_ok_operator() that record_eq is only sometimes hashable.
The need for this was foreseen long ago, but when record_eq
actually became hashable (in commit 01e658fa7), we missed updating
this spot.
Per bug #17363 from Elvis Pranskevichus. Back-patch to v14 where
the faulty commit came in.
Discussion: https://postgr.es/m/17363-f6d42fd0d726be02@postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6478896675660402171c97d6307e6e1519250025
Modified Files
--------------
src/backend/optimizer/plan/subselect.c | 6 +++---
src/test/regress/expected/subselect.out | 23 +++++++++++++++++++++++
src/test/regress/sql/subselect.sql | 10 ++++++++++
3 files changed, 36 insertions(+), 3 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Teach hash_ok_operator() that record_eq is only sometimes hashab
In-Reply-To: <E1n9DFQ-000555-VL@gemulon.postgresql.org>
References: <E1n9DFQ-000555-VL@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox