ERROR: execute cannot be used while an asynchronous query is underway

From: Syney Shen <sephrouse(at)hotmail(dot)com>
To: "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>
Subject: ERROR: execute cannot be used while an asynchronous query is underway
Date: 2017-10-13 09:42:15
Message-ID: SG2PR04MB0758B624CA201739816DD467BF480@SG2PR04MB0758.apcprd04.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pgadmin(dot)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.

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2017-10-16 04:43:56 [pgAdmin4][Patch]: To fix Indentation issue in query tool
Previous Message Murtuza Zabuawala 2017-10-13 05:28:01 [pgAdmin4][Patch]: Use https:// to open postgres online help documents