Re: patch: Allow the UUID type to accept non-standard formats
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: patch: Allow the UUID type to accept non-standard formats |
| Дата | |
| Msg-id | 48F4C416.3000103@gmx.net обсуждение исходный текст |
| Ответ на | Re: patch: Allow the UUID type to accept non-standard formats ("Dawid Kuroczko" <qnex42@gmail.com>) |
| Список | pgsql-hackers |
Dawid Kuroczko wrote: >> 2) The '-' is not the only character that people have used. ClearCase uses >> '.' and ':' as punctuation. > > I would be more in favor of accepting MAC-address style notation AA:BB:CC:DD > also, in that case, but I think its going too far... So, I am for sticking with > dashes and groups of four :) Well, speaking of MAC addresses, we already accept a finite set of non-standard MAC address formats, so doing something similar with UUID should be OK. I recently figured out that the AA:BB:CC:DD... format for MAC addresses is not exactly standard either, so sticking with the standard doesn't always help in practice. We only accept those MAC address formats that we find in practice, however, not any combination of digits and delimiters, and I think UUID should do the same as well.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера