Re: UUID patch broke win32 - Mailing list pgsql-hackers

From Neil Conway
Subject Re: UUID patch broke win32
Date
Msg-id 1170015529.29138.36.camel@localhost.localdomain
Whole thread Raw
In response to UUID patch broke win32  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Sun, 2007-01-28 at 20:47 +0100, Magnus Hagander wrote:
> uuid_t is defined to UUID in the win32 platform SDK header files. I
> would suggest we use pguuid_t or something like that instead.

We could possibly try to workaround it by #undef'ing any existing uuid_t
definitions before we supply our own, but per out-of-band discussion
with Magnus, it seems safer to just use a different type name
altogether. Attached is a patch that renames uuid_t to pg_uuid_t (and
makes some other minor cleanup of uuid.c), which I'll apply shortly.

-Neil


Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: UUID patch broke win32
Next
From: Richard Troy
Date:
Subject: Re: DROP FUNCTION failure: cache lookup failed for relation