pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
what kind of hash algorithm is used by hash_bytes()?
3+ messages / 3 participants
[nested] [flat]

* what kind of hash algorithm is used by hash_bytes()?
@ 2023-01-02 16:30  jacktby@gmail.com <jacktby@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: jacktby@gmail.com @ 2023-01-02 16:30 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

jacktby@gmail.com
--------------
I can't understand the hash_bytes() func in src/backend/access/hash/hashfunc.c, it's published by a paper or others?
Can you give me some materials to study it in depth?




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: what kind of hash algorithm is used by hash_bytes()?
@ 2023-01-02 17:13  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: jacktby@gmail.com <jacktby@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Adrian Klaver @ 2023-01-02 17:13 UTC (permalink / raw)
  To: jacktby@gmail.com <jacktby@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>

On 1/2/23 08:30, jacktby@gmail.com wrote:
> jacktby@gmail.com
> --------------
> I can't understand the hash_bytes() func in src/backend/access/hash/hashfunc.c, it's published by a paper or others?
> Can you give me some materials to study it in depth?
>

Check out the README in:

src/backend/access/hash/

-- 
Adrian Klaver
adrian.klaver@aklaver.com






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: what kind of hash algorithm is used by hash_bytes()?
@ 2023-01-03 01:41  Julien Rouhaud <rjuju123@gmail.com>
  parent: jacktby@gmail.com <jacktby@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Julien Rouhaud @ 2023-01-03 01:41 UTC (permalink / raw)
  To: jacktby@gmail.com <jacktby@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

Hi,

On Tue, Jan 03, 2023 at 12:30:27AM +0800, jacktby@gmail.com wrote:
> jacktby@gmail.com
> --------------
> I can't understand the hash_bytes() func in src/backend/access/hash/hashfunc.c, it's published by a paper or others?
> Can you give me some materials to study it in depth?

It's documented at the beginning of hashfn.c.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2023-01-03 01:41 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-01-02 16:30 what kind of hash algorithm is used by hash_bytes()? jacktby@gmail.com <jacktby@gmail.com>
2023-01-02 17:13 ` Adrian Klaver <adrian.klaver@aklaver.com>
2023-01-03 01:41 ` Julien Rouhaud <rjuju123@gmail.com>

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