Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CEFB9476279 for ; Wed, 11 Sep 2002 16:02:22 -0400 (EDT) Received: from hotmail.com (f84.law9.hotmail.com [64.4.9.84]) by postgresql.org (Postfix) with ESMTP id 40E4147627A for ; Wed, 11 Sep 2002 16:02:22 -0400 (EDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 11 Sep 2002 13:02:23 -0700 Received: from 64.7.127.220 by lw9fd.law9.hotmail.msn.com with HTTP; Wed, 11 Sep 2002 20:02:23 GMT X-Originating-IP: [64.7.127.220] From: =?iso-8859-1?B?UmljYXJkbyBKYXZpZXIgQXJhbmliYXIgTGXzbg==?= To: pgsql-sql@postgresql.org Subject: reset sequence Date: Wed, 11 Sep 2002 20:02:23 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 11 Sep 2002 20:02:23.0201 (UTC) FILETIME=[249A1D10:01C259CE] X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/85 X-Sequence-Number: 9362 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/