Thanks to visit codestin.com
Credit goes to postgrespro.com

Sequenties in pgSQL 7.3.x - Mailing list pgsql-sql

Hi
I am using postgresql 7.3.x. I am upgrating a database PostgreSQL.
The main problem is how to change field last value in sequencde which exists in database.
I created script to read this field and then I'm drop the table, do modification and i'm must change this value to another value.
But DBMS returns me message like that
ERROR:  You can't change sequence relation seq_id_seq
How to do this

pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Case Insensitive comparison
Next
From: Tomasz Myrta
Date:
Subject: Re: Sequenties in pgSQL 7.3.x