Re: how to alter sequence. - Mailing list pgsql-admin

From raja kumar thatte
Subject Re: how to alter sequence.
Date
Msg-id 20021204132028.73250.qmail@web20605.mail.yahoo.com
Whole thread Raw
In response to Re: how to alter sequence.  ("Dan Langille" <dan@langille.org>)
Responses Re: how to alter sequence.
List pgsql-admin
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

pgsql-admin by date:

Previous
From: "Dan Langille"
Date:
Subject: Re: how to alter sequence.
Next
From: "Dan Langille"
Date:
Subject: Re: how to alter sequence.