Re: Drawbacks of using BYTEA for PK?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Drawbacks of using BYTEA for PK?
Дата
Msg-id 28405.1073919041@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Drawbacks of using BYTEA for PK?  (David Garamond <lists@zara.6.isreserved.com>)
Ответы Re: Drawbacks of using BYTEA for PK?  (David Garamond <lists@zara.6.isreserved.com>)
Список pgsql-general
David Garamond <lists@zara.6.isreserved.com> writes:
> Perhaps I can make a GUID by MD5( two random numbers || a timestamp || a
> unique seed like MD5 of '/sbin/ifconfig' output)...

Adding an MD5 hash contributes *absolutely zero*, except waste of space,
to any attempt to make a GUID.  The hash will add no uniqueness that was
not there before.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: insertion with trigger failed unexpectedly
Следующее
От: joseph speigle
Дата:
Сообщение: Re: PostgreeSQL C header files