ERROR: execute cannot be used while an asynchronous query isunderway - Mailing list pgadmin-hackers

From Syney Shen
Subject ERROR: execute cannot be used while an asynchronous query isunderway
Date
Msg-id SG2PR04MB0758B624CA201739816DD467BF480@SG2PR04MB0758.apcprd04.prod.outlook.com
Whole thread Raw
List pgadmin-hackers

Hi all,


The version of pgAdmin

Version2.0
CopyrightCopyright 2013 - 2017, The pgAdmin Development Team
Python Version2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
Flask Version0.11.1
Application ModeDesktop
Current Userpgadmin4@pgadmin.org


not compiled from source


windows 10


reproduce step:

  1. open a query tool for any database in pgadmin 4.
  2. create a table like create table abc(name1 varchar(10))
  3. write a sql in query tool like insert into abc(name1) values('n');
  4. press F5 many times in moment. for example press F5 key 10 times in 2-4 seconds.
  5. the query tool would return a message which is ERROR:  execute cannot be used while an asynchronous query is underway

the current tab of query tool cannot execute upcoming sql. I have to open another query tool to do insert into abc(name1) values('n'); the statement can be successfully executed in the new tab of query tool.

thanks.

BR.


pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: [pgAdmin4][Patch]: Use https:// to open postgres online help documents
Next
From: Murtuza Zabuawala
Date:
Subject: [pgAdmin4][Patch]: To fix Indentation issue in query tool