pgadmin4 query tool always comes back not connected

て烟熏妆下的殇ゞ 提交于 2019-12-04 20:55:14

问题


Q: How can I diagnose and correct problems with the Query tool connection.

Using pgAdmin4 1.0-rc1 to connect to a local host "PostgreSQL 9.5.3, compiled by Visual C++ build 18..."

I can connect and drill down to my schema. I use the context menu to select 'Query tool'. The editor shows the correct database@host:port in the editor header bar.

When I execute a simple query, or any query select 1 as first;

I get the message "Not conencted to the server or the connection to the server has been closed.

instead of the expected results.

The editor alwa


回答1:


This issue has been resolved now, Upgrade pgAdmin4 to version 1.3. https://www.pgadmin.org/download/




回答2:


All you have to do is wrap the schema, table, column names with double quotation marks in every sentence.



来源:https://stackoverflow.com/questions/39325567/pgadmin4-query-tool-always-comes-back-not-connected

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!