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
相关产品推荐
相关产品推荐

