如何设置pgAdmin的连接超时值? [英] How to set connection timeout value for pgAdmin?

查看:693
本文介绍了如何设置pgAdmin的连接超时值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用pgAdmin远程连接到我的数据库,因为phpPgAdmin的功能有些局限.唯一的问题是,如果我在几分钟内没有打开查询的情况下打开了SQL窗口,那么它说我需要重新连接.

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.

这是我需要在数据库中更改的设置,以使远程连接保持活动状态的时间更长吗?还是pgAdmin设置?

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

推荐答案

这是客户端设置. 您需要在配置文件中指定connect_timeout. 29.1.数据库连接控制功能 29.14.连接服务文件

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

这篇关于如何设置pgAdmin的连接超时值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆