pgsql pldebugger插件

安装步骤:

获取pldebugger插件安装文件

1、安装git

 yum install git

2、进入数据库安装目录$PGHOME/share/contrib 克隆 pldebugger

git clone git://git.postgresql.org/git/pldebugger.git

3、进入pldebugger

cd pldebugger

4、编译安装

 USE_PGXS=1 make clean

USE_PGXS=1 make
USE_PGXS=1 make install
若编译或安装出错则可能原因为:1.没有权限或环境变量PGHOME设置问题、缺少开发工具包

5、重启pg服务

 pg_ctl -D /pg/data restart

server starting.....

猜你喜欢

转载自blog.51cto.com/2012ivan/2551585