Re: Hash support for row types

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hash support for row types
Date: 2020-10-20 15:10:24
Message-ID: e88b1974-5987-9ae8-7e54-7d66f54751cb@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2020-10-20 15:13:34 Re: PostgresNode::backup uses spread checkpoint?
Previous Message Alvaro Herrera 2020-10-20 15:01:00 PostgresNode::backup uses spread checkpoint?