change max_value in sequence - Mailing list pgsql-admin

From Claus Guttesen
Subject change max_value in sequence
Date
Msg-id b41c75520809050558o541ac369w2a50fa47a2be2e99@mail.gmail.com
Whole thread Raw
Responses Re: change max_value in sequence  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Re: change max_value in sequence  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hi.

I have a table with a serial field defined with an older version of
postgresql (ver. 7). Back then max_value was 2147483647:

select max_value from my_bid_seq ;
max_value
------------
2147483647

How can I increase it? By updating the max_value-field? This is an
older thread and may have changed:
http://archives.postgresql.org/pgsql-admin/2002-12/msg00033.php

I'm running postgresql 8.3.1.

--
regards
Claus

When lenity and cruelty play for a kingdom,
the gentler gamester is the soonest winner.

Shakespeare

pgsql-admin by date:

Previous
From: Jan-Peter.Seifert@gmx.de
Date:
Subject: Re: SSL problems
Next
From: "Scott Marlowe"
Date:
Subject: Re: change max_value in sequence