Dne 14.07.09 04:37, Bruce Momjian napsal(a):
> Tom Lane wrote:
>
>> Bruce Momjian <bruce(at)momjian(dot)us> writes:
>>
>>> Tilmann Singer wrote:
>>>
>>>> However, all of the sequences were at the initial values and not
>>>> bumped up to the last used value as I would have expected. The first
>>>> nextval call on any sequence in the migrated 8.4 database always
>>>> returned 1.
>>>>
>>> Wow, that is also surprising. I am going to have to run some tests to
>>> find the cause, but it certainly is not intended.
>>>
>> Looks like pg_migrator neglects to include relkind 'S' in the set of
>> tables that it needs to physically migrate.
>>
>
> Thanks, I have fixed pg_migrator with the attached patch. Once we find
> the cause of the lovacuum problem, I will make a new pg_migrator release.
>
>
I think you don't need transfer sequence table, because pg_dump should
create DDL command (CREATE SEQUENCE) which should create new nice
sequence relation.
Zdenek