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

Поиск
Список
Период
Сортировка
От Gevik Babakhani
Тема Re: Opinion wanted on UUID/GUID datatype output formats.
Дата
Msg-id 1158757302.22092.31.camel@voyager.truesoftware.net
обсуждение исходный текст
Ответ на Re: Opinion wanted on UUID/GUID datatype output formats.  (Tom Dunstan <pgsql@tomd.cc>)
Список pgsql-hackers
> The dashless format is neither standards compliant nor compatible with 
> other databases that have uuid functions (notably MS SQL Server and 
> MySQL), nor with microsoft tools where they're used frequently. 
> (ignoring the {} wrapping stuff which is trivial).
> 
> If we add a UUID type to core, I think that a vast majority of the 
> people who are going to want to use it out there will be expecting the 
> standard format with dashes. And asking them to put a formatting 
> function into every query is beyond horrific.
> 
> If we want a general raw hex type then let's call it something else, 
> because calling it UUID will just confuse people. Everyone else follows 
> the standard on this; we should too.

Agreed to all above. The formatting issues are all handled in the patch.

Regards,
Gevik




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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: guc comment changes (was Re: Getting a move on for 8.2
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pdfs of the conference