Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qy7yi-006BLr-UR for pgadmin-hackers@arkaria.postgresql.org; Wed, 01 Nov 2023 09:57:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qy7yg-006WJI-HO for pgadmin-hackers@arkaria.postgresql.org; Wed, 01 Nov 2023 09:57:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qy7yg-006WJA-8K for pgadmin-hackers@lists.postgresql.org; Wed, 01 Nov 2023 09:57:34 +0000 Received: from out-27.smtp.github.com ([192.30.252.210]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qy7ye-0048JA-Ct for pgadmin-hackers@lists.postgresql.org; Wed, 01 Nov 2023 09:57:33 +0000 Received: from github.com (hubbernetes-node-11e6b88.ash1-iad.github.net [10.56.131.81]) by smtp.github.com (Postfix) with ESMTPA id 711DD600129 for ; Wed, 1 Nov 2023 02:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1698832650; bh=t0yBARPkrfDgbMaYlYkzGJ90LCvXUdaZC2MppqsGlaE=; h=Date:From:To:Subject:From; b=Ls8uTipYrS3kdTj85Kkw2GafV6hTgLGg3XTDpe0fKkX8mYO6I22YKt8zVdT1aliZY Rrl27TAy+uLLktZtDiaW/AecO9eSF9vc3zkcw6bMrejO0AFa8Eq1/jHYFSWx/XhsEq 1UMANUeAIC2RlFo49fMpcWyyZLgrVrlIvk/HQWtI= Date: Wed, 01 Nov 2023 02:57:30 -0700 From: Anil Sahoo To: pgadmin-hackers@lists.postgresql.org Message-ID: Subject: [pgadmin-org/pgadmin4] 0b707b: Fixed restoration of query tool database connectio... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: pgadmin-hackers@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgadmin-org/pgadmin4 Commit: 0b707be6153bff3cac16efd78d89afbb387b476f https://github.com/pgadmin-org/pgadmin4/commit/0b707be6153bff3cac16efd78d89afbb387b476f Author: Anil Sahoo Date: 2023-11-01 (Wed, 01 Nov 2023) Changed paths: M web/pgadmin/tools/sqleditor/__init__.py M web/pgadmin/tools/sqleditor/static/js/components/QueryToolComponent.jsx M web/pgadmin/tools/sqleditor/tests/test_download_csv_query_tool.py M web/pgadmin/tools/sqleditor/tests/test_editor_history.py M web/pgadmin/tools/sqleditor/tests/test_encoding_charset.py M web/pgadmin/tools/sqleditor/tests/test_explain_plan.py M web/pgadmin/tools/sqleditor/tests/test_macros.py M web/pgadmin/tools/sqleditor/tests/test_poll_query_tool.py M web/pgadmin/tools/sqleditor/tests/test_sql_ascii_encoding.py M web/pgadmin/tools/sqleditor/tests/test_start_query_tool.py M web/pgadmin/tools/sqleditor/tests/test_transaction_status.py M web/pgadmin/tools/sqleditor/utils/start_running_query.py M web/pgadmin/tools/sqleditor/utils/tests/test_is_query_resultset_updatable.py M web/pgadmin/tools/sqleditor/utils/tests/test_save_changed_data.py M web/pgadmin/tools/sqleditor/utils/tests/test_save_changed_uuid_data.py M web/pgadmin/tools/sqleditor/utils/tests/test_start_running_query.py M web/pgadmin/utils/driver/psycopg3/server_manager.py Log Message: ----------- Fixed restoration of query tool database connection after dropping and re-creating the database with the same name. #6487