Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 681F22E00BD for ; Mon, 2 Jun 2008 19:11:44 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 16391-05 for ; Mon, 2 Jun 2008 19:11:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from a2s5.a2hosting.com (a2s5.a2hosting.com [209.124.50.10]) by developer.postgresql.org (Postfix) with ESMTP id 984762E00D7 for ; Mon, 2 Jun 2008 19:11:29 -0300 (ADT) Received: from adsl-6-43-156.tys.bellsouth.net ([65.6.43.156] helo=[192.168.1.12]) by a2s5.a2hosting.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1K3IFR-0005N0-CN; Mon, 02 Jun 2008 18:11:25 -0400 Cc: "Gordon Hyatt" , Message-Id: <9B722936-625A-4366-B119-6AA178372E48@pgedit.com> From: John DeSoi To: Kevin Grittner In-Reply-To: <484401E9.EE98.0025.0@wicourts.gov> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Re: UUID generation functions Date: Mon, 2 Jun 2008 18:11:47 -0400 References: <85AC2B55AEF4CC41A2145B60C7F88074026535@JDCMAIL4.joslin.harvard.edu> <484401E9.EE98.0025.0@wicourts.gov> X-Mailer: Apple Mail (2.924) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s5.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/10 X-Sequence-Number: 29348 On Jun 2, 2008, at 3:19 PM, Kevin Grittner wrote: > Any chance of going to 8.3? > > http://www.postgresql.org/docs/8.3/interactive/datatype-uuid.html But 8.3 still does not generate UUIDs, only stores/compares them. From the link above: > PostgreSQL provides storage and comparison functions for UUIDs, but > the core database does not include any function for generating > UUIDs, because no single algorithm is well suited for every > application. For reasons mentioned by the other poster, it would be helpful if PostgreSQL could generate them. Is there really more than 2 or 3 needed options where it would be huge code bloat to include sufficient alternatives? John DeSoi, Ph.D.