Re: Re: New data type: uniqueidentifier

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Alex Pilosov <alex@pilosoft.com>
Cc: Thomas Swan <tswan@olemiss.edu>, "Dmitry G. Mastrukov" <dmitry@taurussoft.org>, <pgsql-hackers@postgresql.org>
Date: 2001-07-02T19:20:57Z
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@gmx.net   http://funkturm.homeip.net/~peter