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 9F107D6E3B for ; Wed, 7 Sep 2005 14:04:35 -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 84296-10 for ; Wed, 7 Sep 2005 17:04:30 +0000 (GMT) Received: from granicus.if.org (24-196-135-82.dhcp.mdsn.wi.charter.com [24.196.135.82]) by svr1.postgresql.org (Postfix) with ESMTP id 02224D8089 for ; Wed, 7 Sep 2005 14:04:30 -0300 (ADT) Received: by granicus.if.org (Postfix, from userid 1001) id CF485EA8A60; Wed, 7 Sep 2005 18:04:30 +0100 (BST) Date: Wed, 7 Sep 2005 17:04:30 +0000 From: nathan wagner To: pgsql-hackers@postgresql.org Subject: Re: uuid type for postgres Message-ID: <20050907170430.GA6281@granicus.if.org> References: <20050906135057.GA24136@granicus.if.org> <7CDBCE29-55BE-4EE3-8868-F50DB1E914F6@refractions.net> <20050907051508.GA3572@granicus.if.org> <200509070945.17916.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509070945.17916.josh@agliodbs.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.101 required=5 tests=[AWL=0.051, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/333 X-Sequence-Number: 72730 On Wed, Sep 07, 2005 at 09:45:17AM -0700, josh@agliodbs.com wrote: > I think the issue is portability. Remember that this type needs to work on > Windows as well as all POSIX platforms and AIX. I had forgotten about windows. I'll see to what extent the library i'm using is portable to windows. > > It would appear that linking against libraries is just fine, I don't > > see that uuid is any different. > > Is it portable to all platforms we support? I don't know yet. It could be made to be so though. I don't have any way to compile on windows, so someone would have to be willing to try that. Same with AIX. If someone with an AIX box could download and test it out I would appreciate a compatibility report. > How does it generate its machine identifier? No idea. Does it matter? Not having to fret this kind of detail is the advantage of using someone else's library. > One of the differences between an add-in and core code is support for all > PostgreSQL platforms. So would including my type in contrib be possible then? To me, that is perhaps more important than making it a core type, though i think there should be a core UUID type as well. I'm testing out elog(). I'll post a new version later today. There really won't be any new functionality, it's just code clean up. -- Nathan Wagner