Re: [DOCS] uuid type not documented

Поиск
Список
Период
Сортировка
От Roman Neuhauser
Тема Re: [DOCS] uuid type not documented
Дата
Msg-id 20070411052817.GA59225@dagan.sigpipe.cz
обсуждение исходный текст
Ответ на Re: [DOCS] uuid type not documented  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
# andrew@dunslane.net / 2007-04-10 15:49:08 -0400:
> Neil Conway wrote:
> >On Tue, 2007-04-10 at 18:28 +0200, Peter Eisentraut wrote:
> >  
> >>The problem is that most of the standard methods are platform dependent, 
> >>as they require MAC addresses or a "good" random source, for instance.
> >>    
> >
> >http://archives.postgresql.org/pgsql-patches/2007-01/msg00392.php
> >
> >ISTM random() or similar sources is a sufficient PSRNG for the purposes
> >of UUID generation -- I can't see anything in the RFC that would
> >contradict that.
> >
> >  
> 
> How about we set up a contrib (I wish we'd fixed that) module with an 
> example function or two?

Thought I'd mention Ralph Engelschall's uuid library, comes with
a PostgreSQL binding:

http://www.ossp.org/pkg/lib/uuid/
http://cvs.ossp.org/fileview?f=ossp-pkg/uuid/pgsql/uuid.txt&v=1.1

I only played with it some time ago.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [mux@FreeBSD.org: Re: Anyone interested in improving postgresql scaling?]
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [PATCHES] Full page writes improvement, code update