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

Fix PostgreSQL qgen #5

Open
LinuzJ opened this issue Jun 28, 2024 · 0 comments
Open

Fix PostgreSQL qgen #5

LinuzJ opened this issue Jun 28, 2024 · 0 comments

Comments

@LinuzJ
Copy link

LinuzJ commented Jun 28, 2024

qgen is not working for PostgreSQL due to the following reasons. The output has:

  • negative limits.
  • the limit clause outside the select statement.

The following is an example of an output (with some comments):

group by
	cntrycode
order by
	cntrycode; <- closes statement before limit
limit -1;  <- negative limit

This makes using the tool quite difficult since manual intervention is needed.
There is a PR open to fix this issue: #4

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

No branches or pull requests

1 participant