Re: guid/uuid datatype

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: guid/uuid datatype
Дата
Msg-id 45B198B7.4060701@commandprompt.com
обсуждение исходный текст
Ответ на Re: guid/uuid datatype  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: guid/uuid datatype  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-patches
> Per previous discussion, the main problem with a uuid type is the
> new-uuid generator function, which tends to involve a bunch of
> not-so-portable assumptions and code.  If we accept a uuid type in
> either core or contrib, all of a sudden those portability issues are
> our problem.  I'd rather not deal with that.
>
> I'd be willing to accept a core uuid type sans generator function,
> but is that really all that useful?

I think it would. There are plenty of client side libraries that
generate uuid, at least we could provide a native type for them to use.
A generator would be great too of course, but if they really need one
they could use one of the pl languages for it.

Sincerely,

Joshua D. Drake


>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
>


--

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: guid/uuid datatype
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: guid/uuid datatype