pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: nathan wagner <nw@hydaspes.if.org>
To: pgsql-hackers@postgresql.org
Subject: Re: uuid type for postgres
Date: Wed, 7 Sep 2005 17:19:12 +0000
Message-ID: <20050907171912.GA6427@granicus.if.org> (raw)
In-Reply-To: <200509070948.08307.josh@agliodbs.com>
References: <20050906135057.GA24136@granicus.if.org>
	<200509061840.28068.josh@agliodbs.com>
	<20050907023606.GA2181@granicus.if.org>
	<200509070948.08307.josh@agliodbs.com>

On Wed, Sep 07, 2005 at 09:48:08AM -0700, josh@agliodbs.com wrote:

> That's good, it gives users options.  And I can see why you don't want to 
> re-create the functionality in PG code, it's probably pretty large.

It would also be something else that would have to be maintained and
debugged.  Which i would be starting from scratch.  The OSSP
UUID library is at version 1.3.  From this I infer that he has spent
some time maintaining and debugging it.  The less duplication of
code and effort the better.

There may be a problem with using the library as a core type though,
due to windows portability concerns.  That said, it would probably
be easier to port the underlying library than to start from scratch.

> Well, IMHO, if the unguessability of UUIDs is an important part of your spec, 
> you have some design problems.

I was thinking of cryptographic applications.  Then, to use an
example from another domain, initial TCP sequence numbers should
be random (i.e. unguessable).  A problem with TCP perhaps.  It's
been a while since i've read over my copy of _Applied Cryptography_,
but I seem to recall that unguessable numbers were sometimes useful.

-- 
Nathan Wagner



view thread (51+ messages)  latest in thread

Message-ID: <20050907171912.GA6427@granicus.if.org>
Permalink:  ../20050907171912.GA6427@granicus.if.org/
Also on:    postgresql.org/message-id/20050907171912.GA6427@granicus.if.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: nw@hydaspes.if.org, pgsql-hackers@postgresql.org
  Subject: Re: uuid type for postgres
  In-Reply-To: <20050907171912.GA6427@granicus.if.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox