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

Extension stops working after a while #36

Open
txomon opened this issue Apr 11, 2019 · 14 comments
Open

Extension stops working after a while #36

txomon opened this issue Apr 11, 2019 · 14 comments
Labels
Milestone

Comments

@txomon
Copy link

txomon commented Apr 11, 2019

  • PGSQL Extension Version: 0.2.0
  • VSCode Version: 1.33.0
  • OS Version: Arch Linux

Steps to Reproduce:

  1. Run queries for a while

After running queries for a while, the extension stops working and the only way to make it work again is by restarting the IDE.

The error is:

PostgreSQL: Execution failed: Another query is currently executing.
@akamath46297
Copy link
Contributor

@txomon , could you please share exact repro steps to help us investigate this further. Are you experiencing this while executing any specific queries ?

From the message you pasted looks like there was some long running already under executing using a connection and you were trying to execute another query using the same connection. Did you try doing PostgreSQL: Cancel Query ?

image

@txomon
Copy link
Author

txomon commented Apr 15, 2019 via email

@avradip
Copy link

avradip commented Jun 17, 2019

Experiencing the same issue, is there any way to check which query is currently running?

@avradip
Copy link

avradip commented Jun 18, 2019

Cancel query says 'Cannot cancel query as no query is currently running', Only way to get around the problem is closing and opening VScode.
image

@JimBreton
Copy link

Cancel query says 'Cannot cancel query as no query is currently running', Only way to get around the problem is closing and opening VScode.
image

For me, I can always get past it by doing a 'Reload Window' from the Command Palette. Still not great, but faster and easier than doing a full close/re-open. HTH.

@johny-numbers
Copy link

I get the same error message. When I Reload Window and reconnect, I get "the connection is already closed" and then back to "another query is currently executing". For me it happens without any discernable pattern of behaviour. I run a few simple select queries successfully, without canceling and start getting the error message. Sometimes I only get a single successful execution before the error comes up.

I'm running extension version 0.2.1 in Azure Data Studio 1.9.0 (VS Code 1.34.0) on Ubuntu 19.04.

@qiaohaojie
Copy link

Same issues here. And same issue also exists in Azure Data Studio.

PyCharm works perfectly. I have to go back to PyCharm for now.

@theogeer
Copy link

Same for me, Also in Azure Data Studio

@swjain23 swjain23 added this to the GA milestone Mar 4, 2020
@swjain23 swjain23 added the Med label Mar 4, 2020
@horns-k
Copy link

horns-k commented May 6, 2020

This is still happening in Azure Data Studio v 1.16.1

@daniloviterbo
Copy link

Still in ADS 1.17.1...

@driessamyn
Copy link

Also in 1.20.1

@horns-k
Copy link

horns-k commented Jul 30, 2020

Also in 1.20.1

Can confirm from our side as well. This is still happening with 1.20.1 after about 70-80 mins of application being idle.
Seems to be the case both for long running queries, and if not running queries for a while also.

@akshayjain9116
Copy link

Did we find any solution for this

@Brayozin
Copy link

any solution?

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

No branches or pull requests