STARTING SERIAL / BIGSERIAL FIELDS FROM 1.

From: JORGE MALDONADO <jorgemal1960(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: STARTING SERIAL / BIGSERIAL FIELDS FROM 1.
Date: 2009-07-20 18:54:33
Message-ID: f03943a00907201154gb236416p33706edc1f5e58f0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

How can a serial or bigserial field start from 1 again?
I need to manually remove all the records from a table and I need these kind
of fields to start from 1 once again.

With respect,
Jorge Maldonado

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jure Kobal 2009-07-20 19:09:56 Re: STARTING SERIAL / BIGSERIAL FIELDS FROM 1.
Previous Message Thomas Kellerer 2009-07-20 18:25:46 Re: trouble connecting