We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Wrong value for cache (0) in generated DDL for sequence.
It will generate something like :
-- DROP SEQUENCE my_schema.my_seq; CREATE SEQUENCE my_schema.my_seq INCREMENT BY 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 38761 CACHE 0 NO CYCLE;
When executing this DDL script with Postgres 9.6, I got this error :
SQL Error [22023]: ERROR: CACHE (0) must be greater than zero
According to Postgres documentation, cache value must be at least equal to 1 (https://www.postgresql.org/docs/9.6/sql-createsequence.html).
The text was updated successfully, but these errors were encountered:
#5156 PG: sequence DDL gen fix
b563a1d
No branches or pull requests
System information:
Connection specification:
Describe the problem you're observing:
Wrong value for cache (0) in generated DDL for sequence.
It will generate something like :
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs
When executing this DDL script with Postgres 9.6, I got this error :
According to Postgres documentation, cache value must be at least equal to 1 (https://www.postgresql.org/docs/9.6/sql-createsequence.html).
The text was updated successfully, but these errors were encountered: