Re: uuid type for postgres - Mailing list pgsql-hackers

From nathan wagner
Subject Re: uuid type for postgres
Date
Msg-id 20050907170430.GA6281@granicus.if.org
Whole thread Raw
In response to Re: uuid type for postgres  (Josh Berkus <josh@agliodbs.com>)
Responses Re: uuid type for postgres
Re: uuid type for postgres
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Remove xmin and cmin from frozen tuples
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Remove xmin and cmin from frozen tuples