Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table - Mailing list pgsql-hackers

From Marti Raudsepp
Subject Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table
Date
Msg-id CABRT9RDFWWZ_=9RQXfWWRj01nu38inOvw+m5qt2KCrg7yrme6w@mail.gmail.com
Whole thread Raw
In response to Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table
Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: UUIDs in core WAS: 9.4 Proposal: Initdb creates a single table
Next
From: Craig Ringer
Date:
Subject: Re: API change advice: Passing plan invalidation info from the rewriter into the planner?