pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Patrick Coulombe <pcoulombe@mediacces.com>
To: pgsql-sql@postgresql.org
Subject: re: duplicate key
Date: Mon, 22 May 2000 02:53:42 -0400
Message-ID: <3928D976.C30940B5@mediacces.com> (raw)

hi,

last post to pgsql-sql, i will post to novice ;)
how can i change the "last_value" from a sequence?

when i try this :
medias=> update medias_media_id_seq set last_value = 2329;
ERROR:  You can't change sequence relation medias_media_id_seq


thank you :)
patrick



view thread (3+ messages)  latest in thread

Message-ID: <3928D976.C30940B5@mediacces.com>
Permalink:  ../3928D976.C30940B5@mediacces.com/
Also on:    postgresql.org/message-id/3928D976.C30940B5@mediacces.com

 · 

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: pcoulombe@mediacces.com
  Subject: Re: duplicate key
  In-Reply-To: <3928D976.C30940B5@mediacces.com>
  References: <3928D976.C30940B5@mediacces.com>

* 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