pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Decibel! <decibel@decibel.org>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Jon Stewart <jonathan.l.stewart@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Creating large database of MD5 hash values
Date: Wed, 28 May 2008 19:41:46 -0400
Message-ID: <11406.1212018106@sss.pgh.pa.us> (raw)
In-Reply-To: <200805282337.m4SNba128261@momjian.us>
References: <200805282337.m4SNba128261@momjian.us>

Bruce Momjian <bruce@momjian.us> writes:
> Decibel! wrote:
>> If you do this *please* post it. I really think it would be worth  
>> while for us to have fixed-size data types for common forms of binary  
>> data; MD5, SHA1 and SHA256 come to mind.

> Why do you think it would be worth while?

Given that the overhead for short bytea values is now only one byte
not four-plus-padding, the argument for such types is surely a lot
weaker than it was before 8.3.

			regards, tom lane



view thread (9+ messages)

Message-ID: <11406.1212018106@sss.pgh.pa.us>
Permalink:  ../11406.1212018106@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11406.1212018106@sss.pgh.pa.us

 · 

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: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, decibel@decibel.org, alvherre@commandprompt.com, jonathan.l.stewart@gmail.com
  Subject: Re: Creating large database of MD5 hash values
  In-Reply-To: <11406.1212018106@sss.pgh.pa.us>

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

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