Re: guid/uuid datatype - Mailing list pgsql-patches

From Stefan Kaltenbrunner
Subject Re: guid/uuid datatype
Date
Msg-id 45B20D56.3010206@kaltenbrunner.cc
Whole thread Raw
In response to Re: guid/uuid datatype  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: guid/uuid datatype
List pgsql-patches
Alvaro Herrera wrote:
> Magnus Hagander wrote:
>> Gevik Babakhani wrote:
>>>> I'd be willing to accept a core uuid type sans generator function,
>>>> but is that really all that useful?
>>>>
>>>  This is also a point I remember from the last discussions. To not to
>>> include the generator in the core. The generation of the uuid is then
>>> going to be on the client side.
>>>
>>> The uuid type is very useful, especially when migrating from other
>>> systems to pg  (ms->pg or syb->pg).
>> But does it really help if you don't have the generator?
>
> We could have all the type code in core, and the generator in contrib or
> pgfoundry.  That way the user can choose the most appropriate generator,
> even if it's platform-specific.  Or he can choose to use a client-side
> generator.

that seems like a good compromise - have the type in core and generators
in contrib/pgfoundry. In one or two releases we might see some feedback
on the portability and how people use those and could decide on leaving
it that way or move the generators into core as well.


Stefan

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: guid/uuid datatype
Next
From: Peter Eisentraut
Date:
Subject: Re: guid/uuid datatype