Re: Opinion wanted on UUID/GUID datatype output formats.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Opinion wanted on UUID/GUID datatype output formats.
Дата
Msg-id 200609142332.10318.peter_e@gmx.net
обсуждение исходный текст
Ответ на Opinion wanted on UUID/GUID datatype output formats.  (Gevik Babakhani <pgdev@xs4all.nl>)
Ответы Re: Opinion wanted on UUID/GUID datatype output formats.  ("Jim C. Nasby" <jimn@enterprisedb.com>)
Список pgsql-hackers
Gevik Babakhani wrote:
> As suggested in earlier discussion we provide a raw/plain output of
> the uuid type:
>
> devdb=# select * from tbluuid;
>                 pk                |
> ----------------------------------+
>  6b13c5a1afb4dcf5ce8f8b4656b6c93c |
>  01e40a79b55b6e226bffb577e960453d |
> (2 rows)

The UUID standards define a single perfectly clear format, and the one 
you show is not it.

> I was wondering if we want to have a formatting function to be able
> to provide other common formats of the uuid/guid?

If you stick to the standard format, I don't think that will be 
necessary.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Tom Dunstan
Дата:
Сообщение: Re: Mid cycle release?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Mid cycle release?