Re: Do we want a hashset type? - Mailing list pgsql-hackers

From Joel Jacobson
Subject Re: Do we want a hashset type?
Date
Msg-id 7cdc1ecf-2af7-4c10-8646-db5f6f92d37f@app.fastmail.com
Whole thread Raw
In response to Re: Do we want a hashset type?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Sun, Jun 11, 2023, at 16:58, Andrew Dunstan wrote:
>>On 2023-06-11 Su 06:26, Joel Jacobson wrote:
>>Perhaps "set" would have been a better name, since the use of hash functions from an end-user perspective is >>implementation details, but we cannot use that word since it's a reserved keyword, hence "hashset".
>
>Rather than use "hashset", which as you say is based on an implementation detail, I would prefer something like
>"integer_set" - what it's a set of.

Apologies for the confusion previously.
Upon further reflection, I recognize that the term "hash" in "hashset"
extends beyond mere representation of implementation.
It imparts key information about performance characteristics as well as functionality inherent to the set.

In hindsight, "hashset" does emerge as the most suitable terminology.

/Joel

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Do we want a hashset type?
Next
From: "Joel Jacobson"
Date:
Subject: Re: Do we want a hashset type?