加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

在postgresql 9.1中找不到adminpack.sql

发布时间:2020-12-13 16:32:19 所属栏目:百科 来源:网络整理
导读:我试图在Ubuntu中安装并使用它.在 this页面之后安装附加的仪器包. Install Server Instrumentation for Postgresql 8.4To install Server Instrumentation for Postgresql 8.4 you may use the command line and type: sudo apt-get install postgresql-cont
我试图在Ubuntu中安装并使用它.在 this页面之后安装附加的仪器包.
Install Server Instrumentation for Postgresql 8.4
To install Server Instrumentation for Postgresql 8.4 you may use the command line and type:
 sudo apt-get install postgresql-contrib

Run the adminpack.sql script,simply type:
 sudo -u postgres psql < /usr/share/postgresql/8.4/contrib/adminpack.sql

但是在9.1版本中找不到adminpack.sql.

尝试找到adminpack.但首先,运行updatedb以确保定位数据库是最新的.
sudo updatedb
locate adminpack

输出为:

/usr/lib/postgresql/9.1/lib/adminpack.so
/usr/share/postgresql/9.1/extension/adminpack--1.0.sql
/usr/share/postgresql/9.1/extension/adminpack.control

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读