Re: Hash Functions

From: amul sul <sulamul(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Joe Conway <mail(at)joeconway(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Jeff Davis <pgsql(at)j-davis(dot)com>, Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
Subject: Re: Hash Functions
Date: 2017-08-18 17:12:02
Message-ID: CAAJ_b96FwSNT7fHBPzNo1ySn30s2FnFdz+BhC+EcjddDBw7NKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 18, 2017 at 8:49 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Wed, Aug 16, 2017 at 5:34 PM, Robert Haas <robertmhaas(at)gmail(dot)com>
> wrote:
> > Attached is a quick sketch of how this could perhaps be done (ignoring
> > for the moment the relatively-boring opclass pushups).
>
> Here it is with some relatively-boring opclass pushups added. I just
> did the int4 bit; the same thing will need to be done, uh, 35 more
> times. But you get the gist. No, not that kind of gist.
>
> ​
I will work on this.

I have a small query, what if I want a cache entry with extended hash
function instead standard one, I might require that while adding
hash_array_extended function? Do you think we need to extend
lookup_type_cache() as well?

Regards,
Amul

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-08-18 17:12:20 Re: Add support for tuple routing to foreign partitions
Previous Message Robert Haas 2017-08-18 17:11:09 Re: Add support for tuple routing to foreign partitions