Re: Multi row sequence?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Filip Wuytack <fwuytack(at)fgscapital(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multi row sequence?
Date: 2004-12-18 17:07:37
Message-ID: 20041218170737.GA24882@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 17, 2004 at 11:10:12 -0000,
Filip Wuytack <fwuytack(at)fgscapital(dot)com> wrote:
> Hi,
>
> I just started looking into PostgreSQL (coming from Mysql before), but have
> a question:
>
> Is it possible to have a sequence (as a multirow prim key), where sequence
> (id) only increase per group of data (grp).

Why do you want to do this? It would be a lot simpler to generate unique
values over the table and that will work just fine if all you need
is uniqueness.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Filip Wuytack 2004-12-18 17:19:27 Re: Multi row sequence?
Previous Message Scott Ribe 2004-12-18 17:03:51 Re: OSX 10.3.7 broke Postgresql 8.0.0b5?