Re: How can I build OSSP UUID support on Windows to avoid duplicate UUIDs?

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Alvaro Herrera" <alvherre(at)2ndquadrant(dot)com>
Cc: "Hiroshi Saito" <hiroshi(at)winpg(dot)jp>, "Dave Page" <dpage(at)pgadmin(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How can I build OSSP UUID support on Windows to avoid duplicate UUIDs?
Date: 2013-10-30 21:10:00
Message-ID: 2DC5019D459E4D28A1DC24180A0CFED1@maumau
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
>> At this point, I think we need to consider ossp-uuid as dead code.
>
> Yeah, but what shall we replace it with? And can we preserve the
> API contrib/uuid-ossp offers? (Maybe we shouldn't even try, but
> just deprecate that module and start fresh.)

Would it be welcomed in this community if a patch for built-in UUID
generation functions are provided? (I'm not saying I can provide them
soon.) According to the following page, Linux has libuuid.so. Microsoft
provides UuidCreate() as a Win32 API. I don't know about other UNIXes.

MySQL, Oracle (and perhaps other DBMSs) offer UUID generation functions. I
feel it convenient if I can use that function as the default value for a
column.

Regards
MauMau

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2013-10-30 21:11:08 Shave a few instructions from child-process startup sequence
Previous Message MauMau 2013-10-30 20:36:24 Re: How can I build OSSP UUID support on Windows to avoid duplicate UUIDs?