public inbox for [email protected]  
help / color / mirror / Atom feed
From: Joshua D. Drake <[email protected]>
To: Ivan Voras <[email protected]>
To: [email protected]
Cc: postgres performance list <[email protected]>
Subject: Re: Indexes for hashes
Date: Wed, 15 Jun 2016 07:36:13 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAF-QHFW5uii7fw20fw5Q7t+vcYL1o48-_t=nKaN17ApCCmX6LA@mail.gmail.com>
References: <CAF-QHFULmVOdrqwtR7AKRnnx6=GbAW7S6v6f4jACEOVENef7NA@mail.gmail.com>
	<[email protected]>
	<CAF-QHFXJasdP-jur7JqdoP-mvmVmFN1pVoRf04_0pM6poNrsog@mail.gmail.com>
	<CAGu3fEQTM+1jjk0K2Y4fvtZMC7VeNMoWmJdhBQZRjg_r3V2_4g@mail.gmail.com>
	<CAF-QHFVk7nYMXwSUffGiWBtZ4+BaRhJks=XX4h6_SfStKVxLTQ@mail.gmail.com>
	<CAF-QHFW5uii7fw20fw5Q7t+vcYL1o48-_t=nKaN17ApCCmX6LA@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-performance>

On 06/15/2016 07:20 AM, Ivan Voras wrote:
> Hi,
>
> Just for testing... is there a fast (i.e. written in C) crc32 or a
> similar small hash function for PostgreSQL?

https://www.postgresql.org/docs/9.5/static/pgcrypto.html

We also have a builtin md5().

JD
-- 
Command Prompt, Inc.                  http://the.postgres.company/
                         +1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.


-- 
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Indexes for hashes
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox