Re: Storing images in PostgreSQL databases (again) - Mailing list pgsql-general

From Bill Moran
Subject Re: Storing images in PostgreSQL databases (again)
Date
Msg-id 20061012133837.c6099e92.wmoran@collaborativefusion.com
Whole thread Raw
In response to Re: Storing images in PostgreSQL databases (again)  (Michelle Konzack <linux4michelle@freenet.de>)
List pgsql-general
In response to Michelle Konzack <linux4michelle@freenet.de>:

> Am 2006-10-05 21:22:04, schrieb Gregory S. Williamson:
>
> > a sufficiently large hash (MD5 for instance). Of course, there's
>
> I do this already but have problems since I have
> stored arround 130 million files on a server...
>
> > time to create the hash which might be an issue in a high volume
> > system. Extending a hash with some other data (date ?) can
>
> MD5 hashes are 32 Bytes long, maybe they change
> it to 64 Bytes?
>
> I have already over 2000 collisions and checked
> it, that the files are NOT the same.

Try sha1 or sha256.

--
Bill Moran
Collaborative Fusion Inc.

pgsql-general by date:

Previous
From: David Fetter
Date:
Subject: Re: Override system-defined cast?
Next
From: Tim Tassonis
Date:
Subject: Re: more anti-postgresql FUD