You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu22.04中pgAgent配置求助:已安装但无法在pgAdmin中创建任务

pgAgent与pgAdmin配合使用故障排查

我已安装postgresql、pgAdmin及pgAgent,但折腾三天仍无法让二者配合工作。

安装所用命令如下:

sudo apt install postgresql postgresql-contrib
sudo apt install pgadmin4
sudo apt-get -y install pgagent

可确认pgAgent扩展已安装,但pgAdmin中无创建任务的选项(截图显示数据库对象列表里没有任务相关入口)。

尝试按照官方文档操作,但命令无法执行(截图显示执行的命令为CREATE EXTENSION pgagent;),执行结果报错如下:

ERROR:  could not open extension control file "/usr/share/postgresql/15/extension/pgagent.control": No such file or directory

使用host=localhost或host=127.0.0.1执行命令,结果完全一致。

内容的提问来源于stack exchange,提问作者Ignorant Necromancer

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.21 06:08:12