From: raja kumar thatte <trajakumar@yahoo.com>
To: Dan Langille <dan@langille.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to alter sequence.
Date: Wed, 4 Dec 2002 05:20:28 -0800 (PST)
Message-ID: <20021204132028.73250.qmail@web20605.mail.yahoo.com> (raw)
In-Reply-To: <3DEDB259.4378.801560@localhost>
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 <dan@langille.org> 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
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: trajakumar@yahoo.com, dan@langille.org
Subject: Re: how to alter sequence.
In-Reply-To: <20021204132028.73250.qmail@web20605.mail.yahoo.com>
References: <3DEDB259.4378.801560@localhost> <20021204132028.73250.qmail@web20605.mail.yahoo.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