Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A7E0A475AFF for ; Wed, 4 Dec 2002 08:20:25 -0500 (EST) Received: from web20605.mail.yahoo.com (web20605.mail.yahoo.com [216.136.226.163]) by postgresql.org (Postfix) with SMTP id ED31E475AEC for ; Wed, 4 Dec 2002 08:20:24 -0500 (EST) Message-ID: <20021204132028.73250.qmail@web20605.mail.yahoo.com> Received: from [219.65.129.10] by web20605.mail.yahoo.com via HTTP; Wed, 04 Dec 2002 05:20:28 PST Date: Wed, 4 Dec 2002 05:20:28 -0800 (PST) From: raja kumar thatte Subject: Re: how to alter sequence. To: Dan Langille Cc: pgsql-admin@postgresql.org In-Reply-To: <3DEDB259.4378.801560@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/28 X-Sequence-Number: 6523 Hai friend, Thanks. But I wanted to change the maximum value but not current value. How to change the maximum value of a sequence raja --- Dan Langille wrote: > On 4 Dec 2002 at 4:29, raja kumar thatte wrote: > > > Hai friends, > > I have a sequence called raj_seq with max value > 3000. > > I have a table, with one field haveing > > nextvalu('raj_seq') as default value.; > > now i wanted to increase the max value of the > raj_seq > > to 9999999. > > How to do this change? > > http://www.postgresql.org/idocs/index.php?functions-sequence.html > Look for setval > -- > Dan Langille : http://www.langille.org/ > > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com