yum -y install postgresql12-devel postgresql12-contrib
git clone https://git.postgresql.org/git/pldebugger.git
访问不了,访问下面的:
https://github.com/EnterpriseDB/pldebugger.git
PATH=$PATH:/usr/pgsql-12/bin
export PATH
cd /usr/local/src/pldebugger
export USE_PGXS=1
make
make install
echo "shared_preload_libraries = 'plugin_debugger'" >>/var/lib/pgsql/12/data/postgresql.conf
CREATE EXTENSION pldbgapi;
参考:https://www.techsupportpk.com/2020/12/how-to-install-pldebugger-centos.html
原文链接:postgresql安装pldebugger插件,转载请注明来源!