Re: Setting Sequence Values - Mailing list pgsql-general

From Martin
Subject Re: Setting Sequence Values
Date
Msg-id 1198287944.381645@no.spam
Whole thread Raw
In response to Setting Sequence Values  (Martin <martin@cornhobble.com>)
Responses Re: Setting Sequence Values
List pgsql-general
In article <20071221171055.5082a107@commandprompt.com>,
Joshua D. Drake <jd@commandprompt.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.



pgsql-general by date:

Previous
From: "Gregory Williamson"
Date:
Subject: Re: Setting Sequence Values
Next
From: Greg Smith
Date:
Subject: Re: Setting Sequence Values