From: Dan Langille <dan@langille.org>
To: raja kumar thatte <trajakumar@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to alter sequence.
Date: Wed, 04 Dec 2002 07:44:25 -0500
Message-ID: <3DEDB259.4378.801560@localhost> (raw)
In-Reply-To: <20021204122900.96540.qmail@web20608.mail.yahoo.com>
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/
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-admin@postgresql.org
Cc: dan@langille.org, trajakumar@yahoo.com
Subject: Re: how to alter sequence.
In-Reply-To: <3DEDB259.4378.801560@localhost>
References: <20021204122900.96540.qmail@web20608.mail.yahoo.com> <3DEDB259.4378.801560@localhost>
* 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