Please note that security bugs or issues should be reported to security@pgadmin.org.
Describe the bug
When we run any query after database name change, it returns cannot unpack non-iterable Response object
To Reproduce
Steps to reproduce the behavior:
- Open Query tool
- Write a select query for any table
- Execute it
- Disconnect from database
- Disconnect the server
- Reconnect the server from Tree
- Change database name
- Execute the already written query
- Reconnect Query tool as it was disconnected on sever disconnection
- Output is error-
cannot unpack non-iterable Response objectExpected behavior
Query should return the proper output.
Error message
Error-cannot unpack non-iterable Response object
Screenshots
