GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Query Tool autocomplete objects can be shared between sessions that use the same transaction id · Issue #10607 · pgadmin-org/pgadmin4

Query Tool autocomplete objects can be shared between sessions that use the same transaction id #10607

New issue
Copy link
New issue
Copy link
Closed
Closed
Query Tool autocomplete objects can be shared between sessions that use the same transaction id#10607
Copy link
Labels
Bug

Description

@dpage
dpage
opened on Oct 15, 2026
Issue body actions

The Query Tool caches its SQLAutoComplete objects in a process-wide dict (auto_complete_objects in web/pgadmin/tools/sqleditor/__init__.py) keyed only by the transaction id, which the client picks at random from 1 to 9999999. Each object holds the autocomplete connection of the session that created it.

/sqleditor/autocomplete/<trans_id> checks that the id exists in the current session's gridData, but then reuses whatever object is cached under that id. In server mode, if two sessions (e.g. two different users) end up with the same transaction id, the second session's autocomplete requests run on the first session's database connection, so it is offered that database's objects as seen by the first user. Likewise, closing the Query Tool in one session discards the other session's cached object.

The cache should be scoped to the session that created each entry.

Activity

  1. dpage
    added
    Bug
    on Oct 15, 2026
  2. dpage
    added 2 commits that reference this issue on Oct 15, 2026

    Fix Query Tool autocomplete objects being shared between sessions tha…

    2572f1d

    Fix Query Tool autocomplete objects being shared between sessions tha…

    8877330
  3. dpage commented on Oct 15, 2026

    @dpage
    dpage
    on Oct 15, 2026
    ContributorAuthor
    More actions

    Fixed in 8877330 (#10608).

  4. dpage
    closed this as completedon Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.