Skip to content

Setting Sequences does not match the next value of the source System. #30

@jw1u1

Description

@jw1u1

It shows that pg-migrator sets the “next” value for the sequence in the PostgreSQL database based on the MAX(xxx) from the IDENTITY column of the respective table, incremented by 1.

This is incorrect behavior. The correct “next” value in PostgreSQL should be taken from the internal sequence value from the Sybase database (the query SELECT next_identity('table_name') returns the proper value).

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions