In article <20071221171055.5082a107@xxxxxxxxxxxxxxxxx>, Joshua D. Drake <jd@xxxxxxxxxxxxxxxxx> 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. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq