| От | Tom Lane |
|---|---|
| Тема | Re: [PATCHES] Patch for UUID datatype (beta) |
| Дата | |
| Msg-id | 29546.1158596151@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PATCHES] Patch for UUID datatype (beta) ("Harald Armin Massa" <haraldarminmassa@gmail.com>) |
| Список | pgsql-hackers |
"Harald Armin Massa" <haraldarminmassa@gmail.com> writes:
> They also talk about a "guaranteed differentness" - and as much as I
> understand, they are Unique as long as the MAC-Adresses of the Network-Cards
> are unique, and fall back to "extremly likely" when there is no network card
> present.
MAC addresses are not guaranteed unique (heck, on Apple machines they're
user-assignable, and I think you can change 'em on Linux too). Another
unrelated-to-reality assumption in the above claim is that the local
system clock is always accurate (is never, say, set backwards).
You can have a reasonably strong probability that UUIDs generated per spec
within a single well-run network are unique, but that's about as far as
I'd care to believe it.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера