From: Rod Taylor <rbt@rbt.ca>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: raja kumar thatte <trajakumar@yahoo.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [ADMIN] how to alter sequence.
Date: 04 Dec 2002 11:18:55 -0500
Message-ID: <1039018735.35854.33.camel@jester> (raw)
In-Reply-To: <1039010812.11433.75.camel@linda.lfix.co.uk>
References: <20021204122900.96540.qmail@web20608.mail.yahoo.com>
<1039010812.11433.75.camel@linda.lfix.co.uk>
On Wed, 2002-12-04 at 09:06, Oliver Elphick wrote:
> On Wed, 2002-12-04 at 12:29, raja kumar thatte wrote:
> > Hai friends,
> > I have a sequence called raj_seq with max value 3000.
> ...
> > now i wanted to increase the max value of the raj_seq
> > to 9999999.
> > How to do this change?
> > If i drop and recreate the raj_seq, then i have to
> > recreate the table and all triggers working on that
> > table.But it is not an acceptable solution.
> > So with out droping raj_seq , how do I solve this
> > problem.
>
> Unfortunately there doesn't seem to be any easy way to do this. There
> is no ALTER SEQUENCE command and you can't use UPDATE on a sequence.
>
> Hackers: Could this be a TODO item for 7.4?
I'm hoping to do that one sooner than later, unless Neil beats me to it.
--
Rod Taylor <rbt@rbt.ca>
PGP Key: http://www.rbt.ca/rbtpub.ascAttachments:
signature.asc (application/pgp-signature, 186B) download
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: rbt@rbt.ca, olly@lfix.co.uk, trajakumar@yahoo.com, pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] how to alter sequence.
In-Reply-To: <1039018735.35854.33.camel@jester>
References: <20021204122900.96540.qmail@web20608.mail.yahoo.com> <1039010812.11433.75.camel@linda.lfix.co.uk> <1039018735.35854.33.camel@jester>
* 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