Re: GUIDs - Mailing list pgsql-general

From David Wheeler
Subject Re: GUIDs
Date
Msg-id 76DF2596-17B4-11D8-9545-0003931A964A@kineticode.com
Whole thread Raw
In response to Re: GUIDs  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
On Friday, November 14, 2003, at 11:20  PM, Bruno Wolff III wrote:

>> Yeah, but that doesn't help me in Perl.
>
> You can probably keep it as a string in perl. There are also large
> number
> handling routines available for perl if you really need to treat it
> as a number there.

I can store them as a string in Perl, but the trick is getting the
string representation in the first place. The library I was looking at
using Data::UUID, offers binary and hex representations, as well as a
32 bit alphanumeric string and a Base64-encoded string, but not a
numeric string, unfortunately.

   http://search.cpan.org/dist/Data-UUID/UUID.pm

Regards,

David

--
David Wheeler                                     AIM: dwTheory
david@kineticode.com                              ICQ: 15726394
http://www.kineticode.com/                     Yahoo!: dew7e
                                                Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]


pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: vacuum from ecpg
Next
From: Jan Wieck
Date:
Subject: Re: UPGRADING 7.1 TO 7.3.4