How to set connection timeout value for pgAdmin?

老子叫甜甜 提交于 2019-12-23 09:32:08

问题


I am using pgAdmin to connect remotely to my database as phpPgAdmin is a bit limited in its features. Only problem is if I leave the SQL window open without running a query for a few minutes, then it says I need to reconnect.

Is this a setting I need to change in my database to keep remote connections alive for longer or is it a pgAdmin setting?


回答1:


It is client setting. You need specify connect_timeout in your config file. 29.1. Database Connection Control Functions 29.14. The Connection Service File



来源:https://stackoverflow.com/questions/24090683/how-to-set-connection-timeout-value-for-pgadmin

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