From: Bruno Wolff III <bruno@wolff.to>
To: Jean-Michel POURE <jm.poure@freesurf.fr>
Cc: postgres@vrane.com
Cc: pgsql-general@postgresql.org
Subject: Re: HOWTO - Random character generation for primary key
Date: Thu, 2 May 2002 10:34:19 -0500
Message-ID: <20020502153419.GA26741@wolff.to> (raw)
In-Reply-To: <200205021301.22897.jm.poure@freesurf.fr>
References: <20020502020148.35486.qmail@web21203.mail.yahoo.com>
<200205021158.53937.jm.poure@freesurf.fr>
<20020502061317.A4832@amd.universe>
<200205021301.22897.jm.poure@freesurf.fr>
On Thu, May 02, 2002 at 01:01:22PM +0200,
Jean-Michel POURE <jm.poure@freesurf.fr> wrote:
>
> A timestamp (ex: 20020501_1258) followed by PLpgSQL function
> random_string(200) value should provide a unique signature. What do you
> think? Alternatively, could we use the crypto package to generate a unique
> signature?
Well what are you really trying to do? Presumably you have some reason(s)
for not wanting to use sequences, but without knowing what the reason(s)
are it is hard to give you good advice.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, jm.poure@freesurf.fr, postgres@vrane.com, pgsql-general@postgresql.org
Subject: Re: HOWTO - Random character generation for primary key
In-Reply-To: <20020502153419.GA26741@wolff.to>
References: <20020502020148.35486.qmail@web21203.mail.yahoo.com> <200205021158.53937.jm.poure@freesurf.fr> <20020502061317.A4832@amd.universe> <200205021301.22897.jm.poure@freesurf.fr> <20020502153419.GA26741@wolff.to>
* 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