Skip site navigation (1) Skip section navigation (2)

Re: Re: New data type: uniqueidentifier

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alex Pilosov <alex(at)pilosoft(dot)com>
Cc: Thomas Swan <tswan(at)olemiss(dot)edu>, "Dmitry G(dot) Mastrukov" <dmitry(at)taurussoft(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: New data type: uniqueidentifier
Date: 2001-07-02 19:20:57
Message-ID: Pine.LNX.4.30.0107022119570.677-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-hackers
Alex Pilosov writes:

> I don't think you know what UUID is. It is NOT just a unique randon
> number. There are specific rules for construction of such number, specific
> rules for comparison of numbers (no, its not bit-by-bit), thus a datatype
> is most appropriate answer.

A data type may be appropriate for storing these values, but not for
generating them.  Functions generate stuff, data types store stuff.

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

Responses

pgsql-hackers by date

Next:From: Alex PilosovDate: 2001-07-02 21:27:37
Subject: Re: Re: New data type: uniqueidentifier
Previous:From: Nathan MyersDate: 2001-07-02 18:58:15
Subject: Re: shared library strangeness?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group