Re: ALTER SEQUENCE enchancement

From: Rod Taylor <pg(at)rbt(dot)ca>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER SEQUENCE enchancement
Date: 2003-11-24 13:29:30
Message-ID: 1069680570.46253.69.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2003-11-24 at 01:07, Christopher Kings-Lynne wrote:
> Hi,
>
> Is there demand for this syntax:
>
> ALTER SEQUENCE ON table(col) CYCLE 100;
>
> It would allow us to become sequence-name independent...

I think the right approach to this problem would be to implement
IDENTITIES and GENERATORS per 2k3 spec -- almost what you show here.

Check DB2 docs for examples.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-11-24 15:38:20 Re: Build farm
Previous Message Tom Lane 2003-11-24 13:23:05 Re: Executable files in CVS