PostgreSQL's hashing function?

From: "Kynn Jones" <kynnjo(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PostgreSQL's hashing function?
Date: 2008-02-22 21:49:10
Message-ID: c2350ba40802221349n51d2e305rdedeaed68db12b81@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!
Does PostgreSQL expose its hash function? I need a fast way to hash a
string to a short code using characters in the set [A-Za-z0-9_]. (I'm not
sure yet how long this code needs to be, but I think even something as short
as length 2 may be enough.)

TIA!

Kynn

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2008-02-22 21:57:55 Re: PostgreSQL's hashing function?
Previous Message Dot Yet 2008-02-22 21:33:04 Re: Unique indicies