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.0107031732400.677-100000@peter.localdomain
Whole thread Raw
In response to Re: Re: New data type: uniqueidentifier  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: Re: New data type: uniqueidentifier  (Alex Pilosov <alex@pilosoft.com>)
List pgsql-hackers
Alex Pilosov writes:

> Dmitry's stuff contains both datatype (uniqueidentifier), a function to
> generate a new object of that type (newid), and a set of functions to
> implement comparison operators for that type.
>
> I don't see anything wrong with that setup, but maybe I'm still missing
> something?

It would be much simpler if you stored the unique id in varchar or text.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: selecting from cursor
Next
From: Alex Pilosov
Date:
Subject: Re: Re: New data type: uniqueidentifier