pgadmin-org / pgadmin-org/pgadmin4
Restore tabs and requests after restart application
@DDimly is already working on this.
Since Mar 6, 2026.
- 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:
- Open App
- Open new tab Query tool
- Enter "SELECT now()" and execute
- Close App
- Open App
- 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
Desktop (please complete the following information):
- OS: Windows 11
- pgAdmin version: 9.11
- Mode: Desktop Application
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.