pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ricardo Javier Aranibar León <ricardo_jal@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: reset sequence
Date: Wed, 11 Sep 2002 20:02:23 +0000
Message-ID: <F84StMVhEUsebmspH2q0000197a@hotmail.com> (raw)

Hi List,

I need that somebody help me.
First, I use PostgreSQL 7.0.3 for linux.
I need reset my sequence but that it begin in 1 again when a use nextval.
And I have been search in http://archives.postgresql.org/ about reset 
sequence but I obtain this information:
   SELECT setval('name_sequence', 1, false);

Now when I execute this command I have a message ERROR.
"ERROR: Function 'setval(unknow, int4, bool)' does not exist. Unable to 
identify a function that satisfies the given argument types. You may need to 
add explicit typecast".


_________________________________________________________________
MSN. Más Útil cada Día. http://www.msn.es/intmap/




view thread (2+ messages)  latest in thread

Message-ID: <F84StMVhEUsebmspH2q0000197a@hotmail.com>
Permalink:  ../F84StMVhEUsebmspH2q0000197a@hotmail.com/
Also on:    postgresql.org/message-id/F84StMVhEUsebmspH2q0000197a@hotmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ricardo_jal@hotmail.com
  Subject: Re: reset sequence
  In-Reply-To: <F84StMVhEUsebmspH2q0000197a@hotmail.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