Re: resequencing an existing sequence

From: Keary Suska <hierophant(at)pcisys(dot)net>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: resequencing an existing sequence
Date: 2001-10-05 19:51:50
Message-ID: B7E36B75.42EC%hierophant@pcisys.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

See setval(), nextval(), and currval() in the documentation on how to modify
sequences on the fly.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

> From: "mike" <matrix(at)quadrent(dot)net>
> Date: Fri, 5 Oct 2001 15:07:10 -0400
> To: <pgsql-general(at)postgresql(dot)org>
> Subject: [GENERAL] resequencing an existing sequence
>
>
> I'm currently working on an online application that uses a sequence to
> order the layout of blocks of text, but I've come to a problem when
> someone adds blocks of text between existing blocks. I'm wondering if there
> is any way to resequence an existing sequence to accommodate the new blocks
> of text.
>
> Mike

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sndwora 2001-10-05 19:53:22 ُErrors While Compiling
Previous Message Keary Suska 2001-10-05 19:14:56 Re: Null...