X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8C555D8554 for ; Tue, 6 Sep 2005 13:59:17 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21100-09 for ; Tue, 6 Sep 2005 16:59:15 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id 792FDD8546 for ; Tue, 6 Sep 2005 13:59:14 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 8047542; Tue, 06 Sep 2005 10:01:33 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-hackers@postgresql.org Subject: Re: uuid type for postgres Date: Tue, 6 Sep 2005 10:02:43 -0700 User-Agent: KMail/1.8 Cc: mark@mark.mielke.cc, nathan wagner References: <20050906135057.GA24136@granicus.if.org> <20050906144930.GA27641@mark.mielke.cc> In-Reply-To: <20050906144930.GA27641@mark.mielke.cc> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509061002.43803.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.047 required=5 tests=[AWL=-0.003, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/251 X-Sequence-Number: 72648 Mark, > I suggest that UUID be recommended in place of SERIAL for certain > classes of applications, and that it therefore belongs in the core. > UUID and SERIAL can be used together (although, once you have a UUID, > it may not be useful to also have a SERIAL). I think that, if you want to push a refactored UUID type for PostgreSQL 8.2, that you'd better separate your database design arguments from your inclusion arguments. For example, you might get my agreement that it would be useful to have a UUID as a core type; you would *never* get my agreement to recommend using UUID to newbies. I have seen *far* too many abuses of UUIDs in really bad database design. People who use them should be experienced enough to know what they're doing. -- --Josh Josh Berkus Aglio Database Solutions San Francisco