Re: Analogue to SQL Server UniqueIdentifier? - Mailing list pgsql-general

From Magnus Hagander
Subject Re: Analogue to SQL Server UniqueIdentifier?
Date
Msg-id 1203454452.5837.5.camel@mha-laptop.clients.sollentuna.se
Whole thread Raw
In response to Re: Analogue to SQL Server UniqueIdentifier?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Analogue to SQL Server UniqueIdentifier?
List pgsql-general
On Tue, 2008-02-19 at 11:07 -0500, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> >> Lack of support for Windows, which it sounds like the OP might be running?
>
> > That's something that's been on my agenda for a while. There are certainly
> > UUID generation functions available on Windows - at least for some of the
> > cases supported by uuid-ossp. If I were to write the same functions for
> > that one, where would people prefer that to go - in the uuid-ossp module
> > even though that's actually not correct (since it wouldn't be using ossp)
> > or a separate module uuid-win32?
>
> The latter is *completely* unacceptable.  The entire point here is to
> not expose any differences at the SQL level.
>
> Why can't ossp be used --- is it impossible to port to Windows?

I haven't looked into the details - it's possible that it could be
portable to Windows. But that would a Yet Another Dependency to be bale
to build and run pg... So I'd like to avoid it if possible.

//Magnus

pgsql-general by date:

Previous
From: brrCv
Date:
Subject: Re: initdb problem with Windows Installer for PostgreSQL 8.2.4
Next
From: Alvaro Herrera
Date:
Subject: Re: Analogue to SQL Server UniqueIdentifier?