mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix Query Tool error messages for psycopg3 driver.
This commit is contained in:
parent
9abbd30790
commit
b640df5bdd
@ -782,7 +782,7 @@ export function ResultSet() {
|
|||||||
setSelectedRows(new Set());
|
setSelectedRows(new Set());
|
||||||
setSelectedColumns(new Set());
|
setSelectedColumns(new Set());
|
||||||
setLoaderText(gettext('Waiting for the query to complete...'));
|
setLoaderText(gettext('Waiting for the query to complete...'));
|
||||||
await rsu.current.startExecution(
|
return await rsu.current.startExecution(
|
||||||
query, explainObject,
|
query, explainObject,
|
||||||
()=>{
|
()=>{
|
||||||
setColumns([]);
|
setColumns([]);
|
||||||
@ -829,8 +829,8 @@ export function ResultSet() {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
await yesCallback();
|
let goForPoll = await yesCallback();
|
||||||
pollCallback();
|
if (goForPoll) pollCallback();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user