2011/1/5 Grzegorz Jaśkiewicz <[email protected]>: > On Wed, Jan 5, 2011 at 2:37 PM, Scott Ribe <[email protected]> > wrote: >> On Jan 5, 2011, at 1:31 AM, Radosław Smogura wrote: >> >>> * simple to generate, and 128bit random is almost globally unique, >> >> Almost? Should be totally unique, as long as your random source is decent >> quality. > > But I would never rely on that alone. You always have a strategy in > place, in case there's a duplicate.
As long as all your UUIDs are generated with the same algorithm, they are guaranteed to be unique. -- Sent via pgsql-general mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
