Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table
Дата
Msg-id CABRT9RDFWWZ_=9RQXfWWRj01nu38inOvw+m5qt2KCrg7yrme6w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table  (Christopher Browne <cbbrowne@gmail.com>)
Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On Fri, Apr 25, 2014 at 3:36 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Of course, the weak spot in this analysis is the assumption that there
> are actually 122 independent bits in the value.  It's not difficult to
> imagine that systems with crummy random() implementations might only have
> something like 32 bits worth of real randomness.

Obviously you can't use random(). That's why I talked about
cryptographic PRNGs, crypto libraries do proper seeding and generate
reliably random numbers all the time.

Regards,
Marti



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: API change advice: Passing plan invalidation info from the rewriter into the planner?