【发布时间】:2020-09-17 08:47:01
【问题描述】:
我必须将 Postgres 数据库的查询超时设置为 60 分钟。我有以下 Postgres 数据库的配置文件。
- pg_ctl.conf
- pg_hba.conf
- pg_ident.conf
- postgresql.conf
- start.conf
在 postgresql.conf 文件中,我看到有字段;
#statement_timeout = 0 # in milliseconds, 0 is disabled
#lock_timeout = 0 # in milliseconds, 0 is disabled
我的问题是,我需要在 60 分钟内取消注释/设置哪个字段?
有人请帮忙吗?或者我需要在配置文件中添加其他内容吗?
提前致谢。
【问题讨论】:
-
与您的问题无关,但是:与您的问题无关,但是:Postgres 9.1 是no longer supported,您应该尽快计划升级。
标签: postgresql devops postgresql-9.1