pgadmin-org / pgadmin-org/pgadmin4

Restore tabs and requests after restart application

Open
#9,526 13 comments 1 reaction 1 assignee View on GitHub

@DDimly is already working on this.

Since Mar 6, 2026.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

In older versions if i closed application and reopened it - all tabs will be restored with requests in it.
Latest versions after reopen restore tabs but get error "Connection Warning" and i want close tabs and lost request text

To Reproduce

Steps to reproduce the behavior:

  1. Open App
  2. Open new tab Query tool
  3. Enter "SELECT now()" and execute
  4. Close App
  5. Open App
  6. You see tab but you don't see "SELECT now()" and getting error
    --- Connection Warning
    The application has lost the database connection:
    ⁃ If the connection was idle it may have been forcibly disconnected.
    ⁃ The application server or database server may have been restarted.
    ⁃ The user session may have timed out.
    Do you want to continue and establish a new session

Expected behavior

As in older version - after reopened App all tabs with request must be restored

Error message

see upper

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • pgAdmin version: 9.11
  • Mode: Desktop Application

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.