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 10C10D7AED for ; Tue, 6 Sep 2005 19:16:43 -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 93962-10 for ; Tue, 6 Sep 2005 22:16:38 +0000 (GMT) Received: from mail.envyfinancial.com (mark.mielke.cc [206.248.142.186]) by svr1.postgresql.org (Postfix) with ESMTP id B1BECD7001 for ; Tue, 6 Sep 2005 19:16:38 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.envyfinancial.com (Postfix) with ESMTP id D167023497; Tue, 6 Sep 2005 18:06:48 -0400 (EDT) Received: from mail.envyfinancial.com ([127.0.0.1]) by localhost (mark.mielke.cc [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04963-01; Tue, 6 Sep 2005 18:06:48 -0400 (EDT) Received: by mail.envyfinancial.com (Postfix, from userid 500) id 5F00B23496; Tue, 6 Sep 2005 18:06:48 -0400 (EDT) Date: Tue, 6 Sep 2005 18:06:48 -0400 From: mark@mark.mielke.cc To: Tom Lane Cc: "Jonah H. Harris" , josh@agliodbs.com, pgsql-hackers@postgresql.org, nathan wagner Subject: Re: uuid type for postgres Message-ID: <20050906220648.GD3069@mark.mielke.cc> References: <20050906135057.GA24136@granicus.if.org> <20050906144930.GA27641@mark.mielke.cc> <200509061002.43803.josh@agliodbs.com> <36e6829205090612575b954f38@mail.gmail.com> <20050906203811.GA3069@mark.mielke.cc> <20921.1126043674@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20921.1126043674@sss.pgh.pa.us> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: amavisd-new at mail.envyfinancial.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.225 required=5 tests=[AWL=-0.003, FORGED_RCVD_HELO=0.05, NO_REAL_NAME=0.178] X-Spam-Level: X-Archive-Number: 200509/290 X-Sequence-Number: 72687 On Tue, Sep 06, 2005 at 05:54:34PM -0400, Tom Lane wrote: > I don't see any "big opposition". People are simply questioning the > idea whether it belongs in core PG. The reason we don't want to accept > everything-and-the-kitchen-sink in core is that we have only limited > manpower to maintain it. So you've got to justify that we should spend > our effort here and not elsewhere. There's a fair amount of nearly > ... > been there awhile. So one of the questions that's going to be asked is > how useful/popular it's really going to be. Sounds reasonable, and certainly no more than I expected. If Nathan hadn't raised the issue, it probably would have been a few months before I raised it myself. > One thing that is raising my own level of concern quite a bit is the > apparent portability issues. Code that isn't completely portable is a > huge maintainability problem; in particular, stuff that requires > system-dependent behavior used nowhere else in Postgres is a real pain. > It sounds like the UUID code expects to be able to get at the machine's > MAC address, which suggests serious issues in (a) relying on > not-too-standard APIs, (b) possible protection issues (will an > unprivileged process be able to get at the MAC address?), and (c) > ill-defined behavior on machines with more or less than one MAC address. > Not to mention that MAC addresses aren't so unique as all that. I'll try to prepare an answer for this. (I started to write a lot of information - but is it unverified from memory, and perhaps should be more authoritative before presented as truth) > The bottom line is that we're willing to listen, but it's not by any > means a slam dunk to get this into the distribution. Sounds good. Cheers, mark -- mark@mielke.cc / markm@ncf.ca / markm@nortel.com __________________________ . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bind them... http://mark.mielke.cc/