Re: Re: New data type: uniqueidentifier - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Re: New data type: uniqueidentifier
Date
Msg-id Pine.LNX.4.30.0107022119570.677-100000@peter.localdomain
Whole thread Raw
In response to Re: Re: New data type: uniqueidentifier  (Alex Pilosov <alex@pilosoft.com>)
List 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



pgsql-hackers by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: New SQL Datatype RECURRINGCHAR
Next
From: Tom Lane
Date:
Subject: Re: New SQL Datatype RECURRINGCHAR