Re: What to use for GUIDS ?

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Paul Newman <pnewman(at)tripoint(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What to use for GUIDS ?
Date: 2005-10-17 18:10:50
Message-ID: 20051017181049.GC86144@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Google for 'postgresql uuid' will reveal some options.

On Mon, Oct 17, 2005 at 09:03:17AM +0100, Paul Newman wrote:
> Hi,
>
> We are using GUIDS as primary keys. At the moment we're using a varchar
> 32. We'd like to use varchar 16 but had some problems with the generated
> chars; we were using UNICODE locale (we're now using WIN1251). Should we
> use bytea, retry varchar 16 (with the new local), or some other column
> type ?? What is going to give us the best performance (with 8.1) ?
>
>
>
> Thank You
>
>
>
> Paul Newman
>

--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc Munro 2005-10-17 18:15:37 Re: [pgsql-general] Daily digest v1.5632 (18 messages)
Previous Message Jim C. Nasby 2005-10-17 18:08:17 Re: Problem using start transaction in nested transactions.