Re: resetting serials and sequences

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: resetting serials and sequences
Date: 2001-01-01 22:01:16
Message-ID: 27714.978386476@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Ferruccio Zamuner <nonsolosoft(at)diff(dot)org> writes:
> Is this a bug?

No, but it is a missing feature: there's no way to reset a sequence's
is_called flag once it's been set. This is fixed for 7.1: there's now
a three-parameter variant of setval() to let you do exactly that.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ferruccio Zamuner 2001-01-01 23:55:12 date infinity
Previous Message Tom Lane 2001-01-01 19:21:47 Re: Updating two table via a Rule?