这是indexloc提供的服务,不要输入任何密码
Skip to content

Database connection should be restored in query tool if user drop and re-create database with same name #6487

@nikhil-mohite

Description

@nikhil-mohite

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

Describe the bug

Connection to the database with the database should be restored.

To Reproduce

Steps to reproduce the behavior:

  1. Create database 'test_db1'
  2. open query tool for the newly created database
  3. now execute some queries
  4. Now delete the 'table_db1' (Delete form database collection node using Delete(Force)) option
  5. Re-create the database with the same name 'test_db1'
  6. Now try to execute the query in the already opened query tool
  7. It shows an error in Messaged Tab:
image

Expected behavior

Query should be fet executed without any error

Desktop (please complete the following information):

  • OS: macOS (Ventura 13.3)
  • Version: V-7.3
  • Mode: Desktop

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions