From: Bernardo de Barros Franco <electric_csf@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Using Random Sequence as Key
Date: Sun, 15 Apr 2001 22:58:40 -0300
Message-ID: <9bdjag$faj$1@news.tht.net> (raw)
Hello, I was wondering if noone can help me maybe someone could at least
give me some directions where to look for info or where to ask:
I wanted to index a table by a random key. Exemplifying, when a insert is
made, the id value is automatically filled with a random number between
10000 and 99999. I'm pretty new in pgsql so I could use a howto or
something, and I repeat, if you don't know how, directions to where I can
find info on that or where I can ask someone that might know would be
enough.
Thank you
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: electric_csf@hotmail.com
Subject: Re: Using Random Sequence as Key
In-Reply-To: <9bdjag$faj$1@news.tht.net>
* 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