Skip to content

Slow autocomplete can block the whole Query-Tool (RM #7496) #5161

@dpage

Description

@dpage

Issue migrated from Redmine: https://redmine.postgresql.org/issues/7496
Originally created by Abdelhady Muhammad at 2022-06-22 12:00:33 UTC.

pgAdmin details:

Version: 6.10
Application Mode: Server
Browser: Chrome 102.0.0.0
Operating System: Linux-5.10.104-linuxkit-x86_64-with (because it is a dockerized version, but in fact, my main OS is MacOS Montery v12.3.1)
Log File: /dev/null

First thanks for introducing the autocomplete feature,

but away from the fact that it is very slow (may reach 2 sec or even more), it can block the whole Query-Tool, and make it useless,

Steps:

  1. Specify the schemas first, using set search_path=public,'company#1234' (where I have a lot of company schemas)
  2. Try to auto-complete a table name from the company schema
  3. most of the time it just times out, and doesn't show any auto-complete results
  4. at this point, when I try to run any other query in this same Query-Tool, it just gives me the error ERROR: execute cannot be used while an asynchronous query is underway .. where I can't run any other query inside this Query-Tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions