Re: Hash function - Mailing list pgsql-novice

From Lacey Powers
Subject Re: Hash function
Date
Msg-id CAA7NH1-rGOEeX4mpYqFHmAs74f3o+Ry2P7-nTWehRDzaQwiGMw@mail.gmail.com
Whole thread Raw
In response to Hash function  (Ravi Kiran <ravi.kolanpaka@gmail.com>)
List pgsql-novice


On Jan 11, 2015 6:53 AM, "Ravi Kiran" <ravi.kolanpaka@gmail.com> wrote:
>
> Hi, 
>
> I want to know what kind of hash function postgres is using currently, can someone please explain the algorithm postgres is using for the hash function in the hash join algorithm.
>
> Thanks,
>
> K.Ravikiran

Hello,

I would start by looking here.

http://git.postgresql.org/gitweb/?p=postgresql.git;a=tree;f=src/backend/access/hash;hb=HEAD

hashfunction.c might be of most interest to you. :)

Otherwise, I would ask internals questions like this on -hackers instead of -novice

Hope that helps :)

Lacey

pgsql-novice by date:

Previous
From: s d
Date:
Subject: Re: Upgrade from 8.4 to 9.4.1
Next
From: JORGE MALDONADO
Date:
Subject: Split the result of a query in 2 rows