Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id ABC729FB3A4 for ; Wed, 11 Apr 2007 02:26:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 13331-03 for ; Wed, 11 Apr 2007 02:25:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from isis.sigpipe.cz (fw.sigpipe.cz [62.245.70.224]) by postgresql.org (Postfix) with ESMTP id 8A1299FB20D for ; Wed, 11 Apr 2007 02:26:00 -0300 (ADT) Received: from dagan.sigpipe.cz (dagan.sigpipe.cz [10.9.8.90]) by isis.sigpipe.cz (Postfix) with ESMTP id 15BEB14848A; Wed, 11 Apr 2007 07:22:09 +0200 (CEST) Received: by dagan.sigpipe.cz (Postfix, from userid 1001) id 4A12A6DFD; Wed, 11 Apr 2007 07:28:17 +0200 (CEST) Date: Wed, 11 Apr 2007 07:28:17 +0200 From: Roman Neuhauser To: Andrew Dunstan Cc: Neil Conway , Peter Eisentraut , Gevik Babakhani , pgsql-hackers@postgresql.org Subject: Re: [DOCS] uuid type not documented Message-ID: <20070411052817.GA59225@dagan.sigpipe.cz> References: <200704101724.27285.peter_e@gmx.net> <1176219030.6558.47.camel@localhost.localdomain> <200704101828.58118.peter_e@gmx.net> <1176233452.6558.52.camel@localhost.localdomain> <461BEA34.2040601@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <461BEA34.2040601@dunslane.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/463 X-Sequence-Number: 101796 # 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