Re: Setting Sequence Values

From: Martin <martin(at)cornhobble(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Setting Sequence Values
Date: 2007-12-22 01:45:44
Message-ID: 1198287944.381645@no.spam
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <20071221171055(dot)5082a107(at)commandprompt(dot)com>,
Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:

>> After porting tables and data from FrontBase I now find that I
>> need to update all the values for the sequences that were created
>> to reflect the data in the tables. Is there an easy way to do
>> this?

>Take a look at setval.

I know all about setval. The problem is getting all the sequences
set without doing each one by hand.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2007-12-22 02:40:45 Re: Setting Sequence Values
Previous Message Gregory Williamson 2007-12-22 01:14:43 Re: Setting Sequence Values