Re: Alternative to serial primary key

Поиск
Список
Период
Сортировка
От David Clarke
Тема Re: Alternative to serial primary key
Дата
Msg-id 12b7ac1e0607060432i5fd3aa4ap16af10b9efabb917@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Alternative to serial primary key  (Andrew Sullivan <ajs@crankycanuck.ca>)
Ответы Re: Alternative to serial primary key
Список pgsql-sql
On 7/6/06, Andrew Sullivan <ajs@crankycanuck.ca> wrote:
> That sort of undermines the value of the calculated primary key,
> though, doesn't it?  He'd need the unique index for FK references,
> which was the point, I thought.
>

Yes, that occurred to me as well. Frankly I believe the md5 collision
generation is more of a practical issue for crypto where for my
purposes the potential for two residential street addresses to
generate the same md5 hash value is effectively zero. And the md5
function is a builtin which I would hope is faster than anything I
could write in pgsql. Could be wrong, I have been before.


В списке pgsql-sql по дате отправления:

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: Alternative to serial primary key
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Alternative to serial primary key