Hi
after inserting bulk data, Select Max of the sequence.
SELECT setval('abc_xyz_seq', max value);
should get the sequence in synchro.
Vijay
Rory Campbell-Lange wrote:
>
> I have problems after exporting then importing data into newly created
> databases that the sequence and the indexed serial fields get out of
> alignment.