Re: guid/uuid datatype

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: guid/uuid datatype
Дата
Msg-id 20070120121545.GM26080@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: guid/uuid datatype  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: guid/uuid datatype  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Список pgsql-patches
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.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-patches по дате отправления:

Предыдущее
От: Gevik Babakhani
Дата:
Сообщение: Re: guid/uuid datatype
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: guid/uuid datatype