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

Probable regression, Postgresql sequence DDL uses Cache 0 and this is not a valid value #12569

Closed
igorbga opened this issue May 24, 2021 · 5 comments

Comments

@igorbga
Copy link

igorbga commented May 24, 2021

System information:

  • Ubuntu 18.04
  • DBeaver CE 21.0.5
  • Additional extensions: Non AFAIK

Connection specification:

  • Database name and version: PostgreSQL 9.6
  • Driver name: PostgreSQL JDBC Driver
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:

The DDL suggested for a sequence sets optional attribute CACHE to 0 which is not valid in PostgreSQL.
This was reported and supposedly fixed a couple of years ago in #5156 .

Steps to reproduce, if exist:

Create a sequence in a PostgreSQL DB and check the DDL that DBeaver shows.

Include any warning/errors/backtraces from the logs

@ShadelessFox
Copy link
Member

Hello @igorbga,

Thanks for the report. The problem was occurred in #11177.

@ShadelessFox ShadelessFox self-assigned this May 24, 2021
@ShadelessFox ShadelessFox added this to the 21.1.0 milestone May 24, 2021
ShadelessFox added a commit that referenced this issue May 24, 2021
@igorbga igorbga closed this as completed May 24, 2021
@ShadelessFox
Copy link
Member

The issue will be fixed in the scope of this ticket. Keep it opened for now.

@ShadelessFox ShadelessFox reopened this May 24, 2021
@igorbga
Copy link
Author

igorbga commented May 24, 2021

A ok, sorry, thought your commit already solved it. Thanks

@ShadelessFox
Copy link
Member

The fix should be tested first in order to be closed :)

@kseniiaguzeeva kseniiaguzeeva self-assigned this May 25, 2021
@kseniiaguzeeva
Copy link

verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants