Re: Drawbacks of using BYTEA for PK?

Поиск
Список
Период
Сортировка
От Alex Satrapa
Тема Re: Drawbacks of using BYTEA for PK?
Дата
Msg-id 40032265.5010000@lintelsys.com.au
обсуждение исходный текст
Ответ на 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 wrote:
> Perhaps I can make a GUID by MD5( two random numbers || a timestamp || a
> unique seed like MD5 of '/sbin/ifconfig' output)...

As long as you don't use RFC1918 addresses, the IPv4 address(es) of the
host should be unique for the Internet. Append/prepend a 32 bit
timestamp and you have a 64bit unique identifier that is "universally"
unique (to one second).


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Dump/Restore ordering problem?
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Vacuum Error