Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALTER SEQUENCE .. RESTART emulation should use Sequence.startWith() flag, if available #9438

Open
lukaseder opened this issue Oct 25, 2019 · 0 comments

Comments

@lukaseder
Copy link
Member

@lukaseder lukaseder commented Oct 25, 2019

The current implementation of ALTER SEQUENCE .. RESTART supports an emulation of RESTART, if that syntax is not available. It uses RESTART WITH 1. This is currently being done in HANA, Informix, and Vertica.

This emulation should probably use the new Sequence.startWith() flag instead, if the respective dialect supports such a flag on the CREATE SEQUENCE statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.