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

Problem running multiple queries in one editor #918

Closed
gjsjohnmurray opened this issue Jul 22, 2022 · 1 comment
Closed

Problem running multiple queries in one editor #918

gjsjohnmurray opened this issue Jul 22, 2022 · 1 comment
Labels
pg PostgreSQL driver

Comments

@gjsjohnmurray
Copy link
Collaborator

gjsjohnmurray commented Jul 22, 2022

create temp table test as
select true as dummy;

select * from test;

If I have these two queries in one editor and click on "Run active connection", I get a multiple query result window with two tabs, both show "Query returned 0 rows", while I would expect to see one row coming back from the second query.
If I add a third line, just a commented empty line ("--"), then I get three tabs, the two first say query returned 0 rows, and the third one returns the one row I am expecting from my select query.

I would expect the results from the select query would come back in the second tab.

Originally posted by @ofajardo in #877 (comment)

@gjsjohnmurray gjsjohnmurray added the pg PostgreSQL driver label Jul 22, 2022
@gjsjohnmurray
Copy link
Collaborator Author

Seems to be working correctly with current versions:

image

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

No branches or pull requests

1 participant