Re: [SQL] Usage of UUID with 8.3 (Windows)

2008-02-17 Thread Peter Eisentraut
Tom Lane wrote: Alvaro Herrera [EMAIL PROTECTED] writes: Tom Lane wrote: Figure out how to build ossp-uuid on Windows ... I think Windows has its own UUID generator, so the best bet would be to make that work. Only if it can be made to present the same SQL-level API as we have for

[SQL] Usage of UUID with 8.3 (Windows)

2008-02-12 Thread Sven Sporer
I think Windows has its own UUID generator, so the best bet would be to make that work. Only if it can be made to present the same SQL-level API as we have for OSSP. Otherwise we'll be faced with boatloads of platform-dependent client code ... I'm just curious, but why aren't those

Re: [SQL] Usage of UUID with 8.3 (Windows)

2008-02-12 Thread Steve Midgley
At 09:20 AM 2/12/2008, [EMAIL PROTECTED] wrote: Date: Mon, 11 Feb 2008 11:56:33 -0500 From: Tom Lane [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: pgsql-sql@postgresql.org Subject: Re: Usage of UUID with 8.3 (Windows) Message-ID: [EMAIL PROTECTED] [EMAIL PROTECTED] writes: Now, what do I have to

Re: [SQL] Usage of UUID with 8.3 (Windows)

2008-02-11 Thread Tom Lane
[EMAIL PROTECTED] writes: Now, what do I have to do in order to generate a valid UUID (or the 5 different versions as implemented by the RFC) under Windows? Figure out how to build ossp-uuid on Windows ... regards, tom lane ---(end of

Re: [SQL] Usage of UUID with 8.3 (Windows)

2008-02-11 Thread Alvaro Herrera
Tom Lane wrote: [EMAIL PROTECTED] writes: Now, what do I have to do in order to generate a valid UUID (or the 5 different versions as implemented by the RFC) under Windows? Figure out how to build ossp-uuid on Windows ... I think Windows has its own UUID generator, so the best bet would

[SQL] Usage of UUID with 8.3 (Windows)

2008-02-11 Thread ncode
Hello list, the UUID datatype in the recent version is a feature we intend to use in the near future. To generate a UUID in the database, the Linux release includes contrib modules which can be used for that (together with the uuid lib). Now, what do I have to do in order to generate a valid

Re: [SQL] Usage of UUID with 8.3 (Windows)

2008-02-11 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: Tom Lane wrote: Figure out how to build ossp-uuid on Windows ... I think Windows has its own UUID generator, so the best bet would be to make that work. Only if it can be made to present the same SQL-level API as we have for OSSP. Otherwise we'll be