From: Arnold Putong <arnold@engg.upd.edu.ph>
To: pgsql-sql@postgresql.org
Subject: SERIAL parameters
Date: Wed, 28 Aug 2002 12:03:05 +0800 (PHT)
Message-ID: <64261.10.33.12.1.1030507385.squirrel@www.engg.upd.edu.ph> (raw)
Would it be possible to have parameters in the SERIAL datatype?
CREATE TABLE x { ID SERIAL(100, 10) }
means ID starts at 100 and will be incremented by 10. And it would be
nice to have
CREATE TABLE x { ID SERIAL(0,0) }
mean that ID will be issued random non-repeating values (period=2^bitwidth
of type). This is most likely useful in replication/merging data.
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-sql@postgresql.org
Cc: arnold@engg.upd.edu.ph
Subject: Re: SERIAL parameters
In-Reply-To: <64261.10.33.12.1.1030507385.squirrel@www.engg.upd.edu.ph>
References: <64261.10.33.12.1.1030507385.squirrel@www.engg.upd.edu.ph>
* 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