PostgreSQL's hashing function? - Mailing list pgsql-general

From Kynn Jones
Subject PostgreSQL's hashing function?
Date
Msg-id c2350ba40802221349n51d2e305rdedeaed68db12b81@mail.gmail.com
Whole thread Raw
Responses Re: PostgreSQL's hashing function?
List 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

pgsql-general by date:

Previous
From: "Dot Yet"
Date:
Subject: Re: Unique indicies
Next
From: "Joshua D. Drake"
Date:
Subject: Re: PostgreSQL's hashing function?