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 are never freed for sessions that expire without logging out · Issue #10612 · pgadmin-org/pgadmin4

Query Tool autocomplete objects are never freed for sessions that expire without logging out #10612

New issue
Copy link
New issue
Copy link
Closed
Closed
Query Tool autocomplete objects are never freed for sessions that expire without logging out#10612
Copy link
Labels
Bug

Description

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

The Query Tool keeps a SQLAutoComplete object per session and transaction in the process-wide auto_complete_objects dict in web/pgadmin/tools/sqleditor/__init__.py (keyed by session id since #10608). Entries are removed when the Query Tool is closed, on a connection change and on logout, but not when a session simply expires: Driver.gc_timeout() releases the connections but leaves this cache alone, so the objects accumulate for the life of the process in server mode.

The entries for a session should be dropped when the driver garbage-collects that session's connection manager.

Activity

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

    Free Query Tool autocomplete objects when an idle session's connectio…

    5fd2ac5

    Free Query Tool autocomplete objects when an idle session's connectio…

    b9da19c

    Free Query Tool autocomplete objects when an idle session's connectio…

    5f9909e
  3. dpage commented on Oct 16, 2026

    @dpage
    dpage
    on Oct 16, 2026
    ContributorAuthor
    More actions

    Fixed in 5f9909e (#10625).

  4. dpage
    closed this as completedon Oct 16, 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.