Re: uuid type for postgres

From: nathan wagner <nw(at)hydaspes(dot)if(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: uuid type for postgres
Date: 2005-09-07 17:04:30
Message-ID: 20050907170430.GA6281@granicus.if.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

On Wed, Sep 07, 2005 at 09:45:17AM -0700, josh(at)agliodbs(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-09-07 17:05:52 Re: Remove xmin and cmin from frozen tuples
Previous Message Josh Berkus 2005-09-07 16:48:08 Re: uuid type for postgres

Browse pgsql-sql by date

  From Date Subject
Next Message nathan wagner 2005-09-07 17:19:12 Re: uuid type for postgres
Previous Message Josh Berkus 2005-09-07 16:48:08 Re: uuid type for postgres