pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ferruccio Zamuner <nonsolosoft@diff.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: resetting serials and sequences
Date: Mon, 01 Jan 2001 17:01:16 -0500
Message-ID: <27714.978386476@sss.pgh.pa.us> (raw)
In-Reply-To: <200101011548.f01FmZm13200@tnt.diff.org>
References: <200101011548.f01FmZm13200@tnt.diff.org>

Ferruccio Zamuner <nonsolosoft@diff.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



view thread (2+ messages)

Message-ID: <27714.978386476@sss.pgh.pa.us>
Permalink:  ../27714.978386476@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27714.978386476@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, nonsolosoft@diff.org
  Subject: Re: resetting serials and sequences
  In-Reply-To: <27714.978386476@sss.pgh.pa.us>
  References: <200101011548.f01FmZm13200@tnt.diff.org> <27714.978386476@sss.pgh.pa.us>

* 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