From: "Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков <dmitry@taurussoft.org>
To: postgresql_sql@kaiserdigital.com
Cc: pgsql-sql@postgresql.org
Subject: Re: GUID in postgres
Date: 27 Oct 2001 03:31:04 +0400
Message-ID: <1004139094.781.21.camel@flame-in-night> (raw)
In-Reply-To: <003501c15e41$a643a220$0c00a8c0@mouse>
References: <003501c15e41$a643a220$0c00a8c0@mouse>
On Птн, 2001-10-26 at 21:14, postgresql_sql@kaiserdigital.com wrote:
> Hi
>
> I think most of you are missing the point here.
>
I'm missing nothing :)
"uniqueidentifier" (128-bit unique value) data type fot PostgresSQL
exists and is used at least by me. It utilizes functionality of uuid
library from widely used in Linux e2fsprogs package. Uuid library itself
can generate UUIDs with MAC/time but if /dev/urandom was detected the
true random 16 bytes will be used by default.
And yes, this type is great for primary keys.
Regards,
Dmitry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dmitry@taurussoft.org, postgresql_sql@kaiserdigital.com
Subject: Re: GUID in postgres
In-Reply-To: <1004139094.781.21.camel@flame-in-night>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox