Sequence increment not matching `allocationSize` is now an error

Description

Upgrading to 5.4 and all my @SequenceGenerator started failing.

Workaround is to override the default of 50, but I didn't see this change documented.

Using postgres-10, with sequences created via serial and bigserial types.

Environment

None

Activity

Show:
Nathan Xu
December 15, 2019, 11:03 PM

If your sequence optimizer is HiLo, then there is a known bug as reported here:

Otherwise, you might share the same issue with . Not sure whether it is a bug or a feature, though.

Nathan Xu
December 19, 2019, 6:05 PM

Assignee

Unassigned

Reporter

James Howe

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.3.13

Components

Affects versions

Priority

Minor
Configure